2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gdbmobj 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='gdbmobj'
730 PACKAGE_TARNAME
='gdbmobj'
731 PACKAGE_VERSION
='0.10'
732 PACKAGE_STRING
='gdbmobj 0.10'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="gdbmobj.c"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
880 ac_precious_vars
='build_alias
897 # Initialize some variables set by options.
899 ac_init_version
=false
900 # The variables have the same names as the options, with
901 # dashes changed to underlines.
909 program_transform_name
=s
,x
,x
,
917 # Installation directory options.
918 # These are left unexpanded so users can "make install exec_prefix=/foo"
919 # and all the variables that are supposed to be based on exec_prefix
920 # by default will actually change.
921 # Use braces instead of parens because sh, perl, etc. also accept them.
922 # (The list follows the same order as the GNU Coding Standards.)
923 bindir
='${exec_prefix}/bin'
924 sbindir
='${exec_prefix}/sbin'
925 libexecdir
='${exec_prefix}/libexec'
926 datarootdir
='${prefix}/share'
927 datadir
='${datarootdir}'
928 sysconfdir
='${prefix}/etc'
929 sharedstatedir
='${prefix}/com'
930 localstatedir
='${prefix}/var'
931 includedir
='${prefix}/include'
932 oldincludedir
='/usr/include'
933 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
934 infodir
='${datarootdir}/info'
939 libdir
='${exec_prefix}/lib'
940 localedir
='${datarootdir}/locale'
941 mandir
='${datarootdir}/man'
947 # If the previous option needs an argument, assign it.
948 if test -n "$ac_prev"; then
949 eval $ac_prev=\
$ac_option
955 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959 # Accept the important Cygnus configure options, so we can diagnose typos.
961 case $ac_dashdash$ac_option in
965 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
967 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
970 -build |
--build |
--buil |
--bui |
--bu)
971 ac_prev
=build_alias
;;
972 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
973 build_alias
=$ac_optarg ;;
975 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
976 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
977 ac_prev
=cache_file
;;
978 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
979 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
980 cache_file
=$ac_optarg ;;
983 cache_file
=config.cache
;;
985 -datadir |
--datadir |
--datadi |
--datad)
987 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
988 datadir
=$ac_optarg ;;
990 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
991 |
--dataroo |
--dataro |
--datar)
992 ac_prev
=datarootdir
;;
993 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
994 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
995 datarootdir
=$ac_optarg ;;
997 -disable-* |
--disable-*)
998 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1001 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1002 { (exit 1); exit 1; }; }
1003 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1004 eval enable_
$ac_feature=no
;;
1006 -docdir |
--docdir |
--docdi |
--doc |
--do)
1008 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1009 docdir
=$ac_optarg ;;
1011 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1013 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1014 dvidir
=$ac_optarg ;;
1016 -enable-* |
--enable-*)
1017 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1020 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1021 { (exit 1); exit 1; }; }
1022 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1023 eval enable_
$ac_feature=\
$ac_optarg ;;
1025 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1026 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1027 |
--exec |
--exe |
--ex)
1028 ac_prev
=exec_prefix
;;
1029 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1030 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1031 |
--exec=* |
--exe=* |
--ex=*)
1032 exec_prefix
=$ac_optarg ;;
1034 -gas |
--gas |
--ga |
--g)
1035 # Obsolete; use --with-gas.
1038 -help |
--help |
--hel |
--he |
-h)
1039 ac_init_help
=long
;;
1040 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1041 ac_init_help
=recursive
;;
1042 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1043 ac_init_help
=short
;;
1045 -host |
--host |
--hos |
--ho)
1046 ac_prev
=host_alias
;;
1047 -host=* |
--host=* |
--hos=* |
--ho=*)
1048 host_alias
=$ac_optarg ;;
1050 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1052 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1054 htmldir
=$ac_optarg ;;
1056 -includedir |
--includedir |
--includedi |
--included |
--include \
1057 |
--includ |
--inclu |
--incl |
--inc)
1058 ac_prev
=includedir
;;
1059 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1060 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1061 includedir
=$ac_optarg ;;
1063 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1065 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1066 infodir
=$ac_optarg ;;
1068 -libdir |
--libdir |
--libdi |
--libd)
1070 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1071 libdir
=$ac_optarg ;;
1073 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1074 |
--libexe |
--libex |
--libe)
1075 ac_prev
=libexecdir
;;
1076 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1077 |
--libexe=* |
--libex=* |
--libe=*)
1078 libexecdir
=$ac_optarg ;;
1080 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1081 ac_prev
=localedir
;;
1082 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1083 localedir
=$ac_optarg ;;
1085 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1086 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1087 ac_prev
=localstatedir
;;
1088 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1089 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1090 localstatedir
=$ac_optarg ;;
1092 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1094 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1095 mandir
=$ac_optarg ;;
1097 -nfp |
--nfp |
--nf)
1098 # Obsolete; use --without-fp.
1101 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1102 |
--no-cr |
--no-c |
-n)
1105 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1106 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1109 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1110 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1111 |
--oldin |
--oldi |
--old |
--ol |
--o)
1112 ac_prev
=oldincludedir
;;
1113 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1114 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1115 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1116 oldincludedir
=$ac_optarg ;;
1118 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1120 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1121 prefix
=$ac_optarg ;;
1123 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1124 |
--program-pre |
--program-pr |
--program-p)
1125 ac_prev
=program_prefix
;;
1126 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1127 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1128 program_prefix
=$ac_optarg ;;
1130 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1131 |
--program-suf |
--program-su |
--program-s)
1132 ac_prev
=program_suffix
;;
1133 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1134 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1135 program_suffix
=$ac_optarg ;;
1137 -program-transform-name |
--program-transform-name \
1138 |
--program-transform-nam |
--program-transform-na \
1139 |
--program-transform-n |
--program-transform- \
1140 |
--program-transform |
--program-transfor \
1141 |
--program-transfo |
--program-transf \
1142 |
--program-trans |
--program-tran \
1143 |
--progr-tra |
--program-tr |
--program-t)
1144 ac_prev
=program_transform_name
;;
1145 -program-transform-name=* |
--program-transform-name=* \
1146 |
--program-transform-nam=* |
--program-transform-na=* \
1147 |
--program-transform-n=* |
--program-transform-=* \
1148 |
--program-transform=* |
--program-transfor=* \
1149 |
--program-transfo=* |
--program-transf=* \
1150 |
--program-trans=* |
--program-tran=* \
1151 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1152 program_transform_name
=$ac_optarg ;;
1154 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1156 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1157 pdfdir
=$ac_optarg ;;
1159 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1161 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1164 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1165 |
-silent |
--silent |
--silen |
--sile |
--sil)
1168 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1170 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1172 sbindir
=$ac_optarg ;;
1174 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1175 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1176 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1178 ac_prev
=sharedstatedir
;;
1179 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1180 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1181 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1183 sharedstatedir
=$ac_optarg ;;
1185 -site |
--site |
--sit)
1187 -site=* |
--site=* |
--sit=*)
1190 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1192 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1193 srcdir
=$ac_optarg ;;
1195 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1196 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1197 ac_prev
=sysconfdir
;;
1198 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1199 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1200 sysconfdir
=$ac_optarg ;;
1202 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1203 ac_prev
=target_alias
;;
1204 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1205 target_alias
=$ac_optarg ;;
1207 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1210 -version |
--version |
--versio |
--versi |
--vers |
-V)
1211 ac_init_version
=: ;;
1214 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1217 { echo "$as_me: error: invalid package name: $ac_package" >&2
1218 { (exit 1); exit 1; }; }
1219 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1220 eval with_
$ac_package=\
$ac_optarg ;;
1222 -without-* |
--without-*)
1223 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 { echo "$as_me: error: invalid package name: $ac_package" >&2
1227 { (exit 1); exit 1; }; }
1228 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1229 eval with_
$ac_package=no
;;
1232 # Obsolete; use --with-x.
1235 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1236 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1237 ac_prev
=x_includes
;;
1238 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1239 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1240 x_includes
=$ac_optarg ;;
1242 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1243 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1244 ac_prev
=x_libraries
;;
1245 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1246 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1247 x_libraries
=$ac_optarg ;;
1249 -*) { echo "$as_me: error: unrecognized option: $ac_option
1250 Try \`$0 --help' for more information." >&2
1251 { (exit 1); exit 1; }; }
1255 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1258 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1259 { (exit 1); exit 1; }; }
1260 eval $ac_envvar=\
$ac_optarg
1261 export $ac_envvar ;;
1264 # FIXME: should be removed in autoconf 3.0.
1265 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1266 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1267 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1268 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1274 if test -n "$ac_prev"; then
1275 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1276 { echo "$as_me: error: missing argument to $ac_option" >&2
1277 { (exit 1); exit 1; }; }
1280 # Be sure to have absolute directory names.
1281 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1282 datadir sysconfdir sharedstatedir localstatedir includedir \
1283 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1284 libdir localedir mandir
1286 eval ac_val
=\$
$ac_var
1288 [\\/$
]* | ?
:[\\/]* ) continue;;
1289 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1291 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1292 { (exit 1); exit 1; }; }
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target
=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x
; then
1304 if test "x$build_alias" = x
; then
1305 cross_compiling
=maybe
1306 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1307 If a cross compiler is detected then cross compile mode will be used." >&2
1308 elif test "x$build_alias" != "x$host_alias"; then
1314 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1316 test "$silent" = yes && exec 6>/dev
/null
1319 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di
=`ls -di .` &&
1321 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1322 { echo "$as_me: error: Working directory cannot be determined" >&2
1323 { (exit 1); exit 1; }; }
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325 { echo "$as_me: error: pwd does not report name of working directory" >&2
1326 { (exit 1); exit 1; }; }
1329 # Find the source files, if location was not specified.
1330 if test -z "$srcdir"; then
1331 ac_srcdir_defaulted
=yes
1332 # Try the directory containing this script, then the parent directory.
1333 ac_confdir
=`$as_dirname -- "$0" ||
1334 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335 X"$0" : 'X\(//\)[^/]' \| \
1336 X"$0" : 'X\(//\)$' \| \
1337 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1361 ac_srcdir_defaulted
=no
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1365 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1366 { (exit 1); exit 1; }; }
1368 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1371 { (exit 1); exit 1; }; }
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures gdbmobj 0.10 to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/gdbmobj]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1460 --build=BUILD configure
for building on BUILD
[guessed
]
1461 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1465 if test -n "$ac_init_help"; then
1466 case $ac_init_help in
1467 short | recursive
) echo "Configuration of gdbmobj 0.10:";;
1472 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1473 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1474 --disable-dependency-tracking speeds up one-time build
1475 --enable-dependency-tracking do not reject slow dependency extractors
1476 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1477 --enable-static[=PKGS
] build static libraries
[default
=yes]
1478 --enable-fast-install[=PKGS
]
1479 optimize
for fast installation
[default
=yes]
1480 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1483 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1484 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1485 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1486 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1488 --with-tags[=TAGS
] include additional configurations
[automatic
]
1490 Some influential environment variables
:
1491 CC C compiler
command
1492 CFLAGS C compiler flags
1493 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1494 nonstandard directory
<lib dir
>
1495 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1496 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1497 you have headers
in a nonstandard directory
<include dir
>
1499 CXX C
++ compiler
command
1500 CXXFLAGS C
++ compiler flags
1501 CXXCPP C
++ preprocessor
1502 F77 Fortran
77 compiler
command
1503 FFLAGS Fortran
77 compiler flags
1505 Use these variables to override the choices made by
`configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1508 Report bugs to <courier-users@lists.sourceforge.net>.
1513 if test "$ac_init_help" = "recursive"; then
1514 # If there are subdirs, report their specific --help.
1515 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1516 test -d "$ac_dir" || continue
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1523 # A ".." for each directory in $ac_dir_suffix.
1524 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1525 case $ac_top_builddir_sub in
1526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1536 .) # We are building in place.
1538 ac_top_srcdir=$ac_top_builddir_sub
1539 ac_abs_top_srcdir=$ac_pwd ;;
1540 [\\/]* | ?:[\\/]* ) # Absolute name.
1541 ac_srcdir=$srcdir$ac_dir_suffix;
1542 ac_top_srcdir=$srcdir
1543 ac_abs_top_srcdir=$srcdir ;;
1545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546 ac_top_srcdir=$ac_top_build_prefix$srcdir
1547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551 cd "$ac_dir" || { ac_status=$?; continue; }
1552 # Check for guested configure.
1553 if test -f "$ac_srcdir/configure.gnu"; then
1555 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556 elif test -f "$ac_srcdir/configure"; then
1558 $SHELL "$ac_srcdir/configure" --help=recursive
1560 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562 cd "$ac_pwd" || { ac_status=$?; break; }
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1569 gdbmobj configure 0.10
1570 generated by GNU Autoconf 2.61
1572 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1573 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1574 This configure script is free software; the Free Software Foundation
1575 gives unlimited permission to copy, distribute and modify it.
1579 cat >config.log <<_ACEOF
1580 This file contains any messages produced by compilers while
1581 running configure, to aid debugging if configure makes a mistake.
1583 It was created by gdbmobj $as_me 0.10, which was
1584 generated by GNU Autoconf 2.61. Invocation command line was
1596 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1597 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1598 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1599 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1600 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1602 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1603 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1605 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1606 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1607 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1608 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1609 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1610 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1611 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 echo "PATH: $as_dir"
1636 # Keep a trace of the command line.
1637 # Strip out --no-create and --no-recursion so they do not pile up.
1638 # Strip out --silent because we don't want to record it for future runs.
1639 # Also quote any args containing shell meta-characters.
1640 # Make two passes to allow for proper duplicate-argument suppression.
1644 ac_must_keep_next=false
1650 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1652 | -silent | --silent | --silen | --sile | --sil)
1655 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1658 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1660 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1661 if test $ac_must_keep_next = true; then
1662 ac_must_keep_next=false # Got value, back to normal.
1665 *=* | --config-cache | -C | -disable-* | --disable-* \
1666 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1667 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1668 | -with-* | --with-* | -without-* | --without-* | --x)
1669 case "$ac_configure_args0 " in
1670 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1673 -* ) ac_must_keep_next=true ;;
1676 ac_configure_args="$ac_configure_args '$ac_arg'"
1681 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1682 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1684 # When interrupted or exit'd, cleanup temporary files, and complete
1685 # config.log. We remove comments because anyway the quotes in there
1686 # would cause problems or look ugly.
1687 # WARNING: Use '\'' to represent an apostrophe within the trap.
1688 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1689 trap 'exit_status=$?
1690 # Save into config.log some information that might help in debugging.
1695 ## ---------------- ##
1696 ## Cache variables. ##
1697 ## ---------------- ##
1700 # The following way of writing the cache mishandles newlines in values,
1702 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1703 eval ac_val=\$$ac_var
1707 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1708 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1711 _ | IFS | as_nl) ;; #(
1712 *) $as_unset $ac_var ;;
1717 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1718 *${as_nl}ac_space=\ *)
1720 "s/'\''/'\''\\\\'\'''\''/g;
1721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1732 ## ----------------- ##
1733 ## Output variables. ##
1734 ## ----------------- ##
1737 for ac_var in $ac_subst_vars
1739 eval ac_val=\$$ac_var
1741 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1743 echo "$ac_var='\''$ac_val'\''"
1747 if test -n "$ac_subst_files"; then
1749 ## ------------------- ##
1750 ## File substitutions. ##
1751 ## ------------------- ##
1754 for ac_var in $ac_subst_files
1756 eval ac_val=\$$ac_var
1758 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1760 echo "$ac_var='\''$ac_val'\''"
1765 if test -s confdefs.h; then
1775 test "$ac_signal" != 0 &&
1776 echo "$as_me: caught signal $ac_signal"
1777 echo "$as_me: exit $exit_status"
1779 rm -f core *.core core.conftest.* &&
1780 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1783 for ac_signal in 1 2 13 15; do
1784 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1788 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1789 rm -f -r conftest* confdefs.h
1791 # Predefined preprocessor variables.
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_NAME "$PACKAGE_NAME"
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1808 cat >>confdefs.h <<_ACEOF
1809 #define PACKAGE_STRING "$PACKAGE_STRING"
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1818 # Let the site file select an alternate cache file if it wants to.
1819 # Prefer explicitly selected file to automatically selected ones.
1820 if test -n "$CONFIG_SITE"; then
1821 set x "$CONFIG_SITE"
1822 elif test "x$prefix" != xNONE; then
1823 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1825 set x "$ac_default_prefix/share/config.site" \
1826 "$ac_default_prefix/etc/config.site"
1831 if test -r "$ac_site_file"; then
1832 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1833 echo "$as_me: loading site script $ac_site_file" >&6;}
1834 sed 's/^/| /' "$ac_site_file" >&5
1839 if test -r "$cache_file"; then
1840 # Some versions of bash will fail to source /dev/null (special
1841 # files actually), so we avoid doing that.
1842 if test -f "$cache_file"; then
1843 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1844 echo "$as_me: loading cache $cache_file" >&6;}
1846 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1847 *) . "./$cache_file";;
1851 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1852 echo "$as_me: creating cache $cache_file" >&6;}
1856 # Check that the precious variables saved in the cache have kept the same
1858 ac_cache_corrupted=false
1859 for ac_var in $ac_precious_vars; do
1860 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1861 eval ac_new_set=\$ac_env_${ac_var}_set
1862 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1863 eval ac_new_val=\$ac_env_${ac_var}_value
1864 case $ac_old_set,$ac_new_set in
1866 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1867 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1868 ac_cache_corrupted=: ;;
1870 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1871 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1872 ac_cache_corrupted=: ;;
1875 if test "x$ac_old_val" != "x$ac_new_val"; then
1876 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1877 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1878 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1879 echo "$as_me: former value
: $ac_old_val" >&2;}
1880 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1881 echo "$as_me: current value
: $ac_new_val" >&2;}
1882 ac_cache_corrupted=:
1885 # Pass precious variables to config.status.
1886 if test "$ac_new_set" = set; then
1888 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1889 *) ac_arg=$ac_var=$ac_new_val ;;
1891 case " $ac_configure_args " in
1892 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1893 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1897 if $ac_cache_corrupted; then
1898 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1899 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1900 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1901 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1902 { (exit 1); exit 1; }; }
1930 ac_cpp='$CPP $CPPFLAGS'
1931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1937 >confdefs.h # Kill PACKAGE_ macros
1940 am__api_version='1.10'
1943 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1944 if test -f "$ac_dir/install-sh"; then
1946 ac_install_sh="$ac_aux_dir/install-sh -c"
1948 elif test -f "$ac_dir/install.sh"; then
1950 ac_install_sh="$ac_aux_dir/install.sh -c"
1952 elif test -f "$ac_dir/shtool"; then
1954 ac_install_sh="$ac_aux_dir/shtool install -c"
1958 if test -z "$ac_aux_dir"; then
1959 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1960 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1961 { (exit 1); exit 1; }; }
1964 # These three variables are undocumented and unsupported,
1965 # and are intended to be withdrawn in a future Autoconf release.
1966 # They can cause serious problems if a builder's source tree is in a directory
1967 # whose full name contains unusual characters.
1968 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1969 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1970 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1973 # Find a good install program. We prefer a C program (faster),
1974 # so one script is as good as another. But avoid the broken or
1975 # incompatible versions:
1976 # SysV /etc/install, /usr/sbin/install
1977 # SunOS /usr/etc/install
1978 # IRIX /sbin/install
1980 # AmigaOS /C/install, which installs bootblocks on floppy discs
1981 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1982 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1983 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1984 # OS/2's system install, which has a completely different semantic
1985 # ./install, which can be erroneously created by make from ./install.sh.
1986 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1987 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1988 if test -z "$INSTALL"; then
1989 if test "${ac_cv_path_install+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir=.
1997 # Account for people who put trailing slashes in PATH elements.
1999 ./ | .// | /cC/* | \
2000 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2001 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2004 # OSF1 and SCO ODT 3.0 have their own names for install.
2005 # Don't use installbsd from OSF since it installs stuff as root
2007 for ac_prog in ginstall scoinst install; do
2008 for ac_exec_ext in '' $ac_executable_extensions; do
2009 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2010 if test $ac_prog = install &&
2011 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2012 # AIX install. It has an incompatible calling convention.
2014 elif test $ac_prog = install &&
2015 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2016 # program-specific install script used by HP pwplus--don't use.
2019 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2032 if test "${ac_cv_path_install+set}" = set; then
2033 INSTALL=$ac_cv_path_install
2035 # As a last resort, use the slow shell script. Don't cache a
2036 # value for INSTALL within a source directory, because that will
2037 # break other packages using the cache if that directory is
2038 # removed, or if the value is a relative name.
2039 INSTALL=$ac_install_sh
2042 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2043 echo "${ECHO_T}$INSTALL" >&6; }
2045 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2046 # It thinks the first close brace ends the variable substitution.
2047 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2049 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2051 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2053 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2054 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2057 echo timestamp > conftest.file
2058 # Do `set' in a subshell so we don't clobber the current shell
's
2059 # arguments. Must try -L first in case configure is actually a
2060 # symlink; some systems play weird games with the mod time of symlinks
2061 # (eg FreeBSD returns the mod time of the symlink's containing
2064 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2065 if test "$*" = "X"; then
2067 set X
`ls -t $srcdir/configure conftest.file`
2070 if test "$*" != "X $srcdir/configure conftest.file" \
2071 && test "$*" != "X conftest.file $srcdir/configure"; then
2073 # If neither matched, then we have a broken ls. This can happen
2074 # if, for instance, CONFIG_SHELL is bash and it inherits a
2075 # broken ls alias from the environment. This has actually
2076 # happened. Such a system could not be considered "sane".
2077 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2078 alias in your environment" >&5
2079 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2080 alias in your environment" >&2;}
2081 { (exit 1); exit 1; }; }
2084 test "$2" = conftest.
file
2090 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2091 Check your system clock" >&5
2092 echo "$as_me: error: newly created file is older than distributed files!
2093 Check your system clock" >&2;}
2094 { (exit 1); exit 1; }; }
2096 { echo "$as_me:$LINENO: result: yes" >&5
2097 echo "${ECHO_T}yes" >&6; }
2098 test "$program_prefix" != NONE
&&
2099 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2100 # Use a double $ so make ignores it.
2101 test "$program_suffix" != NONE
&&
2102 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2103 # Double any \ or $. echo might interpret backslashes.
2104 # By default was `s,x,x', remove it if useless.
2105 cat <<\_ACEOF
>conftest.
sed
2106 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2108 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2111 # expand $ac_aux_dir to an absolute path
2112 am_aux_dir
=`cd $ac_aux_dir && pwd`
2114 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2115 # Use eval to expand $SHELL
2116 if eval "$MISSING --run true"; then
2117 am_missing_run
="$MISSING --run "
2120 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2121 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2124 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2125 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2126 if test -z "$MKDIR_P"; then
2127 if test "${ac_cv_path_mkdir+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2134 test -z "$as_dir" && as_dir
=.
2135 for ac_prog
in mkdir gmkdir
; do
2136 for ac_exec_ext
in '' $ac_executable_extensions; do
2137 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2138 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2139 'mkdir (GNU coreutils) '* | \
2140 'mkdir (coreutils) '* | \
2141 'mkdir (fileutils) '4.1*)
2142 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2152 if test "${ac_cv_path_mkdir+set}" = set; then
2153 MKDIR_P
="$ac_cv_path_mkdir -p"
2155 # As a last resort, use the slow shell script. Don't cache a
2156 # value for MKDIR_P within a source directory, because that will
2157 # break other packages using the cache if that directory is
2158 # removed, or if the value is a relative name.
2159 test -d .
/--version && rmdir .
/--version
2160 MKDIR_P
="$ac_install_sh -d"
2163 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2164 echo "${ECHO_T}$MKDIR_P" >&6; }
2168 [\\/$
]* | ?
:[\\/]*) ;;
2169 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2172 for ac_prog
in gawk mawk nawk
awk
2174 # Extract the first word of "$ac_prog", so it can be a program name with args.
2175 set dummy
$ac_prog; ac_word
=$2
2176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2178 if test "${ac_cv_prog_AWK+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 if test -n "$AWK"; then
2182 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir
=.
2189 for ac_exec_ext
in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_prog_AWK
="$ac_prog"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 if test -n "$AWK"; then
2203 { echo "$as_me:$LINENO: result: $AWK" >&5
2204 echo "${ECHO_T}$AWK" >&6; }
2206 { echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6; }
2211 test -n "$AWK" && break
2214 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2215 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2216 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2217 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 cat >conftest.
make <<\_ACEOF
2223 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2226 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2228 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2230 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2234 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2235 { echo "$as_me:$LINENO: result: yes" >&5
2236 echo "${ECHO_T}yes" >&6; }
2239 { echo "$as_me:$LINENO: result: no" >&5
2240 echo "${ECHO_T}no" >&6; }
2241 SET_MAKE
="MAKE=${MAKE-make}"
2244 rm -rf .tst
2>/dev
/null
2245 mkdir .tst
2>/dev
/null
2246 if test -d .tst
; then
2251 rmdir .tst
2>/dev
/null
2253 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2254 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2255 # is not polluted with repeated "-I."
2256 am__isrc
=' -I$(srcdir)'
2257 # test to see if srcdir already configured
2258 if test -f $srcdir/config.status
; then
2259 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2260 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2261 { (exit 1); exit 1; }; }
2265 # test whether we have cygpath
2266 if test -z "$CYGPATH_W"; then
2267 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2268 CYGPATH_W
='cygpath -w'
2275 # Define the identity of the package.
2280 # Some tools Automake needs.
2282 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2285 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2288 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2291 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2294 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2296 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2298 # Installed binaries are usually stripped using `strip' when the user
2299 # run `make install-strip'. However `strip' might not be the right
2300 # tool to use in cross-compilation environments, therefore Automake
2301 # will honor the `STRIP' environment variable to overrule this program.
2302 if test "$cross_compiling" != no
; then
2303 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2305 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2308 if test "${ac_cv_prog_STRIP+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 if test -n "$STRIP"; then
2312 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir
=.
2319 for ac_exec_ext
in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 STRIP
=$ac_cv_prog_STRIP
2332 if test -n "$STRIP"; then
2333 { echo "$as_me:$LINENO: result: $STRIP" >&5
2334 echo "${ECHO_T}$STRIP" >&6; }
2336 { echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6; }
2342 if test -z "$ac_cv_prog_STRIP"; then
2344 # Extract the first word of "strip", so it can be a program name with args.
2345 set dummy strip
; ac_word
=$2
2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$ac_ct_STRIP"; then
2352 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir
=.
2359 for ac_exec_ext
in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_ac_ct_STRIP
="strip"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2372 if test -n "$ac_ct_STRIP"; then
2373 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2374 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2376 { echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6; }
2380 if test "x$ac_ct_STRIP" = x
; then
2383 case $cross_compiling:$ac_tool_warned in
2385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2386 whose name does not start with the host triplet. If you think this
2387 configuration is useful to you, please write to autoconf@gnu.org." >&5
2388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2389 whose name does not start with the host triplet. If you think this
2390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2391 ac_tool_warned
=yes ;;
2396 STRIP
="$ac_cv_prog_STRIP"
2400 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2402 # We need awk for the "check" target. The system "awk" is bad on
2404 # Always define AMTAR for backward compatibility.
2406 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2408 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2414 ac_config_headers
="$ac_config_headers config.h"
2418 ac_cpp
='$CPP $CPPFLAGS'
2419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2424 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_prog_CC+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC
="$CC" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { echo "$as_me:$LINENO: result: $CC" >&5
2453 echo "${ECHO_T}$CC" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2461 if test -z "$ac_cv_prog_CC"; then
2463 # Extract the first word of "gcc", so it can be a program name with args.
2464 set dummy gcc
; ac_word
=$2
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2467 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test -n "$ac_ct_CC"; then
2471 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir
=.
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_ac_ct_CC
="gcc"
2481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2491 if test -n "$ac_ct_CC"; then
2492 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2493 echo "${ECHO_T}$ac_ct_CC" >&6; }
2495 { echo "$as_me:$LINENO: result: no" >&5
2496 echo "${ECHO_T}no" >&6; }
2499 if test "x$ac_ct_CC" = x
; then
2502 case $cross_compiling:$ac_tool_warned in
2504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2505 whose name does not start with the host triplet. If you think this
2506 configuration is useful to you, please write to autoconf@gnu.org." >&5
2507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2508 whose name does not start with the host triplet. If you think this
2509 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2510 ac_tool_warned
=yes ;;
2518 if test -z "$CC"; then
2519 if test -n "$ac_tool_prefix"; then
2520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2521 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_CC+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$CC"; then
2528 ac_cv_prog_CC
="$CC" # Let the user override the test.
2530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir
=.
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 if test -n "$CC"; then
2549 { echo "$as_me:$LINENO: result: $CC" >&5
2550 echo "${ECHO_T}$CC" >&6; }
2552 { echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6; }
2559 if test -z "$CC"; then
2560 # Extract the first word of "cc", so it can be a program name with args.
2561 set dummy cc
; ac_word
=$2
2562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2564 if test "${ac_cv_prog_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 if test -n "$CC"; then
2568 ac_cv_prog_CC
="$CC" # Let the user override the test.
2571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir
=.
2576 for ac_exec_ext
in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2579 ac_prog_rejected
=yes
2583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test $ac_prog_rejected = yes; then
2591 # We found a bogon in the path, so make sure we never use it.
2592 set dummy
$ac_cv_prog_CC
2594 if test $# != 0; then
2595 # We chose a different compiler from the bogus one.
2596 # However, it has the same basename, so the bogon will be chosen
2597 # first if we set CC to just the basename; use the full file name.
2599 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2605 if test -n "$CC"; then
2606 { echo "$as_me:$LINENO: result: $CC" >&5
2607 echo "${ECHO_T}$CC" >&6; }
2609 { echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6; }
2615 if test -z "$CC"; then
2616 if test -n "$ac_tool_prefix"; then
2617 for ac_prog
in cl.exe
2619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2620 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2623 if test "${ac_cv_prog_CC+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 if test -n "$CC"; then
2627 ac_cv_prog_CC
="$CC" # Let the user override the test.
2629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir
=.
2634 for ac_exec_ext
in '' $ac_executable_extensions; do
2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 if test -n "$CC"; then
2648 { echo "$as_me:$LINENO: result: $CC" >&5
2649 echo "${ECHO_T}$CC" >&6; }
2651 { echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6; }
2656 test -n "$CC" && break
2659 if test -z "$CC"; then
2661 for ac_prog
in cl.exe
2663 # Extract the first word of "$ac_prog", so it can be a program name with args.
2664 set dummy
$ac_prog; ac_word
=$2
2665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 if test -n "$ac_ct_CC"; then
2671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_ac_ct_CC
="$ac_prog"
2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2691 if test -n "$ac_ct_CC"; then
2692 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2693 echo "${ECHO_T}$ac_ct_CC" >&6; }
2695 { echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6; }
2700 test -n "$ac_ct_CC" && break
2703 if test "x$ac_ct_CC" = x
; then
2706 case $cross_compiling:$ac_tool_warned in
2708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2709 whose name does not start with the host triplet. If you think this
2710 configuration is useful to you, please write to autoconf@gnu.org." >&5
2711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2712 whose name does not start with the host triplet. If you think this
2713 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2714 ac_tool_warned
=yes ;;
2723 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2724 See \`config.log' for more details." >&5
2725 echo "$as_me: error: no acceptable C compiler found in \$PATH
2726 See \`config.log' for more details." >&2;}
2727 { (exit 1); exit 1; }; }
2729 # Provide some information about the compiler.
2730 echo "$as_me:$LINENO: checking for C compiler version" >&5
2731 ac_compiler
=`set X $ac_compile; echo $2`
2732 { (ac_try
="$ac_compiler --version >&5"
2734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2738 (eval "$ac_compiler --version >&5") 2>&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }
2742 { (ac_try="$ac_compiler -v >&5"
2744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2745 *) ac_try_echo
=$ac_try;;
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_compiler -v >&5") 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }
2752 { (ac_try
="$ac_compiler -V >&5"
2754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2758 (eval "$ac_compiler -V >&5") 2>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }
2763 cat >conftest.$ac_ext <<_ACEOF
2766 cat confdefs.h >>conftest.$ac_ext
2767 cat >>conftest.$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2778 ac_clean_files_save=$ac_clean_files
2779 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2780 # Try to create an executable without -o first, disregard a.out.
2781 # It will help us diagnose broken compilers, and finding out an intuition
2783 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2784 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2785 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2787 # List of possible output files, starting from the most likely.
2788 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2789 # only as a last resort. b.out is created by i960 compilers.
2790 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2792 # The IRIX 6 linker writes into existing files which may not be
2793 # executable, retaining their permissions. Remove them first so a
2794 # subsequent execution test works.
2796 for ac_file in $ac_files
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2800 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2805 if { (ac_try="$ac_link_default"
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2811 (eval "$ac_link_default") 2>&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; then
2815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2818 # so that the user can short-circuit this test for compilers unknown to
2820 for ac_file
in $ac_files ''
2822 test -f "$ac_file" ||
continue
2824 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2827 # We found the default executable, but exeext='' is most
2831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2833 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2835 # We set ac_cv_exeext here because the later test for it is not
2836 # safe: cross compilers may not add the suffix if given an `-o'
2837 # argument, so we may need to know it at that point already.
2838 # Even if this section looks crufty: it has the advantage of
2845 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2851 { echo "$as_me:$LINENO: result: $ac_file" >&5
2852 echo "${ECHO_T}$ac_file" >&6; }
2853 if test -z "$ac_file"; then
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: C compiler cannot create executables
2860 See \`config.log' for more details." >&2;}
2861 { (exit 77); exit 77; }; }
2864 ac_exeext
=$ac_cv_exeext
2866 # Check that the compiler produces executables we can run. If not, either
2867 # the compiler is broken, or we cross compile.
2868 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2869 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2870 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2871 # If not cross compiling, check that we can run a simple program.
2872 if test "$cross_compiling" != yes; then
2873 if { ac_try
='./$ac_file'
2874 { (case "(($ac_try" in
2875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_try") 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2885 if test "$cross_compiling" = maybe; then
2888 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2889 If you meant to cross compile, use \`--host'.
2890 See \`config.log' for more details.
" >&5
2891 echo "$as_me: error
: cannot run C compiled programs.
2892 If you meant to cross compile
, use \
`--host'.
2893 See \`config.log
' for more details." >&2;}
2894 { (exit 1); exit 1; }; }
2898 { echo "$as_me:$LINENO: result: yes" >&5
2899 echo "${ECHO_T}yes" >&6; }
2901 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2902 ac_clean_files=$ac_clean_files_save
2903 # Check that the compiler produces executables we can run. If not, either
2904 # the compiler is broken, or we cross compile.
2905 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2906 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2907 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2908 echo "${ECHO_T}$cross_compiling" >&6; }
2910 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2911 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2912 if { (ac_try="$ac_link"
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_link") 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; then
2922 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2923 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2924 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2926 for ac_file
in conftest.exe conftest conftest.
*; do
2927 test -f "$ac_file" ||
continue
2929 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2930 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2936 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2937 See \`config.log' for more details." >&5
2938 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2939 See \`config.log' for more details." >&2;}
2940 { (exit 1); exit 1; }; }
2943 rm -f conftest
$ac_cv_exeext
2944 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2945 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2947 rm -f conftest.
$ac_ext
2948 EXEEXT
=$ac_cv_exeext
2950 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2951 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2952 if test "${ac_cv_objext+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 cat >conftest.
$ac_ext <<_ACEOF
2958 cat confdefs.h
>>conftest.
$ac_ext
2959 cat >>conftest.
$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2970 rm -f conftest.o conftest.obj
2971 if { (ac_try
="$ac_compile"
2973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_compile") 2>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; then
2981 for ac_file in conftest.o conftest.obj conftest.*; do
2982 test -f "$ac_file" || continue;
2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2985 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2994 See \`config.log
' for more details." >&5
2995 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2996 See \`config.log' for more details.
" >&2;}
2997 { (exit 1); exit 1; }; }
3000 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3002 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3003 echo "${ECHO_T}$ac_cv_objext" >&6; }
3004 OBJEXT=$ac_cv_objext
3006 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3007 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3008 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3009 echo $ECHO_N "(cached
) $ECHO_C" >&6
3011 cat >conftest.$ac_ext <<_ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3029 rm -f conftest.$ac_objext
3030 if { (ac_try="$ac_compile"
3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3036 (eval "$ac_compile") 2>conftest.er1
3038 grep -v '^ *+' conftest.er1 >conftest.err
3040 cat conftest.err >&5
3041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3042 (exit $ac_status); } && {
3043 test -z "$ac_c_werror_flag" ||
3044 test ! -s conftest.err
3045 } && test -s conftest.$ac_objext; then
3048 echo "$as_me: failed program was
:" >&5
3049 sed 's/^/| /' conftest.$ac_ext >&5
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3058 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3059 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3060 GCC=`test $ac_compiler_gnu = yes && echo yes`
3061 ac_test_CFLAGS=${CFLAGS+set}
3062 ac_save_CFLAGS=$CFLAGS
3063 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3064 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3065 if test "${ac_cv_prog_cc_g+set}" = set; then
3066 echo $ECHO_N "(cached
) $ECHO_C" >&6
3068 ac_save_c_werror_flag=$ac_c_werror_flag
3069 ac_c_werror_flag=yes
3072 cat >conftest.$ac_ext <<_ACEOF
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3087 rm -f conftest.$ac_objext
3088 if { (ac_try="$ac_compile"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^ *+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3106 echo "$as_me: failed program was
:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3125 rm -f conftest.$ac_objext
3126 if { (ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3138 (exit $ac_status); } && {
3139 test -z "$ac_c_werror_flag" ||
3140 test ! -s conftest.err
3141 } && test -s conftest.$ac_objext; then
3144 echo "$as_me: failed program was
:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 ac_c_werror_flag=$ac_save_c_werror_flag
3149 cat >conftest.$ac_ext <<_ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (ac_try="$ac_compile"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compile") 2>conftest.er1
3173 grep -v '^ *+' conftest.er1 >conftest.err
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3177 (exit $ac_status); } && {
3178 test -z "$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then
3183 echo "$as_me: failed program was
:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 ac_c_werror_flag=$ac_save_c_werror_flag
3198 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3199 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3200 if test "$ac_test_CFLAGS" = set; then
3201 CFLAGS=$ac_save_CFLAGS
3202 elif test $ac_cv_prog_cc_g = yes; then
3203 if test "$GCC" = yes; then
3209 if test "$GCC" = yes; then
3215 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3216 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3217 if test "${ac_cv_prog_cc_c89+set}" = set; then
3218 echo $ECHO_N "(cached
) $ECHO_C" >&6
3220 ac_cv_prog_cc_c89=no
3222 cat >conftest.$ac_ext <<_ACEOF
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3230 #include <sys/types.h>
3231 #include <sys/stat.h>
3232 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3233 struct buf { int x; };
3234 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3235 static char *e (p, i)
3241 static char *f (char * (*g) (char **, int), char **p, ...)
3246 s = g (p, va_arg (v,int));
3251 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3252 function prototypes and stuff, but not '\xHH' hex character constants.
3253 These don't provoke an error unfortunately, instead are silently treated
3254 as 'x'. The following induces an error, until -std is added to get
3255 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3256 array size at least. It's necessary to write '\x00'==0 to get something
3257 that's true only with -std. */
3258 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3260 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3261 inside strings and character constants. */
3263 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3265 int test (int i, double x);
3266 struct s1 {int (*f) (int a);};
3267 struct s2 {int (*f) (double a);};
3268 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3274 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3279 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3280 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3282 CC="$ac_save_CC $ac_arg"
3283 rm -f conftest.$ac_objext
3284 if { (ac_try="$ac_compile"
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval "$ac_compile") 2>conftest.er1
3292 grep -v '^ *+' conftest.er1 >conftest.err
3294 cat conftest.err >&5
3295 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3296 (exit $ac_status); } && {
3297 test -z "$ac_c_werror_flag" ||
3298 test ! -s conftest.err
3299 } && test -s conftest.$ac_objext; then
3300 ac_cv_prog_cc_c89=$ac_arg
3302 echo "$as_me: failed program was
:" >&5
3303 sed 's/^/| /' conftest.$ac_ext >&5
3308 rm -f core conftest.err conftest.$ac_objext
3309 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3311 rm -f conftest.$ac_ext
3316 case "x
$ac_cv_prog_cc_c89" in
3318 { echo "$as_me:$LINENO: result
: none needed
" >&5
3319 echo "${ECHO_T}none needed
" >&6; } ;;
3321 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3322 echo "${ECHO_T}unsupported
" >&6; } ;;
3324 CC="$CC $ac_cv_prog_cc_c89"
3325 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3326 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3331 ac_cpp='$CPP $CPPFLAGS'
3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335 DEPDIR="${am__leading_dot}deps
"
3337 ac_config_commands="$ac_config_commands depfiles
"
3340 am_make=${MAKE-make}
3341 cat > confinc << 'END'
3346 # If we don't find an include directive, just comment out the code.
3347 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3348 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3352 # First try GNU make style include.
3353 echo "include confinc" > confmf
3354 # We grep out `Entering directory' and `Leaving directory'
3355 # messages which can occur if `w' ends up in MAKEFLAGS.
3356 # In particular we don't look at `^make:' because GNU make might
3357 # be invoked under some other name (usually "gmake"), in which
3358 # case it prints its new name instead of `make'.
3359 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3364 # Now try BSD make style include.
3365 if test "$am__include" = "#"; then
3366 echo '.include "confinc"' > confmf
3367 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3368 am__include
=.include
3375 { echo "$as_me:$LINENO: result: $_am_result" >&5
3376 echo "${ECHO_T}$_am_result" >&6; }
3377 rm -f confinc confmf
3379 # Check whether --enable-dependency-tracking was given.
3380 if test "${enable_dependency_tracking+set}" = set; then
3381 enableval
=$enable_dependency_tracking;
3384 if test "x$enable_dependency_tracking" != xno
; then
3385 am_depcomp
="$ac_aux_dir/depcomp"
3388 if test "x$enable_dependency_tracking" != xno; then
3398 depcc
="$CC" am_compiler_list
=
3400 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3401 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3402 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3403 echo $ECHO_N "(cached) $ECHO_C" >&6
3405 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3406 # We make a subdir and do the tests there. Otherwise we can end up
3407 # making bogus files that we don't know about and never remove. For
3408 # instance it was reported that on HP-UX the gcc test will end up
3409 # making a dummy file named `D' -- because `-MD' means `put the output
3412 # Copy depcomp to subdir because otherwise we won't find it if we're
3413 # using a relative directory.
3414 cp "$am_depcomp" conftest.dir
3416 # We will build objects and dependencies in a subdirectory because
3417 # it helps to detect inapplicable dependency modes. For instance
3418 # both Tru64's cc and ICC support -MD to output dependencies as a
3419 # side effect of compilation, but ICC will put the dependencies in
3420 # the current directory while Tru64 will put them in the object
3424 am_cv_CC_dependencies_compiler_type
=none
3425 if test "$am_compiler_list" = ""; then
3426 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3428 for depmode
in $am_compiler_list; do
3429 # Setup a source with many dependencies, because some compilers
3430 # like to wrap large dependency lists on column 80 (with \), and
3431 # we should not choose a depcomp mode which is confused by this.
3433 # We need to recreate these files for each test, as the compiler may
3434 # overwrite some of them when testing with obscure command lines.
3435 # This happens at least with the AIX C compiler.
3437 for i
in 1 2 3 4 5 6; do
3438 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3439 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3440 # Solaris 8's {/usr,}/bin/sh.
3441 touch sub
/conftst
$i.h
3443 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3447 # after this tag, mechanisms are not by side-effect, so they'll
3448 # only be used when explicitly requested
3449 if test "x$enable_dependency_tracking" = xyes
; then
3457 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3458 # mode. It turns out that the SunPro C++ compiler does not properly
3459 # handle `-M -o', and we need to detect this.
3460 if depmode
=$depmode \
3461 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3462 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3463 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3464 >/dev
/null
2>conftest.err
&&
3465 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3466 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3467 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3468 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3469 # icc doesn't choke on unknown options, it will just issue warnings
3470 # or remarks (even with -Werror). So we grep stderr for any message
3471 # that says an option was ignored or not supported.
3472 # When given -MP, icc 7.0 and 7.1 complain thusly:
3473 # icc: Command line warning: ignoring option '-M'; no argument required
3474 # The diagnosis changed in icc 8.0:
3475 # icc: Command line remark: option '-MP' not supported
3476 if (grep 'ignoring option' conftest.err ||
3477 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3478 am_cv_CC_dependencies_compiler_type
=$depmode
3487 am_cv_CC_dependencies_compiler_type
=none
3491 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3492 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3493 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3496 test "x$enable_dependency_tracking" != xno \
3497 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3499 am__fastdepCC_FALSE
='#'
3501 am__fastdepCC_TRUE
='#'
3502 am__fastdepCC_FALSE
=
3508 ac_cpp
='$CPP $CPPFLAGS'
3509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3512 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3513 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3514 # On Suns, sometimes $CPP names a directory.
3515 if test -n "$CPP" && test -d "$CPP"; then
3518 if test -z "$CPP"; then
3519 if test "${ac_cv_prog_CPP+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 # Double quotes because CPP needs to be expanded
3523 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3526 for ac_c_preproc_warn_flag
in '' yes
3528 # Use a header file that comes with gcc, so configuring glibc
3529 # with a fresh cross-compiler works.
3530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3531 # <limits.h> exists even on freestanding compilers.
3532 # On the NeXT, cc -E runs the code through the compiler's parser,
3533 # not just through cpp. "Syntax error" is here to catch this case.
3534 cat >conftest.
$ac_ext <<_ACEOF
3537 cat confdefs.h
>>conftest.
$ac_ext
3538 cat >>conftest.
$ac_ext <<_ACEOF
3539 /* end confdefs.h. */
3541 # include <limits.h>
3543 # include <assert.h>
3547 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Broken: fails on valid input.
3572 rm -f conftest.err conftest.$ac_ext
3574 # OK, works on sane cases. Now check whether nonexistent headers
3575 # can be detected and how.
3576 cat >conftest.$ac_ext <<_ACEOF
3579 cat confdefs.h >>conftest.$ac_ext
3580 cat >>conftest.$ac_ext <<_ACEOF
3581 /* end confdefs.h. */
3582 #include <ac_nonexistent.h>
3584 if { (ac_try="$ac_cpp conftest.$ac_ext"
3586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3587 *) ac_try_echo
=$ac_try;;
3589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3592 grep -v '^ *+' conftest.er1
>conftest.err
3594 cat conftest.err
>&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } >/dev
/null
&& {
3597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3598 test ! -s conftest.err
3600 # Broken: success on invalid input.
3603 echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.
$ac_ext >&5
3606 # Passes both tests.
3611 rm -f conftest.err conftest.
$ac_ext
3614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3615 rm -f conftest.err conftest.
$ac_ext
3616 if $ac_preproc_ok; then
3628 { echo "$as_me:$LINENO: result: $CPP" >&5
3629 echo "${ECHO_T}$CPP" >&6; }
3631 for ac_c_preproc_warn_flag
in '' yes
3633 # Use a header file that comes with gcc, so configuring glibc
3634 # with a fresh cross-compiler works.
3635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3636 # <limits.h> exists even on freestanding compilers.
3637 # On the NeXT, cc -E runs the code through the compiler's parser,
3638 # not just through cpp. "Syntax error" is here to catch this case.
3639 cat >conftest.
$ac_ext <<_ACEOF
3642 cat confdefs.h
>>conftest.
$ac_ext
3643 cat >>conftest.
$ac_ext <<_ACEOF
3644 /* end confdefs.h. */
3646 # include <limits.h>
3648 # include <assert.h>
3652 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3660 grep -v '^ *+' conftest.er1 >conftest.err
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } >/dev/null && {
3665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3670 echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 # Broken: fails on valid input.
3677 rm -f conftest.err conftest.$ac_ext
3679 # OK, works on sane cases. Now check whether nonexistent headers
3680 # can be detected and how.
3681 cat >conftest.$ac_ext <<_ACEOF
3684 cat confdefs.h >>conftest.$ac_ext
3685 cat >>conftest.$ac_ext <<_ACEOF
3686 /* end confdefs.h. */
3687 #include <ac_nonexistent.h>
3689 if { (ac_try="$ac_cpp conftest.$ac_ext"
3691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3692 *) ac_try_echo
=$ac_try;;
3694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3697 grep -v '^ *+' conftest.er1
>conftest.err
3699 cat conftest.err
>&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); } >/dev
/null
&& {
3702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3703 test ! -s conftest.err
3705 # Broken: success on invalid input.
3708 echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.
$ac_ext >&5
3711 # Passes both tests.
3716 rm -f conftest.err conftest.
$ac_ext
3719 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3720 rm -f conftest.err conftest.
$ac_ext
3721 if $ac_preproc_ok; then
3724 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3725 See \`config.log' for more details." >&5
3726 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3727 See \`config.log' for more details." >&2;}
3728 { (exit 1); exit 1; }; }
3732 ac_cpp
='$CPP $CPPFLAGS'
3733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3738 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3739 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3740 if test "${ac_cv_path_GREP+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 # Extract the first word of "grep ggrep" to use in msg output
3744 if test -z "$GREP"; then
3745 set dummy
grep ggrep
; ac_prog_name
=$2
3746 if test "${ac_cv_path_GREP+set}" = set; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 ac_path_GREP_found
=false
3750 # Loop through the user's path and test for each of PROGNAME-LIST
3751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3755 test -z "$as_dir" && as_dir
=.
3756 for ac_prog
in grep ggrep
; do
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3759 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3760 # Check for GNU ac_path_GREP and select it if it is found.
3761 # Check for GNU $ac_path_GREP
3762 case `"$ac_path_GREP" --version 2>&1` in
3764 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3767 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3770 cat "conftest.in" "conftest.in" >"conftest.tmp"
3771 mv "conftest.tmp" "conftest.in"
3772 cp "conftest.in" "conftest.nl"
3773 echo 'GREP' >> "conftest.nl"
3774 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3775 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3776 ac_count
=`expr $ac_count + 1`
3777 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3778 # Best one so far, save it but keep looking for a better one
3779 ac_cv_path_GREP
="$ac_path_GREP"
3780 ac_path_GREP_max
=$ac_count
3782 # 10*(2^10) chars as input seems more than enough
3783 test $ac_count -gt 10 && break
3785 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3789 $ac_path_GREP_found && break 3
3799 GREP
="$ac_cv_path_GREP"
3800 if test -z "$GREP"; then
3801 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3802 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3803 { (exit 1); exit 1; }; }
3807 ac_cv_path_GREP
=$GREP
3812 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3813 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3814 GREP
="$ac_cv_path_GREP"
3817 { echo "$as_me:$LINENO: checking for egrep" >&5
3818 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3819 if test "${ac_cv_path_EGREP+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3823 then ac_cv_path_EGREP
="$GREP -E"
3825 # Extract the first word of "egrep" to use in msg output
3826 if test -z "$EGREP"; then
3827 set dummy
egrep; ac_prog_name
=$2
3828 if test "${ac_cv_path_EGREP+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 ac_path_EGREP_found
=false
3832 # Loop through the user's path and test for each of PROGNAME-LIST
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3834 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_prog
in egrep; do
3839 for ac_exec_ext
in '' $ac_executable_extensions; do
3840 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3841 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3842 # Check for GNU ac_path_EGREP and select it if it is found.
3843 # Check for GNU $ac_path_EGREP
3844 case `"$ac_path_EGREP" --version 2>&1` in
3846 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3849 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3852 cat "conftest.in" "conftest.in" >"conftest.tmp"
3853 mv "conftest.tmp" "conftest.in"
3854 cp "conftest.in" "conftest.nl"
3855 echo 'EGREP' >> "conftest.nl"
3856 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3857 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3858 ac_count
=`expr $ac_count + 1`
3859 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3860 # Best one so far, save it but keep looking for a better one
3861 ac_cv_path_EGREP
="$ac_path_EGREP"
3862 ac_path_EGREP_max
=$ac_count
3864 # 10*(2^10) chars as input seems more than enough
3865 test $ac_count -gt 10 && break
3867 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3871 $ac_path_EGREP_found && break 3
3881 EGREP
="$ac_cv_path_EGREP"
3882 if test -z "$EGREP"; then
3883 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3884 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3885 { (exit 1); exit 1; }; }
3889 ac_cv_path_EGREP
=$EGREP
3895 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3896 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3897 EGREP
="$ac_cv_path_EGREP"
3901 { echo "$as_me:$LINENO: checking for AIX" >&5
3902 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3903 cat >conftest.
$ac_ext <<_ACEOF
3906 cat confdefs.h
>>conftest.
$ac_ext
3907 cat >>conftest.
$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3915 $EGREP "yes" >/dev
/null
2>&1; then
3916 { echo "$as_me:$LINENO: result: yes" >&5
3917 echo "${ECHO_T}yes" >&6; }
3918 cat >>confdefs.h
<<\_ACEOF
3919 #define _ALL_SOURCE 1
3923 { echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6; }
3929 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3930 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3931 if test "${ac_cv_header_stdc+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 cat >conftest.
$ac_ext <<_ACEOF
3937 cat confdefs.h
>>conftest.
$ac_ext
3938 cat >>conftest.
$ac_ext <<_ACEOF
3939 /* end confdefs.h. */
3953 rm -f conftest.
$ac_objext
3954 if { (ac_try
="$ac_compile"
3956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3957 *) ac_try_echo=$ac_try;;
3959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3960 (eval "$ac_compile") 2>conftest.er1
3962 grep -v '^ *+' conftest.er1 >conftest.err
3964 cat conftest.err >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); } && {
3967 test -z "$ac_c_werror_flag" ||
3968 test ! -s conftest.err
3969 } && test -s conftest.$ac_objext; then
3970 ac_cv_header_stdc=yes
3972 echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3975 ac_cv_header_stdc=no
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3980 if test $ac_cv_header_stdc = yes; then
3981 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3982 cat >conftest.$ac_ext <<_ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3992 $EGREP "memchr" >/dev/null 2>&1; then
3995 ac_cv_header_stdc=no
4001 if test $ac_cv_header_stdc = yes; then
4002 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4003 cat >conftest.$ac_ext <<_ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4013 $EGREP "free" >/dev/null 2>&1; then
4016 ac_cv_header_stdc=no
4022 if test $ac_cv_header_stdc = yes; then
4023 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4024 if test "$cross_compiling" = yes; then
4027 cat >conftest.$ac_ext <<_ACEOF
4030 cat confdefs.h >>conftest.$ac_ext
4031 cat >>conftest.$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4035 #if ((' ' & 0x0FF) == 0x020)
4036 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4037 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4039 # define ISLOWER(c) \
4040 (('a' <= (c) && (c) <= 'i') \
4041 || ('j' <= (c) && (c) <= 'r') \
4042 || ('s' <= (c) && (c) <= 'z'))
4043 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4046 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4051 for (i = 0; i < 256; i++)
4052 if (XOR (islower (i), ISLOWER (i))
4053 || toupper (i) != TOUPPER (i))
4058 rm -f conftest$ac_exeext
4059 if { (ac_try="$ac_link"
4061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4062 *) ac_try_echo
=$ac_try;;
4064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4065 (eval "$ac_link") 2>&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4069 { (case "(($ac_try" in
4070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4074 (eval "$ac_try") 2>&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); }; }; then
4080 echo "$as_me: program exited with status $ac_status" >&5
4081 echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.$ac_ext >&5
4085 ac_cv_header_stdc=no
4087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4093 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4094 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4095 if test $ac_cv_header_stdc = yes; then
4097 cat >>confdefs.h <<\_ACEOF
4098 #define STDC_HEADERS 1
4103 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4113 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4114 inttypes.h stdint.h unistd.h
4116 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4117 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 cat >conftest.$ac_ext <<_ACEOF
4125 cat confdefs.h >>conftest.$ac_ext
4126 cat >>conftest.$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4128 $ac_includes_default
4130 #include <$ac_header>
4132 rm -f conftest.$ac_objext
4133 if { (ac_try="$ac_compile"
4135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4136 *) ac_try_echo
=$ac_try;;
4138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4139 (eval "$ac_compile") 2>conftest.er1
4141 grep -v '^ *+' conftest.er1
>conftest.err
4143 cat conftest.err
>&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); } && {
4146 test -z "$ac_c_werror_flag" ||
4147 test ! -s conftest.err
4148 } && test -s conftest.
$ac_objext; then
4149 eval "$as_ac_Header=yes"
4151 echo "$as_me: failed program was:" >&5
4152 sed 's/^/| /' conftest.
$ac_ext >&5
4154 eval "$as_ac_Header=no"
4157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4159 ac_res
=`eval echo '${'$as_ac_Header'}'`
4160 { echo "$as_me:$LINENO: result: $ac_res" >&5
4161 echo "${ECHO_T}$ac_res" >&6; }
4162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4163 cat >>confdefs.h
<<_ACEOF
4164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4172 if test "${ac_cv_header_minix_config_h+set}" = set; then
4173 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4174 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4175 if test "${ac_cv_header_minix_config_h+set}" = set; then
4176 echo $ECHO_N "(cached) $ECHO_C" >&6
4178 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4179 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4181 # Is the header compilable?
4182 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4183 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4184 cat >conftest.
$ac_ext <<_ACEOF
4187 cat confdefs.h
>>conftest.
$ac_ext
4188 cat >>conftest.
$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4190 $ac_includes_default
4191 #include <minix/config.h>
4193 rm -f conftest.
$ac_objext
4194 if { (ac_try
="$ac_compile"
4196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4197 *) ac_try_echo=$ac_try;;
4199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4200 (eval "$ac_compile") 2>conftest.er1
4202 grep -v '^ *+' conftest.er1 >conftest.err
4204 cat conftest.err >&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } && {
4207 test -z "$ac_c_werror_flag" ||
4208 test ! -s conftest.err
4209 } && test -s conftest.$ac_objext; then
4210 ac_header_compiler=yes
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.$ac_ext >&5
4215 ac_header_compiler=no
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4220 echo "${ECHO_T}$ac_header_compiler" >&6; }
4222 # Is the header present?
4223 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4224 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4225 cat >conftest.$ac_ext <<_ACEOF
4228 cat confdefs.h >>conftest.$ac_ext
4229 cat >>conftest.$ac_ext <<_ACEOF
4230 /* end confdefs.h. */
4231 #include <minix/config.h>
4233 if { (ac_try="$ac_cpp conftest.$ac_ext"
4235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4236 *) ac_try_echo
=$ac_try;;
4238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4241 grep -v '^ *+' conftest.er1
>conftest.err
4243 cat conftest.err
>&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); } >/dev
/null
&& {
4246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4247 test ! -s conftest.err
4249 ac_header_preproc
=yes
4251 echo "$as_me: failed program was:" >&5
4252 sed 's/^/| /' conftest.
$ac_ext >&5
4254 ac_header_preproc
=no
4257 rm -f conftest.err conftest.
$ac_ext
4258 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4259 echo "${ECHO_T}$ac_header_preproc" >&6; }
4261 # So? What about this header?
4262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4264 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4265 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4266 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4267 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4268 ac_header_preproc
=yes
4271 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4272 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4273 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4274 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4275 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4276 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4277 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4278 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4279 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4280 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4281 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4282 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4284 ## -------------------------------------------------- ##
4285 ## Report this to courier-users@lists.sourceforge.net ##
4286 ## -------------------------------------------------- ##
4288 ) |
sed "s/^/$as_me: WARNING: /" >&2
4291 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4292 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4293 if test "${ac_cv_header_minix_config_h+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 ac_cv_header_minix_config_h
=$ac_header_preproc
4298 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4299 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4302 if test $ac_cv_header_minix_config_h = yes; then
4309 if test "$MINIX" = yes; then
4311 cat >>confdefs.h
<<\_ACEOF
4312 #define _POSIX_SOURCE 1
4316 cat >>confdefs.h
<<\_ACEOF
4317 #define _POSIX_1_SOURCE 2
4321 cat >>confdefs.h
<<\_ACEOF
4327 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
4328 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
4329 if test "${ac_cv_search_strerror+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 ac_func_search_save_LIBS
=$LIBS
4333 cat >conftest.
$ac_ext <<_ACEOF
4336 cat confdefs.h
>>conftest.
$ac_ext
4337 cat >>conftest.
$ac_ext <<_ACEOF
4338 /* end confdefs.h. */
4340 /* Override any GCC internal prototype to avoid an error.
4341 Use char because int might match the return type of a GCC
4342 builtin and then its argument prototype would still apply. */
4355 for ac_lib
in '' cposix
; do
4356 if test -z "$ac_lib"; then
4357 ac_res
="none required"
4360 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4362 rm -f conftest.
$ac_objext conftest
$ac_exeext
4363 if { (ac_try
="$ac_link"
4365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4369 (eval "$ac_link") 2>conftest.er1
4371 grep -v '^ *+' conftest.er1 >conftest.err
4373 cat conftest.err >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } && {
4376 test -z "$ac_c_werror_flag" ||
4377 test ! -s conftest.err
4378 } && test -s conftest$ac_exeext &&
4379 $as_test_x conftest$ac_exeext; then
4380 ac_cv_search_strerror=$ac_res
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4390 if test "${ac_cv_search_strerror+set}" = set; then
4394 if test "${ac_cv_search_strerror+set}" = set; then
4397 ac_cv_search_strerror=no
4400 LIBS=$ac_func_search_save_LIBS
4402 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4403 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
4404 ac_res=$ac_cv_search_strerror
4405 if test "$ac_res" != no; then
4406 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4410 for ac_prog in gawk mawk nawk awk
4412 # Extract the first word of "$ac_prog", so it can be a program name with args.
4413 set dummy $ac_prog; ac_word=$2
4414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4416 if test "${ac_cv_prog_AWK+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 if test -n "$AWK"; then
4420 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429 ac_cv_prog_AWK="$ac_prog"
4430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 if test -n "$AWK"; then
4441 { echo "$as_me:$LINENO: result: $AWK" >&5
4442 echo "${ECHO_T}$AWK" >&6; }
4444 { echo "$as_me:$LINENO: result: no" >&5
4445 echo "${ECHO_T}no" >&6; }
4449 test -n "$AWK" && break
4453 ac_cpp='$CXXCPP $CPPFLAGS'
4454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4457 if test -z "$CXX"; then
4458 if test -n "$CCC"; then
4461 if test -n "$ac_tool_prefix"; then
4462 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4464 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4465 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4468 if test "${ac_cv_prog_CXX+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 if test -n "$CXX"; then
4472 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 test -z "$as_dir" && as_dir=.
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4481 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 if test -n "$CXX"; then
4493 { echo "$as_me:$LINENO: result: $CXX" >&5
4494 echo "${ECHO_T}$CXX" >&6; }
4496 { echo "$as_me:$LINENO: result: no" >&5
4497 echo "${ECHO_T}no" >&6; }
4501 test -n "$CXX" && break
4504 if test -z "$CXX"; then
4506 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4508 # Extract the first word of "$ac_prog", so it can be a program name with args.
4509 set dummy $ac_prog; ac_word=$2
4510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4512 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4515 if test -n "$ac_ct_CXX"; then
4516 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4522 test -z "$as_dir" && as_dir=.
4523 for ac_exec_ext in '' $ac_executable_extensions; do
4524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4525 ac_cv_prog_ac_ct_CXX="$ac_prog"
4526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4536 if test -n "$ac_ct_CXX"; then
4537 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4538 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4540 { echo "$as_me:$LINENO: result: no" >&5
4541 echo "${ECHO_T}no" >&6; }
4545 test -n "$ac_ct_CXX" && break
4548 if test "x$ac_ct_CXX" = x; then
4551 case $cross_compiling:$ac_tool_warned in
4553 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4554 whose name does not start with the host triplet. If you think this
4555 configuration is useful to you, please write to autoconf@gnu.org." >&5
4556 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4557 whose name does not start with the host triplet. If you think this
4558 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4559 ac_tool_warned=yes ;;
4567 # Provide some information about the compiler.
4568 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4569 ac_compiler=`set X
$ac_compile; echo $2`
4570 { (ac_try="$ac_compiler --version >&5"
4572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4573 *) ac_try_echo
=$ac_try;;
4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4576 (eval "$ac_compiler --version >&5") 2>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }
4580 { (ac_try
="$ac_compiler -v >&5"
4582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4583 *) ac_try_echo=$ac_try;;
4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4586 (eval "$ac_compiler -v >&5") 2>&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }
4590 { (ac_try="$ac_compiler -V >&5"
4592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4593 *) ac_try_echo
=$ac_try;;
4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4596 (eval "$ac_compiler -V >&5") 2>&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); }
4601 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4602 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4603 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 cat >conftest.
$ac_ext <<_ACEOF
4609 cat confdefs.h
>>conftest.
$ac_ext
4610 cat >>conftest.
$ac_ext <<_ACEOF
4611 /* end confdefs.h. */
4624 rm -f conftest.
$ac_objext
4625 if { (ac_try
="$ac_compile"
4627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4628 *) ac_try_echo=$ac_try;;
4630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4631 (eval "$ac_compile") 2>conftest.er1
4633 grep -v '^ *+' conftest.er1 >conftest.err
4635 cat conftest.err >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } && {
4638 test -z "$ac_cxx_werror_flag" ||
4639 test ! -s conftest.err
4640 } && test -s conftest.$ac_objext; then
4643 echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4653 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4654 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4655 GXX=`test $ac_compiler_gnu = yes && echo yes`
4656 ac_test_CXXFLAGS=${CXXFLAGS+set}
4657 ac_save_CXXFLAGS=$CXXFLAGS
4658 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4659 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4660 if test "${ac_cv_prog_cxx_g+set}" = set; then
4661 echo $ECHO_N "(cached) $ECHO_C" >&6
4663 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4664 ac_cxx_werror_flag=yes
4667 cat >conftest.$ac_ext <<_ACEOF
4670 cat confdefs.h >>conftest.$ac_ext
4671 cat >>conftest.$ac_ext <<_ACEOF
4672 /* end confdefs.h. */
4682 rm -f conftest.$ac_objext
4683 if { (ac_try="$ac_compile"
4685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4686 *) ac_try_echo
=$ac_try;;
4688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4689 (eval "$ac_compile") 2>conftest.er1
4691 grep -v '^ *+' conftest.er1
>conftest.err
4693 cat conftest.err
>&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } && {
4696 test -z "$ac_cxx_werror_flag" ||
4697 test ! -s conftest.err
4698 } && test -s conftest.
$ac_objext; then
4699 ac_cv_prog_cxx_g
=yes
4701 echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.
$ac_ext >&5
4705 cat >conftest.
$ac_ext <<_ACEOF
4708 cat confdefs.h
>>conftest.
$ac_ext
4709 cat >>conftest.
$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4720 rm -f conftest.
$ac_objext
4721 if { (ac_try
="$ac_compile"
4723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4724 *) ac_try_echo=$ac_try;;
4726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4727 (eval "$ac_compile") 2>conftest.er1
4729 grep -v '^ *+' conftest.er1 >conftest.err
4731 cat conftest.err >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } && {
4734 test -z "$ac_cxx_werror_flag" ||
4735 test ! -s conftest.err
4736 } && test -s conftest.$ac_objext; then
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4742 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4744 cat >conftest.$ac_ext <<_ACEOF
4747 cat confdefs.h >>conftest.$ac_ext
4748 cat >>conftest.$ac_ext <<_ACEOF
4749 /* end confdefs.h. */
4759 rm -f conftest.$ac_objext
4760 if { (ac_try="$ac_compile"
4762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4763 *) ac_try_echo
=$ac_try;;
4765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4766 (eval "$ac_compile") 2>conftest.er1
4768 grep -v '^ *+' conftest.er1
>conftest.err
4770 cat conftest.err
>&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } && {
4773 test -z "$ac_cxx_werror_flag" ||
4774 test ! -s conftest.err
4775 } && test -s conftest.
$ac_objext; then
4776 ac_cv_prog_cxx_g
=yes
4778 echo "$as_me: failed program was:" >&5
4779 sed 's/^/| /' conftest.
$ac_ext >&5
4784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4791 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4793 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4794 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4795 if test "$ac_test_CXXFLAGS" = set; then
4796 CXXFLAGS
=$ac_save_CXXFLAGS
4797 elif test $ac_cv_prog_cxx_g = yes; then
4798 if test "$GXX" = yes; then
4804 if test "$GXX" = yes; then
4811 ac_cpp
='$CPP $CPPFLAGS'
4812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4816 depcc
="$CXX" am_compiler_list
=
4818 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4819 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4820 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4821 echo $ECHO_N "(cached) $ECHO_C" >&6
4823 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4824 # We make a subdir and do the tests there. Otherwise we can end up
4825 # making bogus files that we don't know about and never remove. For
4826 # instance it was reported that on HP-UX the gcc test will end up
4827 # making a dummy file named `D' -- because `-MD' means `put the output
4830 # Copy depcomp to subdir because otherwise we won't find it if we're
4831 # using a relative directory.
4832 cp "$am_depcomp" conftest.dir
4834 # We will build objects and dependencies in a subdirectory because
4835 # it helps to detect inapplicable dependency modes. For instance
4836 # both Tru64's cc and ICC support -MD to output dependencies as a
4837 # side effect of compilation, but ICC will put the dependencies in
4838 # the current directory while Tru64 will put them in the object
4842 am_cv_CXX_dependencies_compiler_type
=none
4843 if test "$am_compiler_list" = ""; then
4844 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4846 for depmode
in $am_compiler_list; do
4847 # Setup a source with many dependencies, because some compilers
4848 # like to wrap large dependency lists on column 80 (with \), and
4849 # we should not choose a depcomp mode which is confused by this.
4851 # We need to recreate these files for each test, as the compiler may
4852 # overwrite some of them when testing with obscure command lines.
4853 # This happens at least with the AIX C compiler.
4855 for i
in 1 2 3 4 5 6; do
4856 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4857 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4858 # Solaris 8's {/usr,}/bin/sh.
4859 touch sub
/conftst
$i.h
4861 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4865 # after this tag, mechanisms are not by side-effect, so they'll
4866 # only be used when explicitly requested
4867 if test "x$enable_dependency_tracking" = xyes
; then
4875 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4876 # mode. It turns out that the SunPro C++ compiler does not properly
4877 # handle `-M -o', and we need to detect this.
4878 if depmode
=$depmode \
4879 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4880 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4881 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4882 >/dev
/null
2>conftest.err
&&
4883 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4884 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4885 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4886 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4887 # icc doesn't choke on unknown options, it will just issue warnings
4888 # or remarks (even with -Werror). So we grep stderr for any message
4889 # that says an option was ignored or not supported.
4890 # When given -MP, icc 7.0 and 7.1 complain thusly:
4891 # icc: Command line warning: ignoring option '-M'; no argument required
4892 # The diagnosis changed in icc 8.0:
4893 # icc: Command line remark: option '-MP' not supported
4894 if (grep 'ignoring option' conftest.err ||
4895 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4896 am_cv_CXX_dependencies_compiler_type
=$depmode
4905 am_cv_CXX_dependencies_compiler_type
=none
4909 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4910 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4911 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4914 test "x$enable_dependency_tracking" != xno \
4915 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4916 am__fastdepCXX_TRUE
=
4917 am__fastdepCXX_FALSE
='#'
4919 am__fastdepCXX_TRUE
='#'
4920 am__fastdepCXX_FALSE
=
4924 # Check whether --enable-shared was given.
4925 if test "${enable_shared+set}" = set; then
4926 enableval
=$enable_shared; p
=${PACKAGE-default}
4928 yes) enable_shared
=yes ;;
4929 no
) enable_shared
=no
;;
4932 # Look at the argument we got. We use all the common list separators.
4933 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4934 for pkg
in $enableval; do
4936 if test "X$pkg" = "X$p"; then
4948 # Check whether --enable-static was given.
4949 if test "${enable_static+set}" = set; then
4950 enableval
=$enable_static; p
=${PACKAGE-default}
4952 yes) enable_static
=yes ;;
4953 no
) enable_static
=no
;;
4956 # Look at the argument we got. We use all the common list separators.
4957 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4958 for pkg
in $enableval; do
4960 if test "X$pkg" = "X$p"; then
4972 # Check whether --enable-fast-install was given.
4973 if test "${enable_fast_install+set}" = set; then
4974 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4976 yes) enable_fast_install
=yes ;;
4977 no
) enable_fast_install
=no
;;
4979 enable_fast_install
=no
4980 # Look at the argument we got. We use all the common list separators.
4981 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4982 for pkg
in $enableval; do
4984 if test "X$pkg" = "X$p"; then
4985 enable_fast_install
=yes
4992 enable_fast_install
=yes
4996 # Make sure we can run config.sub.
4997 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4998 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4999 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5000 { (exit 1); exit 1; }; }
5002 { echo "$as_me:$LINENO: checking build system type" >&5
5003 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5004 if test "${ac_cv_build+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 ac_build_alias
=$build_alias
5008 test "x$ac_build_alias" = x
&&
5009 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5010 test "x$ac_build_alias" = x
&&
5011 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5012 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5013 { (exit 1); exit 1; }; }
5014 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5015 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5016 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5017 { (exit 1); exit 1; }; }
5020 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5021 echo "${ECHO_T}$ac_cv_build" >&6; }
5022 case $ac_cv_build in
5024 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5025 echo "$as_me: error: invalid value of canonical build" >&2;}
5026 { (exit 1); exit 1; }; };;
5029 ac_save_IFS
=$IFS; IFS
='-'
5035 # Remember, the first character of IFS is used to create $*,
5036 # except with old shells:
5039 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5042 { echo "$as_me:$LINENO: checking host system type" >&5
5043 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5044 if test "${ac_cv_host+set}" = set; then
5045 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 if test "x$host_alias" = x
; then
5048 ac_cv_host
=$ac_cv_build
5050 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5051 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5052 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5053 { (exit 1); exit 1; }; }
5057 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5058 echo "${ECHO_T}$ac_cv_host" >&6; }
5061 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5062 echo "$as_me: error: invalid value of canonical host" >&2;}
5063 { (exit 1); exit 1; }; };;
5066 ac_save_IFS
=$IFS; IFS
='-'
5072 # Remember, the first character of IFS is used to create $*,
5073 # except with old shells:
5076 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5079 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5080 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5081 if test "${lt_cv_path_SED+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 # Loop through the user's path and test for sed and gsed.
5085 # Then use that list of sed's as ones to test for truncation.
5086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5090 test -z "$as_dir" && as_dir
=.
5091 for lt_ac_prog
in sed gsed
; do
5092 for ac_exec_ext
in '' $ac_executable_extensions; do
5093 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5094 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5102 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5103 # along with /bin/sed that truncates output.
5104 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5105 test ! -f $lt_ac_sed && continue
5106 cat /dev
/null
> conftest.
in
5108 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5109 # Check for GNU sed and select it if it is found.
5110 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5111 lt_cv_path_SED
=$lt_ac_sed
5115 cat conftest.
in conftest.
in >conftest.tmp
5116 mv conftest.tmp conftest.
in
5117 cp conftest.
in conftest.
nl
5119 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5120 cmp -s conftest.out conftest.
nl ||
break
5121 # 10000 chars as input seems more than enough
5122 test $lt_ac_count -gt 10 && break
5123 lt_ac_count
=`expr $lt_ac_count + 1`
5124 if test $lt_ac_count -gt $lt_ac_max; then
5125 lt_ac_max
=$lt_ac_count
5126 lt_cv_path_SED
=$lt_ac_sed
5135 { echo "$as_me:$LINENO: result: $SED" >&5
5136 echo "${ECHO_T}$SED" >&6; }
5139 # Check whether --with-gnu-ld was given.
5140 if test "${with_gnu_ld+set}" = set; then
5141 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5147 if test "$GCC" = yes; then
5148 # Check if gcc -print-prog-name=ld gives a path.
5149 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5150 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5153 # gcc leaves a trailing carriage return which upsets mingw
5154 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5156 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5159 # Accept absolute paths.
5161 re_direlt
='/[^/][^/]*/\.\./'
5162 # Canonicalize the pathname of ld
5163 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
5164 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5165 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5167 test -z "$LD" && LD
="$ac_prog"
5170 # If it fails, then pretend we aren't using GCC.
5174 # If it is relative, then search for the first ld in PATH.
5178 elif test "$with_gnu_ld" = yes; then
5179 { echo "$as_me:$LINENO: checking for GNU ld" >&5
5180 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5182 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5183 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5185 if test "${lt_cv_path_LD+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 if test -z "$LD"; then
5189 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5190 for ac_dir
in $PATH; do
5192 test -z "$ac_dir" && ac_dir
=.
5193 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5194 lt_cv_path_LD
="$ac_dir/$ac_prog"
5195 # Check to see if the program is GNU ld. I'd rather use --version,
5196 # but apparently some variants of GNU ld only accept -v.
5197 # Break only if it was the GNU/non-GNU ld that we prefer.
5198 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5199 *GNU
* |
*'with BFD'*)
5200 test "$with_gnu_ld" != no
&& break
5203 test "$with_gnu_ld" != yes && break
5210 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5215 if test -n "$LD"; then
5216 { echo "$as_me:$LINENO: result: $LD" >&5
5217 echo "${ECHO_T}$LD" >&6; }
5219 { echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6; }
5222 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5223 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5224 { (exit 1); exit 1; }; }
5225 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5226 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5227 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5231 case `$LD -v 2>&1 </dev/null` in
5232 *GNU
* |
*'with BFD'*)
5233 lt_cv_prog_gnu_ld
=yes
5236 lt_cv_prog_gnu_ld
=no
5240 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5241 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5242 with_gnu_ld
=$lt_cv_prog_gnu_ld
5245 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5246 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5247 if test "${lt_cv_ld_reload_flag+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 lt_cv_ld_reload_flag
='-r'
5252 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5253 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5254 reload_flag
=$lt_cv_ld_reload_flag
5255 case $reload_flag in
5257 *) reload_flag
=" $reload_flag" ;;
5259 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5262 if test "$GCC" = yes; then
5263 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5265 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5270 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5271 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5272 if test "${lt_cv_path_NM+set}" = set; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 if test -n "$NM"; then
5276 # Let the user override the test.
5279 lt_nm_to_check
="${ac_tool_prefix}nm"
5280 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5281 lt_nm_to_check
="$lt_nm_to_check nm"
5283 for lt_tmp_nm
in $lt_nm_to_check; do
5284 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5285 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5287 test -z "$ac_dir" && ac_dir
=.
5288 tmp_nm
="$ac_dir/$lt_tmp_nm"
5289 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5290 # Check to see if the nm accepts a BSD-compat flag.
5291 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5292 # nm: unknown option "B" ignored
5293 # Tru64's nm complains that /dev/null is an invalid object file
5294 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5295 */dev
/null
* |
*'Invalid file or object type'*)
5296 lt_cv_path_NM
="$tmp_nm -B"
5300 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5302 lt_cv_path_NM
="$tmp_nm -p"
5306 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5307 continue # so that we can try to find one that supports BSD flags
5316 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5319 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5320 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5323 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5324 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5326 if test "$LN_S" = "ln -s"; then
5327 { echo "$as_me:$LINENO: result: yes" >&5
5328 echo "${ECHO_T}yes" >&6; }
5330 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5331 echo "${ECHO_T}no, using $LN_S" >&6; }
5334 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5335 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
5336 if test "${lt_cv_deplibs_check_method+set}" = set; then
5337 echo $ECHO_N "(cached) $ECHO_C" >&6
5339 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5340 lt_cv_file_magic_test_file
=
5341 lt_cv_deplibs_check_method
='unknown'
5342 # Need to set the preceding variable on all platforms that support
5343 # interlibrary dependencies.
5344 # 'none' -- dependencies not supported.
5345 # `unknown' -- same as none, but documents that we really don't know.
5346 # 'pass_all' -- all dependencies passed with no checks.
5347 # 'test_compile' -- check by making test program.
5348 # 'file_magic [[regex]]' -- check by looking for files in library path
5349 # which responds to the $file_magic_cmd with a given extended regex.
5350 # If you have `file' or equivalent on your system and you're not sure
5351 # whether `pass_all' will *always* work, you probably want this one.
5355 lt_cv_deplibs_check_method
=pass_all
5359 lt_cv_deplibs_check_method
=pass_all
5363 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5364 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5365 lt_cv_file_magic_test_file
=/shlib
/libc.so
5369 # func_win32_libid is a shell function defined in ltmain.sh
5370 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5371 lt_cv_file_magic_cmd
='func_win32_libid'
5375 # Base MSYS/MinGW do not provide the 'file' command needed by
5376 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5377 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5378 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5381 darwin
* | rhapsody
*)
5382 lt_cv_deplibs_check_method
=pass_all
5385 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
5386 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5389 # Not sure whether the presence of OpenBSD here was a mistake.
5390 # Let's accept both of them until this is cleared up.
5391 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5392 lt_cv_file_magic_cmd
=/usr
/bin
/file
5393 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5397 lt_cv_deplibs_check_method
=pass_all
5402 lt_cv_deplibs_check_method
=pass_all
5405 hpux10.20
* | hpux11
*)
5406 lt_cv_file_magic_cmd
=/usr
/bin
/file
5409 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5410 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5413 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5414 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5417 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5418 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5424 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5425 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5428 irix5
* | irix6
* | nonstopux
*)
5430 *-32|
*"-32 ") libmagic
=32-bit;;
5431 *-n32|
*"-n32 ") libmagic
=N32
;;
5432 *-64|
*"-64 ") libmagic
=64-bit;;
5433 *) libmagic
=never-match
;;
5435 lt_cv_deplibs_check_method
=pass_all
5438 # This must be Linux ELF.
5440 lt_cv_deplibs_check_method
=pass_all
5444 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5445 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5447 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5452 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5453 lt_cv_file_magic_cmd
=/usr
/bin
/file
5454 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5458 lt_cv_deplibs_check_method
=unknown
5462 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5463 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5465 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5469 osf3
* | osf4
* | osf5
*)
5470 lt_cv_deplibs_check_method
=pass_all
5474 lt_cv_deplibs_check_method
=pass_all
5478 case $host_vendor in
5480 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5481 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5484 lt_cv_deplibs_check_method
=pass_all
5487 lt_cv_file_magic_cmd
='/bin/file'
5488 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5491 lt_cv_file_magic_cmd
='/bin/file'
5492 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5493 lt_cv_file_magic_test_file
=/lib
/libc.so
5496 lt_cv_deplibs_check_method
=pass_all
5499 lt_cv_deplibs_check_method
=pass_all
5504 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5505 lt_cv_deplibs_check_method
=pass_all
5510 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5511 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5512 file_magic_cmd
=$lt_cv_file_magic_cmd
5513 deplibs_check_method
=$lt_cv_deplibs_check_method
5514 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5519 # If no C compiler was specified, use CC.
5522 # If no C compiler flags were specified, use CFLAGS.
5523 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5525 # Allow CC to be a program name with arguments.
5528 # Check whether --enable-libtool-lock was given.
5529 if test "${enable_libtool_lock+set}" = set; then
5530 enableval
=$enable_libtool_lock;
5533 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5535 # Some flags need to be propagated to the compiler or linker for good
5539 # Find out which ABI we are using.
5540 echo 'int i;' > conftest.
$ac_ext
5541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5542 (eval $ac_compile) 2>&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); }; then
5546 case `/usr/bin/file conftest.$ac_objext` in
5558 # Find out which ABI we are using.
5559 echo '#line 5559 "configure"' > conftest.
$ac_ext
5560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5561 (eval $ac_compile) 2>&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); }; then
5565 if test "$lt_cv_prog_gnu_ld" = yes; then
5566 case `/usr/bin/file conftest.$ac_objext` in
5568 LD
="${LD-ld} -melf32bsmip"
5571 LD
="${LD-ld} -melf32bmipn32"
5574 LD
="${LD-ld} -melf64bmip"
5578 case `/usr/bin/file conftest.$ac_objext` in
5594 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5595 # Find out which ABI we are using.
5596 echo 'int i;' > conftest.
$ac_ext
5597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5598 (eval $ac_compile) 2>&5
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); }; then
5602 case `/usr/bin/file conftest.o` in
5606 LD
="${LD-ld} -m elf_i386"
5608 ppc64-
*linux
*|powerpc64-
*linux
*)
5609 LD
="${LD-ld} -m elf32ppclinux"
5612 LD
="${LD-ld} -m elf_s390"
5615 LD
="${LD-ld} -m elf32_sparc"
5622 LD
="${LD-ld} -m elf_x86_64"
5624 ppc
*-*linux
*|powerpc
*-*linux
*)
5625 LD
="${LD-ld} -m elf64ppc"
5628 LD
="${LD-ld} -m elf64_s390"
5631 LD
="${LD-ld} -m elf64_sparc"
5641 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5642 SAVE_CFLAGS
="$CFLAGS"
5643 CFLAGS
="$CFLAGS -belf"
5644 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5645 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5646 if test "${lt_cv_cc_needs_belf+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 ac_cpp
='$CPP $CPPFLAGS'
5651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5655 cat >conftest.
$ac_ext <<_ACEOF
5658 cat confdefs.h
>>conftest.
$ac_ext
5659 cat >>conftest.
$ac_ext <<_ACEOF
5660 /* end confdefs.h. */
5670 rm -f conftest.
$ac_objext conftest
$ac_exeext
5671 if { (ac_try
="$ac_link"
5673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5674 *) ac_try_echo=$ac_try;;
5676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5677 (eval "$ac_link") 2>conftest.er1
5679 grep -v '^ *+' conftest.er1 >conftest.err
5681 cat conftest.err >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } && {
5684 test -z "$ac_c_werror_flag" ||
5685 test ! -s conftest.err
5686 } && test -s conftest$ac_exeext &&
5687 $as_test_x conftest$ac_exeext; then
5688 lt_cv_cc_needs_belf=yes
5690 echo "$as_me: failed program was:" >&5
5691 sed 's/^/| /' conftest.$ac_ext >&5
5693 lt_cv_cc_needs_belf=no
5696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5697 conftest$ac_exeext conftest.$ac_ext
5699 ac_cpp='$CPP $CPPFLAGS'
5700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5705 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5706 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5707 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5708 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5709 CFLAGS="$SAVE_CFLAGS"
5713 # Find out which ABI we are using.
5714 echo 'int i;' > conftest.$ac_ext
5715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5716 (eval $ac_compile) 2>&5
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; then
5720 case `/usr
/bin
/file conftest.o
` in
5722 case $lt_cv_prog_gnu_ld in
5723 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5724 *) LD="${LD-ld} -64" ;;
5735 need_locks="$enable_libtool_lock"
5739 for ac_header in dlfcn.h
5741 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5746 echo $ECHO_N "(cached) $ECHO_C" >&6
5748 ac_res=`eval echo '${'$as_ac_Header'}'`
5749 { echo "$as_me:$LINENO: result: $ac_res" >&5
5750 echo "${ECHO_T}$ac_res" >&6; }
5752 # Is the header compilable?
5753 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5755 cat >conftest.$ac_ext <<_ACEOF
5758 cat confdefs.h >>conftest.$ac_ext
5759 cat >>conftest.$ac_ext <<_ACEOF
5760 /* end confdefs.h. */
5761 $ac_includes_default
5762 #include <$ac_header>
5764 rm -f conftest.$ac_objext
5765 if { (ac_try="$ac_compile"
5767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5768 *) ac_try_echo
=$ac_try;;
5770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5771 (eval "$ac_compile") 2>conftest.er1
5773 grep -v '^ *+' conftest.er1
>conftest.err
5775 cat conftest.err
>&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); } && {
5778 test -z "$ac_c_werror_flag" ||
5779 test ! -s conftest.err
5780 } && test -s conftest.
$ac_objext; then
5781 ac_header_compiler
=yes
5783 echo "$as_me: failed program was:" >&5
5784 sed 's/^/| /' conftest.
$ac_ext >&5
5786 ac_header_compiler
=no
5789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5790 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5791 echo "${ECHO_T}$ac_header_compiler" >&6; }
5793 # Is the header present?
5794 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5796 cat >conftest.
$ac_ext <<_ACEOF
5799 cat confdefs.h
>>conftest.
$ac_ext
5800 cat >>conftest.
$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5802 #include <$ac_header>
5804 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5807 *) ac_try_echo=$ac_try;;
5809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5812 grep -v '^ *+' conftest.er1 >conftest.err
5814 cat conftest.err >&5
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); } >/dev/null && {
5817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5818 test ! -s conftest.err
5820 ac_header_preproc=yes
5822 echo "$as_me: failed program was:" >&5
5823 sed 's/^/| /' conftest.$ac_ext >&5
5825 ac_header_preproc=no
5828 rm -f conftest.err conftest.$ac_ext
5829 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5830 echo "${ECHO_T}$ac_header_preproc" >&6; }
5832 # So? What about this header?
5833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5839 ac_header_preproc=yes
5842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5855 ## -------------------------------------------------- ##
5856 ## Report this to courier-users@lists.sourceforge.net ##
5857 ## -------------------------------------------------- ##
5859 ) | sed "s/^/$as_me: WARNING: /" >&2
5862 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5867 eval "$as_ac_Header=\$ac_header_preproc"
5869 ac_res=`eval echo '${'$as_ac_Header'}'`
5870 { echo "$as_me:$LINENO: result: $ac_res" >&5
5871 echo "${ECHO_T}$ac_res" >&6; }
5874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5875 cat >>confdefs.h <<_ACEOF
5876 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5885 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5886 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
5887 (test "X$CXX" != "Xg++"))) ; then
5889 ac_cpp='$CXXCPP $CPPFLAGS'
5890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5893 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5894 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5895 if test -z "$CXXCPP"; then
5896 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5897 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 # Double quotes because CXXCPP needs to be expanded
5900 for CXXCPP in "$CXX -E" "/lib/cpp"
5903 for ac_cxx_preproc_warn_flag in '' yes
5905 # Use a header file that comes with gcc, so configuring glibc
5906 # with a fresh cross-compiler works.
5907 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5908 # <limits.h> exists even on freestanding compilers.
5909 # On the NeXT, cc -E runs the code through the compiler's parser,
5910 # not just through cpp. "Syntax error" is here to catch this case.
5911 cat >conftest.$ac_ext <<_ACEOF
5914 cat confdefs.h >>conftest.$ac_ext
5915 cat >>conftest.$ac_ext <<_ACEOF
5916 /* end confdefs.h. */
5918 # include <limits.h>
5920 # include <assert.h>
5924 if { (ac_try="$ac_cpp conftest.$ac_ext"
5926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5927 *) ac_try_echo
=$ac_try;;
5929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5932 grep -v '^ *+' conftest.er1
>conftest.err
5934 cat conftest.err
>&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } >/dev
/null
&& {
5937 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5938 test ! -s conftest.err
5942 echo "$as_me: failed program was:" >&5
5943 sed 's/^/| /' conftest.
$ac_ext >&5
5945 # Broken: fails on valid input.
5949 rm -f conftest.err conftest.
$ac_ext
5951 # OK, works on sane cases. Now check whether nonexistent headers
5952 # can be detected and how.
5953 cat >conftest.
$ac_ext <<_ACEOF
5956 cat confdefs.h
>>conftest.
$ac_ext
5957 cat >>conftest.
$ac_ext <<_ACEOF
5958 /* end confdefs.h. */
5959 #include <ac_nonexistent.h>
5961 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5964 *) ac_try_echo=$ac_try;;
5966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5969 grep -v '^ *+' conftest.er1 >conftest.err
5971 cat conftest.err >&5
5972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973 (exit $ac_status); } >/dev/null && {
5974 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5975 test ! -s conftest.err
5977 # Broken: success on invalid input.
5980 echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.$ac_ext >&5
5983 # Passes both tests.
5988 rm -f conftest.err conftest.$ac_ext
5991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5992 rm -f conftest.err conftest.
$ac_ext
5993 if $ac_preproc_ok; then
5998 ac_cv_prog_CXXCPP
=$CXXCPP
6001 CXXCPP
=$ac_cv_prog_CXXCPP
6003 ac_cv_prog_CXXCPP
=$CXXCPP
6005 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6006 echo "${ECHO_T}$CXXCPP" >&6; }
6008 for ac_cxx_preproc_warn_flag
in '' yes
6010 # Use a header file that comes with gcc, so configuring glibc
6011 # with a fresh cross-compiler works.
6012 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6013 # <limits.h> exists even on freestanding compilers.
6014 # On the NeXT, cc -E runs the code through the compiler's parser,
6015 # not just through cpp. "Syntax error" is here to catch this case.
6016 cat >conftest.
$ac_ext <<_ACEOF
6019 cat confdefs.h
>>conftest.
$ac_ext
6020 cat >>conftest.
$ac_ext <<_ACEOF
6021 /* end confdefs.h. */
6023 # include <limits.h>
6025 # include <assert.h>
6029 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6032 *) ac_try_echo=$ac_try;;
6034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6037 grep -v '^ *+' conftest.er1 >conftest.err
6039 cat conftest.err >&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); } >/dev/null && {
6042 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6043 test ! -s conftest.err
6047 echo "$as_me: failed program was:" >&5
6048 sed 's/^/| /' conftest.$ac_ext >&5
6050 # Broken: fails on valid input.
6054 rm -f conftest.err conftest.$ac_ext
6056 # OK, works on sane cases. Now check whether nonexistent headers
6057 # can be detected and how.
6058 cat >conftest.$ac_ext <<_ACEOF
6061 cat confdefs.h >>conftest.$ac_ext
6062 cat >>conftest.$ac_ext <<_ACEOF
6063 /* end confdefs.h. */
6064 #include <ac_nonexistent.h>
6066 if { (ac_try="$ac_cpp conftest.$ac_ext"
6068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6069 *) ac_try_echo
=$ac_try;;
6071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6072 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6074 grep -v '^ *+' conftest.er1
>conftest.err
6076 cat conftest.err
>&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); } >/dev
/null
&& {
6079 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6080 test ! -s conftest.err
6082 # Broken: success on invalid input.
6085 echo "$as_me: failed program was:" >&5
6086 sed 's/^/| /' conftest.
$ac_ext >&5
6088 # Passes both tests.
6093 rm -f conftest.err conftest.
$ac_ext
6096 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6097 rm -f conftest.err conftest.
$ac_ext
6098 if $ac_preproc_ok; then
6101 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6102 See \`config.log' for more details." >&5
6103 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6104 See \`config.log' for more details." >&2;}
6105 { (exit 1); exit 1; }; }
6109 ac_cpp
='$CXXCPP $CPPFLAGS'
6110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6118 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6119 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6120 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6121 if test -n "$ac_tool_prefix"; then
6122 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6124 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6125 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6128 if test "${ac_cv_prog_F77+set}" = set; then
6129 echo $ECHO_N "(cached) $ECHO_C" >&6
6131 if test -n "$F77"; then
6132 ac_cv_prog_F77
="$F77" # Let the user override the test.
6134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6138 test -z "$as_dir" && as_dir
=.
6139 for ac_exec_ext
in '' $ac_executable_extensions; do
6140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6141 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 if test -n "$F77"; then
6153 { echo "$as_me:$LINENO: result: $F77" >&5
6154 echo "${ECHO_T}$F77" >&6; }
6156 { echo "$as_me:$LINENO: result: no" >&5
6157 echo "${ECHO_T}no" >&6; }
6161 test -n "$F77" && break
6164 if test -z "$F77"; then
6166 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6168 # Extract the first word of "$ac_prog", so it can be a program name with args.
6169 set dummy
$ac_prog; ac_word
=$2
6170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6172 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6173 echo $ECHO_N "(cached) $ECHO_C" >&6
6175 if test -n "$ac_ct_F77"; then
6176 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6182 test -z "$as_dir" && as_dir
=.
6183 for ac_exec_ext
in '' $ac_executable_extensions; do
6184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6185 ac_cv_prog_ac_ct_F77
="$ac_prog"
6186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6195 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6196 if test -n "$ac_ct_F77"; then
6197 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6198 echo "${ECHO_T}$ac_ct_F77" >&6; }
6200 { echo "$as_me:$LINENO: result: no" >&5
6201 echo "${ECHO_T}no" >&6; }
6205 test -n "$ac_ct_F77" && break
6208 if test "x$ac_ct_F77" = x
; then
6211 case $cross_compiling:$ac_tool_warned in
6213 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6214 whose name does not start with the host triplet. If you think this
6215 configuration is useful to you, please write to autoconf@gnu.org." >&5
6216 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6217 whose name does not start with the host triplet. If you think this
6218 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6219 ac_tool_warned
=yes ;;
6226 # Provide some information about the compiler.
6227 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6228 ac_compiler
=`set X $ac_compile; echo $2`
6229 { (ac_try
="$ac_compiler --version >&5"
6231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6232 *) ac_try_echo=$ac_try;;
6234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6235 (eval "$ac_compiler --version >&5") 2>&5
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); }
6239 { (ac_try="$ac_compiler -v >&5"
6241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6242 *) ac_try_echo
=$ac_try;;
6244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6245 (eval "$ac_compiler -v >&5") 2>&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }
6249 { (ac_try
="$ac_compiler -V >&5"
6251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6252 *) ac_try_echo=$ac_try;;
6254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6255 (eval "$ac_compiler -V >&5") 2>&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); }
6261 # If we don't use `.F
' as extension, the preprocessor is not run on the
6262 # input file. (Note that this only needs to work for GNU compilers.)
6265 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6266 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6267 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6268 echo $ECHO_N "(cached) $ECHO_C" >&6
6270 cat >conftest.$ac_ext <<_ACEOF
6278 rm -f conftest.$ac_objext
6279 if { (ac_try="$ac_compile"
6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282 *) ac_try_echo=$ac_try;;
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_compile") 2>conftest.er1
6287 grep -v '^
*+' conftest.er1 >conftest.err
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_f77_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest.$ac_objext; then
6297 echo "$as_me: failed program was:" >&5
6298 sed 's
/^
/|
/' conftest.$ac_ext >&5
6303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6304 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6307 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6308 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6310 ac_test_FFLAGS=${FFLAGS+set}
6311 ac_save_FFLAGS=$FFLAGS
6313 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6314 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6315 if test "${ac_cv_prog_f77_g+set}" = set; then
6316 echo $ECHO_N "(cached) $ECHO_C" >&6
6319 cat >conftest.$ac_ext <<_ACEOF
6324 rm -f conftest.$ac_objext
6325 if { (ac_try="$ac_compile"
6327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6328 *) ac_try_echo=$ac_try;;
6330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6331 (eval "$ac_compile") 2>conftest.er1
6333 grep -v '^
*+' conftest.er1 >conftest.err
6335 cat conftest.err >&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } && {
6338 test -z "$ac_f77_werror_flag" ||
6339 test ! -s conftest.err
6340 } && test -s conftest.$ac_objext; then
6341 ac_cv_prog_f77_g=yes
6343 echo "$as_me: failed program was:" >&5
6344 sed 's
/^
/|
/' conftest.$ac_ext >&5
6349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6352 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6353 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6354 if test "$ac_test_FFLAGS" = set; then
6355 FFLAGS=$ac_save_FFLAGS
6356 elif test $ac_cv_prog_f77_g = yes; then
6357 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6363 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6370 G77=`test $ac_compiler_gnu = yes && echo yes`
6372 ac_cpp='$CPP $CPPFLAGS'
6373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6374 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6379 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6381 # find the maximum length of command line arguments
6382 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6383 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6384 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6392 # On DJGPP, this test can blow up pretty badly due to problems in libc
6393 # (any single argument exceeding 2000 bytes causes a buffer overrun
6394 # during glob expansion). Even if it were fixed, the result of this
6395 # check would be larger than it should be.
6396 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6400 # Under GNU Hurd, this test is not required because there is
6401 # no limit to the length of command line arguments.
6402 # Libtool will interpret -1 as no limit whatsoever
6403 lt_cv_sys_max_cmd_len
=-1;
6407 # On Win9x/ME, this test blows up -- it succeeds, but takes
6408 # about 5 minutes as the teststring grows exponentially.
6409 # Worse, since 9x/ME are not pre-emptively multitasking,
6410 # you end up with a "frozen" computer, even though with patience
6411 # the test eventually succeeds (with a max line length of 256k).
6412 # Instead, let's just punt: use the minimum linelength reported by
6413 # all of the supported platforms: 8192 (on NT/2K/XP).
6414 lt_cv_sys_max_cmd_len
=8192;
6418 # On AmigaOS with pdksh, this test takes hours, literally.
6419 # So we just punt and use a minimum line length of 8192.
6420 lt_cv_sys_max_cmd_len
=8192;
6423 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6424 # This has been around since 386BSD, at least. Likely further.
6425 if test -x /sbin
/sysctl
; then
6426 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6427 elif test -x /usr
/sbin
/sysctl
; then
6428 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6430 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6432 # And add a safety zone
6433 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6434 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6438 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6439 lt_cv_sys_max_cmd_len
=196608
6443 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6444 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6445 # nice to cause kernel panics so lets avoid the loop below.
6446 # First set a reasonable default.
6447 lt_cv_sys_max_cmd_len
=16384
6449 if test -x /sbin
/sysconfig
; then
6450 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6451 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6456 lt_cv_sys_max_cmd_len
=102400
6458 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6459 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6460 if test -n "$kargmax"; then
6461 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6463 lt_cv_sys_max_cmd_len
=32768
6467 # If test is not a shell built-in, we'll probably end up computing a
6468 # maximum length that is only half of the actual maximum length, but
6470 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6471 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6472 = "XX$teststring") >/dev
/null
2>&1 &&
6473 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6474 lt_cv_sys_max_cmd_len
=$new_result &&
6475 test $i != 17 # 1/2 MB should be enough
6478 teststring
=$teststring$teststring
6481 # Add a significant safety factor because C++ compilers can tack on massive
6482 # amounts of additional arguments before passing them to the linker.
6483 # It appears as though 1/2 is a usable value.
6484 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6490 if test -n $lt_cv_sys_max_cmd_len ; then
6491 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6492 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6494 { echo "$as_me:$LINENO: result: none" >&5
6495 echo "${ECHO_T}none" >&6; }
6501 # Check for command to grab the raw symbol name followed by C symbol from nm.
6502 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6503 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6504 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6505 echo $ECHO_N "(cached) $ECHO_C" >&6
6508 # These are sane defaults that work on at least a few old systems.
6509 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6511 # Character class describing NM global symbol codes.
6512 symcode
='[BCDEGRST]'
6514 # Regexp to match symbols that can be accessed directly from C.
6515 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6517 # Transform an extracted symbol line into a proper C declaration
6518 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6520 # Transform an extracted symbol line into symbol name and symbol address
6521 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6523 # Define system-specific variables.
6528 cygwin
* | mingw
* | pw32
*)
6529 symcode
='[ABCDGISTW]'
6531 hpux
*) # Its linker distinguishes data from code symbols
6532 if test "$host_cpu" = ia64
; then
6533 symcode
='[ABCDEGRST]'
6535 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6536 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6539 if test "$host_cpu" = ia64
; then
6540 symcode
='[ABCDGIRSTW]'
6541 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6542 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6546 symcode
='[BCDEGRST]'
6549 symcode
='[BCDEGQRST]'
6560 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6568 # Handle CRLF in mingw tool chain
6572 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6576 # If we're using GNU nm, then use its standard symbol codes.
6577 case `$NM -V 2>&1` in
6578 *GNU
* |
*'with BFD'*)
6579 symcode
='[ABCDGIRSTW]' ;;
6582 # Try without a prefix undercore, then with it.
6583 for ac_symprfx
in "" "_"; do
6585 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6586 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6588 # Write the raw and C identifiers.
6589 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6591 # Check to see that the pipe works correctly.
6595 cat > conftest.
$ac_ext <<EOF
6600 void nm_test_func(){}
6604 int main(){nm_test_var='a';nm_test_func();return(0);}
6607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6608 (eval $ac_compile) 2>&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; then
6612 # Now try to grab the symbols.
6614 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6615 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } && test -s "$nlist"; then
6619 # Try sorting and uniquifying the output.
6620 if sort "$nlist" |
uniq > "$nlist"T
; then
6621 mv -f "$nlist"T
"$nlist"
6626 # Make sure that we snagged all the symbols we need.
6627 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6628 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6629 cat <<EOF > conftest.$ac_ext
6635 # Now generate the symbol file.
6636 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6638 cat <<EOF >> conftest.$ac_ext
6639 #if defined (__STDC__) && __STDC__
6640 # define lt_ptr_t void *
6642 # define lt_ptr_t char *
6646 /* The mapping between symbol names and symbols. */
6651 lt_preloaded_symbols[] =
6654 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6655 cat <<\EOF
>> conftest.
$ac_ext
6663 # Now try linking the two files.
6664 mv conftest.
$ac_objext conftstm.
$ac_objext
6665 lt_save_LIBS
="$LIBS"
6666 lt_save_CFLAGS
="$CFLAGS"
6667 LIBS
="conftstm.$ac_objext"
6668 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6670 (eval $ac_link) 2>&5
6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6676 LIBS
="$lt_save_LIBS"
6677 CFLAGS
="$lt_save_CFLAGS"
6679 echo "cannot find nm_test_func in $nlist" >&5
6682 echo "cannot find nm_test_var in $nlist" >&5
6685 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6688 echo "$progname: failed program was:" >&5
6689 cat conftest.
$ac_ext >&5
6691 rm -f conftest
* conftst
*
6693 # Do not use the global_symbol_pipe unless it works.
6694 if test "$pipe_works" = yes; then
6697 lt_cv_sys_global_symbol_pipe
=
6703 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6704 lt_cv_sys_global_symbol_to_cdecl
=
6706 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6707 { echo "$as_me:$LINENO: result: failed" >&5
6708 echo "${ECHO_T}failed" >&6; }
6710 { echo "$as_me:$LINENO: result: ok" >&5
6711 echo "${ECHO_T}ok" >&6; }
6714 { echo "$as_me:$LINENO: checking for objdir" >&5
6715 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6716 if test "${lt_cv_objdir+set}" = set; then
6717 echo $ECHO_N "(cached) $ECHO_C" >&6
6719 rm -f .libs
2>/dev
/null
6720 mkdir .libs
2>/dev
/null
6721 if test -d .libs
; then
6724 # MS-DOS does not allow filenames that begin with a dot.
6727 rmdir .libs
2>/dev
/null
6729 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6730 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6731 objdir
=$lt_cv_objdir
6739 # AIX sometimes has problems with the GCC collect2 program. For some
6740 # reason, if we set the COLLECT_NAMES environment variable, the problems
6741 # vanish in a puff of smoke.
6742 if test "X${COLLECT_NAMES+set}" != Xset
; then
6744 export COLLECT_NAMES
6749 # Sed substitution that helps us do robust quoting. It backslashifies
6750 # metacharacters that are still active within double-quoted strings.
6751 Xsed
='sed -e 1s/^X//'
6752 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6754 # Same as above, but do not quote variable references.
6755 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6757 # Sed substitution to delay expansion of an escaped shell variable in a
6758 # double_quote_subst'ed string.
6759 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6761 # Sed substitution to avoid accidental globbing in evaled expressions
6762 no_glob_subst
='s/\*/\\\*/g'
6768 default_ofile
=libtool
6769 can_build_shared
=yes
6771 # All known linkers require a `.a' archive for static linking (except MSVC,
6772 # which needs '.lib').
6774 ltmain
="$ac_aux_dir/ltmain.sh"
6775 ofile
="$default_ofile"
6776 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6778 if test -n "$ac_tool_prefix"; then
6779 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6780 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6783 if test "${ac_cv_prog_AR+set}" = set; then
6784 echo $ECHO_N "(cached) $ECHO_C" >&6
6786 if test -n "$AR"; then
6787 ac_cv_prog_AR
="$AR" # Let the user override the test.
6789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir
=.
6794 for ac_exec_ext
in '' $ac_executable_extensions; do
6795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6796 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6807 if test -n "$AR"; then
6808 { echo "$as_me:$LINENO: result: $AR" >&5
6809 echo "${ECHO_T}$AR" >&6; }
6811 { echo "$as_me:$LINENO: result: no" >&5
6812 echo "${ECHO_T}no" >&6; }
6817 if test -z "$ac_cv_prog_AR"; then
6819 # Extract the first word of "ar", so it can be a program name with args.
6820 set dummy
ar; ac_word
=$2
6821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6823 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6826 if test -n "$ac_ct_AR"; then
6827 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6833 test -z "$as_dir" && as_dir
=.
6834 for ac_exec_ext
in '' $ac_executable_extensions; do
6835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6836 ac_cv_prog_ac_ct_AR
="ar"
6837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6846 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6847 if test -n "$ac_ct_AR"; then
6848 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6849 echo "${ECHO_T}$ac_ct_AR" >&6; }
6851 { echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6; }
6855 if test "x$ac_ct_AR" = x
; then
6858 case $cross_compiling:$ac_tool_warned in
6860 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6861 whose name does not start with the host triplet. If you think this
6862 configuration is useful to you, please write to autoconf@gnu.org." >&5
6863 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6864 whose name does not start with the host triplet. If you think this
6865 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6866 ac_tool_warned
=yes ;;
6874 if test -n "$ac_tool_prefix"; then
6875 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6876 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6879 if test "${ac_cv_prog_RANLIB+set}" = set; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6882 if test -n "$RANLIB"; then
6883 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6889 test -z "$as_dir" && as_dir
=.
6890 for ac_exec_ext
in '' $ac_executable_extensions; do
6891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6892 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6902 RANLIB
=$ac_cv_prog_RANLIB
6903 if test -n "$RANLIB"; then
6904 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6905 echo "${ECHO_T}$RANLIB" >&6; }
6907 { echo "$as_me:$LINENO: result: no" >&5
6908 echo "${ECHO_T}no" >&6; }
6913 if test -z "$ac_cv_prog_RANLIB"; then
6914 ac_ct_RANLIB
=$RANLIB
6915 # Extract the first word of "ranlib", so it can be a program name with args.
6916 set dummy ranlib
; ac_word
=$2
6917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6919 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6920 echo $ECHO_N "(cached) $ECHO_C" >&6
6922 if test -n "$ac_ct_RANLIB"; then
6923 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir
=.
6930 for ac_exec_ext
in '' $ac_executable_extensions; do
6931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6932 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6943 if test -n "$ac_ct_RANLIB"; then
6944 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6945 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6947 { echo "$as_me:$LINENO: result: no" >&5
6948 echo "${ECHO_T}no" >&6; }
6951 if test "x$ac_ct_RANLIB" = x
; then
6954 case $cross_compiling:$ac_tool_warned in
6956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6957 whose name does not start with the host triplet. If you think this
6958 configuration is useful to you, please write to autoconf@gnu.org." >&5
6959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6960 whose name does not start with the host triplet. If you think this
6961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6962 ac_tool_warned
=yes ;;
6964 RANLIB
=$ac_ct_RANLIB
6967 RANLIB
="$ac_cv_prog_RANLIB"
6970 if test -n "$ac_tool_prefix"; then
6971 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6972 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6975 if test "${ac_cv_prog_STRIP+set}" = set; then
6976 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 if test -n "$STRIP"; then
6979 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6985 test -z "$as_dir" && as_dir
=.
6986 for ac_exec_ext
in '' $ac_executable_extensions; do
6987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6988 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6998 STRIP
=$ac_cv_prog_STRIP
6999 if test -n "$STRIP"; then
7000 { echo "$as_me:$LINENO: result: $STRIP" >&5
7001 echo "${ECHO_T}$STRIP" >&6; }
7003 { echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6; }
7009 if test -z "$ac_cv_prog_STRIP"; then
7011 # Extract the first word of "strip", so it can be a program name with args.
7012 set dummy strip
; ac_word
=$2
7013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7015 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7018 if test -n "$ac_ct_STRIP"; then
7019 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7025 test -z "$as_dir" && as_dir
=.
7026 for ac_exec_ext
in '' $ac_executable_extensions; do
7027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7028 ac_cv_prog_ac_ct_STRIP
="strip"
7029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7038 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7039 if test -n "$ac_ct_STRIP"; then
7040 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7041 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7043 { echo "$as_me:$LINENO: result: no" >&5
7044 echo "${ECHO_T}no" >&6; }
7047 if test "x$ac_ct_STRIP" = x
; then
7050 case $cross_compiling:$ac_tool_warned in
7052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7053 whose name does not start with the host triplet. If you think this
7054 configuration is useful to you, please write to autoconf@gnu.org." >&5
7055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7056 whose name does not start with the host triplet. If you think this
7057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7058 ac_tool_warned
=yes ;;
7063 STRIP
="$ac_cv_prog_STRIP"
7068 old_CFLAGS
="$CFLAGS"
7070 # Set sane defaults for various variables
7071 test -z "$AR" && AR
=ar
7072 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7073 test -z "$AS" && AS
=as
7074 test -z "$CC" && CC
=cc
7075 test -z "$LTCC" && LTCC
=$CC
7076 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7077 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7078 test -z "$LD" && LD
=ld
7079 test -z "$LN_S" && LN_S
="ln -s"
7080 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7081 test -z "$NM" && NM
=nm
7082 test -z "$SED" && SED
=sed
7083 test -z "$OBJDUMP" && OBJDUMP
=objdump
7084 test -z "$RANLIB" && RANLIB
=:
7085 test -z "$STRIP" && STRIP
=:
7086 test -z "$ac_objext" && ac_objext
=o
7088 # Determine commands to create old-style static archives.
7089 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7090 old_postinstall_cmds
='chmod 644 $oldlib'
7091 old_postuninstall_cmds
=
7093 if test -n "$RANLIB"; then
7096 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7099 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7102 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7105 for cc_temp
in $compiler""; do
7107 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7108 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7113 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7116 # Only perform the check for file, if the check method requires it
7117 case $deplibs_check_method in
7119 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7120 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7121 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7122 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7123 echo $ECHO_N "(cached) $ECHO_C" >&6
7127 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7130 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7131 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7132 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7133 for ac_dir
in $ac_dummy; do
7135 test -z "$ac_dir" && ac_dir
=.
7136 if test -f $ac_dir/${ac_tool_prefix}file; then
7137 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7138 if test -n "$file_magic_test_file"; then
7139 case $deplibs_check_method in
7141 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7142 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7143 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7144 $EGREP "$file_magic_regex" > /dev
/null
; then
7149 *** Warning: the command libtool uses to detect shared libraries,
7150 *** $file_magic_cmd, produces output that libtool cannot recognize.
7151 *** The result is that libtool may fail to recognize shared libraries
7152 *** as such. This will affect the creation of libtool libraries that
7153 *** depend on shared libraries, but programs linked with such libtool
7154 *** libraries will work regardless of this problem. Nevertheless, you
7155 *** may want to report the problem to your system manager and/or to
7156 *** bug-libtool@gnu.org
7166 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7171 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7172 if test -n "$MAGIC_CMD"; then
7173 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7174 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7176 { echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6; }
7180 if test -z "$lt_cv_path_MAGIC_CMD"; then
7181 if test -n "$ac_tool_prefix"; then
7182 { echo "$as_me:$LINENO: checking for file" >&5
7183 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7184 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7185 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7192 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7193 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7194 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7195 for ac_dir
in $ac_dummy; do
7197 test -z "$ac_dir" && ac_dir
=.
7198 if test -f $ac_dir/file; then
7199 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7200 if test -n "$file_magic_test_file"; then
7201 case $deplibs_check_method in
7203 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7204 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7205 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7206 $EGREP "$file_magic_regex" > /dev
/null
; then
7211 *** Warning: the command libtool uses to detect shared libraries,
7212 *** $file_magic_cmd, produces output that libtool cannot recognize.
7213 *** The result is that libtool may fail to recognize shared libraries
7214 *** as such. This will affect the creation of libtool libraries that
7215 *** depend on shared libraries, but programs linked with such libtool
7216 *** libraries will work regardless of this problem. Nevertheless, you
7217 *** may want to report the problem to your system manager and/or to
7218 *** bug-libtool@gnu.org
7228 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7233 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7234 if test -n "$MAGIC_CMD"; then
7235 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7236 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7238 { echo "$as_me:$LINENO: result: no" >&5
7239 echo "${ECHO_T}no" >&6; }
7254 # Check whether --enable-libtool-lock was given.
7255 if test "${enable_libtool_lock+set}" = set; then
7256 enableval
=$enable_libtool_lock;
7259 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7262 # Check whether --with-pic was given.
7263 if test "${with_pic+set}" = set; then
7264 withval
=$with_pic; pic_mode
="$withval"
7269 test -z "$pic_mode" && pic_mode
=default
7271 # Use C for the default configuration in the libtool script
7275 ac_cpp
='$CPP $CPPFLAGS'
7276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7281 # Source file extension for C test sources.
7284 # Object file extension for compiled C test sources.
7288 # Code to be used in simple compile tests
7289 lt_simple_compile_test_code
="int some_variable = 0;\n"
7291 # Code to be used in simple link tests
7292 lt_simple_link_test_code
='int main(){return(0);}\n'
7295 # If no C compiler was specified, use CC.
7298 # If no C compiler flags were specified, use CFLAGS.
7299 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7301 # Allow CC to be a program name with arguments.
7305 # save warnings/boilerplate of simple test code
7306 ac_outfile
=conftest.
$ac_objext
7307 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7308 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7309 _lt_compiler_boilerplate
=`cat conftest.err`
7312 ac_outfile
=conftest.
$ac_objext
7313 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7314 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7315 _lt_linker_boilerplate
=`cat conftest.err`
7320 lt_prog_compiler_no_builtin_flag
=
7322 if test "$GCC" = yes; then
7323 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7326 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7327 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7328 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7329 echo $ECHO_N "(cached) $ECHO_C" >&6
7331 lt_cv_prog_compiler_rtti_exceptions
=no
7332 ac_outfile
=conftest.
$ac_objext
7333 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7334 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7335 # Insert the option either (1) after the last *FLAGS variable, or
7336 # (2) before a word containing "conftest.", or (3) at the end.
7337 # Note that $ac_compile itself does not contain backslashes and begins
7338 # with a dollar sign (not a hyphen), so the echo should work correctly.
7339 # The option is referenced via a variable to avoid confusing sed.
7340 lt_compile
=`echo "$ac_compile" | $SED \
7341 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7343 -e 's:$: $lt_compiler_flag:'`
7344 (eval echo "\"\$as_me:7344: $lt_compile\"" >&5)
7345 (eval "$lt_compile" 2>conftest.err
)
7347 cat conftest.err
>&5
7348 echo "$as_me:7348: \$? = $ac_status" >&5
7349 if (exit $ac_status) && test -s "$ac_outfile"; then
7350 # The compiler can only warn and ignore the option if not recognized
7351 # So say no if there are warnings other than the usual output.
7352 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7353 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7354 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7355 lt_cv_prog_compiler_rtti_exceptions
=yes
7361 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7362 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7364 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7365 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7372 lt_prog_compiler_wl
=
7373 lt_prog_compiler_pic
=
7374 lt_prog_compiler_static
=
7376 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7377 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7379 if test "$GCC" = yes; then
7380 lt_prog_compiler_wl
='-Wl,'
7381 lt_prog_compiler_static
='-static'
7385 # All AIX code is PIC.
7386 if test "$host_cpu" = ia64
; then
7387 # AIX 5 now supports IA64 processor
7388 lt_prog_compiler_static
='-Bstatic'
7393 # FIXME: we need at least 68020 code to build shared libraries, but
7394 # adding the `-m68020' flag to GCC prevents building anything better,
7396 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7399 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7400 # PIC is the default for these OSes.
7403 mingw
* | pw32
* | os2
*)
7404 # This hack is so that the source file can tell whether it is being
7405 # built for inclusion in a dll (and should export symbols for example).
7406 lt_prog_compiler_pic
='-DDLL_EXPORT'
7409 darwin
* | rhapsody
*)
7410 # PIC is the default on this platform
7411 # Common symbols not allowed in MH_DYLIB files
7412 lt_prog_compiler_pic
='-fno-common'
7416 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7417 # Instead, we relocate shared libraries at runtime.
7421 # Just because we use GCC doesn't mean we suddenly get shared libraries
7422 # on systems that don't support them.
7423 lt_prog_compiler_can_build_shared
=no
7428 if test -d /usr
/nec
; then
7429 lt_prog_compiler_pic
=-Kconform_pic
7434 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7441 lt_prog_compiler_pic
='-fPIC'
7447 lt_prog_compiler_pic
='-fPIC'
7451 # PORTME Check for flag to pass linker flags through the system compiler.
7454 lt_prog_compiler_wl
='-Wl,'
7455 if test "$host_cpu" = ia64
; then
7456 # AIX 5 now supports IA64 processor
7457 lt_prog_compiler_static
='-Bstatic'
7459 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7463 # PIC is the default on this platform
7464 # Common symbols not allowed in MH_DYLIB files
7465 case $cc_basename in
7467 lt_prog_compiler_pic
='-qnocommon'
7468 lt_prog_compiler_wl
='-Wl,'
7473 mingw
* | pw32
* | os2
*)
7474 # This hack is so that the source file can tell whether it is being
7475 # built for inclusion in a dll (and should export symbols for example).
7476 lt_prog_compiler_pic
='-DDLL_EXPORT'
7479 hpux9
* | hpux10
* | hpux11
*)
7480 lt_prog_compiler_wl
='-Wl,'
7481 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7488 lt_prog_compiler_pic
='+Z'
7491 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7492 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7495 irix5
* | irix6
* | nonstopux
*)
7496 lt_prog_compiler_wl
='-Wl,'
7497 # PIC (with -KPIC) is the default.
7498 lt_prog_compiler_static
='-non_shared'
7502 lt_prog_compiler_pic
='-KPIC'
7503 lt_prog_compiler_static
='-Bstatic'
7507 case $cc_basename in
7509 lt_prog_compiler_wl
='-Wl,'
7510 lt_prog_compiler_pic
='-KPIC'
7511 lt_prog_compiler_static
='-static'
7513 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7514 # Portland Group compilers (*not* the Pentium gcc compiler,
7515 # which looks to be a dead project)
7516 lt_prog_compiler_wl
='-Wl,'
7517 lt_prog_compiler_pic
='-fpic'
7518 lt_prog_compiler_static
='-Bstatic'
7521 lt_prog_compiler_wl
='-Wl,'
7522 # All Alpha code is PIC.
7523 lt_prog_compiler_static
='-non_shared'
7528 osf3
* | osf4
* | osf5
*)
7529 lt_prog_compiler_wl
='-Wl,'
7530 # All OSF/1 code is PIC.
7531 lt_prog_compiler_static
='-non_shared'
7535 lt_prog_compiler_pic
='-KPIC'
7536 lt_prog_compiler_static
='-Bstatic'
7537 case $cc_basename in
7539 lt_prog_compiler_wl
='-Qoption ld ';;
7541 lt_prog_compiler_wl
='-Wl,';;
7546 lt_prog_compiler_wl
='-Qoption ld '
7547 lt_prog_compiler_pic
='-PIC'
7548 lt_prog_compiler_static
='-Bstatic'
7551 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7552 lt_prog_compiler_wl
='-Wl,'
7553 lt_prog_compiler_pic
='-KPIC'
7554 lt_prog_compiler_static
='-Bstatic'
7558 if test -d /usr
/nec
;then
7559 lt_prog_compiler_pic
='-Kconform_pic'
7560 lt_prog_compiler_static
='-Bstatic'
7564 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7565 lt_prog_compiler_wl
='-Wl,'
7566 lt_prog_compiler_pic
='-KPIC'
7567 lt_prog_compiler_static
='-Bstatic'
7571 lt_prog_compiler_wl
='-Wl,'
7572 lt_prog_compiler_can_build_shared
=no
7576 lt_prog_compiler_pic
='-pic'
7577 lt_prog_compiler_static
='-Bstatic'
7581 lt_prog_compiler_can_build_shared
=no
7586 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7587 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7590 # Check to make sure the PIC flag actually works.
7592 if test -n "$lt_prog_compiler_pic"; then
7594 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7595 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7596 if test "${lt_prog_compiler_pic_works+set}" = set; then
7597 echo $ECHO_N "(cached) $ECHO_C" >&6
7599 lt_prog_compiler_pic_works
=no
7600 ac_outfile
=conftest.
$ac_objext
7601 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7602 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7603 # Insert the option either (1) after the last *FLAGS variable, or
7604 # (2) before a word containing "conftest.", or (3) at the end.
7605 # Note that $ac_compile itself does not contain backslashes and begins
7606 # with a dollar sign (not a hyphen), so the echo should work correctly.
7607 # The option is referenced via a variable to avoid confusing sed.
7608 lt_compile
=`echo "$ac_compile" | $SED \
7609 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7610 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7611 -e 's:$: $lt_compiler_flag:'`
7612 (eval echo "\"\$as_me:7612: $lt_compile\"" >&5)
7613 (eval "$lt_compile" 2>conftest.err
)
7615 cat conftest.err
>&5
7616 echo "$as_me:7616: \$? = $ac_status" >&5
7617 if (exit $ac_status) && test -s "$ac_outfile"; then
7618 # The compiler can only warn and ignore the option if not recognized
7619 # So say no if there are warnings other than the usual output.
7620 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7621 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7622 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7623 lt_prog_compiler_pic_works
=yes
7629 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7630 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7632 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7633 case $lt_prog_compiler_pic in
7635 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7638 lt_prog_compiler_pic
=
7639 lt_prog_compiler_can_build_shared
=no
7644 # For platforms which do not support PIC, -DPIC is meaningless:
7646 lt_prog_compiler_pic
=
7649 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7654 # Check to make sure the static flag actually works.
7656 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7657 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7658 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7659 if test "${lt_prog_compiler_static_works+set}" = set; then
7660 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 lt_prog_compiler_static_works
=no
7663 save_LDFLAGS
="$LDFLAGS"
7664 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7665 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7666 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7667 # The linker can only warn and ignore the option if not recognized
7668 # So say no if there are warnings
7669 if test -s conftest.err
; then
7670 # Append any errors to the config.log.
7671 cat conftest.err
1>&5
7672 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7673 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7674 if diff conftest.exp conftest.er2
>/dev
/null
; then
7675 lt_prog_compiler_static_works
=yes
7678 lt_prog_compiler_static_works
=yes
7682 LDFLAGS
="$save_LDFLAGS"
7685 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7686 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7688 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7691 lt_prog_compiler_static
=
7695 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7696 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7697 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7698 echo $ECHO_N "(cached) $ECHO_C" >&6
7700 lt_cv_prog_compiler_c_o
=no
7701 $rm -r conftest
2>/dev
/null
7705 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7707 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7708 # Insert the option either (1) after the last *FLAGS variable, or
7709 # (2) before a word containing "conftest.", or (3) at the end.
7710 # Note that $ac_compile itself does not contain backslashes and begins
7711 # with a dollar sign (not a hyphen), so the echo should work correctly.
7712 lt_compile
=`echo "$ac_compile" | $SED \
7713 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7715 -e 's:$: $lt_compiler_flag:'`
7716 (eval echo "\"\$as_me:7716: $lt_compile\"" >&5)
7717 (eval "$lt_compile" 2>out
/conftest.err
)
7719 cat out
/conftest.err
>&5
7720 echo "$as_me:7720: \$? = $ac_status" >&5
7721 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7723 # The compiler can only warn and ignore the option if not recognized
7724 # So say no if there are warnings
7725 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7726 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7727 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7728 lt_cv_prog_compiler_c_o
=yes
7733 # SGI C++ compiler will create directory out/ii_files/ for
7734 # template instantiation
7735 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7736 $rm out
/* && rmdir out
7742 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7743 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7746 hard_links
="nottested"
7747 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7748 # do not overwrite the value of need_locks provided by the user
7749 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7750 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7753 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7755 ln conftest.a conftest.b
2>&5 || hard_links
=no
7756 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7757 { echo "$as_me:$LINENO: result: $hard_links" >&5
7758 echo "${ECHO_T}$hard_links" >&6; }
7759 if test "$hard_links" = no
; then
7760 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7761 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7768 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7769 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7772 allow_undefined_flag
=
7773 enable_shared_with_static_runtimes
=no
7775 archive_expsym_cmds
=
7776 old_archive_From_new_cmds
=
7777 old_archive_from_expsyms_cmds
=
7778 export_dynamic_flag_spec
=
7779 whole_archive_flag_spec
=
7780 thread_safe_flag_spec
=
7781 hardcode_libdir_flag_spec
=
7782 hardcode_libdir_flag_spec_ld
=
7783 hardcode_libdir_separator
=
7786 hardcode_shlibpath_var
=unsupported
7787 link_all_deplibs
=unknown
7788 hardcode_automatic
=no
7791 always_export_symbols
=no
7792 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7793 # include_expsyms should be a list of space-separated symbols to be *always*
7794 # included in the symbol list
7796 # exclude_expsyms can be an extended regexp of symbols to exclude
7797 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7798 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7799 # as well as any symbol that contains `d'.
7800 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7801 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7802 # platforms (ab)use it in PIC code, but their linkers get confused if
7803 # the symbol is explicitly referenced. Since portable code cannot
7804 # rely on this symbol name, it's probably fine to never include it in
7805 # preloaded symbol tables.
7806 extract_expsyms_cmds
=
7807 # Just being paranoid about ensuring that cc_basename is set.
7808 for cc_temp
in $compiler""; do
7810 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7811 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7816 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7819 cygwin
* | mingw
* | pw32
*)
7820 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7821 # When not using gcc, we currently assume that we are using
7822 # Microsoft Visual C++.
7823 if test "$GCC" != yes; then
7828 # we just hope/assume this is gcc and not c89 (= MSVC++)
7837 if test "$with_gnu_ld" = yes; then
7838 # If archive_cmds runs LD, not CC, wlarc should be empty
7841 # Set some defaults for GNU ld with shared library support. These
7842 # are reset later if shared libraries are not supported. Putting them
7843 # here allows them to be overridden if necessary.
7844 runpath_var
=LD_RUN_PATH
7845 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7846 export_dynamic_flag_spec
='${wl}--export-dynamic'
7847 # ancient GNU ld didn't support --whole-archive et. al.
7848 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7849 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7851 whole_archive_flag_spec
=
7853 supports_anon_versioning
=no
7854 case `$LD -v 2>/dev/null` in
7855 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7856 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7857 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7858 *\
2.11.
*) ;; # other 2.11 versions
7859 *) supports_anon_versioning
=yes ;;
7862 # See if GNU ld supports shared libraries.
7864 aix3
* | aix4
* | aix5
*)
7865 # On AIX/PPC, the GNU linker is very broken
7866 if test "$host_cpu" != ia64
; then
7870 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7871 *** to be unable to reliably create shared libraries on AIX.
7872 *** Therefore, libtool is disabling shared libraries support. If you
7873 *** really care for shared libraries, you may want to modify your PATH
7874 *** so that a non-GNU linker is found, and then restart.
7881 archive_cmds
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7882 hardcode_libdir_flag_spec
='-L$libdir'
7883 hardcode_minus_L
=yes
7885 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7886 # that the semantics of dynamic libraries on AmigaOS, at least up
7887 # to version 4, is to share data among multiple programs linked
7888 # with the same dynamic library. Since this doesn't match the
7889 # behavior of shared libraries on other platforms, we can't use
7895 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7896 allow_undefined_flag
=unsupported
7897 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7898 # support --undefined. This deserves some investigation. FIXME
7899 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7905 cygwin
* | mingw
* | pw32
*)
7906 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7907 # as there is no search path for DLLs.
7908 hardcode_libdir_flag_spec
='-L$libdir'
7909 allow_undefined_flag
=unsupported
7910 always_export_symbols
=no
7911 enable_shared_with_static_runtimes
=yes
7912 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7914 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7915 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7916 # If the export-symbols file already is a .def file (1st line
7917 # is EXPORTS), use it as is; otherwise, prepend...
7918 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7919 cp $export_symbols $output_objdir/$soname.def;
7921 echo EXPORTS > $output_objdir/$soname.def;
7922 cat $export_symbols >> $output_objdir/$soname.def;
7924 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7932 hardcode_shlibpath_var
=no
7933 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7934 export_dynamic_flag_spec
='${wl}-E'
7935 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7936 # Instead, shared libraries are loaded at an image base (0x10000000 by
7937 # default) and relocated if they conflict, which is a slow very memory
7938 # consuming and fragmenting process. To avoid this, we pick a random,
7939 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7940 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7941 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7942 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7946 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7948 case $cc_basename,$host_cpu in
7949 pgcc
*) # Portland Group C compiler
7950 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7951 tmp_addflag
=' $pic_flag'
7953 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7954 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7955 tmp_addflag
=' $pic_flag -Mnomain' ;;
7956 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7957 tmp_addflag
=' -i_dynamic' ;;
7958 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7959 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7960 ifc
* | ifort
*) # Intel Fortran compiler
7961 tmp_addflag
=' -nofor_main' ;;
7963 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7965 if test $supports_anon_versioning = yes; then
7966 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7967 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7968 $echo "local: *; };" >> $output_objdir/$libname.ver~
7969 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7977 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7978 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7982 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7987 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7991 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7992 *** create shared libraries on Solaris systems. Therefore, libtool
7993 *** is disabling shared libraries support. We urge you to upgrade GNU
7994 *** binutils to release 2.9.1 or newer. Another option is to modify
7995 *** your PATH or compiler configuration so that the native linker is
7996 *** used, and then restart.
7999 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8000 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8001 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8007 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8008 case `$LD -v 2>&1` in
8009 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8013 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8014 *** reliably create shared libraries on SCO systems. Therefore, libtool
8015 *** is disabling shared libraries support. We urge you to upgrade GNU
8016 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8017 *** your PATH or compiler configuration so that the native linker is
8018 *** used, and then restart.
8023 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8024 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8025 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8026 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8035 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8038 hardcode_shlibpath_var
=no
8042 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8043 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8044 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8051 if test "$ld_shlibs" = no
; then
8053 hardcode_libdir_flag_spec
=
8054 export_dynamic_flag_spec
=
8055 whole_archive_flag_spec
=
8058 # PORTME fill in a description of your system's linker (not GNU ld)
8061 allow_undefined_flag
=unsupported
8062 always_export_symbols
=yes
8063 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8064 # Note: this linker hardcodes the directories in LIBPATH if there
8065 # are no directories specified by -L.
8066 hardcode_minus_L
=yes
8067 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8068 # Neither direct hardcoding nor static linking is supported with a
8070 hardcode_direct
=unsupported
8075 if test "$host_cpu" = ia64
; then
8076 # On IA64, the linker does run time linking by default, so we don't
8077 # have to do anything special.
8078 aix_use_runtimelinking
=no
8079 exp_sym_flag
='-Bexport'
8082 # If we're using GNU nm, then we don't want the "-C" option.
8083 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8084 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8085 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8087 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8089 aix_use_runtimelinking
=no
8091 # Test if we are trying to use run time linking or normal
8092 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8093 # need to do runtime linking.
8094 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8095 for ld_flag
in $LDFLAGS; do
8096 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8097 aix_use_runtimelinking
=yes
8104 exp_sym_flag
='-bexport'
8105 no_entry_flag
='-bnoentry'
8108 # When large executables or shared objects are built, AIX ld can
8109 # have problems creating the table of contents. If linking a library
8110 # or program results in "error TOC overflow" add -mminimal-toc to
8111 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8112 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8116 hardcode_libdir_separator
=':'
8117 link_all_deplibs
=yes
8119 if test "$GCC" = yes; then
8120 case $host_os in aix4.
[012]|aix4.
[012].
*)
8121 # We only want to do this on AIX 4.2 and lower, the check
8122 # below for broken collect2 doesn't work under 4.3+
8123 collect2name
=`${CC} -print-prog-name=collect2`
8124 if test -f "$collect2name" && \
8125 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8127 # We have reworked collect2
8130 # We have old collect2
8131 hardcode_direct
=unsupported
8132 # It fails to find uninstalled libraries when the uninstalled
8133 # path is not listed in the libpath. Setting hardcode_minus_L
8134 # to unsupported forces relinking
8135 hardcode_minus_L
=yes
8136 hardcode_libdir_flag_spec
='-L$libdir'
8137 hardcode_libdir_separator
=
8141 shared_flag
='-shared'
8142 if test "$aix_use_runtimelinking" = yes; then
8143 shared_flag
="$shared_flag "'${wl}-G'
8147 if test "$host_cpu" = ia64
; then
8148 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8149 # chokes on -Wl,-G. The following line is correct:
8152 if test "$aix_use_runtimelinking" = yes; then
8153 shared_flag
='${wl}-G'
8155 shared_flag
='${wl}-bM:SRE'
8160 # It seems that -bexpall does not export symbols beginning with
8161 # underscore (_), so it is better to generate a list of symbols to export.
8162 always_export_symbols
=yes
8163 if test "$aix_use_runtimelinking" = yes; then
8164 # Warning - without using the other runtime loading flags (-brtl),
8165 # -berok will link without error, but may produce a broken library.
8166 allow_undefined_flag
='-berok'
8167 # Determine the default libpath from the value encoded in an empty executable.
8168 cat >conftest.
$ac_ext <<_ACEOF
8171 cat confdefs.h
>>conftest.
$ac_ext
8172 cat >>conftest.
$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8183 rm -f conftest.
$ac_objext conftest
$ac_exeext
8184 if { (ac_try
="$ac_link"
8186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8187 *) ac_try_echo=$ac_try;;
8189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8190 (eval "$ac_link") 2>conftest.er1
8192 grep -v '^ *+' conftest.er1 >conftest.err
8194 cat conftest.err >&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); } && {
8197 test -z "$ac_c_werror_flag" ||
8198 test ! -s conftest.err
8199 } && test -s conftest$ac_exeext &&
8200 $as_test_x conftest$ac_exeext; then
8202 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8204 # Check for a 64-bit object if we didn't find anything.
8205 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.$ac_ext >&5
8214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8215 conftest$ac_exeext conftest.$ac_ext
8216 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8218 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8219 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8221 if test "$host_cpu" = ia64; then
8222 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8223 allow_undefined_flag="-z nodefs"
8224 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8226 # Determine the default libpath from the value encoded in an empty executable.
8227 cat >conftest.$ac_ext <<_ACEOF
8230 cat confdefs.h >>conftest.$ac_ext
8231 cat >>conftest.$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8242 rm -f conftest.$ac_objext conftest$ac_exeext
8243 if { (ac_try="$ac_link"
8245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8246 *) ac_try_echo
=$ac_try;;
8248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249 (eval "$ac_link") 2>conftest.er1
8251 grep -v '^ *+' conftest.er1
>conftest.err
8253 cat conftest.err
>&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && {
8256 test -z "$ac_c_werror_flag" ||
8257 test ! -s conftest.err
8258 } && test -s conftest
$ac_exeext &&
8259 $as_test_x conftest
$ac_exeext; then
8261 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8263 # Check for a 64-bit object if we didn't find anything.
8264 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8267 echo "$as_me: failed program was:" >&5
8268 sed 's/^/| /' conftest.
$ac_ext >&5
8273 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8274 conftest
$ac_exeext conftest.
$ac_ext
8275 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8277 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8278 # Warning - without using the other run time loading flags,
8279 # -berok will link without error, but may produce a broken library.
8280 no_undefined_flag
=' ${wl}-bernotok'
8281 allow_undefined_flag
=' ${wl}-berok'
8282 # Exported symbols can be pulled into shared objects from archives
8283 whole_archive_flag_spec
='$convenience'
8284 archive_cmds_need_lc
=yes
8285 # This is similar to how AIX traditionally builds its shared libraries.
8286 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8292 archive_cmds
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8293 hardcode_libdir_flag_spec
='-L$libdir'
8294 hardcode_minus_L
=yes
8295 # see comment about different semantics on the GNU ld section
8300 export_dynamic_flag_spec
=-rdynamic
8303 cygwin
* | mingw
* | pw32
*)
8304 # When not using gcc, we currently assume that we are using
8305 # Microsoft Visual C++.
8306 # hardcode_libdir_flag_spec is actually meaningless, as there is
8307 # no search path for DLLs.
8308 hardcode_libdir_flag_spec
=' '
8309 allow_undefined_flag
=unsupported
8310 # Tell ltmain to make .lib files, not .a files.
8312 # Tell ltmain to make .dll files, not .so files.
8314 # FIXME: Setting linknames here is a bad hack.
8315 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8316 # The linker will automatically build a .lib file if we build a DLL.
8317 old_archive_From_new_cmds
='true'
8318 # FIXME: Should let the user specify the lib program.
8319 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8320 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8321 enable_shared_with_static_runtimes
=yes
8324 darwin
* | rhapsody
*)
8326 rhapsody
* | darwin1.
[012])
8327 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8330 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8331 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8333 case ${MACOSX_DEPLOYMENT_TARGET} in
8335 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8338 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8344 archive_cmds_need_lc
=no
8346 hardcode_automatic
=yes
8347 hardcode_shlibpath_var
=unsupported
8348 whole_archive_flag_spec
=''
8349 link_all_deplibs
=yes
8350 if test "$GCC" = yes ; then
8351 output_verbose_link_cmd
='echo'
8352 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8353 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8354 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8355 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8356 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8358 case $cc_basename in
8360 output_verbose_link_cmd
='echo'
8361 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8362 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8363 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8364 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8365 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8375 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8376 hardcode_libdir_flag_spec
='-L$libdir'
8377 hardcode_shlibpath_var
=no
8384 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8385 # support. Future versions do this automatically, but an explicit c++rt0.o
8386 # does not break anything, and helps significantly (at the cost of a little
8389 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8390 hardcode_libdir_flag_spec
='-R$libdir'
8392 hardcode_shlibpath_var
=no
8395 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8397 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8399 hardcode_minus_L
=yes
8400 hardcode_shlibpath_var
=no
8403 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8404 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8405 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8406 hardcode_libdir_flag_spec
='-R$libdir'
8408 hardcode_shlibpath_var
=no
8412 if test "$GCC" = yes; then
8413 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8415 archive_cmds
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8417 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8418 hardcode_libdir_separator
=:
8421 # hardcode_minus_L: Not really in the search PATH,
8422 # but as the default location of the library.
8423 hardcode_minus_L
=yes
8424 export_dynamic_flag_spec
='${wl}-E'
8428 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8429 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8431 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8433 if test "$with_gnu_ld" = no
; then
8434 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8435 hardcode_libdir_separator
=:
8438 export_dynamic_flag_spec
='${wl}-E'
8440 # hardcode_minus_L: Not really in the search PATH,
8441 # but as the default location of the library.
8442 hardcode_minus_L
=yes
8447 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8450 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8453 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8456 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8462 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8465 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8468 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8472 if test "$with_gnu_ld" = no
; then
8473 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8474 hardcode_libdir_separator
=:
8478 hardcode_libdir_flag_spec_ld
='+b $libdir'
8480 hardcode_shlibpath_var
=no
8484 export_dynamic_flag_spec
='${wl}-E'
8486 # hardcode_minus_L: Not really in the search PATH,
8487 # but as the default location of the library.
8488 hardcode_minus_L
=yes
8494 irix5
* | irix6
* | nonstopux
*)
8495 if test "$GCC" = yes; then
8496 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8498 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8499 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8501 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8502 hardcode_libdir_separator
=:
8503 link_all_deplibs
=yes
8507 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8508 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8510 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8512 hardcode_libdir_flag_spec
='-R$libdir'
8514 hardcode_shlibpath_var
=no
8518 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8520 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8521 hardcode_libdir_separator
=:
8522 hardcode_shlibpath_var
=no
8527 hardcode_shlibpath_var
=no
8528 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8529 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8530 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8531 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8532 export_dynamic_flag_spec
='${wl}-E'
8535 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8536 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8537 hardcode_libdir_flag_spec
='-R$libdir'
8540 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8541 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8548 hardcode_libdir_flag_spec
='-L$libdir'
8549 hardcode_minus_L
=yes
8550 allow_undefined_flag
=unsupported
8551 archive_cmds
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8552 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8556 if test "$GCC" = yes; then
8557 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8558 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8560 allow_undefined_flag
=' -expect_unresolved \*'
8561 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8563 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8564 hardcode_libdir_separator
=:
8567 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8568 if test "$GCC" = yes; then
8569 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8570 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8571 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8573 allow_undefined_flag
=' -expect_unresolved \*'
8574 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8575 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8576 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8578 # Both c and cxx compiler support -rpath directly
8579 hardcode_libdir_flag_spec
='-rpath $libdir'
8581 hardcode_libdir_separator
=:
8585 no_undefined_flag
=' -z text'
8586 if test "$GCC" = yes; then
8588 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8589 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8590 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8593 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8594 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8595 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8597 hardcode_libdir_flag_spec
='-R$libdir'
8598 hardcode_shlibpath_var
=no
8600 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8602 # The compiler driver will combine linker options so we
8603 # cannot just pass the convience library names through
8604 # without $wl, iff we do not link with $LD.
8605 # Luckily, gcc supports the same syntax we need for Sun Studio.
8606 # Supported since Solaris 2.6 (maybe 2.5.1?)
8609 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8611 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8614 link_all_deplibs
=yes
8618 if test "x$host_vendor" = xsequent
; then
8619 # Use $CC to link under sequent, because it throws in some extra .o
8620 # files that make .init and .fini sections work.
8621 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8623 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8625 hardcode_libdir_flag_spec
='-L$libdir'
8627 hardcode_minus_L
=yes
8628 hardcode_shlibpath_var
=no
8632 case $host_vendor in
8634 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8635 hardcode_direct
=yes # is this really true???
8638 ## LD is ld it makes a PLAMLIB
8639 ## CC just makes a GrossModule.
8640 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8641 reload_cmds
='$CC -r -o $output$reload_objs'
8645 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8646 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8649 runpath_var
='LD_RUN_PATH'
8650 hardcode_shlibpath_var
=no
8654 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8655 hardcode_shlibpath_var
=no
8656 export_dynamic_flag_spec
='-Bexport'
8660 if test -d /usr
/nec
; then
8661 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8662 hardcode_shlibpath_var
=no
8663 runpath_var
=LD_RUN_PATH
8664 hardcode_runpath_var
=yes
8669 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8670 no_undefined_flag
='${wl}-z,text'
8671 archive_cmds_need_lc
=no
8672 hardcode_shlibpath_var
=no
8673 runpath_var
='LD_RUN_PATH'
8675 if test "$GCC" = yes; then
8676 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8677 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8679 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8680 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8684 sysv5
* | sco3.2v5
* | sco5v6
*)
8685 # Note: We can NOT use -z defs as we might desire, because we do not
8686 # link with -lc, and that would cause any symbols used from libc to
8687 # always be unresolved, which means just about no library would
8688 # ever link correctly. If we're not using GNU ld we use -z text
8689 # though, which does catch some bad symbols but isn't as heavy-handed
8691 no_undefined_flag
='${wl}-z,text'
8692 allow_undefined_flag
='${wl}-z,nodefs'
8693 archive_cmds_need_lc
=no
8694 hardcode_shlibpath_var
=no
8695 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8696 hardcode_libdir_separator
=':'
8697 link_all_deplibs
=yes
8698 export_dynamic_flag_spec
='${wl}-Bexport'
8699 runpath_var
='LD_RUN_PATH'
8701 if test "$GCC" = yes; then
8702 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8703 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8705 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8706 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8711 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8712 hardcode_libdir_flag_spec
='-L$libdir'
8713 hardcode_shlibpath_var
=no
8722 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8723 echo "${ECHO_T}$ld_shlibs" >&6; }
8724 test "$ld_shlibs" = no
&& can_build_shared
=no
8727 # Do we need to explicitly link libc?
8729 case "x$archive_cmds_need_lc" in
8731 # Assume -lc should be added
8732 archive_cmds_need_lc
=yes
8734 if test "$enable_shared" = yes && test "$GCC" = yes; then
8735 case $archive_cmds in
8737 # FIXME: we may have to deal with multi-command sequences.
8740 # Test whether the compiler implicitly links with -lc since on some
8741 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8742 # to ld, don't add -lc before -lgcc.
8743 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8744 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8746 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8749 (eval $ac_compile) 2>&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); } 2>conftest.err
; then
8755 libobjs
=conftest.
$ac_objext
8757 wl
=$lt_prog_compiler_wl
8758 pic_flag
=$lt_prog_compiler_pic
8764 lt_save_allow_undefined_flag
=$allow_undefined_flag
8765 allow_undefined_flag
=
8766 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8767 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); }
8772 archive_cmds_need_lc
=no
8774 archive_cmds_need_lc
=yes
8776 allow_undefined_flag
=$lt_save_allow_undefined_flag
8778 cat conftest.err
1>&5
8781 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8782 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8789 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8790 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8792 libname_spec
='lib$name'
8800 shlibpath_overrides_runpath
=unknown
8802 dynamic_linker
="$host_os ld.so"
8803 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8804 if test "$GCC" = yes; then
8805 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8806 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8807 # if the path contains ";" then we assume it to be the separator
8808 # otherwise default to the standard path separator (i.e. ":") - it is
8809 # assumed that no part of a normal pathname contains ";" but that should
8810 # okay in the real world where ";" in dirpaths is itself problematic.
8811 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8813 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8816 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8818 need_lib_prefix
=unknown
8819 hardcode_into_libs
=no
8821 # when you set need_version to no, make sure it does not cause -set_version
8822 # flags to be left without arguments
8823 need_version
=unknown
8828 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8829 shlibpath_var
=LIBPATH
8831 # AIX 3 has no versioning support, so we append a major version to the name.
8832 soname_spec
='${libname}${release}${shared_ext}$major'
8839 hardcode_into_libs
=yes
8840 if test "$host_cpu" = ia64
; then
8841 # AIX 5 supports IA64
8842 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8843 shlibpath_var
=LD_LIBRARY_PATH
8845 # With GCC up to 2.95.x, collect2 would create an import file
8846 # for dependence libraries. The import file would start with
8847 # the line `#! .'. This would cause the generated library to
8848 # depend on `.', always an invalid library. This was fixed in
8849 # development snapshots of GCC prior to 3.0.
8851 aix4 | aix4.
[01] | aix4.
[01].
*)
8852 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8854 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8861 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8862 # soname into executable. Probably we can add versioning support to
8863 # collect2, so additional links can be useful in future.
8864 if test "$aix_use_runtimelinking" = yes; then
8865 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8866 # instead of lib<name>.a to let people know that these are not
8867 # typical AIX shared libraries.
8868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8870 # We preserve .a as extension for shared libraries through AIX4.2
8871 # and later when we are not doing run time linking.
8872 library_names_spec
='${libname}${release}.a $libname.a'
8873 soname_spec
='${libname}${release}${shared_ext}$major'
8875 shlibpath_var
=LIBPATH
8880 library_names_spec
='$libname.ixlibrary $libname.a'
8881 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8882 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8886 library_names_spec
='${libname}${shared_ext}'
8887 dynamic_linker
="$host_os ld.so"
8888 shlibpath_var
=LIBRARY_PATH
8894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8895 soname_spec
='${libname}${release}${shared_ext}$major'
8896 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8897 shlibpath_var
=LD_LIBRARY_PATH
8898 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8899 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8900 # the default ld.so.conf also contains /usr/contrib/lib and
8901 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8902 # libtool to hard-code these into programs
8905 cygwin
* | mingw
* | pw32
*)
8906 version_type
=windows
8911 case $GCC,$host_os in
8912 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8913 library_names_spec
='$libname.dll.a'
8914 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8915 postinstall_cmds
='base_file=`basename \${file}`~
8916 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8917 dldir=$destdir/`dirname \$dlpath`~
8918 test -d \$dldir || mkdir -p \$dldir~
8919 $install_prog $dir/$dlname \$dldir/$dlname~
8920 chmod a+x \$dldir/$dlname'
8921 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8922 dlpath=$dir/\$dldll~
8924 shlibpath_overrides_runpath
=yes
8928 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8929 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8930 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8933 # MinGW DLLs use traditional 'lib' prefix
8934 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8935 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8936 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8937 # It is most probably a Windows format PATH printed by
8938 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8939 # path with ; separators, and with drive letters. We can handle the
8940 # drive letters (cygwin fileutils understands them), so leave them,
8941 # especially as we might pass files found there to a mingw objdump,
8942 # which wouldn't understand a cygwinified path. Ahh.
8943 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8945 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8949 # pw32 DLLs use 'pw' prefix rather than 'lib'
8950 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8956 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8959 dynamic_linker
='Win32 ld.exe'
8960 # FIXME: first we should search . and the directory the executable is in
8964 darwin
* | rhapsody
*)
8965 dynamic_linker
="$host_os dyld"
8969 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8970 soname_spec
='${libname}${release}${major}$shared_ext'
8971 shlibpath_overrides_runpath
=yes
8972 shlibpath_var
=DYLD_LIBRARY_PATH
8973 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8974 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8975 if test "$GCC" = yes; then
8976 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8978 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8980 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8988 soname_spec
='${libname}${release}${shared_ext}$major'
8989 shlibpath_var
=LD_LIBRARY_PATH
9000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9001 soname_spec
='${libname}${release}${shared_ext}$major'
9002 shlibpath_var
=LD_LIBRARY_PATH
9003 shlibpath_overrides_runpath
=no
9004 hardcode_into_libs
=yes
9005 dynamic_linker
='GNU ld.so'
9008 freebsd
* | dragonfly
*)
9009 # DragonFly does not have aout. When/if they implement a new
9010 # versioning mechanism, adjust this.
9011 if test -x /usr
/bin
/objformat
; then
9012 objformat
=`/usr/bin/objformat`
9015 freebsd
[123]*) objformat
=aout
;;
9019 version_type
=freebsd-
$objformat
9020 case $version_type in
9022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9027 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9031 shlibpath_var
=LD_LIBRARY_PATH
9034 shlibpath_overrides_runpath
=yes
9036 freebsd3.
[01]* | freebsdelf3.
[01]*)
9037 shlibpath_overrides_runpath
=yes
9038 hardcode_into_libs
=yes
9040 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9041 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9042 shlibpath_overrides_runpath
=no
9043 hardcode_into_libs
=yes
9045 freebsd
*) # from 4.6 on
9046 shlibpath_overrides_runpath
=yes
9047 hardcode_into_libs
=yes
9056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9057 soname_spec
='${libname}${release}${shared_ext}$major'
9058 shlibpath_var
=LD_LIBRARY_PATH
9059 hardcode_into_libs
=yes
9062 hpux9
* | hpux10
* | hpux11
*)
9063 # Give a soname corresponding to the major version so that dld.sl refuses to
9064 # link against other versions.
9071 hardcode_into_libs
=yes
9072 dynamic_linker
="$host_os dld.so"
9073 shlibpath_var
=LD_LIBRARY_PATH
9074 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9076 soname_spec
='${libname}${release}${shared_ext}$major'
9077 if test "X$HPUX_IA64_MODE" = X32
; then
9078 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9080 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9082 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9086 hardcode_into_libs
=yes
9087 dynamic_linker
="$host_os dld.sl"
9088 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9089 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9091 soname_spec
='${libname}${release}${shared_ext}$major'
9092 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9093 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9097 dynamic_linker
="$host_os dld.sl"
9098 shlibpath_var
=SHLIB_PATH
9099 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9101 soname_spec
='${libname}${release}${shared_ext}$major'
9104 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9105 postinstall_cmds
='chmod 555 $lib'
9112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9113 soname_spec
='${libname}${release}${shared_ext}$major'
9114 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9115 shlibpath_var
=LD_LIBRARY_PATH
9116 shlibpath_overrides_runpath
=no
9117 hardcode_into_libs
=yes
9120 irix5
* | irix6
* | nonstopux
*)
9122 nonstopux
*) version_type
=nonstopux
;;
9124 if test "$lt_cv_prog_gnu_ld" = yes; then
9132 soname_spec
='${libname}${release}${shared_ext}$major'
9133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9135 irix5
* | nonstopux
*)
9139 case $LD in # libtool.m4 will add one of these switches to LD
9140 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9141 libsuff
= shlibsuff
= libmagic
=32-bit;;
9142 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9143 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9144 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9145 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9146 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9150 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9151 shlibpath_overrides_runpath
=no
9152 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9153 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9154 hardcode_into_libs
=yes
9157 # No shared lib support for Linux oldld, aout, or coff.
9158 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9162 # This must be Linux ELF.
9167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9168 soname_spec
='${libname}${release}${shared_ext}$major'
9169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9170 shlibpath_var
=LD_LIBRARY_PATH
9171 shlibpath_overrides_runpath
=no
9172 # This implies no fast_install, which is unacceptable.
9173 # Some rework will be needed to allow for fast_install
9174 # before this can be enabled.
9175 hardcode_into_libs
=yes
9177 # find out which ABI we are using
9180 x86_64
*|s390x
*|powerpc64
*)
9181 echo '#line 9181 "configure"' > conftest.
$ac_ext
9182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9183 (eval $ac_compile) 2>&5
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; then
9187 case `/usr/bin/file conftest.$ac_objext` in
9190 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9198 # Append ld.so.conf contents to the search path
9199 if test -f /etc
/ld.so.conf
; then
9200 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9201 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9204 # We used to test for /lib/ld.so.1 and disable shared libraries on
9205 # powerpc, because MkLinux only supported shared libraries with the
9206 # GNU dynamic linker. Since this was broken with cross compilers,
9207 # most powerpc-linux boxes support dynamic linking these days and
9208 # people can always --disable-shared, the test was removed, and we
9209 # assume the GNU/Linux dynamic linker is in use.
9210 dynamic_linker
='GNU/Linux ld.so'
9217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9218 soname_spec
='${libname}${release}${shared_ext}$major'
9219 shlibpath_var
=LD_LIBRARY_PATH
9220 shlibpath_overrides_runpath
=no
9221 hardcode_into_libs
=yes
9222 dynamic_linker
='GNU ld.so'
9229 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9231 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9232 dynamic_linker
='NetBSD (a.out) ld.so'
9234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9235 soname_spec
='${libname}${release}${shared_ext}$major'
9236 dynamic_linker
='NetBSD ld.elf_so'
9238 shlibpath_var
=LD_LIBRARY_PATH
9239 shlibpath_overrides_runpath
=yes
9240 hardcode_into_libs
=yes
9245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9246 shlibpath_var
=LD_LIBRARY_PATH
9247 shlibpath_overrides_runpath
=yes
9254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9255 soname_spec
='${libname}${release}${shared_ext}$major'
9256 shlibpath_var
=LD_LIBRARY_PATH
9257 shlibpath_overrides_runpath
=yes
9262 sys_lib_dlsearch_path_spec
="/usr/lib"
9264 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9266 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9267 *) need_version
=no
;;
9269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9270 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9271 shlibpath_var
=LD_LIBRARY_PATH
9272 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9274 openbsd2.
[89] | openbsd2.
[89].
*)
9275 shlibpath_overrides_runpath
=no
9278 shlibpath_overrides_runpath
=yes
9282 shlibpath_overrides_runpath
=yes
9287 libname_spec
='$name'
9290 library_names_spec
='$libname${shared_ext} $libname.a'
9291 dynamic_linker
='OS/2 ld.exe'
9292 shlibpath_var
=LIBPATH
9295 osf3
* | osf4
* | osf5
*)
9299 soname_spec
='${libname}${release}${shared_ext}$major'
9300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9301 shlibpath_var
=LD_LIBRARY_PATH
9302 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9303 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9311 soname_spec
='${libname}${release}${shared_ext}$major'
9312 shlibpath_var
=LD_LIBRARY_PATH
9313 shlibpath_overrides_runpath
=yes
9314 hardcode_into_libs
=yes
9315 # ldd complains unless libraries are executable
9316 postinstall_cmds
='chmod +x $lib'
9321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9322 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9323 shlibpath_var
=LD_LIBRARY_PATH
9324 shlibpath_overrides_runpath
=yes
9325 if test "$with_gnu_ld" = yes; then
9333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9334 soname_spec
='${libname}${release}${shared_ext}$major'
9335 shlibpath_var
=LD_LIBRARY_PATH
9336 case $host_vendor in
9338 shlibpath_overrides_runpath
=no
9340 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9341 runpath_var
=LD_RUN_PATH
9349 shlibpath_overrides_runpath
=no
9350 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9356 if test -d /usr
/nec
;then
9358 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9359 soname_spec
='$libname${shared_ext}.$major'
9360 shlibpath_var
=LD_LIBRARY_PATH
9364 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9365 version_type
=freebsd-elf
9368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9369 soname_spec
='${libname}${release}${shared_ext}$major'
9370 shlibpath_var
=LD_LIBRARY_PATH
9371 hardcode_into_libs
=yes
9372 if test "$with_gnu_ld" = yes; then
9373 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9374 shlibpath_overrides_runpath
=no
9376 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9377 shlibpath_overrides_runpath
=yes
9380 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9384 sys_lib_dlsearch_path_spec
='/usr/lib'
9389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9390 soname_spec
='${libname}${release}${shared_ext}$major'
9391 shlibpath_var
=LD_LIBRARY_PATH
9398 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9399 echo "${ECHO_T}$dynamic_linker" >&6; }
9400 test "$dynamic_linker" = no
&& can_build_shared
=no
9402 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9403 if test "$GCC" = yes; then
9404 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9407 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9408 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9410 if test -n "$hardcode_libdir_flag_spec" || \
9411 test -n "$runpath_var" || \
9412 test "X$hardcode_automatic" = "Xyes" ; then
9414 # We can hardcode non-existant directories.
9415 if test "$hardcode_direct" != no
&&
9416 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9417 # have to relink, otherwise we might link with an installed library
9418 # when we should be linking with a yet-to-be-installed one
9419 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9420 test "$hardcode_minus_L" != no
; then
9421 # Linking always hardcodes the temporary library directory.
9422 hardcode_action
=relink
9424 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9425 hardcode_action
=immediate
9428 # We cannot hardcode anything, or else we can only hardcode existing
9430 hardcode_action
=unsupported
9432 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9433 echo "${ECHO_T}$hardcode_action" >&6; }
9435 if test "$hardcode_action" = relink
; then
9436 # Fast installation is not supported
9437 enable_fast_install
=no
9438 elif test "$shlibpath_overrides_runpath" = yes ||
9439 test "$enable_shared" = no
; then
9440 # Fast installation is not necessary
9441 enable_fast_install
=needless
9446 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9447 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9448 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9449 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9450 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9451 { echo "$as_me:$LINENO: result: yes" >&5
9452 echo "${ECHO_T}yes" >&6; }
9454 # FIXME - insert some real tests, host_os isn't really good enough
9457 if test -n "$STRIP" ; then
9458 striplib
="$STRIP -x"
9459 { echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6; }
9462 { echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6; }
9467 { echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6; }
9473 if test "x$enable_dlopen" != xyes
; then
9474 enable_dlopen
=unknown
9475 enable_dlopen_self
=unknown
9476 enable_dlopen_self_static
=unknown
9483 lt_cv_dlopen
="load_add_on"
9485 lt_cv_dlopen_self
=yes
9489 lt_cv_dlopen
="LoadLibrary"
9494 lt_cv_dlopen
="dlopen"
9499 # if libdl is installed we need to link against it
9500 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9501 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9502 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9503 echo $ECHO_N "(cached) $ECHO_C" >&6
9505 ac_check_lib_save_LIBS
=$LIBS
9507 cat >conftest.
$ac_ext <<_ACEOF
9510 cat confdefs.h
>>conftest.
$ac_ext
9511 cat >>conftest.
$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9529 rm -f conftest.
$ac_objext conftest
$ac_exeext
9530 if { (ac_try
="$ac_link"
9532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9533 *) ac_try_echo=$ac_try;;
9535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9536 (eval "$ac_link") 2>conftest.er1
9538 grep -v '^ *+' conftest.er1 >conftest.err
9540 cat conftest.err >&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 (exit $ac_status); } && {
9543 test -z "$ac_c_werror_flag" ||
9544 test ! -s conftest.err
9545 } && test -s conftest$ac_exeext &&
9546 $as_test_x conftest$ac_exeext; then
9547 ac_cv_lib_dl_dlopen=yes
9549 echo "$as_me: failed program was:" >&5
9550 sed 's/^/| /' conftest.$ac_ext >&5
9552 ac_cv_lib_dl_dlopen=no
9555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9556 conftest$ac_exeext conftest.$ac_ext
9557 LIBS=$ac_check_lib_save_LIBS
9559 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9560 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9561 if test $ac_cv_lib_dl_dlopen = yes; then
9562 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9567 lt_cv_dlopen_self=yes
9574 { echo "$as_me:$LINENO: checking for shl_load" >&5
9575 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9576 if test "${ac_cv_func_shl_load+set}" = set; then
9577 echo $ECHO_N "(cached) $ECHO_C" >&6
9579 cat >conftest.$ac_ext <<_ACEOF
9582 cat confdefs.h >>conftest.$ac_ext
9583 cat >>conftest.$ac_ext <<_ACEOF
9584 /* end confdefs.h. */
9585 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9587 #define shl_load innocuous_shl_load
9589 /* System header to define __stub macros and hopefully few prototypes,
9590 which can conflict with char shl_load (); below.
9591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9592 <limits.h> exists even on freestanding compilers. */
9595 # include <limits.h>
9597 # include <assert.h>
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9609 /* The GNU C library defines this for functions which it implements
9610 to always fail with ENOSYS. Some functions are actually named
9611 something starting with __ and the normal name is an alias. */
9612 #if defined __stub_shl_load || defined __stub___shl_load
9624 rm -f conftest.$ac_objext conftest$ac_exeext
9625 if { (ac_try="$ac_link"
9627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9628 *) ac_try_echo
=$ac_try;;
9630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9631 (eval "$ac_link") 2>conftest.er1
9633 grep -v '^ *+' conftest.er1
>conftest.err
9635 cat conftest.err
>&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); } && {
9638 test -z "$ac_c_werror_flag" ||
9639 test ! -s conftest.err
9640 } && test -s conftest
$ac_exeext &&
9641 $as_test_x conftest
$ac_exeext; then
9642 ac_cv_func_shl_load
=yes
9644 echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.
$ac_ext >&5
9647 ac_cv_func_shl_load
=no
9650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9651 conftest
$ac_exeext conftest.
$ac_ext
9653 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9654 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9655 if test $ac_cv_func_shl_load = yes; then
9656 lt_cv_dlopen
="shl_load"
9658 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9659 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9660 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9661 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 ac_check_lib_save_LIBS
=$LIBS
9665 cat >conftest.
$ac_ext <<_ACEOF
9668 cat confdefs.h
>>conftest.
$ac_ext
9669 cat >>conftest.
$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9687 rm -f conftest.
$ac_objext conftest
$ac_exeext
9688 if { (ac_try
="$ac_link"
9690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9691 *) ac_try_echo=$ac_try;;
9693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9694 (eval "$ac_link") 2>conftest.er1
9696 grep -v '^ *+' conftest.er1 >conftest.err
9698 cat conftest.err >&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); } && {
9701 test -z "$ac_c_werror_flag" ||
9702 test ! -s conftest.err
9703 } && test -s conftest$ac_exeext &&
9704 $as_test_x conftest$ac_exeext; then
9705 ac_cv_lib_dld_shl_load=yes
9707 echo "$as_me: failed program was:" >&5
9708 sed 's/^/| /' conftest.$ac_ext >&5
9710 ac_cv_lib_dld_shl_load=no
9713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9714 conftest$ac_exeext conftest.$ac_ext
9715 LIBS=$ac_check_lib_save_LIBS
9717 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9718 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9719 if test $ac_cv_lib_dld_shl_load = yes; then
9720 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9722 { echo "$as_me:$LINENO: checking for dlopen" >&5
9723 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9724 if test "${ac_cv_func_dlopen+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9727 cat >conftest.$ac_ext <<_ACEOF
9730 cat confdefs.h >>conftest.$ac_ext
9731 cat >>conftest.$ac_ext <<_ACEOF
9732 /* end confdefs.h. */
9733 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9735 #define dlopen innocuous_dlopen
9737 /* System header to define __stub macros and hopefully few prototypes,
9738 which can conflict with char dlopen (); below.
9739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9740 <limits.h> exists even on freestanding compilers. */
9743 # include <limits.h>
9745 # include <assert.h>
9750 /* Override any GCC internal prototype to avoid an error.
9751 Use char because int might match the return type of a GCC
9752 builtin and then its argument prototype would still apply. */
9757 /* The GNU C library defines this for functions which it implements
9758 to always fail with ENOSYS. Some functions are actually named
9759 something starting with __ and the normal name is an alias. */
9760 #if defined __stub_dlopen || defined __stub___dlopen
9772 rm -f conftest.$ac_objext conftest$ac_exeext
9773 if { (ac_try="$ac_link"
9775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9776 *) ac_try_echo
=$ac_try;;
9778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9779 (eval "$ac_link") 2>conftest.er1
9781 grep -v '^ *+' conftest.er1
>conftest.err
9783 cat conftest.err
>&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); } && {
9786 test -z "$ac_c_werror_flag" ||
9787 test ! -s conftest.err
9788 } && test -s conftest
$ac_exeext &&
9789 $as_test_x conftest
$ac_exeext; then
9790 ac_cv_func_dlopen
=yes
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.
$ac_ext >&5
9795 ac_cv_func_dlopen
=no
9798 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9799 conftest
$ac_exeext conftest.
$ac_ext
9801 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9802 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9803 if test $ac_cv_func_dlopen = yes; then
9804 lt_cv_dlopen
="dlopen"
9806 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9807 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9808 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9809 echo $ECHO_N "(cached) $ECHO_C" >&6
9811 ac_check_lib_save_LIBS
=$LIBS
9813 cat >conftest.
$ac_ext <<_ACEOF
9816 cat confdefs.h
>>conftest.
$ac_ext
9817 cat >>conftest.
$ac_ext <<_ACEOF
9818 /* end confdefs.h. */
9820 /* Override any GCC internal prototype to avoid an error.
9821 Use char because int might match the return type of a GCC
9822 builtin and then its argument prototype would still apply. */
9835 rm -f conftest.
$ac_objext conftest
$ac_exeext
9836 if { (ac_try
="$ac_link"
9838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9839 *) ac_try_echo=$ac_try;;
9841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9842 (eval "$ac_link") 2>conftest.er1
9844 grep -v '^ *+' conftest.er1 >conftest.err
9846 cat conftest.err >&5
9847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848 (exit $ac_status); } && {
9849 test -z "$ac_c_werror_flag" ||
9850 test ! -s conftest.err
9851 } && test -s conftest$ac_exeext &&
9852 $as_test_x conftest$ac_exeext; then
9853 ac_cv_lib_dl_dlopen=yes
9855 echo "$as_me: failed program was:" >&5
9856 sed 's/^/| /' conftest.$ac_ext >&5
9858 ac_cv_lib_dl_dlopen=no
9861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LIBS=$ac_check_lib_save_LIBS
9865 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9866 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9867 if test $ac_cv_lib_dl_dlopen = yes; then
9868 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9870 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9871 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9872 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9873 echo $ECHO_N "(cached) $ECHO_C" >&6
9875 ac_check_lib_save_LIBS=$LIBS
9877 cat >conftest.$ac_ext <<_ACEOF
9880 cat confdefs.h >>conftest.$ac_ext
9881 cat >>conftest.$ac_ext <<_ACEOF
9882 /* end confdefs.h. */
9884 /* Override any GCC internal prototype to avoid an error.
9885 Use char because int might match the return type of a GCC
9886 builtin and then its argument prototype would still apply. */
9899 rm -f conftest.$ac_objext conftest$ac_exeext
9900 if { (ac_try="$ac_link"
9902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9903 *) ac_try_echo
=$ac_try;;
9905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9906 (eval "$ac_link") 2>conftest.er1
9908 grep -v '^ *+' conftest.er1
>conftest.err
9910 cat conftest.err
>&5
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); } && {
9913 test -z "$ac_c_werror_flag" ||
9914 test ! -s conftest.err
9915 } && test -s conftest
$ac_exeext &&
9916 $as_test_x conftest
$ac_exeext; then
9917 ac_cv_lib_svld_dlopen
=yes
9919 echo "$as_me: failed program was:" >&5
9920 sed 's/^/| /' conftest.
$ac_ext >&5
9922 ac_cv_lib_svld_dlopen
=no
9925 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9926 conftest
$ac_exeext conftest.
$ac_ext
9927 LIBS
=$ac_check_lib_save_LIBS
9929 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9930 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9931 if test $ac_cv_lib_svld_dlopen = yes; then
9932 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9934 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9935 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9936 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9937 echo $ECHO_N "(cached) $ECHO_C" >&6
9939 ac_check_lib_save_LIBS
=$LIBS
9941 cat >conftest.
$ac_ext <<_ACEOF
9944 cat confdefs.h
>>conftest.
$ac_ext
9945 cat >>conftest.
$ac_ext <<_ACEOF
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9963 rm -f conftest.
$ac_objext conftest
$ac_exeext
9964 if { (ac_try
="$ac_link"
9966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9967 *) ac_try_echo=$ac_try;;
9969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9970 (eval "$ac_link") 2>conftest.er1
9972 grep -v '^ *+' conftest.er1 >conftest.err
9974 cat conftest.err >&5
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); } && {
9977 test -z "$ac_c_werror_flag" ||
9978 test ! -s conftest.err
9979 } && test -s conftest$ac_exeext &&
9980 $as_test_x conftest$ac_exeext; then
9981 ac_cv_lib_dld_dld_link=yes
9983 echo "$as_me: failed program was:" >&5
9984 sed 's/^/| /' conftest.$ac_ext >&5
9986 ac_cv_lib_dld_dld_link=no
9989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9990 conftest$ac_exeext conftest.$ac_ext
9991 LIBS=$ac_check_lib_save_LIBS
9993 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9994 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9995 if test $ac_cv_lib_dld_dld_link = yes; then
9996 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10017 if test "x$lt_cv_dlopen" != xno; then
10023 case $lt_cv_dlopen in
10025 save_CPPFLAGS="$CPPFLAGS"
10026 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10028 save_LDFLAGS="$LDFLAGS"
10029 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10032 LIBS="$lt_cv_dlopen_libs $LIBS"
10034 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10035 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10036 if test "${lt_cv_dlopen_self+set}" = set; then
10037 echo $ECHO_N "(cached) $ECHO_C" >&6
10039 if test "$cross_compiling" = yes; then :
10040 lt_cv_dlopen_self=cross
10042 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10043 lt_status=$lt_dlunknown
10044 cat > conftest.$ac_ext <<EOF
10045 #line 10045 "configure"
10046 #include "confdefs.h"
10055 # define LT_DLGLOBAL RTLD_GLOBAL
10058 # define LT_DLGLOBAL DL_GLOBAL
10060 # define LT_DLGLOBAL 0
10064 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10065 find out it does not work in some platform. */
10066 #ifndef LT_DLLAZY_OR_NOW
10068 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10071 # define LT_DLLAZY_OR_NOW DL_LAZY
10074 # define LT_DLLAZY_OR_NOW RTLD_NOW
10077 # define LT_DLLAZY_OR_NOW DL_NOW
10079 # define LT_DLLAZY_OR_NOW 0
10087 extern "C" void exit (int);
10090 void fnord() { int i=42;}
10093 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10094 int status = $lt_dlunknown;
10098 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10099 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10100 /* dlclose (self); */
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10109 (eval $ac_link) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10113 (./conftest; exit; ) >&5 2>/dev/null
10115 case x$lt_status in
10116 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10117 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10118 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10121 # compilation failed
10122 lt_cv_dlopen_self=no
10129 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10130 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10132 if test "x$lt_cv_dlopen_self" = xyes; then
10133 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10134 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10135 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10136 if test "${lt_cv_dlopen_self_static+set}" = set; then
10137 echo $ECHO_N "(cached) $ECHO_C" >&6
10139 if test "$cross_compiling" = yes; then :
10140 lt_cv_dlopen_self_static=cross
10142 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10143 lt_status=$lt_dlunknown
10144 cat > conftest.$ac_ext <<EOF
10145 #line 10145 "configure"
10146 #include "confdefs.h"
10155 # define LT_DLGLOBAL RTLD_GLOBAL
10158 # define LT_DLGLOBAL DL_GLOBAL
10160 # define LT_DLGLOBAL 0
10164 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10165 find out it does not work in some platform. */
10166 #ifndef LT_DLLAZY_OR_NOW
10168 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10171 # define LT_DLLAZY_OR_NOW DL_LAZY
10174 # define LT_DLLAZY_OR_NOW RTLD_NOW
10177 # define LT_DLLAZY_OR_NOW DL_NOW
10179 # define LT_DLLAZY_OR_NOW 0
10187 extern "C" void exit (int);
10190 void fnord() { int i=42;}
10193 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10194 int status = $lt_dlunknown;
10198 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10199 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10200 /* dlclose (self); */
10208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10209 (eval $ac_link) 2>&5
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10213 (./conftest; exit; ) >&5 2>/dev/null
10215 case x$lt_status in
10216 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10217 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10218 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10221 # compilation failed
10222 lt_cv_dlopen_self_static=no
10229 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10230 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10233 CPPFLAGS="$save_CPPFLAGS"
10234 LDFLAGS="$save_LDFLAGS"
10239 case $lt_cv_dlopen_self in
10240 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10241 *) enable_dlopen_self=unknown ;;
10244 case $lt_cv_dlopen_self_static in
10245 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10246 *) enable_dlopen_self_static=unknown ;;
10251 # Report which library types will actually be built
10252 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10253 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10254 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10255 echo "${ECHO_T}$can_build_shared" >&6; }
10257 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10258 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10259 test "$can_build_shared" = "no" && enable_shared=no
10261 # On AIX, shared libraries and static libraries use the same namespace, and
10262 # are all built from PIC.
10265 test "$enable_shared" = yes && enable_static=no
10266 if test -n "$RANLIB"; then
10267 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10268 postinstall_cmds='$RANLIB $lib'
10273 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10274 test "$enable_shared" = yes && enable_static=no
10278 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10279 echo "${ECHO_T}$enable_shared" >&6; }
10281 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10282 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10283 # Make sure either enable_shared or enable_static is yes.
10284 test "$enable_shared" = yes || enable_static=yes
10285 { echo "$as_me:$LINENO: result: $enable_static" >&5
10286 echo "${ECHO_T}$enable_static" >&6; }
10288 # The else clause should only fire when bootstrapping the
10289 # libtool distribution, otherwise you forgot to ship ltmain.sh
10290 # with your package, and you will get complaints that there are
10291 # no rules to generate ltmain.sh.
10292 if test -f "$ltmain"; then
10293 # See if we are running on zsh, and set the options which allow our commands through
10294 # without removal of \ escapes.
10295 if test -n "${ZSH_VERSION+set}" ; then
10296 setopt NO_GLOB_SUBST
10298 # Now quote all the things that may contain metacharacters while being
10299 # careful not to overquote the AC_SUBSTed values. We take copies of the
10300 # variables and quote the copies for generation of the libtool script.
10301 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10303 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10304 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10305 deplibs_check_method reload_flag reload_cmds need_locks \
10306 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10307 lt_cv_sys_global_symbol_to_c_name_address \
10308 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10309 old_postinstall_cmds old_postuninstall_cmds \
10313 lt_prog_compiler_wl \
10314 lt_prog_compiler_pic \
10315 lt_prog_compiler_static \
10316 lt_prog_compiler_no_builtin_flag \
10317 export_dynamic_flag_spec \
10318 thread_safe_flag_spec \
10319 whole_archive_flag_spec \
10320 enable_shared_with_static_runtimes \
10322 old_archive_from_new_cmds \
10327 compiler_lib_search_path \
10329 archive_expsym_cmds \
10331 postuninstall_cmds \
10332 old_archive_from_expsyms_cmds \
10333 allow_undefined_flag \
10334 no_undefined_flag \
10335 export_symbols_cmds \
10336 hardcode_libdir_flag_spec \
10337 hardcode_libdir_flag_spec_ld \
10338 hardcode_libdir_separator \
10339 hardcode_automatic \
10341 module_expsym_cmds \
10342 lt_cv_prog_compiler_c_o \
10344 include_expsyms; do
10347 old_archive_cmds | \
10348 old_archive_from_new_cmds | \
10350 archive_expsym_cmds | \
10352 module_expsym_cmds | \
10353 old_archive_from_expsyms_cmds | \
10354 export_symbols_cmds | \
10355 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10356 postinstall_cmds | postuninstall_cmds | \
10357 old_postinstall_cmds | old_postuninstall_cmds | \
10358 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10359 # Double-quote double-evaled strings.
10360 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10363 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10369 *'\$0 --fallback-echo"')
10370 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10374 cfgfile="${ofile}T"
10375 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10377 { echo "$as_me:$LINENO: creating $ofile" >&5
10378 echo "$as_me: creating $ofile" >&6;}
10380 cat <<__EOF__ >> "$cfgfile"
10383 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10384 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10385 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10387 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10388 # Free Software Foundation, Inc.
10390 # This file is part of GNU Libtool:
10391 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10393 # This program is free software; you can redistribute it and/or modify
10394 # it under the terms of the GNU General Public License as published by
10395 # the Free Software Foundation; either version 2 of the License, or
10396 # (at your option) any later version.
10398 # This program is distributed in the hope that it will be useful, but
10399 # WITHOUT ANY WARRANTY; without even the implied warranty of
10400 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10401 # General Public License for more details.
10403 # You should have received a copy of the GNU General Public License
10404 # along with this program; if not, write to the Free Software
10405 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10407 # As a special exception to the GNU General Public License, if you
10408 # distribute this file as part of a program that contains a
10409 # configuration script generated by Autoconf, you may include it under
10410 # the same distribution terms that you use for the rest of that program.
10412 # A sed program that does not truncate output.
10415 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10416 Xsed="$SED -e 1s/^X//"
10418 # The HP-UX ksh and POSIX shell print the target directory to stdout
10419 # if CDPATH is set.
10420 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10422 # The names of the tagged configurations supported by this script.
10425 # ### BEGIN LIBTOOL CONFIG
10427 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10429 # Shell to use when invoking shell scripts.
10432 # Whether or not to build shared libraries.
10433 build_libtool_libs=$enable_shared
10435 # Whether or not to build static libraries.
10436 build_old_libs=$enable_static
10438 # Whether or not to add -lc for building shared libraries.
10439 build_libtool_need_lc=$archive_cmds_need_lc
10441 # Whether or not to disallow shared libs when runtime libs are static
10442 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10444 # Whether or not to optimize for fast installation.
10445 fast_install=$enable_fast_install
10448 host_alias=$host_alias
10452 # The build system.
10453 build_alias=$build_alias
10457 # An echo program that does not interpret backslashes.
10462 AR_FLAGS=$lt_AR_FLAGS
10467 # LTCC compiler flags.
10468 LTCFLAGS=$lt_LTCFLAGS
10470 # A language-specific compiler.
10473 # Is the compiler the GNU C compiler?
10479 # The linker used to build libraries.
10482 # Whether we need hard or soft links.
10485 # A BSD-compatible nm program.
10488 # A symbol stripping program
10491 # Used to examine libraries when file_magic_cmd begins "file"
10492 MAGIC_CMD=$MAGIC_CMD
10494 # Used on cygwin: DLL creation program.
10497 # Used on cygwin: object dumper.
10500 # Used on cygwin: assembler.
10503 # The name of the directory that contains temporary libtool files.
10506 # How to create reloadable object files.
10507 reload_flag=$lt_reload_flag
10508 reload_cmds=$lt_reload_cmds
10510 # How to pass a linker flag through the compiler.
10511 wl=$lt_lt_prog_compiler_wl
10513 # Object file suffix (normally "o").
10514 objext="$ac_objext"
10516 # Old archive suffix (normally "a").
10519 # Shared library suffix (normally ".so").
10520 shrext_cmds='$shrext_cmds'
10522 # Executable file suffix (normally "").
10525 # Additional compiler flags for building library objects.
10526 pic_flag=$lt_lt_prog_compiler_pic
10529 # What is the maximum length of a command?
10530 max_cmd_len=$lt_cv_sys_max_cmd_len
10532 # Does compiler simultaneously support -c and -o options?
10533 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10535 # Must we lock files when doing compilation?
10536 need_locks=$lt_need_locks
10538 # Do we need the lib prefix for modules?
10539 need_lib_prefix=$need_lib_prefix
10541 # Do we need a version for libraries?
10542 need_version=$need_version
10544 # Whether dlopen is supported.
10545 dlopen_support=$enable_dlopen
10547 # Whether dlopen of programs is supported.
10548 dlopen_self=$enable_dlopen_self
10550 # Whether dlopen of statically linked programs is supported.
10551 dlopen_self_static=$enable_dlopen_self_static
10553 # Compiler flag to prevent dynamic linking.
10554 link_static_flag=$lt_lt_prog_compiler_static
10556 # Compiler flag to turn off builtin functions.
10557 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10559 # Compiler flag to allow reflexive dlopens.
10560 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10562 # Compiler flag to generate shared objects directly from archives.
10563 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10565 # Compiler flag to generate thread-safe objects.
10566 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10568 # Library versioning type.
10569 version_type=$version_type
10571 # Format of library name prefix.
10572 libname_spec=$lt_libname_spec
10574 # List of archive names. First name is the real one, the rest are links.
10575 # The last name is the one that the linker finds with -lNAME.
10576 library_names_spec=$lt_library_names_spec
10578 # The coded name of the library, if different from the real name.
10579 soname_spec=$lt_soname_spec
10581 # Commands used to build and install an old-style archive.
10583 old_archive_cmds=$lt_old_archive_cmds
10584 old_postinstall_cmds=$lt_old_postinstall_cmds
10585 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10587 # Create an old-style archive from a shared archive.
10588 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10590 # Create a temporary old-style archive to link instead of a shared archive.
10591 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10593 # Commands used to build and install a shared archive.
10594 archive_cmds=$lt_archive_cmds
10595 archive_expsym_cmds=$lt_archive_expsym_cmds
10596 postinstall_cmds=$lt_postinstall_cmds
10597 postuninstall_cmds=$lt_postuninstall_cmds
10599 # Commands used to build a loadable module (assumed same as above if empty)
10600 module_cmds=$lt_module_cmds
10601 module_expsym_cmds=$lt_module_expsym_cmds
10603 # Commands to strip libraries.
10604 old_striplib=$lt_old_striplib
10605 striplib=$lt_striplib
10607 # Dependencies to place before the objects being linked to create a
10609 predep_objects=$lt_predep_objects
10611 # Dependencies to place after the objects being linked to create a
10613 postdep_objects=$lt_postdep_objects
10615 # Dependencies to place before the objects being linked to create a
10617 predeps=$lt_predeps
10619 # Dependencies to place after the objects being linked to create a
10621 postdeps=$lt_postdeps
10623 # The library search path used internally by the compiler when linking
10624 # a shared library.
10625 compiler_lib_search_path=$lt_compiler_lib_search_path
10627 # Method to check whether dependent libraries are shared objects.
10628 deplibs_check_method=$lt_deplibs_check_method
10630 # Command to use when deplibs_check_method == file_magic.
10631 file_magic_cmd=$lt_file_magic_cmd
10633 # Flag that allows shared libraries with undefined symbols to be built.
10634 allow_undefined_flag=$lt_allow_undefined_flag
10636 # Flag that forces no undefined symbols.
10637 no_undefined_flag=$lt_no_undefined_flag
10639 # Commands used to finish a libtool library installation in a directory.
10640 finish_cmds=$lt_finish_cmds
10642 # Same as above, but a single script fragment to be evaled but not shown.
10643 finish_eval=$lt_finish_eval
10645 # Take the output of nm and produce a listing of raw symbols and C names.
10646 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10648 # Transform the output of nm in a proper C declaration
10649 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10651 # Transform the output of nm in a C name address pair
10652 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10654 # This is the shared library runtime path variable.
10655 runpath_var=$runpath_var
10657 # This is the shared library path variable.
10658 shlibpath_var=$shlibpath_var
10660 # Is shlibpath searched before the hard-coded library search path?
10661 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10663 # How to hardcode a shared library path into an executable.
10664 hardcode_action=$hardcode_action
10666 # Whether we should hardcode library paths into libraries.
10667 hardcode_into_libs=$hardcode_into_libs
10669 # Flag to hardcode \$libdir into a binary during linking.
10670 # This must work even if \$libdir does not exist.
10671 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10673 # If ld is used when linking, flag to hardcode \$libdir into
10674 # a binary during linking. This must work even if \$libdir does
10676 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10678 # Whether we need a single -rpath flag with a separated argument.
10679 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10681 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10682 # resulting binary.
10683 hardcode_direct=$hardcode_direct
10685 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10686 # resulting binary.
10687 hardcode_minus_L=$hardcode_minus_L
10689 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10690 # the resulting binary.
10691 hardcode_shlibpath_var=$hardcode_shlibpath_var
10693 # Set to yes if building a shared library automatically hardcodes DIR into the library
10694 # and all subsequent libraries and executables linked against it.
10695 hardcode_automatic=$hardcode_automatic
10697 # Variables whose values should be saved in libtool wrapper scripts and
10698 # restored at relink time.
10699 variables_saved_for_relink="$variables_saved_for_relink"
10701 # Whether libtool must link a program against all its dependency libraries.
10702 link_all_deplibs=$link_all_deplibs
10704 # Compile-time system search path for libraries
10705 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10707 # Run-time system search path for libraries
10708 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10710 # Fix the shell variable \$srcfile for the compiler.
10711 fix_srcfile_path="$fix_srcfile_path"
10713 # Set to yes if exported symbols are required.
10714 always_export_symbols=$always_export_symbols
10716 # The commands to list exported symbols.
10717 export_symbols_cmds=$lt_export_symbols_cmds
10719 # The commands to extract the exported symbol list from a shared archive.
10720 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10722 # Symbols that should not be listed in the preloaded symbols.
10723 exclude_expsyms=$lt_exclude_expsyms
10725 # Symbols that must always be exported.
10726 include_expsyms=$lt_include_expsyms
10728 # ### END LIBTOOL CONFIG
10735 cat <<\EOF >> "$cfgfile"
10737 # AIX sometimes has problems with the GCC collect2 program. For some
10738 # reason, if we set the COLLECT_NAMES environment variable, the problems
10739 # vanish in a puff of smoke.
10740 if test "X${COLLECT_NAMES+set}" != Xset; then
10742 export COLLECT_NAMES
10748 # We use sed instead of cat because bash on DJGPP gets confused if
10749 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10750 # text mode, it properly converts lines to CR/LF. This bash problem
10751 # is reportedly fixed, but why not run on old versions too?
10752 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10754 mv -f "$cfgfile" "$ofile" || \
10755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10759 # If there is no Makefile yet, we rely on a make rule to execute
10760 # `config.status
--recheck' to rerun these tests and create the
10761 # libtool script then.
10762 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10763 if test -f "$ltmain_in"; then
10764 test -f Makefile && make "$ltmain"
10770 ac_cpp='$CPP $CPPFLAGS'
10771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10772 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10778 # Check whether --with-tags was given.
10779 if test "${with_tags+set}" = set; then
10780 withval=$with_tags; tagnames="$withval"
10784 if test -f "$ltmain" && test -n "$tagnames"; then
10785 if test ! -f "${ofile}"; then
10786 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10787 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10790 if test -z "$LTCC"; then
10791 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10792 if test -z "$LTCC"; then
10793 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10794 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10796 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10797 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10800 if test -z "$LTCFLAGS"; then
10801 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10804 # Extract list of available tagged configurations in $ofile.
10805 # Note that this assumes the entire list is on one line.
10806 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10808 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10809 for tagname in $tagnames; do
10811 # Check whether tagname contains only valid characters
10812 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10814 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10815 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10816 { (exit 1); exit 1; }; }
10820 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10822 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10823 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10824 { (exit 1); exit 1; }; }
10827 # Update the list of available tags.
10828 if test -n "$tagname"; then
10829 echo appending configuration tag \"$tagname\" to $ofile
10833 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10834 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10835 (test "X$CXX" != "Xg++"))) ; then
10837 ac_cpp='$CXXCPP $CPPFLAGS'
10838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10845 archive_cmds_need_lc_CXX=no
10846 allow_undefined_flag_CXX=
10847 always_export_symbols_CXX=no
10848 archive_expsym_cmds_CXX=
10849 export_dynamic_flag_spec_CXX=
10850 hardcode_direct_CXX=no
10851 hardcode_libdir_flag_spec_CXX=
10852 hardcode_libdir_flag_spec_ld_CXX=
10853 hardcode_libdir_separator_CXX=
10854 hardcode_minus_L_CXX=no
10855 hardcode_shlibpath_var_CXX=unsupported
10856 hardcode_automatic_CXX=no
10858 module_expsym_cmds_CXX=
10859 link_all_deplibs_CXX=unknown
10860 old_archive_cmds_CXX=$old_archive_cmds
10861 no_undefined_flag_CXX=
10862 whole_archive_flag_spec_CXX=
10863 enable_shared_with_static_runtimes_CXX=no
10865 # Dependencies to place before and after the object being linked:
10866 predep_objects_CXX=
10867 postdep_objects_CXX=
10870 compiler_lib_search_path_CXX=
10872 # Source file extension for C++ test sources.
10875 # Object file extension for compiled C++ test sources.
10879 # Code to be used in simple compile tests
10880 lt_simple_compile_test_code="int some_variable = 0;\n"
10882 # Code to be used in simple link tests
10883 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10885 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10887 # If no C compiler was specified, use CC.
10890 # If no C compiler flags were specified, use CFLAGS.
10891 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10893 # Allow CC to be a program name with arguments.
10897 # save warnings/boilerplate of simple test code
10898 ac_outfile=conftest.$ac_objext
10899 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10900 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10901 _lt_compiler_boilerplate=`cat conftest.err
`
10904 ac_outfile=conftest.$ac_objext
10905 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10906 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10907 _lt_linker_boilerplate=`cat conftest.err
`
10911 # Allow CC to be a program name with arguments.
10916 lt_save_with_gnu_ld=$with_gnu_ld
10917 lt_save_path_LD=$lt_cv_path_LD
10918 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10919 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10921 $as_unset lt_cv_prog_gnu_ld
10923 if test -n "${lt_cv_path_LDCXX+set}"; then
10924 lt_cv_path_LD=$lt_cv_path_LDCXX
10926 $as_unset lt_cv_path_LD
10928 test -z "${LDCXX+set}" || LD=$LDCXX
10932 for cc_temp in $compiler""; do
10934 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10935 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10940 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10943 # We don't want -fno-exception wen compiling C++ code, so set the
10944 # no_builtin_flag separately
10945 if test "$GXX" = yes; then
10946 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10948 lt_prog_compiler_no_builtin_flag_CXX=
10951 if test "$GXX" = yes; then
10952 # Set up default GNU C++ configuration
10955 # Check whether --with-gnu-ld was given.
10956 if test "${with_gnu_ld+set}" = set; then
10957 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10963 if test "$GCC" = yes; then
10964 # Check if gcc -print-prog-name=ld gives a path.
10965 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10966 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10969 # gcc leaves a trailing carriage return which upsets mingw
10970 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10972 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10975 # Accept absolute paths.
10977 re_direlt='/[^/][^/]*/\.\./'
10978 # Canonicalize the pathname of ld
10979 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10980 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10981 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10983 test -z "$LD" && LD="$ac_prog"
10986 # If it fails, then pretend we aren't using GCC.
10990 # If it is relative, then search for the first ld in PATH.
10991 with_gnu_ld=unknown
10994 elif test "$with_gnu_ld" = yes; then
10995 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10996 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10998 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10999 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11001 if test "${lt_cv_path_LD+set}" = set; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6
11004 if test -z "$LD"; then
11005 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11006 for ac_dir in $PATH; do
11008 test -z "$ac_dir" && ac_dir=.
11009 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11010 lt_cv_path_LD="$ac_dir/$ac_prog"
11011 # Check to see if the program is GNU ld. I'd rather use --version,
11012 # but apparently some variants of GNU ld only accept -v.
11013 # Break only if it was the GNU/non-GNU ld that we prefer.
11014 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11015 *GNU* | *'with BFD'*)
11016 test "$with_gnu_ld" != no && break
11019 test "$with_gnu_ld" != yes && break
11026 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11030 LD="$lt_cv_path_LD"
11031 if test -n "$LD"; then
11032 { echo "$as_me:$LINENO: result: $LD" >&5
11033 echo "${ECHO_T}$LD" >&6; }
11035 { echo "$as_me:$LINENO: result: no" >&5
11036 echo "${ECHO_T}no" >&6; }
11038 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11039 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11040 { (exit 1); exit 1; }; }
11041 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11042 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11043 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11046 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11047 case `$LD -v 2>&1 </dev
/null
` in
11048 *GNU* | *'with BFD'*)
11049 lt_cv_prog_gnu_ld=yes
11052 lt_cv_prog_gnu_ld=no
11056 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11057 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11058 with_gnu_ld=$lt_cv_prog_gnu_ld
11062 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11063 # archiving commands below assume that GNU ld is being used.
11064 if test "$with_gnu_ld" = yes; then
11065 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11066 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11068 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11069 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11071 # If archive_cmds runs LD, not CC, wlarc should be empty
11072 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11073 # investigate it a little bit more. (MM)
11076 # ancient GNU ld didn't support --whole-archive et. al.
11077 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11078 grep 'no-whole-archive' > /dev/null; then
11079 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11081 whole_archive_flag_spec_CXX=
11087 # A generic and very simple default shared library creation
11088 # command for GNU C++ for the case where it uses the native
11089 # linker, instead of GNU ld. If possible, this setting should
11090 # overridden to take advantage of the native linker features on
11091 # the platform it is being used on.
11092 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11095 # Commands to make compiler produce verbose output that lists
11096 # what "hidden" libraries, object files and flags are used when
11097 # linking a shared library.
11098 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11106 # PORTME: fill in a description of your system's C++ link characteristics
11107 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11108 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11112 # FIXME: insert proper C++ library support
11116 if test "$host_cpu" = ia64; then
11117 # On IA64, the linker does run time linking by default, so we don't
11118 # have to do anything special.
11119 aix_use_runtimelinking=no
11120 exp_sym_flag='-Bexport'
11123 aix_use_runtimelinking=no
11125 # Test if we are trying to use run time linking or normal
11126 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11127 # need to do runtime linking.
11128 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11129 for ld_flag in $LDFLAGS; do
11132 aix_use_runtimelinking=yes
11140 exp_sym_flag='-bexport'
11141 no_entry_flag='-bnoentry'
11144 # When large executables or shared objects are built, AIX ld can
11145 # have problems creating the table of contents. If linking a library
11146 # or program results in "error TOC overflow" add -mminimal-toc to
11147 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11148 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11150 archive_cmds_CXX=''
11151 hardcode_direct_CXX=yes
11152 hardcode_libdir_separator_CXX=':'
11153 link_all_deplibs_CXX=yes
11155 if test "$GXX" = yes; then
11156 case $host_os in aix4.[012]|aix4.[012].*)
11157 # We only want to do this on AIX 4.2 and lower, the check
11158 # below for broken collect2 doesn't work under 4.3+
11159 collect2name=`${CC} -print-prog-name=collect2
`
11160 if test -f "$collect2name" && \
11161 strings "$collect2name" | grep resolve_lib_name >/dev/null
11163 # We have reworked collect2
11164 hardcode_direct_CXX=yes
11166 # We have old collect2
11167 hardcode_direct_CXX=unsupported
11168 # It fails to find uninstalled libraries when the uninstalled
11169 # path is not listed in the libpath. Setting hardcode_minus_L
11170 # to unsupported forces relinking
11171 hardcode_minus_L_CXX=yes
11172 hardcode_libdir_flag_spec_CXX='-L$libdir'
11173 hardcode_libdir_separator_CXX=
11177 shared_flag='-shared'
11178 if test "$aix_use_runtimelinking" = yes; then
11179 shared_flag="$shared_flag "'${wl}-G'
11183 if test "$host_cpu" = ia64; then
11184 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11185 # chokes on -Wl,-G. The following line is correct:
11188 if test "$aix_use_runtimelinking" = yes; then
11189 shared_flag='${wl}-G'
11191 shared_flag='${wl}-bM:SRE'
11196 # It seems that -bexpall does not export symbols beginning with
11197 # underscore (_), so it is better to generate a list of symbols to export.
11198 always_export_symbols_CXX=yes
11199 if test "$aix_use_runtimelinking" = yes; then
11200 # Warning - without using the other runtime loading flags (-brtl),
11201 # -berok will link without error, but may produce a broken library.
11202 allow_undefined_flag_CXX='-berok'
11203 # Determine the default libpath from the value encoded in an empty executable.
11204 cat >conftest.$ac_ext <<_ACEOF
11207 cat confdefs.h >>conftest.$ac_ext
11208 cat >>conftest.$ac_ext <<_ACEOF
11209 /* end confdefs.h. */
11219 rm -f conftest.$ac_objext conftest$ac_exeext
11220 if { (ac_try="$ac_link"
11221 case "(($ac_try" in
11222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11223 *) ac_try_echo
=$ac_try;;
11225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11226 (eval "$ac_link") 2>conftest.er1
11228 grep -v '^ *+' conftest.er1
>conftest.err
11230 cat conftest.err
>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } && {
11233 test -z "$ac_cxx_werror_flag" ||
11234 test ! -s conftest.err
11235 } && test -s conftest
$ac_exeext &&
11236 $as_test_x conftest
$ac_exeext; then
11238 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11240 # Check for a 64-bit object if we didn't find anything.
11241 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11244 echo "$as_me: failed program was:" >&5
11245 sed 's/^/| /' conftest.
$ac_ext >&5
11250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11251 conftest
$ac_exeext conftest.
$ac_ext
11252 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11254 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11256 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11258 if test "$host_cpu" = ia64
; then
11259 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11260 allow_undefined_flag_CXX
="-z nodefs"
11261 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11263 # Determine the default libpath from the value encoded in an empty executable.
11264 cat >conftest.
$ac_ext <<_ACEOF
11267 cat confdefs.h
>>conftest.
$ac_ext
11268 cat >>conftest.
$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11279 rm -f conftest.
$ac_objext conftest
$ac_exeext
11280 if { (ac_try
="$ac_link"
11281 case "(($ac_try" in
11282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11283 *) ac_try_echo=$ac_try;;
11285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11286 (eval "$ac_link") 2>conftest.er1
11288 grep -v '^ *+' conftest.er1 >conftest.err
11290 cat conftest.err >&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); } && {
11293 test -z "$ac_cxx_werror_flag" ||
11294 test ! -s conftest.err
11295 } && test -s conftest$ac_exeext &&
11296 $as_test_x conftest$ac_exeext; then
11298 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11300 # Check for a 64-bit object if we didn't find anything.
11301 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11304 echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.$ac_ext >&5
11310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11311 conftest$ac_exeext conftest.$ac_ext
11312 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11314 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11315 # Warning - without using the other run time loading flags,
11316 # -berok will link without error, but may produce a broken library.
11317 no_undefined_flag_CXX=' ${wl}-bernotok'
11318 allow_undefined_flag_CXX=' ${wl}-berok'
11319 # Exported symbols can be pulled into shared objects from archives
11320 whole_archive_flag_spec_CXX='$convenience'
11321 archive_cmds_need_lc_CXX=yes
11322 # This is similar to how AIX traditionally builds its shared libraries.
11323 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11329 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11330 allow_undefined_flag_CXX=unsupported
11331 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11332 # support --undefined. This deserves some investigation. FIXME
11333 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11340 case $cc_basename in
11342 # FIXME: insert proper C++ library support
11348 cygwin* | mingw* | pw32*)
11349 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11350 # as there is no search path for DLLs.
11351 hardcode_libdir_flag_spec_CXX='-L$libdir'
11352 allow_undefined_flag_CXX=unsupported
11353 always_export_symbols_CXX=no
11354 enable_shared_with_static_runtimes_CXX=yes
11356 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11357 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11358 # If the export-symbols file already is a .def file (1st line
11359 # is EXPORTS), use it as is; otherwise, prepend...
11360 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11361 cp $export_symbols $output_objdir/$soname.def;
11363 echo EXPORTS > $output_objdir/$soname.def;
11364 cat $export_symbols >> $output_objdir/$soname.def;
11366 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11371 darwin* | rhapsody*)
11373 rhapsody* | darwin1.[012])
11374 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11377 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11378 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11380 case ${MACOSX_DEPLOYMENT_TARGET} in
11382 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11385 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11391 archive_cmds_need_lc_CXX=no
11392 hardcode_direct_CXX=no
11393 hardcode_automatic_CXX=yes
11394 hardcode_shlibpath_var_CXX=unsupported
11395 whole_archive_flag_spec_CXX=''
11396 link_all_deplibs_CXX=yes
11398 if test "$GXX" = yes ; then
11399 lt_int_apple_cc_single_mod=no
11400 output_verbose_link_cmd='echo'
11401 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11402 lt_int_apple_cc_single_mod=yes
11404 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11405 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11407 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11409 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11410 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11411 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11412 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11414 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11416 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11418 case $cc_basename in
11420 output_verbose_link_cmd='echo'
11421 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11422 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11423 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11424 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11425 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11435 case $cc_basename in
11437 # FIXME: insert proper C++ library support
11441 # Green Hills C++ Compiler
11442 # FIXME: insert proper C++ library support
11446 # FIXME: insert proper C++ library support
11452 # C++ shared libraries reported to be fairly broken before switch to ELF
11456 archive_cmds_need_lc_CXX=no
11458 freebsd* | kfreebsd*-gnu | dragonfly*)
11459 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11466 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11467 hardcode_libdir_separator_CXX=:
11468 export_dynamic_flag_spec_CXX='${wl}-E'
11469 hardcode_direct_CXX=yes
11470 hardcode_minus_L_CXX=yes # Not in the search PATH,
11471 # but as the default
11472 # location of the library.
11474 case $cc_basename in
11476 # FIXME: insert proper C++ library support
11480 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11481 # Commands to make compiler produce verbose output that lists
11482 # what "hidden" libraries, object files and flags are used when
11483 # linking a shared library.
11485 # There doesn't appear to be a way to prevent this compiler from
11486 # explicitly linking system object files so we need to strip them
11487 # from the output so that they don't get included in the library
11489 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11492 if test "$GXX" = yes; then
11493 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11495 # FIXME: insert proper C++ library support
11502 if test $with_gnu_ld = no; then
11503 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11504 hardcode_libdir_separator_CXX=:
11508 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11511 export_dynamic_flag_spec_CXX='${wl}-E'
11517 hardcode_direct_CXX=no
11518 hardcode_shlibpath_var_CXX=no
11521 hardcode_direct_CXX=yes
11522 hardcode_minus_L_CXX=yes # Not in the search PATH,
11523 # but as the default
11524 # location of the library.
11528 case $cc_basename in
11530 # FIXME: insert proper C++ library support
11536 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11539 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11542 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11545 # Commands to make compiler produce verbose output that lists
11546 # what "hidden" libraries, object files and flags are used when
11547 # linking a shared library.
11549 # There doesn't appear to be a way to prevent this compiler from
11550 # explicitly linking system object files so we need to strip them
11551 # from the output so that they don't get included in the library
11553 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11556 if test "$GXX" = yes; then
11557 if test $with_gnu_ld = no; then
11560 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11563 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11566 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11571 # FIXME: insert proper C++ library support
11578 hardcode_direct_CXX=no
11579 hardcode_shlibpath_var_CXX=no
11580 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11581 export_dynamic_flag_spec_CXX='${wl}-E'
11582 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11583 # Instead, shared libraries are loaded at an image base (0x10000000 by
11584 # default) and relocated if they conflict, which is a slow very memory
11585 # consuming and fragmenting process. To avoid this, we pick a random,
11586 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11587 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11588 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11589 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~
$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \
* 262144 + 1342177280` -o $lib'
11592 case $cc_basename in
11595 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11597 # Archives containing C++ object files must be created using
11598 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11599 # necessary to make sure instantiated templates are included
11601 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11604 if test "$GXX" = yes; then
11605 if test "$with_gnu_ld" = no; then
11606 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11608 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11611 link_all_deplibs_CXX=yes
11614 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11615 hardcode_libdir_separator_CXX=:
11618 case $cc_basename in
11620 # Kuck and Associates, Inc. (KAI) C++ Compiler
11622 # KCC will only create a shared library if the output file
11623 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11624 # to its proper name (with version) after linking.
11625 archive_cmds_CXX='tempext
=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib
=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \
$templib; mv \
$templib $lib'
11626 archive_expsym_cmds_CXX='tempext
=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib
=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \
$templib ${wl}-retain-symbols-file,$export_symbols; mv \
$templib $lib'
11627 # Commands to make compiler produce verbose output that lists
11628 # what "hidden" libraries, object files and flags are used when
11629 # linking a shared library.
11631 # There doesn't appear to be a way to prevent this compiler from
11632 # explicitly linking system object files so we need to strip them
11633 # from the output so that they don't get included in the library
11635 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11637 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11638 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11640 # Archives containing C++ object files must be created using
11641 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11642 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11647 # version 8.0 and above of icpc choke on multiply defined symbols
11648 # if we add $predep_objects and $postdep_objects, however 7.1 and
11649 # earlier do not add the objects themselves.
11650 case `$CC -V 2>&1` in
11652 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11653 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11655 *) # Version 8.0 or newer
11658 ia64
*) tmp_idyn
=' -i_dynamic';;
11660 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11661 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11664 archive_cmds_need_lc_CXX
=no
11665 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11666 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11667 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11670 # Portland Group C++ compiler
11671 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11672 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11674 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11675 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11676 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11680 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11681 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11683 runpath_var
=LD_RUN_PATH
11684 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11685 hardcode_libdir_separator_CXX
=:
11687 # Commands to make compiler produce verbose output that lists
11688 # what "hidden" libraries, object files and flags are used when
11689 # linking a shared library.
11691 # There doesn't appear to be a way to prevent this compiler from
11692 # explicitly linking system object files so we need to strip them
11693 # from the output so that they don't get included in the library
11695 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11700 # FIXME: insert proper C++ library support
11704 # FIXME: insert proper C++ library support
11708 case $cc_basename in
11710 # FIXME: insert proper C++ library support
11714 # FIXME: insert proper C++ library support
11720 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11721 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11723 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11724 hardcode_direct_CXX
=yes
11725 hardcode_shlibpath_var_CXX
=no
11727 # Workaround some broken pre-1.5 toolchains
11728 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11731 # C++ shared libraries are fairly broken
11735 hardcode_direct_CXX
=yes
11736 hardcode_shlibpath_var_CXX
=no
11737 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11738 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11739 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11740 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11741 export_dynamic_flag_spec_CXX
='${wl}-E'
11742 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11744 output_verbose_link_cmd
='echo'
11747 case $cc_basename in
11749 # Kuck and Associates, Inc. (KAI) C++ Compiler
11751 # KCC will only create a shared library if the output file
11752 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11753 # to its proper name (with version) after linking.
11754 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11756 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11757 hardcode_libdir_separator_CXX
=:
11759 # Archives containing C++ object files must be created using
11760 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11761 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11765 # Rational C++ 2.4.1
11766 # FIXME: insert proper C++ library support
11770 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11771 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11773 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11774 hardcode_libdir_separator_CXX
=:
11776 # Commands to make compiler produce verbose output that lists
11777 # what "hidden" libraries, object files and flags are used when
11778 # linking a shared library.
11780 # There doesn't appear to be a way to prevent this compiler from
11781 # explicitly linking system object files so we need to strip them
11782 # from the output so that they don't get included in the library
11784 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11787 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11788 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11789 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11791 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11792 hardcode_libdir_separator_CXX
=:
11794 # Commands to make compiler produce verbose output that lists
11795 # what "hidden" libraries, object files and flags are used when
11796 # linking a shared library.
11797 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11800 # FIXME: insert proper C++ library support
11807 case $cc_basename in
11809 # Kuck and Associates, Inc. (KAI) C++ Compiler
11811 # KCC will only create a shared library if the output file
11812 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11813 # to its proper name (with version) after linking.
11814 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11816 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11817 hardcode_libdir_separator_CXX
=:
11819 # Archives containing C++ object files must be created using
11820 # the KAI C++ compiler.
11821 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11824 # Rational C++ 2.4.1
11825 # FIXME: insert proper C++ library support
11829 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11830 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11831 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11832 echo "-hidden">> $lib.exp~
11833 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11836 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11837 hardcode_libdir_separator_CXX
=:
11839 # Commands to make compiler produce verbose output that lists
11840 # what "hidden" libraries, object files and flags are used when
11841 # linking a shared library.
11843 # There doesn't appear to be a way to prevent this compiler from
11844 # explicitly linking system object files so we need to strip them
11845 # from the output so that they don't get included in the library
11847 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11850 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11851 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11852 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11854 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11855 hardcode_libdir_separator_CXX
=:
11857 # Commands to make compiler produce verbose output that lists
11858 # what "hidden" libraries, object files and flags are used when
11859 # linking a shared library.
11860 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11863 # FIXME: insert proper C++ library support
11870 # FIXME: insert proper C++ library support
11874 case $cc_basename in
11877 # FIXME: insert proper C++ library support
11882 # FIXME: insert proper C++ library support
11886 # FIXME: insert proper C++ library support
11892 case $cc_basename in
11894 # Sun C++ 4.2, 5.x and Centerline C++
11895 archive_cmds_need_lc_CXX
=yes
11896 no_undefined_flag_CXX
=' -zdefs'
11897 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11898 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11899 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11901 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11902 hardcode_shlibpath_var_CXX
=no
11904 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11906 # The C++ compiler is used as linker so we must use $wl
11907 # flag to pass the commands to the underlying system
11908 # linker. We must also pass each convience library through
11909 # to the system linker between allextract/defaultextract.
11910 # The C++ compiler will combine linker options so we
11911 # cannot just pass the convience library names through
11913 # Supported since Solaris 2.6 (maybe 2.5.1?)
11914 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11917 link_all_deplibs_CXX
=yes
11919 output_verbose_link_cmd
='echo'
11921 # Archives containing C++ object files must be created using
11922 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11923 # necessary to make sure instantiated templates are included
11925 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11928 # Green Hills C++ Compiler
11929 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11931 # The C++ compiler must be used to create the archive.
11932 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11935 # GNU C++ compiler with Solaris linker
11936 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11937 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11938 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11939 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11940 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11941 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11943 # Commands to make compiler produce verbose output that lists
11944 # what "hidden" libraries, object files and flags are used when
11945 # linking a shared library.
11946 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11948 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11950 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11951 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11952 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11954 # Commands to make compiler produce verbose output that lists
11955 # what "hidden" libraries, object files and flags are used when
11956 # linking a shared library.
11957 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11960 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11965 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11966 no_undefined_flag_CXX
='${wl}-z,text'
11967 archive_cmds_need_lc_CXX
=no
11968 hardcode_shlibpath_var_CXX
=no
11969 runpath_var
='LD_RUN_PATH'
11971 case $cc_basename in
11973 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11974 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11977 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11978 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11982 sysv5
* | sco3.2v5
* | sco5v6
*)
11983 # Note: We can NOT use -z defs as we might desire, because we do not
11984 # link with -lc, and that would cause any symbols used from libc to
11985 # always be unresolved, which means just about no library would
11986 # ever link correctly. If we're not using GNU ld we use -z text
11987 # though, which does catch some bad symbols but isn't as heavy-handed
11989 # For security reasons, it is highly recommended that you always
11990 # use absolute paths for naming shared libraries, and exclude the
11991 # DT_RUNPATH tag from executables and libraries. But doing so
11992 # requires that you compile everything twice, which is a pain.
11993 # So that behaviour is only enabled if SCOABSPATH is set to a
11994 # non-empty value in the environment. Most likely only useful for
11995 # creating official distributions of packages.
11996 # This is a hack until libtool officially supports absolute path
11997 # names for shared libraries.
11998 no_undefined_flag_CXX
='${wl}-z,text'
11999 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12000 archive_cmds_need_lc_CXX
=no
12001 hardcode_shlibpath_var_CXX
=no
12002 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12003 hardcode_libdir_separator_CXX
=':'
12004 link_all_deplibs_CXX
=yes
12005 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12006 runpath_var
='LD_RUN_PATH'
12008 case $cc_basename in
12010 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12011 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12014 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12015 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12020 case $cc_basename in
12022 # NonStop-UX NCC 3.20
12023 # FIXME: insert proper C++ library support
12027 # FIXME: insert proper C++ library support
12033 # FIXME: insert proper C++ library support
12037 # FIXME: insert proper C++ library support
12041 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12042 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12043 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12049 cat > conftest.
$ac_ext <<EOF
12053 Foo (void) { a = 0; }
12059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12060 (eval $ac_compile) 2>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; then
12064 # Parse the compiler output and extract the necessary
12065 # objects, libraries and library flags.
12067 # Sentinel used to keep track of whether or not we are before
12068 # the conftest object file.
12069 pre_test_object_deps_done
=no
12071 # The `*' in the case matches for architectures that use `case' in
12072 # $output_verbose_cmd can trigger glob expansion during the loop
12073 # eval without this substitution.
12074 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12076 for p
in `eval $output_verbose_link_cmd`; do
12080 # Some compilers place space between "-{L,R}" and the path.
12081 # Remove the space.
12082 if test $p = "-L" \
12083 ||
test $p = "-R"; then
12090 if test "$pre_test_object_deps_done" = no
; then
12093 # Internal compiler library paths should come after those
12094 # provided the user. The postdeps already come after the
12095 # user supplied libs so there is no need to process them.
12096 if test -z "$compiler_lib_search_path_CXX"; then
12097 compiler_lib_search_path_CXX
="${prev}${p}"
12099 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12102 # The "-l" case would never come before the object being
12103 # linked, so don't bother handling this case.
12106 if test -z "$postdeps_CXX"; then
12107 postdeps_CXX
="${prev}${p}"
12109 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12115 # This assumes that the test object file only shows up
12116 # once in the compiler output.
12117 if test "$p" = "conftest.$objext"; then
12118 pre_test_object_deps_done
=yes
12122 if test "$pre_test_object_deps_done" = no
; then
12123 if test -z "$predep_objects_CXX"; then
12124 predep_objects_CXX
="$p"
12126 predep_objects_CXX
="$predep_objects_CXX $p"
12129 if test -z "$postdep_objects_CXX"; then
12130 postdep_objects_CXX
="$p"
12132 postdep_objects_CXX
="$postdep_objects_CXX $p"
12137 *) ;; # Ignore the rest.
12145 echo "libtool.m4: error: problem compiling CXX test program"
12148 $rm -f confest.
$objext
12150 # PORTME: override above test on systems where it is broken
12153 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12154 # hack all around it, let's just trust "g++" to DTRT.
12155 predep_objects_CXX
=
12156 postdep_objects_CXX
=
12161 case $cc_basename in
12163 # Adding this requires a known-good setup of shared libraries for
12164 # Sun compiler versions before 5.6, else PIC objects from an old
12165 # archive will be linked into the output, leading to subtle bugs.
12166 postdeps_CXX
='-lCstd -lCrun'
12173 case " $postdeps_CXX " in
12174 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12177 lt_prog_compiler_wl_CXX
=
12178 lt_prog_compiler_pic_CXX
=
12179 lt_prog_compiler_static_CXX
=
12181 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12182 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12184 # C++ specific cases for pic, static, wl, etc.
12185 if test "$GXX" = yes; then
12186 lt_prog_compiler_wl_CXX
='-Wl,'
12187 lt_prog_compiler_static_CXX
='-static'
12191 # All AIX code is PIC.
12192 if test "$host_cpu" = ia64
; then
12193 # AIX 5 now supports IA64 processor
12194 lt_prog_compiler_static_CXX
='-Bstatic'
12198 # FIXME: we need at least 68020 code to build shared libraries, but
12199 # adding the `-m68020' flag to GCC prevents building anything better,
12201 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12203 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12204 # PIC is the default for these OSes.
12206 mingw
* | os2
* | pw32
*)
12207 # This hack is so that the source file can tell whether it is being
12208 # built for inclusion in a dll (and should export symbols for example).
12209 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12211 darwin
* | rhapsody
*)
12212 # PIC is the default on this platform
12213 # Common symbols not allowed in MH_DYLIB files
12214 lt_prog_compiler_pic_CXX
='-fno-common'
12217 # DJGPP does not support shared libraries at all
12218 lt_prog_compiler_pic_CXX
=
12221 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12222 # Instead, we relocate shared libraries at runtime.
12225 if test -d /usr
/nec
; then
12226 lt_prog_compiler_pic_CXX
=-Kconform_pic
12230 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12231 # not for PA HP-UX.
12236 lt_prog_compiler_pic_CXX
='-fPIC'
12241 lt_prog_compiler_pic_CXX
='-fPIC'
12247 # All AIX code is PIC.
12248 if test "$host_cpu" = ia64
; then
12249 # AIX 5 now supports IA64 processor
12250 lt_prog_compiler_static_CXX
='-Bstatic'
12252 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12256 case $cc_basename in
12258 # Green Hills C++ Compiler
12259 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12264 # PIC is the default on this platform
12265 # Common symbols not allowed in MH_DYLIB files
12266 case $cc_basename in
12268 lt_prog_compiler_pic_CXX
='-qnocommon'
12269 lt_prog_compiler_wl_CXX
='-Wl,'
12274 case $cc_basename in
12276 lt_prog_compiler_pic_CXX
='-KPIC'
12279 # Green Hills C++ Compiler
12280 lt_prog_compiler_pic_CXX
='-pic'
12286 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12287 # FreeBSD uses GNU C++
12289 hpux9
* | hpux10
* | hpux11
*)
12290 case $cc_basename in
12292 lt_prog_compiler_wl_CXX
='-Wl,'
12293 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12294 if test "$host_cpu" != ia64
; then
12295 lt_prog_compiler_pic_CXX
='+Z'
12299 lt_prog_compiler_wl_CXX
='-Wl,'
12300 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12306 lt_prog_compiler_pic_CXX
='+Z'
12315 # This is c89, which is MS Visual C++ (no shared libs)
12316 # Anyone wants to do a port?
12318 irix5
* | irix6
* | nonstopux
*)
12319 case $cc_basename in
12321 lt_prog_compiler_wl_CXX
='-Wl,'
12322 lt_prog_compiler_static_CXX
='-non_shared'
12323 # CC pic flag -KPIC is the default.
12330 case $cc_basename in
12333 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12334 lt_prog_compiler_pic_CXX
='-fPIC'
12338 lt_prog_compiler_wl_CXX
='-Wl,'
12339 lt_prog_compiler_pic_CXX
='-KPIC'
12340 lt_prog_compiler_static_CXX
='-static'
12343 # Portland Group C++ compiler.
12344 lt_prog_compiler_wl_CXX
='-Wl,'
12345 lt_prog_compiler_pic_CXX
='-fpic'
12346 lt_prog_compiler_static_CXX
='-Bstatic'
12350 # Make sure the PIC flag is empty. It appears that all Alpha
12351 # Linux and Compaq Tru64 Unix objects are PIC.
12352 lt_prog_compiler_pic_CXX
=
12353 lt_prog_compiler_static_CXX
='-non_shared'
12364 case $cc_basename in
12366 lt_prog_compiler_pic_CXX
='-W c,exportall'
12374 osf3
* | osf4
* | osf5
*)
12375 case $cc_basename in
12377 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12380 # Rational C++ 2.4.1
12381 lt_prog_compiler_pic_CXX
='-pic'
12384 # Digital/Compaq C++
12385 lt_prog_compiler_wl_CXX
='-Wl,'
12386 # Make sure the PIC flag is empty. It appears that all Alpha
12387 # Linux and Compaq Tru64 Unix objects are PIC.
12388 lt_prog_compiler_pic_CXX
=
12389 lt_prog_compiler_static_CXX
='-non_shared'
12398 case $cc_basename in
12400 # Sun C++ 4.2, 5.x and Centerline C++
12401 lt_prog_compiler_pic_CXX
='-KPIC'
12402 lt_prog_compiler_static_CXX
='-Bstatic'
12403 lt_prog_compiler_wl_CXX
='-Qoption ld '
12406 # Green Hills C++ Compiler
12407 lt_prog_compiler_pic_CXX
='-PIC'
12414 case $cc_basename in
12417 lt_prog_compiler_pic_CXX
='-pic'
12418 lt_prog_compiler_static_CXX
='-Bstatic'
12422 lt_prog_compiler_pic_CXX
='-pic'
12429 case $cc_basename in
12431 # NonStop-UX NCC 3.20
12432 lt_prog_compiler_pic_CXX
='-KPIC'
12438 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12439 case $cc_basename in
12441 lt_prog_compiler_wl_CXX
='-Wl,'
12442 lt_prog_compiler_pic_CXX
='-KPIC'
12443 lt_prog_compiler_static_CXX
='-Bstatic'
12450 lt_prog_compiler_can_build_shared_CXX
=no
12455 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12456 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12459 # Check to make sure the PIC flag actually works.
12461 if test -n "$lt_prog_compiler_pic_CXX"; then
12463 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12464 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12465 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12468 lt_prog_compiler_pic_works_CXX
=no
12469 ac_outfile
=conftest.
$ac_objext
12470 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12471 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12472 # Insert the option either (1) after the last *FLAGS variable, or
12473 # (2) before a word containing "conftest.", or (3) at the end.
12474 # Note that $ac_compile itself does not contain backslashes and begins
12475 # with a dollar sign (not a hyphen), so the echo should work correctly.
12476 # The option is referenced via a variable to avoid confusing sed.
12477 lt_compile
=`echo "$ac_compile" | $SED \
12478 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12480 -e 's:$: $lt_compiler_flag:'`
12481 (eval echo "\"\$as_me:12481: $lt_compile\"" >&5)
12482 (eval "$lt_compile" 2>conftest.err
)
12484 cat conftest.err
>&5
12485 echo "$as_me:12485: \$? = $ac_status" >&5
12486 if (exit $ac_status) && test -s "$ac_outfile"; then
12487 # The compiler can only warn and ignore the option if not recognized
12488 # So say no if there are warnings other than the usual output.
12489 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12490 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12491 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12492 lt_prog_compiler_pic_works_CXX
=yes
12498 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12499 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12501 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12502 case $lt_prog_compiler_pic_CXX in
12504 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12507 lt_prog_compiler_pic_CXX
=
12508 lt_prog_compiler_can_build_shared_CXX
=no
12513 # For platforms which do not support PIC, -DPIC is meaningless:
12515 lt_prog_compiler_pic_CXX
=
12518 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12523 # Check to make sure the static flag actually works.
12525 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12526 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12527 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12528 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12531 lt_prog_compiler_static_works_CXX
=no
12532 save_LDFLAGS
="$LDFLAGS"
12533 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12534 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12535 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12536 # The linker can only warn and ignore the option if not recognized
12537 # So say no if there are warnings
12538 if test -s conftest.err
; then
12539 # Append any errors to the config.log.
12540 cat conftest.err
1>&5
12541 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12542 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12543 if diff conftest.exp conftest.er2
>/dev
/null
; then
12544 lt_prog_compiler_static_works_CXX
=yes
12547 lt_prog_compiler_static_works_CXX
=yes
12551 LDFLAGS
="$save_LDFLAGS"
12554 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12555 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12557 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12560 lt_prog_compiler_static_CXX
=
12564 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12565 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12566 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12569 lt_cv_prog_compiler_c_o_CXX
=no
12570 $rm -r conftest
2>/dev
/null
12574 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12576 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12577 # Insert the option either (1) after the last *FLAGS variable, or
12578 # (2) before a word containing "conftest.", or (3) at the end.
12579 # Note that $ac_compile itself does not contain backslashes and begins
12580 # with a dollar sign (not a hyphen), so the echo should work correctly.
12581 lt_compile
=`echo "$ac_compile" | $SED \
12582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12584 -e 's:$: $lt_compiler_flag:'`
12585 (eval echo "\"\$as_me:12585: $lt_compile\"" >&5)
12586 (eval "$lt_compile" 2>out
/conftest.err
)
12588 cat out
/conftest.err
>&5
12589 echo "$as_me:12589: \$? = $ac_status" >&5
12590 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12592 # The compiler can only warn and ignore the option if not recognized
12593 # So say no if there are warnings
12594 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12595 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12596 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12597 lt_cv_prog_compiler_c_o_CXX
=yes
12602 # SGI C++ compiler will create directory out/ii_files/ for
12603 # template instantiation
12604 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12605 $rm out
/* && rmdir out
12611 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12612 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12615 hard_links
="nottested"
12616 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12617 # do not overwrite the value of need_locks provided by the user
12618 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12619 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12622 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12624 ln conftest.a conftest.b
2>&5 || hard_links
=no
12625 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12626 { echo "$as_me:$LINENO: result: $hard_links" >&5
12627 echo "${ECHO_T}$hard_links" >&6; }
12628 if test "$hard_links" = no
; then
12629 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12630 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12637 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12638 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12640 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12643 # If we're using GNU nm, then we don't want the "-C" option.
12644 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12645 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12646 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12648 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12652 export_symbols_cmds_CXX
="$ltdll_cmds"
12655 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12658 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12662 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12663 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12664 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12667 # Do we need to explicitly link libc?
12669 case "x$archive_cmds_need_lc_CXX" in
12671 # Assume -lc should be added
12672 archive_cmds_need_lc_CXX
=yes
12674 if test "$enable_shared" = yes && test "$GCC" = yes; then
12675 case $archive_cmds_CXX in
12677 # FIXME: we may have to deal with multi-command sequences.
12680 # Test whether the compiler implicitly links with -lc since on some
12681 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12682 # to ld, don't add -lc before -lgcc.
12683 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12684 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12686 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12689 (eval $ac_compile) 2>&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } 2>conftest.err
; then
12695 libobjs
=conftest.
$ac_objext
12697 wl
=$lt_prog_compiler_wl_CXX
12698 pic_flag
=$lt_prog_compiler_pic_CXX
12704 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12705 allow_undefined_flag_CXX
=
12706 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12707 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }
12712 archive_cmds_need_lc_CXX
=no
12714 archive_cmds_need_lc_CXX
=yes
12716 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12718 cat conftest.err
1>&5
12721 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12722 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12729 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12730 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12731 library_names_spec
=
12732 libname_spec
='lib$name'
12736 postuninstall_cmds
=
12740 shlibpath_overrides_runpath
=unknown
12742 dynamic_linker
="$host_os ld.so"
12743 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12744 if test "$GCC" = yes; then
12745 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12746 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12747 # if the path contains ";" then we assume it to be the separator
12748 # otherwise default to the standard path separator (i.e. ":") - it is
12749 # assumed that no part of a normal pathname contains ";" but that should
12750 # okay in the real world where ";" in dirpaths is itself problematic.
12751 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12753 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12756 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12758 need_lib_prefix
=unknown
12759 hardcode_into_libs
=no
12761 # when you set need_version to no, make sure it does not cause -set_version
12762 # flags to be left without arguments
12763 need_version
=unknown
12768 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12769 shlibpath_var
=LIBPATH
12771 # AIX 3 has no versioning support, so we append a major version to the name.
12772 soname_spec
='${libname}${release}${shared_ext}$major'
12779 hardcode_into_libs
=yes
12780 if test "$host_cpu" = ia64
; then
12781 # AIX 5 supports IA64
12782 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12783 shlibpath_var
=LD_LIBRARY_PATH
12785 # With GCC up to 2.95.x, collect2 would create an import file
12786 # for dependence libraries. The import file would start with
12787 # the line `#! .'. This would cause the generated library to
12788 # depend on `.', always an invalid library. This was fixed in
12789 # development snapshots of GCC prior to 3.0.
12791 aix4 | aix4.
[01] | aix4.
[01].
*)
12792 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12794 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12797 can_build_shared
=no
12801 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12802 # soname into executable. Probably we can add versioning support to
12803 # collect2, so additional links can be useful in future.
12804 if test "$aix_use_runtimelinking" = yes; then
12805 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12806 # instead of lib<name>.a to let people know that these are not
12807 # typical AIX shared libraries.
12808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12810 # We preserve .a as extension for shared libraries through AIX4.2
12811 # and later when we are not doing run time linking.
12812 library_names_spec
='${libname}${release}.a $libname.a'
12813 soname_spec
='${libname}${release}${shared_ext}$major'
12815 shlibpath_var
=LIBPATH
12820 library_names_spec
='$libname.ixlibrary $libname.a'
12821 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12822 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12826 library_names_spec
='${libname}${shared_ext}'
12827 dynamic_linker
="$host_os ld.so"
12828 shlibpath_var
=LIBRARY_PATH
12834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12835 soname_spec
='${libname}${release}${shared_ext}$major'
12836 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12837 shlibpath_var
=LD_LIBRARY_PATH
12838 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12839 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12840 # the default ld.so.conf also contains /usr/contrib/lib and
12841 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12842 # libtool to hard-code these into programs
12845 cygwin
* | mingw
* | pw32
*)
12846 version_type
=windows
12851 case $GCC,$host_os in
12852 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12853 library_names_spec
='$libname.dll.a'
12854 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12855 postinstall_cmds
='base_file=`basename \${file}`~
12856 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12857 dldir=$destdir/`dirname \$dlpath`~
12858 test -d \$dldir || mkdir -p \$dldir~
12859 $install_prog $dir/$dlname \$dldir/$dlname~
12860 chmod a+x \$dldir/$dlname'
12861 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12862 dlpath=$dir/\$dldll~
12864 shlibpath_overrides_runpath
=yes
12868 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12869 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12870 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12873 # MinGW DLLs use traditional 'lib' prefix
12874 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12875 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12876 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12877 # It is most probably a Windows format PATH printed by
12878 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12879 # path with ; separators, and with drive letters. We can handle the
12880 # drive letters (cygwin fileutils understands them), so leave them,
12881 # especially as we might pass files found there to a mingw objdump,
12882 # which wouldn't understand a cygwinified path. Ahh.
12883 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12885 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12889 # pw32 DLLs use 'pw' prefix rather than 'lib'
12890 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12896 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12899 dynamic_linker
='Win32 ld.exe'
12900 # FIXME: first we should search . and the directory the executable is in
12904 darwin
* | rhapsody
*)
12905 dynamic_linker
="$host_os dyld"
12906 version_type
=darwin
12909 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12910 soname_spec
='${libname}${release}${major}$shared_ext'
12911 shlibpath_overrides_runpath
=yes
12912 shlibpath_var
=DYLD_LIBRARY_PATH
12913 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12914 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12915 if test "$GCC" = yes; then
12916 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12918 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12920 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12928 soname_spec
='${libname}${release}${shared_ext}$major'
12929 shlibpath_var
=LD_LIBRARY_PATH
12940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12941 soname_spec
='${libname}${release}${shared_ext}$major'
12942 shlibpath_var
=LD_LIBRARY_PATH
12943 shlibpath_overrides_runpath
=no
12944 hardcode_into_libs
=yes
12945 dynamic_linker
='GNU ld.so'
12948 freebsd
* | dragonfly
*)
12949 # DragonFly does not have aout. When/if they implement a new
12950 # versioning mechanism, adjust this.
12951 if test -x /usr
/bin
/objformat
; then
12952 objformat
=`/usr/bin/objformat`
12955 freebsd
[123]*) objformat
=aout
;;
12956 *) objformat
=elf
;;
12959 version_type
=freebsd-
$objformat
12960 case $version_type in
12962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12967 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12971 shlibpath_var
=LD_LIBRARY_PATH
12974 shlibpath_overrides_runpath
=yes
12976 freebsd3.
[01]* | freebsdelf3.
[01]*)
12977 shlibpath_overrides_runpath
=yes
12978 hardcode_into_libs
=yes
12980 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12981 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12982 shlibpath_overrides_runpath
=no
12983 hardcode_into_libs
=yes
12985 freebsd
*) # from 4.6 on
12986 shlibpath_overrides_runpath
=yes
12987 hardcode_into_libs
=yes
12996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12997 soname_spec
='${libname}${release}${shared_ext}$major'
12998 shlibpath_var
=LD_LIBRARY_PATH
12999 hardcode_into_libs
=yes
13002 hpux9
* | hpux10
* | hpux11
*)
13003 # Give a soname corresponding to the major version so that dld.sl refuses to
13004 # link against other versions.
13011 hardcode_into_libs
=yes
13012 dynamic_linker
="$host_os dld.so"
13013 shlibpath_var
=LD_LIBRARY_PATH
13014 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13016 soname_spec
='${libname}${release}${shared_ext}$major'
13017 if test "X$HPUX_IA64_MODE" = X32
; then
13018 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13020 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13022 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13026 hardcode_into_libs
=yes
13027 dynamic_linker
="$host_os dld.sl"
13028 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13029 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13031 soname_spec
='${libname}${release}${shared_ext}$major'
13032 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13033 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13037 dynamic_linker
="$host_os dld.sl"
13038 shlibpath_var
=SHLIB_PATH
13039 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13041 soname_spec
='${libname}${release}${shared_ext}$major'
13044 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13045 postinstall_cmds
='chmod 555 $lib'
13052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13053 soname_spec
='${libname}${release}${shared_ext}$major'
13054 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13055 shlibpath_var
=LD_LIBRARY_PATH
13056 shlibpath_overrides_runpath
=no
13057 hardcode_into_libs
=yes
13060 irix5
* | irix6
* | nonstopux
*)
13062 nonstopux
*) version_type
=nonstopux
;;
13064 if test "$lt_cv_prog_gnu_ld" = yes; then
13072 soname_spec
='${libname}${release}${shared_ext}$major'
13073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13075 irix5
* | nonstopux
*)
13076 libsuff
= shlibsuff
=
13079 case $LD in # libtool.m4 will add one of these switches to LD
13080 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13081 libsuff
= shlibsuff
= libmagic
=32-bit;;
13082 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13083 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13084 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13085 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13086 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13090 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13091 shlibpath_overrides_runpath
=no
13092 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13093 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13094 hardcode_into_libs
=yes
13097 # No shared lib support for Linux oldld, aout, or coff.
13098 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13102 # This must be Linux ELF.
13107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13108 soname_spec
='${libname}${release}${shared_ext}$major'
13109 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13110 shlibpath_var
=LD_LIBRARY_PATH
13111 shlibpath_overrides_runpath
=no
13112 # This implies no fast_install, which is unacceptable.
13113 # Some rework will be needed to allow for fast_install
13114 # before this can be enabled.
13115 hardcode_into_libs
=yes
13117 # find out which ABI we are using
13119 case "$host_cpu" in
13120 x86_64
*|s390x
*|powerpc64
*)
13121 echo '#line 13121 "configure"' > conftest.
$ac_ext
13122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13123 (eval $ac_compile) 2>&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); }; then
13127 case `/usr/bin/file conftest.$ac_objext` in
13130 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13138 # Append ld.so.conf contents to the search path
13139 if test -f /etc
/ld.so.conf
; then
13140 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13141 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13144 # We used to test for /lib/ld.so.1 and disable shared libraries on
13145 # powerpc, because MkLinux only supported shared libraries with the
13146 # GNU dynamic linker. Since this was broken with cross compilers,
13147 # most powerpc-linux boxes support dynamic linking these days and
13148 # people can always --disable-shared, the test was removed, and we
13149 # assume the GNU/Linux dynamic linker is in use.
13150 dynamic_linker
='GNU/Linux ld.so'
13157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13158 soname_spec
='${libname}${release}${shared_ext}$major'
13159 shlibpath_var
=LD_LIBRARY_PATH
13160 shlibpath_overrides_runpath
=no
13161 hardcode_into_libs
=yes
13162 dynamic_linker
='GNU ld.so'
13169 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13171 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13172 dynamic_linker
='NetBSD (a.out) ld.so'
13174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13175 soname_spec
='${libname}${release}${shared_ext}$major'
13176 dynamic_linker
='NetBSD ld.elf_so'
13178 shlibpath_var
=LD_LIBRARY_PATH
13179 shlibpath_overrides_runpath
=yes
13180 hardcode_into_libs
=yes
13185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13186 shlibpath_var
=LD_LIBRARY_PATH
13187 shlibpath_overrides_runpath
=yes
13194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13195 soname_spec
='${libname}${release}${shared_ext}$major'
13196 shlibpath_var
=LD_LIBRARY_PATH
13197 shlibpath_overrides_runpath
=yes
13202 sys_lib_dlsearch_path_spec
="/usr/lib"
13204 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13206 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13207 *) need_version
=no
;;
13209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13210 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13211 shlibpath_var
=LD_LIBRARY_PATH
13212 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13214 openbsd2.
[89] | openbsd2.
[89].
*)
13215 shlibpath_overrides_runpath
=no
13218 shlibpath_overrides_runpath
=yes
13222 shlibpath_overrides_runpath
=yes
13227 libname_spec
='$name'
13230 library_names_spec
='$libname${shared_ext} $libname.a'
13231 dynamic_linker
='OS/2 ld.exe'
13232 shlibpath_var
=LIBPATH
13235 osf3
* | osf4
* | osf5
*)
13239 soname_spec
='${libname}${release}${shared_ext}$major'
13240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13241 shlibpath_var
=LD_LIBRARY_PATH
13242 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13243 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13251 soname_spec
='${libname}${release}${shared_ext}$major'
13252 shlibpath_var
=LD_LIBRARY_PATH
13253 shlibpath_overrides_runpath
=yes
13254 hardcode_into_libs
=yes
13255 # ldd complains unless libraries are executable
13256 postinstall_cmds
='chmod +x $lib'
13261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13262 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13263 shlibpath_var
=LD_LIBRARY_PATH
13264 shlibpath_overrides_runpath
=yes
13265 if test "$with_gnu_ld" = yes; then
13273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13274 soname_spec
='${libname}${release}${shared_ext}$major'
13275 shlibpath_var
=LD_LIBRARY_PATH
13276 case $host_vendor in
13278 shlibpath_overrides_runpath
=no
13280 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13281 runpath_var
=LD_RUN_PATH
13289 shlibpath_overrides_runpath
=no
13290 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13296 if test -d /usr
/nec
;then
13298 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13299 soname_spec
='$libname${shared_ext}.$major'
13300 shlibpath_var
=LD_LIBRARY_PATH
13304 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13305 version_type
=freebsd-elf
13308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13309 soname_spec
='${libname}${release}${shared_ext}$major'
13310 shlibpath_var
=LD_LIBRARY_PATH
13311 hardcode_into_libs
=yes
13312 if test "$with_gnu_ld" = yes; then
13313 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13314 shlibpath_overrides_runpath
=no
13316 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13317 shlibpath_overrides_runpath
=yes
13320 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13324 sys_lib_dlsearch_path_spec
='/usr/lib'
13329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13330 soname_spec
='${libname}${release}${shared_ext}$major'
13331 shlibpath_var
=LD_LIBRARY_PATH
13338 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13339 echo "${ECHO_T}$dynamic_linker" >&6; }
13340 test "$dynamic_linker" = no
&& can_build_shared
=no
13342 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13343 if test "$GCC" = yes; then
13344 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13347 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13348 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13349 hardcode_action_CXX
=
13350 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13351 test -n "$runpath_var_CXX" || \
13352 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13354 # We can hardcode non-existant directories.
13355 if test "$hardcode_direct_CXX" != no
&&
13356 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13357 # have to relink, otherwise we might link with an installed library
13358 # when we should be linking with a yet-to-be-installed one
13359 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13360 test "$hardcode_minus_L_CXX" != no
; then
13361 # Linking always hardcodes the temporary library directory.
13362 hardcode_action_CXX
=relink
13364 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13365 hardcode_action_CXX
=immediate
13368 # We cannot hardcode anything, or else we can only hardcode existing
13370 hardcode_action_CXX
=unsupported
13372 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13373 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13375 if test "$hardcode_action_CXX" = relink
; then
13376 # Fast installation is not supported
13377 enable_fast_install
=no
13378 elif test "$shlibpath_overrides_runpath" = yes ||
13379 test "$enable_shared" = no
; then
13380 # Fast installation is not necessary
13381 enable_fast_install
=needless
13385 # The else clause should only fire when bootstrapping the
13386 # libtool distribution, otherwise you forgot to ship ltmain.sh
13387 # with your package, and you will get complaints that there are
13388 # no rules to generate ltmain.sh.
13389 if test -f "$ltmain"; then
13390 # See if we are running on zsh, and set the options which allow our commands through
13391 # without removal of \ escapes.
13392 if test -n "${ZSH_VERSION+set}" ; then
13393 setopt NO_GLOB_SUBST
13395 # Now quote all the things that may contain metacharacters while being
13396 # careful not to overquote the AC_SUBSTed values. We take copies of the
13397 # variables and quote the copies for generation of the libtool script.
13398 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13400 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13401 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13402 deplibs_check_method reload_flag reload_cmds need_locks \
13403 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13404 lt_cv_sys_global_symbol_to_c_name_address \
13405 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13406 old_postinstall_cmds old_postuninstall_cmds \
13410 lt_prog_compiler_wl_CXX \
13411 lt_prog_compiler_pic_CXX \
13412 lt_prog_compiler_static_CXX \
13413 lt_prog_compiler_no_builtin_flag_CXX \
13414 export_dynamic_flag_spec_CXX \
13415 thread_safe_flag_spec_CXX \
13416 whole_archive_flag_spec_CXX \
13417 enable_shared_with_static_runtimes_CXX \
13418 old_archive_cmds_CXX \
13419 old_archive_from_new_cmds_CXX \
13420 predep_objects_CXX \
13421 postdep_objects_CXX \
13424 compiler_lib_search_path_CXX \
13426 archive_expsym_cmds_CXX \
13427 postinstall_cmds_CXX \
13428 postuninstall_cmds_CXX \
13429 old_archive_from_expsyms_cmds_CXX \
13430 allow_undefined_flag_CXX \
13431 no_undefined_flag_CXX \
13432 export_symbols_cmds_CXX \
13433 hardcode_libdir_flag_spec_CXX \
13434 hardcode_libdir_flag_spec_ld_CXX \
13435 hardcode_libdir_separator_CXX \
13436 hardcode_automatic_CXX \
13438 module_expsym_cmds_CXX \
13439 lt_cv_prog_compiler_c_o_CXX \
13440 exclude_expsyms_CXX \
13441 include_expsyms_CXX
; do
13444 old_archive_cmds_CXX | \
13445 old_archive_from_new_cmds_CXX | \
13446 archive_cmds_CXX | \
13447 archive_expsym_cmds_CXX | \
13448 module_cmds_CXX | \
13449 module_expsym_cmds_CXX | \
13450 old_archive_from_expsyms_cmds_CXX | \
13451 export_symbols_cmds_CXX | \
13452 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13453 postinstall_cmds | postuninstall_cmds | \
13454 old_postinstall_cmds | old_postuninstall_cmds | \
13455 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13456 # Double-quote double-evaled strings.
13457 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13460 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13466 *'\$0 --fallback-echo"')
13467 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13473 cat <<__EOF__ >> "$cfgfile"
13474 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13476 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13478 # Shell to use when invoking shell scripts.
13481 # Whether or not to build shared libraries.
13482 build_libtool_libs=$enable_shared
13484 # Whether or not to build static libraries.
13485 build_old_libs=$enable_static
13487 # Whether or not to add -lc for building shared libraries.
13488 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13490 # Whether or not to disallow shared libs when runtime libs are static
13491 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13493 # Whether or not to optimize for fast installation.
13494 fast_install=$enable_fast_install
13497 host_alias=$host_alias
13501 # The build system.
13502 build_alias=$build_alias
13506 # An echo program that does not interpret backslashes.
13511 AR_FLAGS=$lt_AR_FLAGS
13516 # LTCC compiler flags.
13517 LTCFLAGS=$lt_LTCFLAGS
13519 # A language-specific compiler.
13520 CC=$lt_compiler_CXX
13522 # Is the compiler the GNU C compiler?
13528 # The linker used to build libraries.
13531 # Whether we need hard or soft links.
13534 # A BSD-compatible nm program.
13537 # A symbol stripping program
13540 # Used to examine libraries when file_magic_cmd begins "file"
13541 MAGIC_CMD=$MAGIC_CMD
13543 # Used on cygwin: DLL creation program.
13546 # Used on cygwin: object dumper.
13549 # Used on cygwin: assembler.
13552 # The name of the directory that contains temporary libtool files.
13555 # How to create reloadable object files.
13556 reload_flag=$lt_reload_flag
13557 reload_cmds=$lt_reload_cmds
13559 # How to pass a linker flag through the compiler.
13560 wl=$lt_lt_prog_compiler_wl_CXX
13562 # Object file suffix (normally "o").
13563 objext="$ac_objext"
13565 # Old archive suffix (normally "a").
13568 # Shared library suffix (normally ".so").
13569 shrext_cmds='$shrext_cmds'
13571 # Executable file suffix (normally "").
13574 # Additional compiler flags for building library objects.
13575 pic_flag=$lt_lt_prog_compiler_pic_CXX
13578 # What is the maximum length of a command?
13579 max_cmd_len=$lt_cv_sys_max_cmd_len
13581 # Does compiler simultaneously support -c and -o options?
13582 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13584 # Must we lock files when doing compilation?
13585 need_locks=$lt_need_locks
13587 # Do we need the lib prefix for modules?
13588 need_lib_prefix=$need_lib_prefix
13590 # Do we need a version for libraries?
13591 need_version=$need_version
13593 # Whether dlopen is supported.
13594 dlopen_support=$enable_dlopen
13596 # Whether dlopen of programs is supported.
13597 dlopen_self=$enable_dlopen_self
13599 # Whether dlopen of statically linked programs is supported.
13600 dlopen_self_static=$enable_dlopen_self_static
13602 # Compiler flag to prevent dynamic linking.
13603 link_static_flag=$lt_lt_prog_compiler_static_CXX
13605 # Compiler flag to turn off builtin functions.
13606 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13608 # Compiler flag to allow reflexive dlopens.
13609 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13611 # Compiler flag to generate shared objects directly from archives.
13612 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13614 # Compiler flag to generate thread-safe objects.
13615 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13617 # Library versioning type.
13618 version_type=$version_type
13620 # Format of library name prefix.
13621 libname_spec=$lt_libname_spec
13623 # List of archive names. First name is the real one, the rest are links.
13624 # The last name is the one that the linker finds with -lNAME.
13625 library_names_spec=$lt_library_names_spec
13627 # The coded name of the library, if different from the real name.
13628 soname_spec=$lt_soname_spec
13630 # Commands used to build and install an old-style archive.
13632 old_archive_cmds=$lt_old_archive_cmds_CXX
13633 old_postinstall_cmds=$lt_old_postinstall_cmds
13634 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13636 # Create an old-style archive from a shared archive.
13637 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13639 # Create a temporary old-style archive to link instead of a shared archive.
13640 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13642 # Commands used to build and install a shared archive.
13643 archive_cmds=$lt_archive_cmds_CXX
13644 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13645 postinstall_cmds=$lt_postinstall_cmds
13646 postuninstall_cmds=$lt_postuninstall_cmds
13648 # Commands used to build a loadable module (assumed same as above if empty)
13649 module_cmds=$lt_module_cmds_CXX
13650 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13652 # Commands to strip libraries.
13653 old_striplib=$lt_old_striplib
13654 striplib=$lt_striplib
13656 # Dependencies to place before the objects being linked to create a
13658 predep_objects=$lt_predep_objects_CXX
13660 # Dependencies to place after the objects being linked to create a
13662 postdep_objects=$lt_postdep_objects_CXX
13664 # Dependencies to place before the objects being linked to create a
13666 predeps=$lt_predeps_CXX
13668 # Dependencies to place after the objects being linked to create a
13670 postdeps=$lt_postdeps_CXX
13672 # The library search path used internally by the compiler when linking
13673 # a shared library.
13674 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13676 # Method to check whether dependent libraries are shared objects.
13677 deplibs_check_method=$lt_deplibs_check_method
13679 # Command to use when deplibs_check_method == file_magic.
13680 file_magic_cmd=$lt_file_magic_cmd
13682 # Flag that allows shared libraries with undefined symbols to be built.
13683 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13685 # Flag that forces no undefined symbols.
13686 no_undefined_flag=$lt_no_undefined_flag_CXX
13688 # Commands used to finish a libtool library installation in a directory.
13689 finish_cmds=$lt_finish_cmds
13691 # Same as above, but a single script fragment to be evaled but not shown.
13692 finish_eval=$lt_finish_eval
13694 # Take the output of nm and produce a listing of raw symbols and C names.
13695 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13697 # Transform the output of nm in a proper C declaration
13698 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13700 # Transform the output of nm in a C name address pair
13701 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13703 # This is the shared library runtime path variable.
13704 runpath_var=$runpath_var
13706 # This is the shared library path variable.
13707 shlibpath_var=$shlibpath_var
13709 # Is shlibpath searched before the hard-coded library search path?
13710 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13712 # How to hardcode a shared library path into an executable.
13713 hardcode_action=$hardcode_action_CXX
13715 # Whether we should hardcode library paths into libraries.
13716 hardcode_into_libs=$hardcode_into_libs
13718 # Flag to hardcode \$libdir into a binary during linking.
13719 # This must work even if \$libdir does not exist.
13720 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13722 # If ld is used when linking, flag to hardcode \$libdir into
13723 # a binary during linking. This must work even if \$libdir does
13725 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13727 # Whether we need a single -rpath flag with a separated argument.
13728 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13730 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13731 # resulting binary.
13732 hardcode_direct=$hardcode_direct_CXX
13734 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13735 # resulting binary.
13736 hardcode_minus_L=$hardcode_minus_L_CXX
13738 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13739 # the resulting binary.
13740 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13742 # Set to yes if building a shared library automatically hardcodes DIR into the library
13743 # and all subsequent libraries and executables linked against it.
13744 hardcode_automatic=$hardcode_automatic_CXX
13746 # Variables whose values should be saved in libtool wrapper scripts and
13747 # restored at relink time.
13748 variables_saved_for_relink="$variables_saved_for_relink"
13750 # Whether libtool must link a program against all its dependency libraries.
13751 link_all_deplibs=$link_all_deplibs_CXX
13753 # Compile-time system search path for libraries
13754 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13756 # Run-time system search path for libraries
13757 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13759 # Fix the shell variable \$srcfile for the compiler.
13760 fix_srcfile_path="$fix_srcfile_path_CXX"
13762 # Set to yes if exported symbols are required.
13763 always_export_symbols=$always_export_symbols_CXX
13765 # The commands to list exported symbols.
13766 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13768 # The commands to extract the exported symbol list from a shared archive.
13769 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13771 # Symbols that should not be listed in the preloaded symbols.
13772 exclude_expsyms=$lt_exclude_expsyms_CXX
13774 # Symbols that must always be exported.
13775 include_expsyms=$lt_include_expsyms_CXX
13777 # ### END LIBTOOL TAG CONFIG: $tagname
13783 # If there is no Makefile yet, we rely on a make rule to execute
13784 # `config.status --recheck' to rerun these tests and create the
13785 # libtool script then.
13786 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13787 if test -f "$ltmain_in"; then
13788 test -f Makefile
&& make "$ltmain"
13794 ac_cpp
='$CPP $CPPFLAGS'
13795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13803 with_gnu_ldcxx
=$with_gnu_ld
13804 with_gnu_ld
=$lt_save_with_gnu_ld
13805 lt_cv_path_LDCXX
=$lt_cv_path_LD
13806 lt_cv_path_LD
=$lt_save_path_LD
13807 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13808 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13816 if test -n "$F77" && test "X$F77" != "Xno"; then
13819 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13820 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13821 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13824 archive_cmds_need_lc_F77
=no
13825 allow_undefined_flag_F77
=
13826 always_export_symbols_F77
=no
13827 archive_expsym_cmds_F77
=
13828 export_dynamic_flag_spec_F77
=
13829 hardcode_direct_F77
=no
13830 hardcode_libdir_flag_spec_F77
=
13831 hardcode_libdir_flag_spec_ld_F77
=
13832 hardcode_libdir_separator_F77
=
13833 hardcode_minus_L_F77
=no
13834 hardcode_automatic_F77
=no
13836 module_expsym_cmds_F77
=
13837 link_all_deplibs_F77
=unknown
13838 old_archive_cmds_F77
=$old_archive_cmds
13839 no_undefined_flag_F77
=
13840 whole_archive_flag_spec_F77
=
13841 enable_shared_with_static_runtimes_F77
=no
13843 # Source file extension for f77 test sources.
13846 # Object file extension for compiled f77 test sources.
13850 # Code to be used in simple compile tests
13851 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13853 # Code to be used in simple link tests
13854 lt_simple_link_test_code
=" program t\n end\n"
13856 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13858 # If no C compiler was specified, use CC.
13861 # If no C compiler flags were specified, use CFLAGS.
13862 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13864 # Allow CC to be a program name with arguments.
13868 # save warnings/boilerplate of simple test code
13869 ac_outfile
=conftest.
$ac_objext
13870 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13871 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13872 _lt_compiler_boilerplate
=`cat conftest.err`
13875 ac_outfile
=conftest.
$ac_objext
13876 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13877 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13878 _lt_linker_boilerplate
=`cat conftest.err`
13882 # Allow CC to be a program name with arguments.
13887 for cc_temp
in $compiler""; do
13889 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13890 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13895 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13898 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13899 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13900 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13901 echo "${ECHO_T}$can_build_shared" >&6; }
13903 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13904 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13905 test "$can_build_shared" = "no" && enable_shared
=no
13907 # On AIX, shared libraries and static libraries use the same namespace, and
13908 # are all built from PIC.
13911 test "$enable_shared" = yes && enable_static
=no
13912 if test -n "$RANLIB"; then
13913 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13914 postinstall_cmds
='$RANLIB $lib'
13918 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13919 test "$enable_shared" = yes && enable_static
=no
13923 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13924 echo "${ECHO_T}$enable_shared" >&6; }
13926 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13927 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13928 # Make sure either enable_shared or enable_static is yes.
13929 test "$enable_shared" = yes || enable_static
=yes
13930 { echo "$as_me:$LINENO: result: $enable_static" >&5
13931 echo "${ECHO_T}$enable_static" >&6; }
13936 lt_prog_compiler_wl_F77
=
13937 lt_prog_compiler_pic_F77
=
13938 lt_prog_compiler_static_F77
=
13940 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13941 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13943 if test "$GCC" = yes; then
13944 lt_prog_compiler_wl_F77
='-Wl,'
13945 lt_prog_compiler_static_F77
='-static'
13949 # All AIX code is PIC.
13950 if test "$host_cpu" = ia64
; then
13951 # AIX 5 now supports IA64 processor
13952 lt_prog_compiler_static_F77
='-Bstatic'
13957 # FIXME: we need at least 68020 code to build shared libraries, but
13958 # adding the `-m68020' flag to GCC prevents building anything better,
13960 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13963 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13964 # PIC is the default for these OSes.
13967 mingw
* | pw32
* | os2
*)
13968 # This hack is so that the source file can tell whether it is being
13969 # built for inclusion in a dll (and should export symbols for example).
13970 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13973 darwin
* | rhapsody
*)
13974 # PIC is the default on this platform
13975 # Common symbols not allowed in MH_DYLIB files
13976 lt_prog_compiler_pic_F77
='-fno-common'
13980 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13981 # Instead, we relocate shared libraries at runtime.
13985 # Just because we use GCC doesn't mean we suddenly get shared libraries
13986 # on systems that don't support them.
13987 lt_prog_compiler_can_build_shared_F77
=no
13992 if test -d /usr
/nec
; then
13993 lt_prog_compiler_pic_F77
=-Kconform_pic
13998 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13999 # not for PA HP-UX.
14005 lt_prog_compiler_pic_F77
='-fPIC'
14011 lt_prog_compiler_pic_F77
='-fPIC'
14015 # PORTME Check for flag to pass linker flags through the system compiler.
14018 lt_prog_compiler_wl_F77
='-Wl,'
14019 if test "$host_cpu" = ia64
; then
14020 # AIX 5 now supports IA64 processor
14021 lt_prog_compiler_static_F77
='-Bstatic'
14023 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14027 # PIC is the default on this platform
14028 # Common symbols not allowed in MH_DYLIB files
14029 case $cc_basename in
14031 lt_prog_compiler_pic_F77
='-qnocommon'
14032 lt_prog_compiler_wl_F77
='-Wl,'
14037 mingw
* | pw32
* | os2
*)
14038 # This hack is so that the source file can tell whether it is being
14039 # built for inclusion in a dll (and should export symbols for example).
14040 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14043 hpux9
* | hpux10
* | hpux11
*)
14044 lt_prog_compiler_wl_F77
='-Wl,'
14045 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14046 # not for PA HP-UX.
14052 lt_prog_compiler_pic_F77
='+Z'
14055 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14056 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14059 irix5
* | irix6
* | nonstopux
*)
14060 lt_prog_compiler_wl_F77
='-Wl,'
14061 # PIC (with -KPIC) is the default.
14062 lt_prog_compiler_static_F77
='-non_shared'
14066 lt_prog_compiler_pic_F77
='-KPIC'
14067 lt_prog_compiler_static_F77
='-Bstatic'
14071 case $cc_basename in
14073 lt_prog_compiler_wl_F77
='-Wl,'
14074 lt_prog_compiler_pic_F77
='-KPIC'
14075 lt_prog_compiler_static_F77
='-static'
14077 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14078 # Portland Group compilers (*not* the Pentium gcc compiler,
14079 # which looks to be a dead project)
14080 lt_prog_compiler_wl_F77
='-Wl,'
14081 lt_prog_compiler_pic_F77
='-fpic'
14082 lt_prog_compiler_static_F77
='-Bstatic'
14085 lt_prog_compiler_wl_F77
='-Wl,'
14086 # All Alpha code is PIC.
14087 lt_prog_compiler_static_F77
='-non_shared'
14092 osf3
* | osf4
* | osf5
*)
14093 lt_prog_compiler_wl_F77
='-Wl,'
14094 # All OSF/1 code is PIC.
14095 lt_prog_compiler_static_F77
='-non_shared'
14099 lt_prog_compiler_pic_F77
='-KPIC'
14100 lt_prog_compiler_static_F77
='-Bstatic'
14101 case $cc_basename in
14102 f77
* | f90
* | f95
*)
14103 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14105 lt_prog_compiler_wl_F77
='-Wl,';;
14110 lt_prog_compiler_wl_F77
='-Qoption ld '
14111 lt_prog_compiler_pic_F77
='-PIC'
14112 lt_prog_compiler_static_F77
='-Bstatic'
14115 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14116 lt_prog_compiler_wl_F77
='-Wl,'
14117 lt_prog_compiler_pic_F77
='-KPIC'
14118 lt_prog_compiler_static_F77
='-Bstatic'
14122 if test -d /usr
/nec
;then
14123 lt_prog_compiler_pic_F77
='-Kconform_pic'
14124 lt_prog_compiler_static_F77
='-Bstatic'
14128 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14129 lt_prog_compiler_wl_F77
='-Wl,'
14130 lt_prog_compiler_pic_F77
='-KPIC'
14131 lt_prog_compiler_static_F77
='-Bstatic'
14135 lt_prog_compiler_wl_F77
='-Wl,'
14136 lt_prog_compiler_can_build_shared_F77
=no
14140 lt_prog_compiler_pic_F77
='-pic'
14141 lt_prog_compiler_static_F77
='-Bstatic'
14145 lt_prog_compiler_can_build_shared_F77
=no
14150 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14151 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14154 # Check to make sure the PIC flag actually works.
14156 if test -n "$lt_prog_compiler_pic_F77"; then
14158 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14159 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14160 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14161 echo $ECHO_N "(cached) $ECHO_C" >&6
14163 lt_prog_compiler_pic_works_F77
=no
14164 ac_outfile
=conftest.
$ac_objext
14165 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14166 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14167 # Insert the option either (1) after the last *FLAGS variable, or
14168 # (2) before a word containing "conftest.", or (3) at the end.
14169 # Note that $ac_compile itself does not contain backslashes and begins
14170 # with a dollar sign (not a hyphen), so the echo should work correctly.
14171 # The option is referenced via a variable to avoid confusing sed.
14172 lt_compile
=`echo "$ac_compile" | $SED \
14173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14175 -e 's:$: $lt_compiler_flag:'`
14176 (eval echo "\"\$as_me:14176: $lt_compile\"" >&5)
14177 (eval "$lt_compile" 2>conftest.err
)
14179 cat conftest.err
>&5
14180 echo "$as_me:14180: \$? = $ac_status" >&5
14181 if (exit $ac_status) && test -s "$ac_outfile"; then
14182 # The compiler can only warn and ignore the option if not recognized
14183 # So say no if there are warnings other than the usual output.
14184 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14185 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14186 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14187 lt_prog_compiler_pic_works_F77
=yes
14193 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14194 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14196 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14197 case $lt_prog_compiler_pic_F77 in
14199 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14202 lt_prog_compiler_pic_F77
=
14203 lt_prog_compiler_can_build_shared_F77
=no
14208 # For platforms which do not support PIC, -DPIC is meaningless:
14210 lt_prog_compiler_pic_F77
=
14213 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14218 # Check to make sure the static flag actually works.
14220 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14221 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14222 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14223 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 lt_prog_compiler_static_works_F77
=no
14227 save_LDFLAGS
="$LDFLAGS"
14228 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14229 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14230 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14231 # The linker can only warn and ignore the option if not recognized
14232 # So say no if there are warnings
14233 if test -s conftest.err
; then
14234 # Append any errors to the config.log.
14235 cat conftest.err
1>&5
14236 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14237 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14238 if diff conftest.exp conftest.er2
>/dev
/null
; then
14239 lt_prog_compiler_static_works_F77
=yes
14242 lt_prog_compiler_static_works_F77
=yes
14246 LDFLAGS
="$save_LDFLAGS"
14249 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14250 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14252 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14255 lt_prog_compiler_static_F77
=
14259 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14260 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14261 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 lt_cv_prog_compiler_c_o_F77
=no
14265 $rm -r conftest
2>/dev
/null
14269 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14271 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14272 # Insert the option either (1) after the last *FLAGS variable, or
14273 # (2) before a word containing "conftest.", or (3) at the end.
14274 # Note that $ac_compile itself does not contain backslashes and begins
14275 # with a dollar sign (not a hyphen), so the echo should work correctly.
14276 lt_compile
=`echo "$ac_compile" | $SED \
14277 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14279 -e 's:$: $lt_compiler_flag:'`
14280 (eval echo "\"\$as_me:14280: $lt_compile\"" >&5)
14281 (eval "$lt_compile" 2>out
/conftest.err
)
14283 cat out
/conftest.err
>&5
14284 echo "$as_me:14284: \$? = $ac_status" >&5
14285 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14287 # The compiler can only warn and ignore the option if not recognized
14288 # So say no if there are warnings
14289 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14290 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14291 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14292 lt_cv_prog_compiler_c_o_F77
=yes
14297 # SGI C++ compiler will create directory out/ii_files/ for
14298 # template instantiation
14299 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14300 $rm out
/* && rmdir out
14306 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14307 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14310 hard_links
="nottested"
14311 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14312 # do not overwrite the value of need_locks provided by the user
14313 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14314 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14317 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14319 ln conftest.a conftest.b
2>&5 || hard_links
=no
14320 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14321 { echo "$as_me:$LINENO: result: $hard_links" >&5
14322 echo "${ECHO_T}$hard_links" >&6; }
14323 if test "$hard_links" = no
; then
14324 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14325 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14332 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14333 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14336 allow_undefined_flag_F77
=
14337 enable_shared_with_static_runtimes_F77
=no
14339 archive_expsym_cmds_F77
=
14340 old_archive_From_new_cmds_F77
=
14341 old_archive_from_expsyms_cmds_F77
=
14342 export_dynamic_flag_spec_F77
=
14343 whole_archive_flag_spec_F77
=
14344 thread_safe_flag_spec_F77
=
14345 hardcode_libdir_flag_spec_F77
=
14346 hardcode_libdir_flag_spec_ld_F77
=
14347 hardcode_libdir_separator_F77
=
14348 hardcode_direct_F77
=no
14349 hardcode_minus_L_F77
=no
14350 hardcode_shlibpath_var_F77
=unsupported
14351 link_all_deplibs_F77
=unknown
14352 hardcode_automatic_F77
=no
14354 module_expsym_cmds_F77
=
14355 always_export_symbols_F77
=no
14356 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14357 # include_expsyms should be a list of space-separated symbols to be *always*
14358 # included in the symbol list
14359 include_expsyms_F77
=
14360 # exclude_expsyms can be an extended regexp of symbols to exclude
14361 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14362 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14363 # as well as any symbol that contains `d'.
14364 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14365 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14366 # platforms (ab)use it in PIC code, but their linkers get confused if
14367 # the symbol is explicitly referenced. Since portable code cannot
14368 # rely on this symbol name, it's probably fine to never include it in
14369 # preloaded symbol tables.
14370 extract_expsyms_cmds
=
14371 # Just being paranoid about ensuring that cc_basename is set.
14372 for cc_temp
in $compiler""; do
14374 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14375 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14380 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14383 cygwin
* | mingw
* | pw32
*)
14384 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14385 # When not using gcc, we currently assume that we are using
14386 # Microsoft Visual C++.
14387 if test "$GCC" != yes; then
14392 # we just hope/assume this is gcc and not c89 (= MSVC++)
14401 if test "$with_gnu_ld" = yes; then
14402 # If archive_cmds runs LD, not CC, wlarc should be empty
14405 # Set some defaults for GNU ld with shared library support. These
14406 # are reset later if shared libraries are not supported. Putting them
14407 # here allows them to be overridden if necessary.
14408 runpath_var
=LD_RUN_PATH
14409 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14410 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14411 # ancient GNU ld didn't support --whole-archive et. al.
14412 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14413 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14415 whole_archive_flag_spec_F77
=
14417 supports_anon_versioning
=no
14418 case `$LD -v 2>/dev/null` in
14419 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14420 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14421 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14422 *\
2.11.
*) ;; # other 2.11 versions
14423 *) supports_anon_versioning
=yes ;;
14426 # See if GNU ld supports shared libraries.
14428 aix3
* | aix4
* | aix5
*)
14429 # On AIX/PPC, the GNU linker is very broken
14430 if test "$host_cpu" != ia64
; then
14434 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14435 *** to be unable to reliably create shared libraries on AIX.
14436 *** Therefore, libtool is disabling shared libraries support. If you
14437 *** really care for shared libraries, you may want to modify your PATH
14438 *** so that a non-GNU linker is found, and then restart.
14445 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14446 hardcode_libdir_flag_spec_F77
='-L$libdir'
14447 hardcode_minus_L_F77
=yes
14449 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14450 # that the semantics of dynamic libraries on AmigaOS, at least up
14451 # to version 4, is to share data among multiple programs linked
14452 # with the same dynamic library. Since this doesn't match the
14453 # behavior of shared libraries on other platforms, we can't use
14459 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14460 allow_undefined_flag_F77
=unsupported
14461 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14462 # support --undefined. This deserves some investigation. FIXME
14463 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14469 cygwin
* | mingw
* | pw32
*)
14470 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14471 # as there is no search path for DLLs.
14472 hardcode_libdir_flag_spec_F77
='-L$libdir'
14473 allow_undefined_flag_F77
=unsupported
14474 always_export_symbols_F77
=no
14475 enable_shared_with_static_runtimes_F77
=yes
14476 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14478 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14479 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14480 # If the export-symbols file already is a .def file (1st line
14481 # is EXPORTS), use it as is; otherwise, prepend...
14482 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14483 cp $export_symbols $output_objdir/$soname.def;
14485 echo EXPORTS > $output_objdir/$soname.def;
14486 cat $export_symbols >> $output_objdir/$soname.def;
14488 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14495 hardcode_direct_F77
=no
14496 hardcode_shlibpath_var_F77
=no
14497 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14498 export_dynamic_flag_spec_F77
='${wl}-E'
14499 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14500 # Instead, shared libraries are loaded at an image base (0x10000000 by
14501 # default) and relocated if they conflict, which is a slow very memory
14502 # consuming and fragmenting process. To avoid this, we pick a random,
14503 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14504 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14505 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14506 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14510 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14512 case $cc_basename,$host_cpu in
14513 pgcc
*) # Portland Group C compiler
14514 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14515 tmp_addflag
=' $pic_flag'
14517 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14518 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14519 tmp_addflag
=' $pic_flag -Mnomain' ;;
14520 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14521 tmp_addflag
=' -i_dynamic' ;;
14522 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14523 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14524 ifc
* | ifort
*) # Intel Fortran compiler
14525 tmp_addflag
=' -nofor_main' ;;
14527 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14529 if test $supports_anon_versioning = yes; then
14530 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14531 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14532 $echo "local: *; };" >> $output_objdir/$libname.ver~
14533 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14541 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14542 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14545 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14546 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14551 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14555 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14556 *** create shared libraries on Solaris systems. Therefore, libtool
14557 *** is disabling shared libraries support. We urge you to upgrade GNU
14558 *** binutils to release 2.9.1 or newer. Another option is to modify
14559 *** your PATH or compiler configuration so that the native linker is
14560 *** used, and then restart.
14563 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14564 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14565 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14571 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14572 case `$LD -v 2>&1` in
14573 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14577 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14578 *** reliably create shared libraries on SCO systems. Therefore, libtool
14579 *** is disabling shared libraries support. We urge you to upgrade GNU
14580 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14581 *** your PATH or compiler configuration so that the native linker is
14582 *** used, and then restart.
14587 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14588 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14589 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14590 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14599 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14601 hardcode_direct_F77
=yes
14602 hardcode_shlibpath_var_F77
=no
14606 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14607 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14608 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14615 if test "$ld_shlibs_F77" = no
; then
14617 hardcode_libdir_flag_spec_F77
=
14618 export_dynamic_flag_spec_F77
=
14619 whole_archive_flag_spec_F77
=
14622 # PORTME fill in a description of your system's linker (not GNU ld)
14625 allow_undefined_flag_F77
=unsupported
14626 always_export_symbols_F77
=yes
14627 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14628 # Note: this linker hardcodes the directories in LIBPATH if there
14629 # are no directories specified by -L.
14630 hardcode_minus_L_F77
=yes
14631 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14632 # Neither direct hardcoding nor static linking is supported with a
14634 hardcode_direct_F77
=unsupported
14639 if test "$host_cpu" = ia64
; then
14640 # On IA64, the linker does run time linking by default, so we don't
14641 # have to do anything special.
14642 aix_use_runtimelinking
=no
14643 exp_sym_flag
='-Bexport'
14646 # If we're using GNU nm, then we don't want the "-C" option.
14647 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14648 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14649 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14651 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14653 aix_use_runtimelinking
=no
14655 # Test if we are trying to use run time linking or normal
14656 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14657 # need to do runtime linking.
14658 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14659 for ld_flag
in $LDFLAGS; do
14660 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14661 aix_use_runtimelinking
=yes
14668 exp_sym_flag
='-bexport'
14669 no_entry_flag
='-bnoentry'
14672 # When large executables or shared objects are built, AIX ld can
14673 # have problems creating the table of contents. If linking a library
14674 # or program results in "error TOC overflow" add -mminimal-toc to
14675 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14676 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14678 archive_cmds_F77
=''
14679 hardcode_direct_F77
=yes
14680 hardcode_libdir_separator_F77
=':'
14681 link_all_deplibs_F77
=yes
14683 if test "$GCC" = yes; then
14684 case $host_os in aix4.
[012]|aix4.
[012].
*)
14685 # We only want to do this on AIX 4.2 and lower, the check
14686 # below for broken collect2 doesn't work under 4.3+
14687 collect2name
=`${CC} -print-prog-name=collect2`
14688 if test -f "$collect2name" && \
14689 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14691 # We have reworked collect2
14692 hardcode_direct_F77
=yes
14694 # We have old collect2
14695 hardcode_direct_F77
=unsupported
14696 # It fails to find uninstalled libraries when the uninstalled
14697 # path is not listed in the libpath. Setting hardcode_minus_L
14698 # to unsupported forces relinking
14699 hardcode_minus_L_F77
=yes
14700 hardcode_libdir_flag_spec_F77
='-L$libdir'
14701 hardcode_libdir_separator_F77
=
14705 shared_flag
='-shared'
14706 if test "$aix_use_runtimelinking" = yes; then
14707 shared_flag
="$shared_flag "'${wl}-G'
14711 if test "$host_cpu" = ia64
; then
14712 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14713 # chokes on -Wl,-G. The following line is correct:
14716 if test "$aix_use_runtimelinking" = yes; then
14717 shared_flag
='${wl}-G'
14719 shared_flag
='${wl}-bM:SRE'
14724 # It seems that -bexpall does not export symbols beginning with
14725 # underscore (_), so it is better to generate a list of symbols to export.
14726 always_export_symbols_F77
=yes
14727 if test "$aix_use_runtimelinking" = yes; then
14728 # Warning - without using the other runtime loading flags (-brtl),
14729 # -berok will link without error, but may produce a broken library.
14730 allow_undefined_flag_F77
='-berok'
14731 # Determine the default libpath from the value encoded in an empty executable.
14732 cat >conftest.
$ac_ext <<_ACEOF
14737 rm -f conftest.
$ac_objext conftest
$ac_exeext
14738 if { (ac_try
="$ac_link"
14739 case "(($ac_try" in
14740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_link") 2>conftest.er1
14746 grep -v '^ *+' conftest.er1 >conftest.err
14748 cat conftest.err >&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); } && {
14751 test -z "$ac_f77_werror_flag" ||
14752 test ! -s conftest.err
14753 } && test -s conftest$ac_exeext &&
14754 $as_test_x conftest$ac_exeext; then
14756 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14758 # Check for a 64-bit object if we didn't find anything.
14759 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14762 echo "$as_me: failed program was:" >&5
14763 sed 's/^/| /' conftest.$ac_ext >&5
14768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14769 conftest$ac_exeext conftest.$ac_ext
14770 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14772 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14773 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14775 if test "$host_cpu" = ia64; then
14776 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14777 allow_undefined_flag_F77="-z nodefs"
14778 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14780 # Determine the default libpath from the value encoded in an empty executable.
14781 cat >conftest.$ac_ext <<_ACEOF
14786 rm -f conftest.$ac_objext conftest$ac_exeext
14787 if { (ac_try="$ac_link"
14788 case "(($ac_try" in
14789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14790 *) ac_try_echo
=$ac_try;;
14792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14793 (eval "$ac_link") 2>conftest.er1
14795 grep -v '^ *+' conftest.er1
>conftest.err
14797 cat conftest.err
>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } && {
14800 test -z "$ac_f77_werror_flag" ||
14801 test ! -s conftest.err
14802 } && test -s conftest
$ac_exeext &&
14803 $as_test_x conftest
$ac_exeext; then
14805 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14807 # Check for a 64-bit object if we didn't find anything.
14808 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14811 echo "$as_me: failed program was:" >&5
14812 sed 's/^/| /' conftest.
$ac_ext >&5
14817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14818 conftest
$ac_exeext conftest.
$ac_ext
14819 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14821 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14822 # Warning - without using the other run time loading flags,
14823 # -berok will link without error, but may produce a broken library.
14824 no_undefined_flag_F77
=' ${wl}-bernotok'
14825 allow_undefined_flag_F77
=' ${wl}-berok'
14826 # Exported symbols can be pulled into shared objects from archives
14827 whole_archive_flag_spec_F77
='$convenience'
14828 archive_cmds_need_lc_F77
=yes
14829 # This is similar to how AIX traditionally builds its shared libraries.
14830 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14836 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14837 hardcode_libdir_flag_spec_F77
='-L$libdir'
14838 hardcode_minus_L_F77
=yes
14839 # see comment about different semantics on the GNU ld section
14844 export_dynamic_flag_spec_F77
=-rdynamic
14847 cygwin
* | mingw
* | pw32
*)
14848 # When not using gcc, we currently assume that we are using
14849 # Microsoft Visual C++.
14850 # hardcode_libdir_flag_spec is actually meaningless, as there is
14851 # no search path for DLLs.
14852 hardcode_libdir_flag_spec_F77
=' '
14853 allow_undefined_flag_F77
=unsupported
14854 # Tell ltmain to make .lib files, not .a files.
14856 # Tell ltmain to make .dll files, not .so files.
14858 # FIXME: Setting linknames here is a bad hack.
14859 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14860 # The linker will automatically build a .lib file if we build a DLL.
14861 old_archive_From_new_cmds_F77
='true'
14862 # FIXME: Should let the user specify the lib program.
14863 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14864 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14865 enable_shared_with_static_runtimes_F77
=yes
14868 darwin
* | rhapsody
*)
14870 rhapsody
* | darwin1.
[012])
14871 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14874 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14875 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14877 case ${MACOSX_DEPLOYMENT_TARGET} in
14879 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14882 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14888 archive_cmds_need_lc_F77
=no
14889 hardcode_direct_F77
=no
14890 hardcode_automatic_F77
=yes
14891 hardcode_shlibpath_var_F77
=unsupported
14892 whole_archive_flag_spec_F77
=''
14893 link_all_deplibs_F77
=yes
14894 if test "$GCC" = yes ; then
14895 output_verbose_link_cmd
='echo'
14896 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14897 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14898 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14899 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14900 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14902 case $cc_basename in
14904 output_verbose_link_cmd
='echo'
14905 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14906 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14907 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14908 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14909 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14919 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14920 hardcode_libdir_flag_spec_F77
='-L$libdir'
14921 hardcode_shlibpath_var_F77
=no
14928 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14929 # support. Future versions do this automatically, but an explicit c++rt0.o
14930 # does not break anything, and helps significantly (at the cost of a little
14933 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14934 hardcode_libdir_flag_spec_F77
='-R$libdir'
14935 hardcode_direct_F77
=yes
14936 hardcode_shlibpath_var_F77
=no
14939 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14941 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14942 hardcode_direct_F77
=yes
14943 hardcode_minus_L_F77
=yes
14944 hardcode_shlibpath_var_F77
=no
14947 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14948 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14949 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14950 hardcode_libdir_flag_spec_F77
='-R$libdir'
14951 hardcode_direct_F77
=yes
14952 hardcode_shlibpath_var_F77
=no
14956 if test "$GCC" = yes; then
14957 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14959 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14961 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14962 hardcode_libdir_separator_F77
=:
14963 hardcode_direct_F77
=yes
14965 # hardcode_minus_L: Not really in the search PATH,
14966 # but as the default location of the library.
14967 hardcode_minus_L_F77
=yes
14968 export_dynamic_flag_spec_F77
='${wl}-E'
14972 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14973 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14975 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14977 if test "$with_gnu_ld" = no
; then
14978 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14979 hardcode_libdir_separator_F77
=:
14981 hardcode_direct_F77
=yes
14982 export_dynamic_flag_spec_F77
='${wl}-E'
14984 # hardcode_minus_L: Not really in the search PATH,
14985 # but as the default location of the library.
14986 hardcode_minus_L_F77
=yes
14991 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14994 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14997 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15000 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15006 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15009 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15012 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15016 if test "$with_gnu_ld" = no
; then
15017 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15018 hardcode_libdir_separator_F77
=:
15022 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15023 hardcode_direct_F77
=no
15024 hardcode_shlibpath_var_F77
=no
15027 hardcode_direct_F77
=yes
15028 export_dynamic_flag_spec_F77
='${wl}-E'
15030 # hardcode_minus_L: Not really in the search PATH,
15031 # but as the default location of the library.
15032 hardcode_minus_L_F77
=yes
15038 irix5
* | irix6
* | nonstopux
*)
15039 if test "$GCC" = yes; then
15040 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15042 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15043 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15045 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15046 hardcode_libdir_separator_F77
=:
15047 link_all_deplibs_F77
=yes
15051 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15052 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15054 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15056 hardcode_libdir_flag_spec_F77
='-R$libdir'
15057 hardcode_direct_F77
=yes
15058 hardcode_shlibpath_var_F77
=no
15062 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15063 hardcode_direct_F77
=yes
15064 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15065 hardcode_libdir_separator_F77
=:
15066 hardcode_shlibpath_var_F77
=no
15070 hardcode_direct_F77
=yes
15071 hardcode_shlibpath_var_F77
=no
15072 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15073 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15074 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15075 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15076 export_dynamic_flag_spec_F77
='${wl}-E'
15079 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15080 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15081 hardcode_libdir_flag_spec_F77
='-R$libdir'
15084 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15085 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15092 hardcode_libdir_flag_spec_F77
='-L$libdir'
15093 hardcode_minus_L_F77
=yes
15094 allow_undefined_flag_F77
=unsupported
15095 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15096 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15100 if test "$GCC" = yes; then
15101 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15102 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15104 allow_undefined_flag_F77
=' -expect_unresolved \*'
15105 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15107 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15108 hardcode_libdir_separator_F77
=:
15111 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15112 if test "$GCC" = yes; then
15113 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15114 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15115 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15117 allow_undefined_flag_F77
=' -expect_unresolved \*'
15118 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15119 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15120 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15122 # Both c and cxx compiler support -rpath directly
15123 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15125 hardcode_libdir_separator_F77
=:
15129 no_undefined_flag_F77
=' -z text'
15130 if test "$GCC" = yes; then
15132 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15133 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15134 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15137 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15138 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15139 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15141 hardcode_libdir_flag_spec_F77
='-R$libdir'
15142 hardcode_shlibpath_var_F77
=no
15144 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15146 # The compiler driver will combine linker options so we
15147 # cannot just pass the convience library names through
15148 # without $wl, iff we do not link with $LD.
15149 # Luckily, gcc supports the same syntax we need for Sun Studio.
15150 # Supported since Solaris 2.6 (maybe 2.5.1?)
15153 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15155 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15158 link_all_deplibs_F77
=yes
15162 if test "x$host_vendor" = xsequent
; then
15163 # Use $CC to link under sequent, because it throws in some extra .o
15164 # files that make .init and .fini sections work.
15165 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15167 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15169 hardcode_libdir_flag_spec_F77
='-L$libdir'
15170 hardcode_direct_F77
=yes
15171 hardcode_minus_L_F77
=yes
15172 hardcode_shlibpath_var_F77
=no
15176 case $host_vendor in
15178 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15179 hardcode_direct_F77
=yes # is this really true???
15182 ## LD is ld it makes a PLAMLIB
15183 ## CC just makes a GrossModule.
15184 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15185 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15186 hardcode_direct_F77
=no
15189 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15190 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15193 runpath_var
='LD_RUN_PATH'
15194 hardcode_shlibpath_var_F77
=no
15198 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15199 hardcode_shlibpath_var_F77
=no
15200 export_dynamic_flag_spec_F77
='-Bexport'
15204 if test -d /usr
/nec
; then
15205 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15206 hardcode_shlibpath_var_F77
=no
15207 runpath_var
=LD_RUN_PATH
15208 hardcode_runpath_var
=yes
15213 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15214 no_undefined_flag_F77
='${wl}-z,text'
15215 archive_cmds_need_lc_F77
=no
15216 hardcode_shlibpath_var_F77
=no
15217 runpath_var
='LD_RUN_PATH'
15219 if test "$GCC" = yes; then
15220 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15221 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15223 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15224 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15228 sysv5
* | sco3.2v5
* | sco5v6
*)
15229 # Note: We can NOT use -z defs as we might desire, because we do not
15230 # link with -lc, and that would cause any symbols used from libc to
15231 # always be unresolved, which means just about no library would
15232 # ever link correctly. If we're not using GNU ld we use -z text
15233 # though, which does catch some bad symbols but isn't as heavy-handed
15235 no_undefined_flag_F77
='${wl}-z,text'
15236 allow_undefined_flag_F77
='${wl}-z,nodefs'
15237 archive_cmds_need_lc_F77
=no
15238 hardcode_shlibpath_var_F77
=no
15239 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15240 hardcode_libdir_separator_F77
=':'
15241 link_all_deplibs_F77
=yes
15242 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15243 runpath_var
='LD_RUN_PATH'
15245 if test "$GCC" = yes; then
15246 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15247 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15249 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15250 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15255 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15256 hardcode_libdir_flag_spec_F77
='-L$libdir'
15257 hardcode_shlibpath_var_F77
=no
15266 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15267 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15268 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15271 # Do we need to explicitly link libc?
15273 case "x$archive_cmds_need_lc_F77" in
15275 # Assume -lc should be added
15276 archive_cmds_need_lc_F77
=yes
15278 if test "$enable_shared" = yes && test "$GCC" = yes; then
15279 case $archive_cmds_F77 in
15281 # FIXME: we may have to deal with multi-command sequences.
15284 # Test whether the compiler implicitly links with -lc since on some
15285 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15286 # to ld, don't add -lc before -lgcc.
15287 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15288 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15290 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15293 (eval $ac_compile) 2>&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } 2>conftest.err
; then
15299 libobjs
=conftest.
$ac_objext
15301 wl
=$lt_prog_compiler_wl_F77
15302 pic_flag
=$lt_prog_compiler_pic_F77
15308 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15309 allow_undefined_flag_F77
=
15310 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15311 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); }
15316 archive_cmds_need_lc_F77
=no
15318 archive_cmds_need_lc_F77
=yes
15320 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15322 cat conftest.err
1>&5
15325 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15326 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15333 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15334 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15335 library_names_spec
=
15336 libname_spec
='lib$name'
15340 postuninstall_cmds
=
15344 shlibpath_overrides_runpath
=unknown
15346 dynamic_linker
="$host_os ld.so"
15347 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15348 if test "$GCC" = yes; then
15349 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15350 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15351 # if the path contains ";" then we assume it to be the separator
15352 # otherwise default to the standard path separator (i.e. ":") - it is
15353 # assumed that no part of a normal pathname contains ";" but that should
15354 # okay in the real world where ";" in dirpaths is itself problematic.
15355 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15357 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15360 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15362 need_lib_prefix
=unknown
15363 hardcode_into_libs
=no
15365 # when you set need_version to no, make sure it does not cause -set_version
15366 # flags to be left without arguments
15367 need_version
=unknown
15372 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15373 shlibpath_var
=LIBPATH
15375 # AIX 3 has no versioning support, so we append a major version to the name.
15376 soname_spec
='${libname}${release}${shared_ext}$major'
15383 hardcode_into_libs
=yes
15384 if test "$host_cpu" = ia64
; then
15385 # AIX 5 supports IA64
15386 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15387 shlibpath_var
=LD_LIBRARY_PATH
15389 # With GCC up to 2.95.x, collect2 would create an import file
15390 # for dependence libraries. The import file would start with
15391 # the line `#! .'. This would cause the generated library to
15392 # depend on `.', always an invalid library. This was fixed in
15393 # development snapshots of GCC prior to 3.0.
15395 aix4 | aix4.
[01] | aix4.
[01].
*)
15396 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15398 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15401 can_build_shared
=no
15405 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15406 # soname into executable. Probably we can add versioning support to
15407 # collect2, so additional links can be useful in future.
15408 if test "$aix_use_runtimelinking" = yes; then
15409 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15410 # instead of lib<name>.a to let people know that these are not
15411 # typical AIX shared libraries.
15412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15414 # We preserve .a as extension for shared libraries through AIX4.2
15415 # and later when we are not doing run time linking.
15416 library_names_spec
='${libname}${release}.a $libname.a'
15417 soname_spec
='${libname}${release}${shared_ext}$major'
15419 shlibpath_var
=LIBPATH
15424 library_names_spec
='$libname.ixlibrary $libname.a'
15425 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15426 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15430 library_names_spec
='${libname}${shared_ext}'
15431 dynamic_linker
="$host_os ld.so"
15432 shlibpath_var
=LIBRARY_PATH
15438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15439 soname_spec
='${libname}${release}${shared_ext}$major'
15440 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15441 shlibpath_var
=LD_LIBRARY_PATH
15442 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15443 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15444 # the default ld.so.conf also contains /usr/contrib/lib and
15445 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15446 # libtool to hard-code these into programs
15449 cygwin
* | mingw
* | pw32
*)
15450 version_type
=windows
15455 case $GCC,$host_os in
15456 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15457 library_names_spec
='$libname.dll.a'
15458 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15459 postinstall_cmds
='base_file=`basename \${file}`~
15460 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15461 dldir=$destdir/`dirname \$dlpath`~
15462 test -d \$dldir || mkdir -p \$dldir~
15463 $install_prog $dir/$dlname \$dldir/$dlname~
15464 chmod a+x \$dldir/$dlname'
15465 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15466 dlpath=$dir/\$dldll~
15468 shlibpath_overrides_runpath
=yes
15472 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15473 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15474 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15477 # MinGW DLLs use traditional 'lib' prefix
15478 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15479 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15480 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15481 # It is most probably a Windows format PATH printed by
15482 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15483 # path with ; separators, and with drive letters. We can handle the
15484 # drive letters (cygwin fileutils understands them), so leave them,
15485 # especially as we might pass files found there to a mingw objdump,
15486 # which wouldn't understand a cygwinified path. Ahh.
15487 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15489 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15493 # pw32 DLLs use 'pw' prefix rather than 'lib'
15494 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15500 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15503 dynamic_linker
='Win32 ld.exe'
15504 # FIXME: first we should search . and the directory the executable is in
15508 darwin
* | rhapsody
*)
15509 dynamic_linker
="$host_os dyld"
15510 version_type
=darwin
15513 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15514 soname_spec
='${libname}${release}${major}$shared_ext'
15515 shlibpath_overrides_runpath
=yes
15516 shlibpath_var
=DYLD_LIBRARY_PATH
15517 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15518 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15519 if test "$GCC" = yes; then
15520 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15522 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15524 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15532 soname_spec
='${libname}${release}${shared_ext}$major'
15533 shlibpath_var
=LD_LIBRARY_PATH
15544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15545 soname_spec
='${libname}${release}${shared_ext}$major'
15546 shlibpath_var
=LD_LIBRARY_PATH
15547 shlibpath_overrides_runpath
=no
15548 hardcode_into_libs
=yes
15549 dynamic_linker
='GNU ld.so'
15552 freebsd
* | dragonfly
*)
15553 # DragonFly does not have aout. When/if they implement a new
15554 # versioning mechanism, adjust this.
15555 if test -x /usr
/bin
/objformat
; then
15556 objformat
=`/usr/bin/objformat`
15559 freebsd
[123]*) objformat
=aout
;;
15560 *) objformat
=elf
;;
15563 version_type
=freebsd-
$objformat
15564 case $version_type in
15566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15571 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15575 shlibpath_var
=LD_LIBRARY_PATH
15578 shlibpath_overrides_runpath
=yes
15580 freebsd3.
[01]* | freebsdelf3.
[01]*)
15581 shlibpath_overrides_runpath
=yes
15582 hardcode_into_libs
=yes
15584 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15585 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15586 shlibpath_overrides_runpath
=no
15587 hardcode_into_libs
=yes
15589 freebsd
*) # from 4.6 on
15590 shlibpath_overrides_runpath
=yes
15591 hardcode_into_libs
=yes
15600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15601 soname_spec
='${libname}${release}${shared_ext}$major'
15602 shlibpath_var
=LD_LIBRARY_PATH
15603 hardcode_into_libs
=yes
15606 hpux9
* | hpux10
* | hpux11
*)
15607 # Give a soname corresponding to the major version so that dld.sl refuses to
15608 # link against other versions.
15615 hardcode_into_libs
=yes
15616 dynamic_linker
="$host_os dld.so"
15617 shlibpath_var
=LD_LIBRARY_PATH
15618 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15620 soname_spec
='${libname}${release}${shared_ext}$major'
15621 if test "X$HPUX_IA64_MODE" = X32
; then
15622 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15624 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15626 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15630 hardcode_into_libs
=yes
15631 dynamic_linker
="$host_os dld.sl"
15632 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15633 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15635 soname_spec
='${libname}${release}${shared_ext}$major'
15636 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15637 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15641 dynamic_linker
="$host_os dld.sl"
15642 shlibpath_var
=SHLIB_PATH
15643 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15645 soname_spec
='${libname}${release}${shared_ext}$major'
15648 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15649 postinstall_cmds
='chmod 555 $lib'
15656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15657 soname_spec
='${libname}${release}${shared_ext}$major'
15658 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15659 shlibpath_var
=LD_LIBRARY_PATH
15660 shlibpath_overrides_runpath
=no
15661 hardcode_into_libs
=yes
15664 irix5
* | irix6
* | nonstopux
*)
15666 nonstopux
*) version_type
=nonstopux
;;
15668 if test "$lt_cv_prog_gnu_ld" = yes; then
15676 soname_spec
='${libname}${release}${shared_ext}$major'
15677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15679 irix5
* | nonstopux
*)
15680 libsuff
= shlibsuff
=
15683 case $LD in # libtool.m4 will add one of these switches to LD
15684 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15685 libsuff
= shlibsuff
= libmagic
=32-bit;;
15686 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15687 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15688 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15689 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15690 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15694 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15695 shlibpath_overrides_runpath
=no
15696 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15697 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15698 hardcode_into_libs
=yes
15701 # No shared lib support for Linux oldld, aout, or coff.
15702 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15706 # This must be Linux ELF.
15711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15712 soname_spec
='${libname}${release}${shared_ext}$major'
15713 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15714 shlibpath_var
=LD_LIBRARY_PATH
15715 shlibpath_overrides_runpath
=no
15716 # This implies no fast_install, which is unacceptable.
15717 # Some rework will be needed to allow for fast_install
15718 # before this can be enabled.
15719 hardcode_into_libs
=yes
15721 # find out which ABI we are using
15723 case "$host_cpu" in
15724 x86_64
*|s390x
*|powerpc64
*)
15725 echo '#line 15725 "configure"' > conftest.
$ac_ext
15726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15727 (eval $ac_compile) 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; then
15731 case `/usr/bin/file conftest.$ac_objext` in
15734 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15742 # Append ld.so.conf contents to the search path
15743 if test -f /etc
/ld.so.conf
; then
15744 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15745 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15748 # We used to test for /lib/ld.so.1 and disable shared libraries on
15749 # powerpc, because MkLinux only supported shared libraries with the
15750 # GNU dynamic linker. Since this was broken with cross compilers,
15751 # most powerpc-linux boxes support dynamic linking these days and
15752 # people can always --disable-shared, the test was removed, and we
15753 # assume the GNU/Linux dynamic linker is in use.
15754 dynamic_linker
='GNU/Linux ld.so'
15761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15762 soname_spec
='${libname}${release}${shared_ext}$major'
15763 shlibpath_var
=LD_LIBRARY_PATH
15764 shlibpath_overrides_runpath
=no
15765 hardcode_into_libs
=yes
15766 dynamic_linker
='GNU ld.so'
15773 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15775 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15776 dynamic_linker
='NetBSD (a.out) ld.so'
15778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15779 soname_spec
='${libname}${release}${shared_ext}$major'
15780 dynamic_linker
='NetBSD ld.elf_so'
15782 shlibpath_var
=LD_LIBRARY_PATH
15783 shlibpath_overrides_runpath
=yes
15784 hardcode_into_libs
=yes
15789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15790 shlibpath_var
=LD_LIBRARY_PATH
15791 shlibpath_overrides_runpath
=yes
15798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15799 soname_spec
='${libname}${release}${shared_ext}$major'
15800 shlibpath_var
=LD_LIBRARY_PATH
15801 shlibpath_overrides_runpath
=yes
15806 sys_lib_dlsearch_path_spec
="/usr/lib"
15808 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15810 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15811 *) need_version
=no
;;
15813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15814 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15815 shlibpath_var
=LD_LIBRARY_PATH
15816 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15818 openbsd2.
[89] | openbsd2.
[89].
*)
15819 shlibpath_overrides_runpath
=no
15822 shlibpath_overrides_runpath
=yes
15826 shlibpath_overrides_runpath
=yes
15831 libname_spec
='$name'
15834 library_names_spec
='$libname${shared_ext} $libname.a'
15835 dynamic_linker
='OS/2 ld.exe'
15836 shlibpath_var
=LIBPATH
15839 osf3
* | osf4
* | osf5
*)
15843 soname_spec
='${libname}${release}${shared_ext}$major'
15844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15845 shlibpath_var
=LD_LIBRARY_PATH
15846 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15847 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15855 soname_spec
='${libname}${release}${shared_ext}$major'
15856 shlibpath_var
=LD_LIBRARY_PATH
15857 shlibpath_overrides_runpath
=yes
15858 hardcode_into_libs
=yes
15859 # ldd complains unless libraries are executable
15860 postinstall_cmds
='chmod +x $lib'
15865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15866 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15867 shlibpath_var
=LD_LIBRARY_PATH
15868 shlibpath_overrides_runpath
=yes
15869 if test "$with_gnu_ld" = yes; then
15877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15878 soname_spec
='${libname}${release}${shared_ext}$major'
15879 shlibpath_var
=LD_LIBRARY_PATH
15880 case $host_vendor in
15882 shlibpath_overrides_runpath
=no
15884 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15885 runpath_var
=LD_RUN_PATH
15893 shlibpath_overrides_runpath
=no
15894 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15900 if test -d /usr
/nec
;then
15902 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15903 soname_spec
='$libname${shared_ext}.$major'
15904 shlibpath_var
=LD_LIBRARY_PATH
15908 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15909 version_type
=freebsd-elf
15912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15913 soname_spec
='${libname}${release}${shared_ext}$major'
15914 shlibpath_var
=LD_LIBRARY_PATH
15915 hardcode_into_libs
=yes
15916 if test "$with_gnu_ld" = yes; then
15917 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15918 shlibpath_overrides_runpath
=no
15920 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15921 shlibpath_overrides_runpath
=yes
15924 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15928 sys_lib_dlsearch_path_spec
='/usr/lib'
15933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15934 soname_spec
='${libname}${release}${shared_ext}$major'
15935 shlibpath_var
=LD_LIBRARY_PATH
15942 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15943 echo "${ECHO_T}$dynamic_linker" >&6; }
15944 test "$dynamic_linker" = no
&& can_build_shared
=no
15946 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15947 if test "$GCC" = yes; then
15948 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15951 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15952 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15953 hardcode_action_F77
=
15954 if test -n "$hardcode_libdir_flag_spec_F77" || \
15955 test -n "$runpath_var_F77" || \
15956 test "X$hardcode_automatic_F77" = "Xyes" ; then
15958 # We can hardcode non-existant directories.
15959 if test "$hardcode_direct_F77" != no
&&
15960 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15961 # have to relink, otherwise we might link with an installed library
15962 # when we should be linking with a yet-to-be-installed one
15963 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15964 test "$hardcode_minus_L_F77" != no
; then
15965 # Linking always hardcodes the temporary library directory.
15966 hardcode_action_F77
=relink
15968 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15969 hardcode_action_F77
=immediate
15972 # We cannot hardcode anything, or else we can only hardcode existing
15974 hardcode_action_F77
=unsupported
15976 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15977 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15979 if test "$hardcode_action_F77" = relink
; then
15980 # Fast installation is not supported
15981 enable_fast_install
=no
15982 elif test "$shlibpath_overrides_runpath" = yes ||
15983 test "$enable_shared" = no
; then
15984 # Fast installation is not necessary
15985 enable_fast_install
=needless
15989 # The else clause should only fire when bootstrapping the
15990 # libtool distribution, otherwise you forgot to ship ltmain.sh
15991 # with your package, and you will get complaints that there are
15992 # no rules to generate ltmain.sh.
15993 if test -f "$ltmain"; then
15994 # See if we are running on zsh, and set the options which allow our commands through
15995 # without removal of \ escapes.
15996 if test -n "${ZSH_VERSION+set}" ; then
15997 setopt NO_GLOB_SUBST
15999 # Now quote all the things that may contain metacharacters while being
16000 # careful not to overquote the AC_SUBSTed values. We take copies of the
16001 # variables and quote the copies for generation of the libtool script.
16002 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16004 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16005 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16006 deplibs_check_method reload_flag reload_cmds need_locks \
16007 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16008 lt_cv_sys_global_symbol_to_c_name_address \
16009 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16010 old_postinstall_cmds old_postuninstall_cmds \
16014 lt_prog_compiler_wl_F77 \
16015 lt_prog_compiler_pic_F77 \
16016 lt_prog_compiler_static_F77 \
16017 lt_prog_compiler_no_builtin_flag_F77 \
16018 export_dynamic_flag_spec_F77 \
16019 thread_safe_flag_spec_F77 \
16020 whole_archive_flag_spec_F77 \
16021 enable_shared_with_static_runtimes_F77 \
16022 old_archive_cmds_F77 \
16023 old_archive_from_new_cmds_F77 \
16024 predep_objects_F77 \
16025 postdep_objects_F77 \
16028 compiler_lib_search_path_F77 \
16030 archive_expsym_cmds_F77 \
16031 postinstall_cmds_F77 \
16032 postuninstall_cmds_F77 \
16033 old_archive_from_expsyms_cmds_F77 \
16034 allow_undefined_flag_F77 \
16035 no_undefined_flag_F77 \
16036 export_symbols_cmds_F77 \
16037 hardcode_libdir_flag_spec_F77 \
16038 hardcode_libdir_flag_spec_ld_F77 \
16039 hardcode_libdir_separator_F77 \
16040 hardcode_automatic_F77 \
16042 module_expsym_cmds_F77 \
16043 lt_cv_prog_compiler_c_o_F77 \
16044 exclude_expsyms_F77 \
16045 include_expsyms_F77
; do
16048 old_archive_cmds_F77 | \
16049 old_archive_from_new_cmds_F77 | \
16050 archive_cmds_F77 | \
16051 archive_expsym_cmds_F77 | \
16052 module_cmds_F77 | \
16053 module_expsym_cmds_F77 | \
16054 old_archive_from_expsyms_cmds_F77 | \
16055 export_symbols_cmds_F77 | \
16056 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16057 postinstall_cmds | postuninstall_cmds | \
16058 old_postinstall_cmds | old_postuninstall_cmds | \
16059 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16060 # Double-quote double-evaled strings.
16061 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16064 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16070 *'\$0 --fallback-echo"')
16071 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16077 cat <<__EOF__ >> "$cfgfile"
16078 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16080 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16082 # Shell to use when invoking shell scripts.
16085 # Whether or not to build shared libraries.
16086 build_libtool_libs=$enable_shared
16088 # Whether or not to build static libraries.
16089 build_old_libs=$enable_static
16091 # Whether or not to add -lc for building shared libraries.
16092 build_libtool_need_lc=$archive_cmds_need_lc_F77
16094 # Whether or not to disallow shared libs when runtime libs are static
16095 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16097 # Whether or not to optimize for fast installation.
16098 fast_install=$enable_fast_install
16101 host_alias=$host_alias
16105 # The build system.
16106 build_alias=$build_alias
16110 # An echo program that does not interpret backslashes.
16115 AR_FLAGS=$lt_AR_FLAGS
16120 # LTCC compiler flags.
16121 LTCFLAGS=$lt_LTCFLAGS
16123 # A language-specific compiler.
16124 CC=$lt_compiler_F77
16126 # Is the compiler the GNU C compiler?
16132 # The linker used to build libraries.
16135 # Whether we need hard or soft links.
16138 # A BSD-compatible nm program.
16141 # A symbol stripping program
16144 # Used to examine libraries when file_magic_cmd begins "file"
16145 MAGIC_CMD=$MAGIC_CMD
16147 # Used on cygwin: DLL creation program.
16150 # Used on cygwin: object dumper.
16153 # Used on cygwin: assembler.
16156 # The name of the directory that contains temporary libtool files.
16159 # How to create reloadable object files.
16160 reload_flag=$lt_reload_flag
16161 reload_cmds=$lt_reload_cmds
16163 # How to pass a linker flag through the compiler.
16164 wl=$lt_lt_prog_compiler_wl_F77
16166 # Object file suffix (normally "o").
16167 objext="$ac_objext"
16169 # Old archive suffix (normally "a").
16172 # Shared library suffix (normally ".so").
16173 shrext_cmds='$shrext_cmds'
16175 # Executable file suffix (normally "").
16178 # Additional compiler flags for building library objects.
16179 pic_flag=$lt_lt_prog_compiler_pic_F77
16182 # What is the maximum length of a command?
16183 max_cmd_len=$lt_cv_sys_max_cmd_len
16185 # Does compiler simultaneously support -c and -o options?
16186 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16188 # Must we lock files when doing compilation?
16189 need_locks=$lt_need_locks
16191 # Do we need the lib prefix for modules?
16192 need_lib_prefix=$need_lib_prefix
16194 # Do we need a version for libraries?
16195 need_version=$need_version
16197 # Whether dlopen is supported.
16198 dlopen_support=$enable_dlopen
16200 # Whether dlopen of programs is supported.
16201 dlopen_self=$enable_dlopen_self
16203 # Whether dlopen of statically linked programs is supported.
16204 dlopen_self_static=$enable_dlopen_self_static
16206 # Compiler flag to prevent dynamic linking.
16207 link_static_flag=$lt_lt_prog_compiler_static_F77
16209 # Compiler flag to turn off builtin functions.
16210 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16212 # Compiler flag to allow reflexive dlopens.
16213 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16215 # Compiler flag to generate shared objects directly from archives.
16216 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16218 # Compiler flag to generate thread-safe objects.
16219 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16221 # Library versioning type.
16222 version_type=$version_type
16224 # Format of library name prefix.
16225 libname_spec=$lt_libname_spec
16227 # List of archive names. First name is the real one, the rest are links.
16228 # The last name is the one that the linker finds with -lNAME.
16229 library_names_spec=$lt_library_names_spec
16231 # The coded name of the library, if different from the real name.
16232 soname_spec=$lt_soname_spec
16234 # Commands used to build and install an old-style archive.
16236 old_archive_cmds=$lt_old_archive_cmds_F77
16237 old_postinstall_cmds=$lt_old_postinstall_cmds
16238 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16240 # Create an old-style archive from a shared archive.
16241 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16243 # Create a temporary old-style archive to link instead of a shared archive.
16244 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16246 # Commands used to build and install a shared archive.
16247 archive_cmds=$lt_archive_cmds_F77
16248 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16249 postinstall_cmds=$lt_postinstall_cmds
16250 postuninstall_cmds=$lt_postuninstall_cmds
16252 # Commands used to build a loadable module (assumed same as above if empty)
16253 module_cmds=$lt_module_cmds_F77
16254 module_expsym_cmds=$lt_module_expsym_cmds_F77
16256 # Commands to strip libraries.
16257 old_striplib=$lt_old_striplib
16258 striplib=$lt_striplib
16260 # Dependencies to place before the objects being linked to create a
16262 predep_objects=$lt_predep_objects_F77
16264 # Dependencies to place after the objects being linked to create a
16266 postdep_objects=$lt_postdep_objects_F77
16268 # Dependencies to place before the objects being linked to create a
16270 predeps=$lt_predeps_F77
16272 # Dependencies to place after the objects being linked to create a
16274 postdeps=$lt_postdeps_F77
16276 # The library search path used internally by the compiler when linking
16277 # a shared library.
16278 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16280 # Method to check whether dependent libraries are shared objects.
16281 deplibs_check_method=$lt_deplibs_check_method
16283 # Command to use when deplibs_check_method == file_magic.
16284 file_magic_cmd=$lt_file_magic_cmd
16286 # Flag that allows shared libraries with undefined symbols to be built.
16287 allow_undefined_flag=$lt_allow_undefined_flag_F77
16289 # Flag that forces no undefined symbols.
16290 no_undefined_flag=$lt_no_undefined_flag_F77
16292 # Commands used to finish a libtool library installation in a directory.
16293 finish_cmds=$lt_finish_cmds
16295 # Same as above, but a single script fragment to be evaled but not shown.
16296 finish_eval=$lt_finish_eval
16298 # Take the output of nm and produce a listing of raw symbols and C names.
16299 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16301 # Transform the output of nm in a proper C declaration
16302 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16304 # Transform the output of nm in a C name address pair
16305 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16307 # This is the shared library runtime path variable.
16308 runpath_var=$runpath_var
16310 # This is the shared library path variable.
16311 shlibpath_var=$shlibpath_var
16313 # Is shlibpath searched before the hard-coded library search path?
16314 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16316 # How to hardcode a shared library path into an executable.
16317 hardcode_action=$hardcode_action_F77
16319 # Whether we should hardcode library paths into libraries.
16320 hardcode_into_libs=$hardcode_into_libs
16322 # Flag to hardcode \$libdir into a binary during linking.
16323 # This must work even if \$libdir does not exist.
16324 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16326 # If ld is used when linking, flag to hardcode \$libdir into
16327 # a binary during linking. This must work even if \$libdir does
16329 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16331 # Whether we need a single -rpath flag with a separated argument.
16332 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16334 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16335 # resulting binary.
16336 hardcode_direct=$hardcode_direct_F77
16338 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16339 # resulting binary.
16340 hardcode_minus_L=$hardcode_minus_L_F77
16342 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16343 # the resulting binary.
16344 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16346 # Set to yes if building a shared library automatically hardcodes DIR into the library
16347 # and all subsequent libraries and executables linked against it.
16348 hardcode_automatic=$hardcode_automatic_F77
16350 # Variables whose values should be saved in libtool wrapper scripts and
16351 # restored at relink time.
16352 variables_saved_for_relink="$variables_saved_for_relink"
16354 # Whether libtool must link a program against all its dependency libraries.
16355 link_all_deplibs=$link_all_deplibs_F77
16357 # Compile-time system search path for libraries
16358 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16360 # Run-time system search path for libraries
16361 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16363 # Fix the shell variable \$srcfile for the compiler.
16364 fix_srcfile_path="$fix_srcfile_path_F77"
16366 # Set to yes if exported symbols are required.
16367 always_export_symbols=$always_export_symbols_F77
16369 # The commands to list exported symbols.
16370 export_symbols_cmds=$lt_export_symbols_cmds_F77
16372 # The commands to extract the exported symbol list from a shared archive.
16373 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16375 # Symbols that should not be listed in the preloaded symbols.
16376 exclude_expsyms=$lt_exclude_expsyms_F77
16378 # Symbols that must always be exported.
16379 include_expsyms=$lt_include_expsyms_F77
16381 # ### END LIBTOOL TAG CONFIG: $tagname
16387 # If there is no Makefile yet, we rely on a make rule to execute
16388 # `config.status --recheck' to rerun these tests and create the
16389 # libtool script then.
16390 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16391 if test -f "$ltmain_in"; then
16392 test -f Makefile
&& make "$ltmain"
16398 ac_cpp
='$CPP $CPPFLAGS'
16399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16411 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16414 # Source file extension for Java test sources.
16417 # Object file extension for compiled Java test sources.
16421 # Code to be used in simple compile tests
16422 lt_simple_compile_test_code
="class foo {}\n"
16424 # Code to be used in simple link tests
16425 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16427 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16429 # If no C compiler was specified, use CC.
16432 # If no C compiler flags were specified, use CFLAGS.
16433 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16435 # Allow CC to be a program name with arguments.
16439 # save warnings/boilerplate of simple test code
16440 ac_outfile
=conftest.
$ac_objext
16441 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16442 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16443 _lt_compiler_boilerplate
=`cat conftest.err`
16446 ac_outfile
=conftest.
$ac_objext
16447 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16448 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16449 _lt_linker_boilerplate
=`cat conftest.err`
16453 # Allow CC to be a program name with arguments.
16458 for cc_temp
in $compiler""; do
16460 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16461 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16466 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16469 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16470 archive_cmds_need_lc_GCJ
=no
16472 old_archive_cmds_GCJ
=$old_archive_cmds
16475 lt_prog_compiler_no_builtin_flag_GCJ
=
16477 if test "$GCC" = yes; then
16478 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16481 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16482 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16483 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 lt_cv_prog_compiler_rtti_exceptions
=no
16487 ac_outfile
=conftest.
$ac_objext
16488 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16489 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16490 # Insert the option either (1) after the last *FLAGS variable, or
16491 # (2) before a word containing "conftest.", or (3) at the end.
16492 # Note that $ac_compile itself does not contain backslashes and begins
16493 # with a dollar sign (not a hyphen), so the echo should work correctly.
16494 # The option is referenced via a variable to avoid confusing sed.
16495 lt_compile
=`echo "$ac_compile" | $SED \
16496 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16497 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16498 -e 's:$: $lt_compiler_flag:'`
16499 (eval echo "\"\$as_me:16499: $lt_compile\"" >&5)
16500 (eval "$lt_compile" 2>conftest.err
)
16502 cat conftest.err
>&5
16503 echo "$as_me:16503: \$? = $ac_status" >&5
16504 if (exit $ac_status) && test -s "$ac_outfile"; then
16505 # The compiler can only warn and ignore the option if not recognized
16506 # So say no if there are warnings other than the usual output.
16507 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16508 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16509 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16510 lt_cv_prog_compiler_rtti_exceptions
=yes
16516 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16517 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16519 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16520 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16527 lt_prog_compiler_wl_GCJ
=
16528 lt_prog_compiler_pic_GCJ
=
16529 lt_prog_compiler_static_GCJ
=
16531 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16532 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16534 if test "$GCC" = yes; then
16535 lt_prog_compiler_wl_GCJ
='-Wl,'
16536 lt_prog_compiler_static_GCJ
='-static'
16540 # All AIX code is PIC.
16541 if test "$host_cpu" = ia64
; then
16542 # AIX 5 now supports IA64 processor
16543 lt_prog_compiler_static_GCJ
='-Bstatic'
16548 # FIXME: we need at least 68020 code to build shared libraries, but
16549 # adding the `-m68020' flag to GCC prevents building anything better,
16551 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16554 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16555 # PIC is the default for these OSes.
16558 mingw
* | pw32
* | os2
*)
16559 # This hack is so that the source file can tell whether it is being
16560 # built for inclusion in a dll (and should export symbols for example).
16561 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16564 darwin
* | rhapsody
*)
16565 # PIC is the default on this platform
16566 # Common symbols not allowed in MH_DYLIB files
16567 lt_prog_compiler_pic_GCJ
='-fno-common'
16571 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16572 # Instead, we relocate shared libraries at runtime.
16576 # Just because we use GCC doesn't mean we suddenly get shared libraries
16577 # on systems that don't support them.
16578 lt_prog_compiler_can_build_shared_GCJ
=no
16583 if test -d /usr
/nec
; then
16584 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16589 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16590 # not for PA HP-UX.
16596 lt_prog_compiler_pic_GCJ
='-fPIC'
16602 lt_prog_compiler_pic_GCJ
='-fPIC'
16606 # PORTME Check for flag to pass linker flags through the system compiler.
16609 lt_prog_compiler_wl_GCJ
='-Wl,'
16610 if test "$host_cpu" = ia64
; then
16611 # AIX 5 now supports IA64 processor
16612 lt_prog_compiler_static_GCJ
='-Bstatic'
16614 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16618 # PIC is the default on this platform
16619 # Common symbols not allowed in MH_DYLIB files
16620 case $cc_basename in
16622 lt_prog_compiler_pic_GCJ
='-qnocommon'
16623 lt_prog_compiler_wl_GCJ
='-Wl,'
16628 mingw
* | pw32
* | os2
*)
16629 # This hack is so that the source file can tell whether it is being
16630 # built for inclusion in a dll (and should export symbols for example).
16631 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16634 hpux9
* | hpux10
* | hpux11
*)
16635 lt_prog_compiler_wl_GCJ
='-Wl,'
16636 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16637 # not for PA HP-UX.
16643 lt_prog_compiler_pic_GCJ
='+Z'
16646 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16647 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16650 irix5
* | irix6
* | nonstopux
*)
16651 lt_prog_compiler_wl_GCJ
='-Wl,'
16652 # PIC (with -KPIC) is the default.
16653 lt_prog_compiler_static_GCJ
='-non_shared'
16657 lt_prog_compiler_pic_GCJ
='-KPIC'
16658 lt_prog_compiler_static_GCJ
='-Bstatic'
16662 case $cc_basename in
16664 lt_prog_compiler_wl_GCJ
='-Wl,'
16665 lt_prog_compiler_pic_GCJ
='-KPIC'
16666 lt_prog_compiler_static_GCJ
='-static'
16668 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16669 # Portland Group compilers (*not* the Pentium gcc compiler,
16670 # which looks to be a dead project)
16671 lt_prog_compiler_wl_GCJ
='-Wl,'
16672 lt_prog_compiler_pic_GCJ
='-fpic'
16673 lt_prog_compiler_static_GCJ
='-Bstatic'
16676 lt_prog_compiler_wl_GCJ
='-Wl,'
16677 # All Alpha code is PIC.
16678 lt_prog_compiler_static_GCJ
='-non_shared'
16683 osf3
* | osf4
* | osf5
*)
16684 lt_prog_compiler_wl_GCJ
='-Wl,'
16685 # All OSF/1 code is PIC.
16686 lt_prog_compiler_static_GCJ
='-non_shared'
16690 lt_prog_compiler_pic_GCJ
='-KPIC'
16691 lt_prog_compiler_static_GCJ
='-Bstatic'
16692 case $cc_basename in
16693 f77
* | f90
* | f95
*)
16694 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16696 lt_prog_compiler_wl_GCJ
='-Wl,';;
16701 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16702 lt_prog_compiler_pic_GCJ
='-PIC'
16703 lt_prog_compiler_static_GCJ
='-Bstatic'
16706 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16707 lt_prog_compiler_wl_GCJ
='-Wl,'
16708 lt_prog_compiler_pic_GCJ
='-KPIC'
16709 lt_prog_compiler_static_GCJ
='-Bstatic'
16713 if test -d /usr
/nec
;then
16714 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16715 lt_prog_compiler_static_GCJ
='-Bstatic'
16719 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16720 lt_prog_compiler_wl_GCJ
='-Wl,'
16721 lt_prog_compiler_pic_GCJ
='-KPIC'
16722 lt_prog_compiler_static_GCJ
='-Bstatic'
16726 lt_prog_compiler_wl_GCJ
='-Wl,'
16727 lt_prog_compiler_can_build_shared_GCJ
=no
16731 lt_prog_compiler_pic_GCJ
='-pic'
16732 lt_prog_compiler_static_GCJ
='-Bstatic'
16736 lt_prog_compiler_can_build_shared_GCJ
=no
16741 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16742 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16745 # Check to make sure the PIC flag actually works.
16747 if test -n "$lt_prog_compiler_pic_GCJ"; then
16749 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16750 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16751 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16752 echo $ECHO_N "(cached) $ECHO_C" >&6
16754 lt_prog_compiler_pic_works_GCJ
=no
16755 ac_outfile
=conftest.
$ac_objext
16756 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16757 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16758 # Insert the option either (1) after the last *FLAGS variable, or
16759 # (2) before a word containing "conftest.", or (3) at the end.
16760 # Note that $ac_compile itself does not contain backslashes and begins
16761 # with a dollar sign (not a hyphen), so the echo should work correctly.
16762 # The option is referenced via a variable to avoid confusing sed.
16763 lt_compile
=`echo "$ac_compile" | $SED \
16764 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16766 -e 's:$: $lt_compiler_flag:'`
16767 (eval echo "\"\$as_me:16767: $lt_compile\"" >&5)
16768 (eval "$lt_compile" 2>conftest.err
)
16770 cat conftest.err
>&5
16771 echo "$as_me:16771: \$? = $ac_status" >&5
16772 if (exit $ac_status) && test -s "$ac_outfile"; then
16773 # The compiler can only warn and ignore the option if not recognized
16774 # So say no if there are warnings other than the usual output.
16775 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16776 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16777 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16778 lt_prog_compiler_pic_works_GCJ
=yes
16784 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16785 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16787 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16788 case $lt_prog_compiler_pic_GCJ in
16790 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16793 lt_prog_compiler_pic_GCJ
=
16794 lt_prog_compiler_can_build_shared_GCJ
=no
16799 # For platforms which do not support PIC, -DPIC is meaningless:
16801 lt_prog_compiler_pic_GCJ
=
16804 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16809 # Check to make sure the static flag actually works.
16811 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16812 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16813 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16814 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 lt_prog_compiler_static_works_GCJ
=no
16818 save_LDFLAGS
="$LDFLAGS"
16819 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16820 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16821 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16822 # The linker can only warn and ignore the option if not recognized
16823 # So say no if there are warnings
16824 if test -s conftest.err
; then
16825 # Append any errors to the config.log.
16826 cat conftest.err
1>&5
16827 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16828 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16829 if diff conftest.exp conftest.er2
>/dev
/null
; then
16830 lt_prog_compiler_static_works_GCJ
=yes
16833 lt_prog_compiler_static_works_GCJ
=yes
16837 LDFLAGS
="$save_LDFLAGS"
16840 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16841 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16843 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16846 lt_prog_compiler_static_GCJ
=
16850 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16851 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16852 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16853 echo $ECHO_N "(cached) $ECHO_C" >&6
16855 lt_cv_prog_compiler_c_o_GCJ
=no
16856 $rm -r conftest
2>/dev
/null
16860 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16862 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16863 # Insert the option either (1) after the last *FLAGS variable, or
16864 # (2) before a word containing "conftest.", or (3) at the end.
16865 # Note that $ac_compile itself does not contain backslashes and begins
16866 # with a dollar sign (not a hyphen), so the echo should work correctly.
16867 lt_compile
=`echo "$ac_compile" | $SED \
16868 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16869 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16870 -e 's:$: $lt_compiler_flag:'`
16871 (eval echo "\"\$as_me:16871: $lt_compile\"" >&5)
16872 (eval "$lt_compile" 2>out
/conftest.err
)
16874 cat out
/conftest.err
>&5
16875 echo "$as_me:16875: \$? = $ac_status" >&5
16876 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16878 # The compiler can only warn and ignore the option if not recognized
16879 # So say no if there are warnings
16880 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16881 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16882 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16883 lt_cv_prog_compiler_c_o_GCJ
=yes
16888 # SGI C++ compiler will create directory out/ii_files/ for
16889 # template instantiation
16890 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16891 $rm out
/* && rmdir out
16897 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16898 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16901 hard_links
="nottested"
16902 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16903 # do not overwrite the value of need_locks provided by the user
16904 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16905 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16908 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16910 ln conftest.a conftest.b
2>&5 || hard_links
=no
16911 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16912 { echo "$as_me:$LINENO: result: $hard_links" >&5
16913 echo "${ECHO_T}$hard_links" >&6; }
16914 if test "$hard_links" = no
; then
16915 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16916 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16923 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16924 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16927 allow_undefined_flag_GCJ
=
16928 enable_shared_with_static_runtimes_GCJ
=no
16930 archive_expsym_cmds_GCJ
=
16931 old_archive_From_new_cmds_GCJ
=
16932 old_archive_from_expsyms_cmds_GCJ
=
16933 export_dynamic_flag_spec_GCJ
=
16934 whole_archive_flag_spec_GCJ
=
16935 thread_safe_flag_spec_GCJ
=
16936 hardcode_libdir_flag_spec_GCJ
=
16937 hardcode_libdir_flag_spec_ld_GCJ
=
16938 hardcode_libdir_separator_GCJ
=
16939 hardcode_direct_GCJ
=no
16940 hardcode_minus_L_GCJ
=no
16941 hardcode_shlibpath_var_GCJ
=unsupported
16942 link_all_deplibs_GCJ
=unknown
16943 hardcode_automatic_GCJ
=no
16945 module_expsym_cmds_GCJ
=
16946 always_export_symbols_GCJ
=no
16947 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16948 # include_expsyms should be a list of space-separated symbols to be *always*
16949 # included in the symbol list
16950 include_expsyms_GCJ
=
16951 # exclude_expsyms can be an extended regexp of symbols to exclude
16952 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16953 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16954 # as well as any symbol that contains `d'.
16955 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16956 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16957 # platforms (ab)use it in PIC code, but their linkers get confused if
16958 # the symbol is explicitly referenced. Since portable code cannot
16959 # rely on this symbol name, it's probably fine to never include it in
16960 # preloaded symbol tables.
16961 extract_expsyms_cmds
=
16962 # Just being paranoid about ensuring that cc_basename is set.
16963 for cc_temp
in $compiler""; do
16965 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16966 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16971 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16974 cygwin
* | mingw
* | pw32
*)
16975 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16976 # When not using gcc, we currently assume that we are using
16977 # Microsoft Visual C++.
16978 if test "$GCC" != yes; then
16983 # we just hope/assume this is gcc and not c89 (= MSVC++)
16992 if test "$with_gnu_ld" = yes; then
16993 # If archive_cmds runs LD, not CC, wlarc should be empty
16996 # Set some defaults for GNU ld with shared library support. These
16997 # are reset later if shared libraries are not supported. Putting them
16998 # here allows them to be overridden if necessary.
16999 runpath_var
=LD_RUN_PATH
17000 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17001 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17002 # ancient GNU ld didn't support --whole-archive et. al.
17003 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17004 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17006 whole_archive_flag_spec_GCJ
=
17008 supports_anon_versioning
=no
17009 case `$LD -v 2>/dev/null` in
17010 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17011 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17012 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17013 *\
2.11.
*) ;; # other 2.11 versions
17014 *) supports_anon_versioning
=yes ;;
17017 # See if GNU ld supports shared libraries.
17019 aix3
* | aix4
* | aix5
*)
17020 # On AIX/PPC, the GNU linker is very broken
17021 if test "$host_cpu" != ia64
; then
17025 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17026 *** to be unable to reliably create shared libraries on AIX.
17027 *** Therefore, libtool is disabling shared libraries support. If you
17028 *** really care for shared libraries, you may want to modify your PATH
17029 *** so that a non-GNU linker is found, and then restart.
17036 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17037 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17038 hardcode_minus_L_GCJ
=yes
17040 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17041 # that the semantics of dynamic libraries on AmigaOS, at least up
17042 # to version 4, is to share data among multiple programs linked
17043 # with the same dynamic library. Since this doesn't match the
17044 # behavior of shared libraries on other platforms, we can't use
17050 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17051 allow_undefined_flag_GCJ
=unsupported
17052 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17053 # support --undefined. This deserves some investigation. FIXME
17054 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17060 cygwin
* | mingw
* | pw32
*)
17061 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17062 # as there is no search path for DLLs.
17063 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17064 allow_undefined_flag_GCJ
=unsupported
17065 always_export_symbols_GCJ
=no
17066 enable_shared_with_static_runtimes_GCJ
=yes
17067 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17069 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17070 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17071 # If the export-symbols file already is a .def file (1st line
17072 # is EXPORTS), use it as is; otherwise, prepend...
17073 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17074 cp $export_symbols $output_objdir/$soname.def;
17076 echo EXPORTS > $output_objdir/$soname.def;
17077 cat $export_symbols >> $output_objdir/$soname.def;
17079 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17086 hardcode_direct_GCJ
=no
17087 hardcode_shlibpath_var_GCJ
=no
17088 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17089 export_dynamic_flag_spec_GCJ
='${wl}-E'
17090 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17091 # Instead, shared libraries are loaded at an image base (0x10000000 by
17092 # default) and relocated if they conflict, which is a slow very memory
17093 # consuming and fragmenting process. To avoid this, we pick a random,
17094 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17095 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17096 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17097 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17101 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17103 case $cc_basename,$host_cpu in
17104 pgcc
*) # Portland Group C compiler
17105 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17106 tmp_addflag
=' $pic_flag'
17108 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17109 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17110 tmp_addflag
=' $pic_flag -Mnomain' ;;
17111 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17112 tmp_addflag
=' -i_dynamic' ;;
17113 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17114 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17115 ifc
* | ifort
*) # Intel Fortran compiler
17116 tmp_addflag
=' -nofor_main' ;;
17118 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17120 if test $supports_anon_versioning = yes; then
17121 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17122 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17123 $echo "local: *; };" >> $output_objdir/$libname.ver~
17124 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17132 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17133 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17136 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17137 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17142 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17146 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17147 *** create shared libraries on Solaris systems. Therefore, libtool
17148 *** is disabling shared libraries support. We urge you to upgrade GNU
17149 *** binutils to release 2.9.1 or newer. Another option is to modify
17150 *** your PATH or compiler configuration so that the native linker is
17151 *** used, and then restart.
17154 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17155 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17156 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17162 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17163 case `$LD -v 2>&1` in
17164 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17168 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17169 *** reliably create shared libraries on SCO systems. Therefore, libtool
17170 *** is disabling shared libraries support. We urge you to upgrade GNU
17171 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17172 *** your PATH or compiler configuration so that the native linker is
17173 *** used, and then restart.
17178 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17179 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17180 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17181 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17190 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17192 hardcode_direct_GCJ
=yes
17193 hardcode_shlibpath_var_GCJ
=no
17197 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17198 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17199 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17206 if test "$ld_shlibs_GCJ" = no
; then
17208 hardcode_libdir_flag_spec_GCJ
=
17209 export_dynamic_flag_spec_GCJ
=
17210 whole_archive_flag_spec_GCJ
=
17213 # PORTME fill in a description of your system's linker (not GNU ld)
17216 allow_undefined_flag_GCJ
=unsupported
17217 always_export_symbols_GCJ
=yes
17218 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17219 # Note: this linker hardcodes the directories in LIBPATH if there
17220 # are no directories specified by -L.
17221 hardcode_minus_L_GCJ
=yes
17222 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17223 # Neither direct hardcoding nor static linking is supported with a
17225 hardcode_direct_GCJ
=unsupported
17230 if test "$host_cpu" = ia64
; then
17231 # On IA64, the linker does run time linking by default, so we don't
17232 # have to do anything special.
17233 aix_use_runtimelinking
=no
17234 exp_sym_flag
='-Bexport'
17237 # If we're using GNU nm, then we don't want the "-C" option.
17238 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17239 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17240 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17242 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17244 aix_use_runtimelinking
=no
17246 # Test if we are trying to use run time linking or normal
17247 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17248 # need to do runtime linking.
17249 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17250 for ld_flag
in $LDFLAGS; do
17251 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17252 aix_use_runtimelinking
=yes
17259 exp_sym_flag
='-bexport'
17260 no_entry_flag
='-bnoentry'
17263 # When large executables or shared objects are built, AIX ld can
17264 # have problems creating the table of contents. If linking a library
17265 # or program results in "error TOC overflow" add -mminimal-toc to
17266 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17267 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17269 archive_cmds_GCJ
=''
17270 hardcode_direct_GCJ
=yes
17271 hardcode_libdir_separator_GCJ
=':'
17272 link_all_deplibs_GCJ
=yes
17274 if test "$GCC" = yes; then
17275 case $host_os in aix4.
[012]|aix4.
[012].
*)
17276 # We only want to do this on AIX 4.2 and lower, the check
17277 # below for broken collect2 doesn't work under 4.3+
17278 collect2name
=`${CC} -print-prog-name=collect2`
17279 if test -f "$collect2name" && \
17280 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17282 # We have reworked collect2
17283 hardcode_direct_GCJ
=yes
17285 # We have old collect2
17286 hardcode_direct_GCJ
=unsupported
17287 # It fails to find uninstalled libraries when the uninstalled
17288 # path is not listed in the libpath. Setting hardcode_minus_L
17289 # to unsupported forces relinking
17290 hardcode_minus_L_GCJ
=yes
17291 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17292 hardcode_libdir_separator_GCJ
=
17296 shared_flag
='-shared'
17297 if test "$aix_use_runtimelinking" = yes; then
17298 shared_flag
="$shared_flag "'${wl}-G'
17302 if test "$host_cpu" = ia64
; then
17303 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17304 # chokes on -Wl,-G. The following line is correct:
17307 if test "$aix_use_runtimelinking" = yes; then
17308 shared_flag
='${wl}-G'
17310 shared_flag
='${wl}-bM:SRE'
17315 # It seems that -bexpall does not export symbols beginning with
17316 # underscore (_), so it is better to generate a list of symbols to export.
17317 always_export_symbols_GCJ
=yes
17318 if test "$aix_use_runtimelinking" = yes; then
17319 # Warning - without using the other runtime loading flags (-brtl),
17320 # -berok will link without error, but may produce a broken library.
17321 allow_undefined_flag_GCJ
='-berok'
17322 # Determine the default libpath from the value encoded in an empty executable.
17323 cat >conftest.
$ac_ext <<_ACEOF
17326 cat confdefs.h
>>conftest.
$ac_ext
17327 cat >>conftest.
$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17338 rm -f conftest.
$ac_objext conftest
$ac_exeext
17339 if { (ac_try
="$ac_link"
17340 case "(($ac_try" in
17341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17342 *) ac_try_echo=$ac_try;;
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_link") 2>conftest.er1
17347 grep -v '^ *+' conftest.er1 >conftest.err
17349 cat conftest.err >&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } && {
17352 test -z "$ac_c_werror_flag" ||
17353 test ! -s conftest.err
17354 } && test -s conftest$ac_exeext &&
17355 $as_test_x conftest$ac_exeext; then
17357 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17359 # Check for a 64-bit object if we didn't find anything.
17360 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17363 echo "$as_me: failed program was:" >&5
17364 sed 's/^/| /' conftest.$ac_ext >&5
17369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17370 conftest$ac_exeext conftest.$ac_ext
17371 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17373 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17374 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17376 if test "$host_cpu" = ia64; then
17377 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17378 allow_undefined_flag_GCJ="-z nodefs"
17379 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17381 # Determine the default libpath from the value encoded in an empty executable.
17382 cat >conftest.$ac_ext <<_ACEOF
17385 cat confdefs.h >>conftest.$ac_ext
17386 cat >>conftest.$ac_ext <<_ACEOF
17387 /* end confdefs.h. */
17397 rm -f conftest.$ac_objext conftest$ac_exeext
17398 if { (ac_try="$ac_link"
17399 case "(($ac_try" in
17400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17401 *) ac_try_echo
=$ac_try;;
17403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17404 (eval "$ac_link") 2>conftest.er1
17406 grep -v '^ *+' conftest.er1
>conftest.err
17408 cat conftest.err
>&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } && {
17411 test -z "$ac_c_werror_flag" ||
17412 test ! -s conftest.err
17413 } && test -s conftest
$ac_exeext &&
17414 $as_test_x conftest
$ac_exeext; then
17416 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17418 # Check for a 64-bit object if we didn't find anything.
17419 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17422 echo "$as_me: failed program was:" >&5
17423 sed 's/^/| /' conftest.
$ac_ext >&5
17428 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17429 conftest
$ac_exeext conftest.
$ac_ext
17430 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17432 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17433 # Warning - without using the other run time loading flags,
17434 # -berok will link without error, but may produce a broken library.
17435 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17436 allow_undefined_flag_GCJ
=' ${wl}-berok'
17437 # Exported symbols can be pulled into shared objects from archives
17438 whole_archive_flag_spec_GCJ
='$convenience'
17439 archive_cmds_need_lc_GCJ
=yes
17440 # This is similar to how AIX traditionally builds its shared libraries.
17441 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17447 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17448 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17449 hardcode_minus_L_GCJ
=yes
17450 # see comment about different semantics on the GNU ld section
17455 export_dynamic_flag_spec_GCJ
=-rdynamic
17458 cygwin
* | mingw
* | pw32
*)
17459 # When not using gcc, we currently assume that we are using
17460 # Microsoft Visual C++.
17461 # hardcode_libdir_flag_spec is actually meaningless, as there is
17462 # no search path for DLLs.
17463 hardcode_libdir_flag_spec_GCJ
=' '
17464 allow_undefined_flag_GCJ
=unsupported
17465 # Tell ltmain to make .lib files, not .a files.
17467 # Tell ltmain to make .dll files, not .so files.
17469 # FIXME: Setting linknames here is a bad hack.
17470 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17471 # The linker will automatically build a .lib file if we build a DLL.
17472 old_archive_From_new_cmds_GCJ
='true'
17473 # FIXME: Should let the user specify the lib program.
17474 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17475 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17476 enable_shared_with_static_runtimes_GCJ
=yes
17479 darwin
* | rhapsody
*)
17481 rhapsody
* | darwin1.
[012])
17482 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17485 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17486 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17488 case ${MACOSX_DEPLOYMENT_TARGET} in
17490 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17493 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17499 archive_cmds_need_lc_GCJ
=no
17500 hardcode_direct_GCJ
=no
17501 hardcode_automatic_GCJ
=yes
17502 hardcode_shlibpath_var_GCJ
=unsupported
17503 whole_archive_flag_spec_GCJ
=''
17504 link_all_deplibs_GCJ
=yes
17505 if test "$GCC" = yes ; then
17506 output_verbose_link_cmd
='echo'
17507 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17508 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17509 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17510 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17511 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17513 case $cc_basename in
17515 output_verbose_link_cmd
='echo'
17516 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17517 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17518 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17519 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17520 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17530 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17531 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17532 hardcode_shlibpath_var_GCJ
=no
17539 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17540 # support. Future versions do this automatically, but an explicit c++rt0.o
17541 # does not break anything, and helps significantly (at the cost of a little
17544 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17545 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17546 hardcode_direct_GCJ
=yes
17547 hardcode_shlibpath_var_GCJ
=no
17550 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17552 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17553 hardcode_direct_GCJ
=yes
17554 hardcode_minus_L_GCJ
=yes
17555 hardcode_shlibpath_var_GCJ
=no
17558 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17559 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17560 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17561 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17562 hardcode_direct_GCJ
=yes
17563 hardcode_shlibpath_var_GCJ
=no
17567 if test "$GCC" = yes; then
17568 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17570 archive_cmds_GCJ
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17572 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17573 hardcode_libdir_separator_GCJ
=:
17574 hardcode_direct_GCJ
=yes
17576 # hardcode_minus_L: Not really in the search PATH,
17577 # but as the default location of the library.
17578 hardcode_minus_L_GCJ
=yes
17579 export_dynamic_flag_spec_GCJ
='${wl}-E'
17583 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17584 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17586 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17588 if test "$with_gnu_ld" = no
; then
17589 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17590 hardcode_libdir_separator_GCJ
=:
17592 hardcode_direct_GCJ
=yes
17593 export_dynamic_flag_spec_GCJ
='${wl}-E'
17595 # hardcode_minus_L: Not really in the search PATH,
17596 # but as the default location of the library.
17597 hardcode_minus_L_GCJ
=yes
17602 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17605 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17608 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17611 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17617 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17620 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17623 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17627 if test "$with_gnu_ld" = no
; then
17628 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17629 hardcode_libdir_separator_GCJ
=:
17633 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17634 hardcode_direct_GCJ
=no
17635 hardcode_shlibpath_var_GCJ
=no
17638 hardcode_direct_GCJ
=yes
17639 export_dynamic_flag_spec_GCJ
='${wl}-E'
17641 # hardcode_minus_L: Not really in the search PATH,
17642 # but as the default location of the library.
17643 hardcode_minus_L_GCJ
=yes
17649 irix5
* | irix6
* | nonstopux
*)
17650 if test "$GCC" = yes; then
17651 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17653 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17654 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17656 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17657 hardcode_libdir_separator_GCJ
=:
17658 link_all_deplibs_GCJ
=yes
17662 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17663 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17665 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17667 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17668 hardcode_direct_GCJ
=yes
17669 hardcode_shlibpath_var_GCJ
=no
17673 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17674 hardcode_direct_GCJ
=yes
17675 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17676 hardcode_libdir_separator_GCJ
=:
17677 hardcode_shlibpath_var_GCJ
=no
17681 hardcode_direct_GCJ
=yes
17682 hardcode_shlibpath_var_GCJ
=no
17683 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17684 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17685 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17686 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17687 export_dynamic_flag_spec_GCJ
='${wl}-E'
17690 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17691 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17692 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17695 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17696 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17703 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17704 hardcode_minus_L_GCJ
=yes
17705 allow_undefined_flag_GCJ
=unsupported
17706 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17707 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17711 if test "$GCC" = yes; then
17712 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17713 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17715 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17716 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17718 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17719 hardcode_libdir_separator_GCJ
=:
17722 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17723 if test "$GCC" = yes; then
17724 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17725 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17726 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17728 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17729 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17730 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17731 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17733 # Both c and cxx compiler support -rpath directly
17734 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17736 hardcode_libdir_separator_GCJ
=:
17740 no_undefined_flag_GCJ
=' -z text'
17741 if test "$GCC" = yes; then
17743 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17744 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17745 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17748 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17749 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17750 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17752 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17753 hardcode_shlibpath_var_GCJ
=no
17755 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17757 # The compiler driver will combine linker options so we
17758 # cannot just pass the convience library names through
17759 # without $wl, iff we do not link with $LD.
17760 # Luckily, gcc supports the same syntax we need for Sun Studio.
17761 # Supported since Solaris 2.6 (maybe 2.5.1?)
17764 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17766 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17769 link_all_deplibs_GCJ
=yes
17773 if test "x$host_vendor" = xsequent
; then
17774 # Use $CC to link under sequent, because it throws in some extra .o
17775 # files that make .init and .fini sections work.
17776 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17778 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17780 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17781 hardcode_direct_GCJ
=yes
17782 hardcode_minus_L_GCJ
=yes
17783 hardcode_shlibpath_var_GCJ
=no
17787 case $host_vendor in
17789 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17790 hardcode_direct_GCJ
=yes # is this really true???
17793 ## LD is ld it makes a PLAMLIB
17794 ## CC just makes a GrossModule.
17795 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17796 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17797 hardcode_direct_GCJ
=no
17800 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17801 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17804 runpath_var
='LD_RUN_PATH'
17805 hardcode_shlibpath_var_GCJ
=no
17809 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17810 hardcode_shlibpath_var_GCJ
=no
17811 export_dynamic_flag_spec_GCJ
='-Bexport'
17815 if test -d /usr
/nec
; then
17816 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17817 hardcode_shlibpath_var_GCJ
=no
17818 runpath_var
=LD_RUN_PATH
17819 hardcode_runpath_var
=yes
17824 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17825 no_undefined_flag_GCJ
='${wl}-z,text'
17826 archive_cmds_need_lc_GCJ
=no
17827 hardcode_shlibpath_var_GCJ
=no
17828 runpath_var
='LD_RUN_PATH'
17830 if test "$GCC" = yes; then
17831 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17832 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17834 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17835 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17839 sysv5
* | sco3.2v5
* | sco5v6
*)
17840 # Note: We can NOT use -z defs as we might desire, because we do not
17841 # link with -lc, and that would cause any symbols used from libc to
17842 # always be unresolved, which means just about no library would
17843 # ever link correctly. If we're not using GNU ld we use -z text
17844 # though, which does catch some bad symbols but isn't as heavy-handed
17846 no_undefined_flag_GCJ
='${wl}-z,text'
17847 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17848 archive_cmds_need_lc_GCJ
=no
17849 hardcode_shlibpath_var_GCJ
=no
17850 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17851 hardcode_libdir_separator_GCJ
=':'
17852 link_all_deplibs_GCJ
=yes
17853 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17854 runpath_var
='LD_RUN_PATH'
17856 if test "$GCC" = yes; then
17857 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17858 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17860 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17861 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17866 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17867 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17868 hardcode_shlibpath_var_GCJ
=no
17877 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17878 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17879 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17882 # Do we need to explicitly link libc?
17884 case "x$archive_cmds_need_lc_GCJ" in
17886 # Assume -lc should be added
17887 archive_cmds_need_lc_GCJ
=yes
17889 if test "$enable_shared" = yes && test "$GCC" = yes; then
17890 case $archive_cmds_GCJ in
17892 # FIXME: we may have to deal with multi-command sequences.
17895 # Test whether the compiler implicitly links with -lc since on some
17896 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17897 # to ld, don't add -lc before -lgcc.
17898 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17899 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17901 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17904 (eval $ac_compile) 2>&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } 2>conftest.err
; then
17910 libobjs
=conftest.
$ac_objext
17912 wl
=$lt_prog_compiler_wl_GCJ
17913 pic_flag
=$lt_prog_compiler_pic_GCJ
17919 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17920 allow_undefined_flag_GCJ
=
17921 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17922 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }
17927 archive_cmds_need_lc_GCJ
=no
17929 archive_cmds_need_lc_GCJ
=yes
17931 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17933 cat conftest.err
1>&5
17936 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17937 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17944 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17945 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17946 library_names_spec
=
17947 libname_spec
='lib$name'
17951 postuninstall_cmds
=
17955 shlibpath_overrides_runpath
=unknown
17957 dynamic_linker
="$host_os ld.so"
17958 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17959 if test "$GCC" = yes; then
17960 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17961 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17962 # if the path contains ";" then we assume it to be the separator
17963 # otherwise default to the standard path separator (i.e. ":") - it is
17964 # assumed that no part of a normal pathname contains ";" but that should
17965 # okay in the real world where ";" in dirpaths is itself problematic.
17966 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17968 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17971 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17973 need_lib_prefix
=unknown
17974 hardcode_into_libs
=no
17976 # when you set need_version to no, make sure it does not cause -set_version
17977 # flags to be left without arguments
17978 need_version
=unknown
17983 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17984 shlibpath_var
=LIBPATH
17986 # AIX 3 has no versioning support, so we append a major version to the name.
17987 soname_spec
='${libname}${release}${shared_ext}$major'
17994 hardcode_into_libs
=yes
17995 if test "$host_cpu" = ia64
; then
17996 # AIX 5 supports IA64
17997 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17998 shlibpath_var
=LD_LIBRARY_PATH
18000 # With GCC up to 2.95.x, collect2 would create an import file
18001 # for dependence libraries. The import file would start with
18002 # the line `#! .'. This would cause the generated library to
18003 # depend on `.', always an invalid library. This was fixed in
18004 # development snapshots of GCC prior to 3.0.
18006 aix4 | aix4.
[01] | aix4.
[01].
*)
18007 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18009 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18012 can_build_shared
=no
18016 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18017 # soname into executable. Probably we can add versioning support to
18018 # collect2, so additional links can be useful in future.
18019 if test "$aix_use_runtimelinking" = yes; then
18020 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18021 # instead of lib<name>.a to let people know that these are not
18022 # typical AIX shared libraries.
18023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18025 # We preserve .a as extension for shared libraries through AIX4.2
18026 # and later when we are not doing run time linking.
18027 library_names_spec
='${libname}${release}.a $libname.a'
18028 soname_spec
='${libname}${release}${shared_ext}$major'
18030 shlibpath_var
=LIBPATH
18035 library_names_spec
='$libname.ixlibrary $libname.a'
18036 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18037 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18041 library_names_spec
='${libname}${shared_ext}'
18042 dynamic_linker
="$host_os ld.so"
18043 shlibpath_var
=LIBRARY_PATH
18049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18050 soname_spec
='${libname}${release}${shared_ext}$major'
18051 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18052 shlibpath_var
=LD_LIBRARY_PATH
18053 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18054 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18055 # the default ld.so.conf also contains /usr/contrib/lib and
18056 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18057 # libtool to hard-code these into programs
18060 cygwin
* | mingw
* | pw32
*)
18061 version_type
=windows
18066 case $GCC,$host_os in
18067 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18068 library_names_spec
='$libname.dll.a'
18069 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18070 postinstall_cmds
='base_file=`basename \${file}`~
18071 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18072 dldir=$destdir/`dirname \$dlpath`~
18073 test -d \$dldir || mkdir -p \$dldir~
18074 $install_prog $dir/$dlname \$dldir/$dlname~
18075 chmod a+x \$dldir/$dlname'
18076 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18077 dlpath=$dir/\$dldll~
18079 shlibpath_overrides_runpath
=yes
18083 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18084 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18085 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18088 # MinGW DLLs use traditional 'lib' prefix
18089 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18090 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18091 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18092 # It is most probably a Windows format PATH printed by
18093 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18094 # path with ; separators, and with drive letters. We can handle the
18095 # drive letters (cygwin fileutils understands them), so leave them,
18096 # especially as we might pass files found there to a mingw objdump,
18097 # which wouldn't understand a cygwinified path. Ahh.
18098 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18100 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18104 # pw32 DLLs use 'pw' prefix rather than 'lib'
18105 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18111 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18114 dynamic_linker
='Win32 ld.exe'
18115 # FIXME: first we should search . and the directory the executable is in
18119 darwin
* | rhapsody
*)
18120 dynamic_linker
="$host_os dyld"
18121 version_type
=darwin
18124 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18125 soname_spec
='${libname}${release}${major}$shared_ext'
18126 shlibpath_overrides_runpath
=yes
18127 shlibpath_var
=DYLD_LIBRARY_PATH
18128 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18129 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18130 if test "$GCC" = yes; then
18131 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18133 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18135 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18143 soname_spec
='${libname}${release}${shared_ext}$major'
18144 shlibpath_var
=LD_LIBRARY_PATH
18155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18156 soname_spec
='${libname}${release}${shared_ext}$major'
18157 shlibpath_var
=LD_LIBRARY_PATH
18158 shlibpath_overrides_runpath
=no
18159 hardcode_into_libs
=yes
18160 dynamic_linker
='GNU ld.so'
18163 freebsd
* | dragonfly
*)
18164 # DragonFly does not have aout. When/if they implement a new
18165 # versioning mechanism, adjust this.
18166 if test -x /usr
/bin
/objformat
; then
18167 objformat
=`/usr/bin/objformat`
18170 freebsd
[123]*) objformat
=aout
;;
18171 *) objformat
=elf
;;
18174 version_type
=freebsd-
$objformat
18175 case $version_type in
18177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18182 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18186 shlibpath_var
=LD_LIBRARY_PATH
18189 shlibpath_overrides_runpath
=yes
18191 freebsd3.
[01]* | freebsdelf3.
[01]*)
18192 shlibpath_overrides_runpath
=yes
18193 hardcode_into_libs
=yes
18195 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18196 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18197 shlibpath_overrides_runpath
=no
18198 hardcode_into_libs
=yes
18200 freebsd
*) # from 4.6 on
18201 shlibpath_overrides_runpath
=yes
18202 hardcode_into_libs
=yes
18211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18212 soname_spec
='${libname}${release}${shared_ext}$major'
18213 shlibpath_var
=LD_LIBRARY_PATH
18214 hardcode_into_libs
=yes
18217 hpux9
* | hpux10
* | hpux11
*)
18218 # Give a soname corresponding to the major version so that dld.sl refuses to
18219 # link against other versions.
18226 hardcode_into_libs
=yes
18227 dynamic_linker
="$host_os dld.so"
18228 shlibpath_var
=LD_LIBRARY_PATH
18229 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18231 soname_spec
='${libname}${release}${shared_ext}$major'
18232 if test "X$HPUX_IA64_MODE" = X32
; then
18233 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18235 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18237 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18241 hardcode_into_libs
=yes
18242 dynamic_linker
="$host_os dld.sl"
18243 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18244 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18246 soname_spec
='${libname}${release}${shared_ext}$major'
18247 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18248 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18252 dynamic_linker
="$host_os dld.sl"
18253 shlibpath_var
=SHLIB_PATH
18254 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18256 soname_spec
='${libname}${release}${shared_ext}$major'
18259 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18260 postinstall_cmds
='chmod 555 $lib'
18267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18268 soname_spec
='${libname}${release}${shared_ext}$major'
18269 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18270 shlibpath_var
=LD_LIBRARY_PATH
18271 shlibpath_overrides_runpath
=no
18272 hardcode_into_libs
=yes
18275 irix5
* | irix6
* | nonstopux
*)
18277 nonstopux
*) version_type
=nonstopux
;;
18279 if test "$lt_cv_prog_gnu_ld" = yes; then
18287 soname_spec
='${libname}${release}${shared_ext}$major'
18288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18290 irix5
* | nonstopux
*)
18291 libsuff
= shlibsuff
=
18294 case $LD in # libtool.m4 will add one of these switches to LD
18295 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18296 libsuff
= shlibsuff
= libmagic
=32-bit;;
18297 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18298 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18299 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18300 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18301 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18305 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18306 shlibpath_overrides_runpath
=no
18307 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18308 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18309 hardcode_into_libs
=yes
18312 # No shared lib support for Linux oldld, aout, or coff.
18313 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18317 # This must be Linux ELF.
18322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18323 soname_spec
='${libname}${release}${shared_ext}$major'
18324 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18325 shlibpath_var
=LD_LIBRARY_PATH
18326 shlibpath_overrides_runpath
=no
18327 # This implies no fast_install, which is unacceptable.
18328 # Some rework will be needed to allow for fast_install
18329 # before this can be enabled.
18330 hardcode_into_libs
=yes
18332 # find out which ABI we are using
18334 case "$host_cpu" in
18335 x86_64
*|s390x
*|powerpc64
*)
18336 echo '#line 18336 "configure"' > conftest.
$ac_ext
18337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18338 (eval $ac_compile) 2>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); }; then
18342 case `/usr/bin/file conftest.$ac_objext` in
18345 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18353 # Append ld.so.conf contents to the search path
18354 if test -f /etc
/ld.so.conf
; then
18355 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18356 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18359 # We used to test for /lib/ld.so.1 and disable shared libraries on
18360 # powerpc, because MkLinux only supported shared libraries with the
18361 # GNU dynamic linker. Since this was broken with cross compilers,
18362 # most powerpc-linux boxes support dynamic linking these days and
18363 # people can always --disable-shared, the test was removed, and we
18364 # assume the GNU/Linux dynamic linker is in use.
18365 dynamic_linker
='GNU/Linux ld.so'
18372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18373 soname_spec
='${libname}${release}${shared_ext}$major'
18374 shlibpath_var
=LD_LIBRARY_PATH
18375 shlibpath_overrides_runpath
=no
18376 hardcode_into_libs
=yes
18377 dynamic_linker
='GNU ld.so'
18384 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18386 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18387 dynamic_linker
='NetBSD (a.out) ld.so'
18389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18390 soname_spec
='${libname}${release}${shared_ext}$major'
18391 dynamic_linker
='NetBSD ld.elf_so'
18393 shlibpath_var
=LD_LIBRARY_PATH
18394 shlibpath_overrides_runpath
=yes
18395 hardcode_into_libs
=yes
18400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18401 shlibpath_var
=LD_LIBRARY_PATH
18402 shlibpath_overrides_runpath
=yes
18409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18410 soname_spec
='${libname}${release}${shared_ext}$major'
18411 shlibpath_var
=LD_LIBRARY_PATH
18412 shlibpath_overrides_runpath
=yes
18417 sys_lib_dlsearch_path_spec
="/usr/lib"
18419 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18421 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18422 *) need_version
=no
;;
18424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18425 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18426 shlibpath_var
=LD_LIBRARY_PATH
18427 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18429 openbsd2.
[89] | openbsd2.
[89].
*)
18430 shlibpath_overrides_runpath
=no
18433 shlibpath_overrides_runpath
=yes
18437 shlibpath_overrides_runpath
=yes
18442 libname_spec
='$name'
18445 library_names_spec
='$libname${shared_ext} $libname.a'
18446 dynamic_linker
='OS/2 ld.exe'
18447 shlibpath_var
=LIBPATH
18450 osf3
* | osf4
* | osf5
*)
18454 soname_spec
='${libname}${release}${shared_ext}$major'
18455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18456 shlibpath_var
=LD_LIBRARY_PATH
18457 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18458 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18466 soname_spec
='${libname}${release}${shared_ext}$major'
18467 shlibpath_var
=LD_LIBRARY_PATH
18468 shlibpath_overrides_runpath
=yes
18469 hardcode_into_libs
=yes
18470 # ldd complains unless libraries are executable
18471 postinstall_cmds
='chmod +x $lib'
18476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18477 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18478 shlibpath_var
=LD_LIBRARY_PATH
18479 shlibpath_overrides_runpath
=yes
18480 if test "$with_gnu_ld" = yes; then
18488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18489 soname_spec
='${libname}${release}${shared_ext}$major'
18490 shlibpath_var
=LD_LIBRARY_PATH
18491 case $host_vendor in
18493 shlibpath_overrides_runpath
=no
18495 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18496 runpath_var
=LD_RUN_PATH
18504 shlibpath_overrides_runpath
=no
18505 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18511 if test -d /usr
/nec
;then
18513 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18514 soname_spec
='$libname${shared_ext}.$major'
18515 shlibpath_var
=LD_LIBRARY_PATH
18519 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18520 version_type
=freebsd-elf
18523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18524 soname_spec
='${libname}${release}${shared_ext}$major'
18525 shlibpath_var
=LD_LIBRARY_PATH
18526 hardcode_into_libs
=yes
18527 if test "$with_gnu_ld" = yes; then
18528 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18529 shlibpath_overrides_runpath
=no
18531 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18532 shlibpath_overrides_runpath
=yes
18535 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18539 sys_lib_dlsearch_path_spec
='/usr/lib'
18544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18545 soname_spec
='${libname}${release}${shared_ext}$major'
18546 shlibpath_var
=LD_LIBRARY_PATH
18553 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18554 echo "${ECHO_T}$dynamic_linker" >&6; }
18555 test "$dynamic_linker" = no
&& can_build_shared
=no
18557 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18558 if test "$GCC" = yes; then
18559 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18562 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18563 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18564 hardcode_action_GCJ
=
18565 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18566 test -n "$runpath_var_GCJ" || \
18567 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18569 # We can hardcode non-existant directories.
18570 if test "$hardcode_direct_GCJ" != no
&&
18571 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18572 # have to relink, otherwise we might link with an installed library
18573 # when we should be linking with a yet-to-be-installed one
18574 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18575 test "$hardcode_minus_L_GCJ" != no
; then
18576 # Linking always hardcodes the temporary library directory.
18577 hardcode_action_GCJ
=relink
18579 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18580 hardcode_action_GCJ
=immediate
18583 # We cannot hardcode anything, or else we can only hardcode existing
18585 hardcode_action_GCJ
=unsupported
18587 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18588 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18590 if test "$hardcode_action_GCJ" = relink
; then
18591 # Fast installation is not supported
18592 enable_fast_install
=no
18593 elif test "$shlibpath_overrides_runpath" = yes ||
18594 test "$enable_shared" = no
; then
18595 # Fast installation is not necessary
18596 enable_fast_install
=needless
18600 # The else clause should only fire when bootstrapping the
18601 # libtool distribution, otherwise you forgot to ship ltmain.sh
18602 # with your package, and you will get complaints that there are
18603 # no rules to generate ltmain.sh.
18604 if test -f "$ltmain"; then
18605 # See if we are running on zsh, and set the options which allow our commands through
18606 # without removal of \ escapes.
18607 if test -n "${ZSH_VERSION+set}" ; then
18608 setopt NO_GLOB_SUBST
18610 # Now quote all the things that may contain metacharacters while being
18611 # careful not to overquote the AC_SUBSTed values. We take copies of the
18612 # variables and quote the copies for generation of the libtool script.
18613 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18615 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18616 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18617 deplibs_check_method reload_flag reload_cmds need_locks \
18618 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18619 lt_cv_sys_global_symbol_to_c_name_address \
18620 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18621 old_postinstall_cmds old_postuninstall_cmds \
18625 lt_prog_compiler_wl_GCJ \
18626 lt_prog_compiler_pic_GCJ \
18627 lt_prog_compiler_static_GCJ \
18628 lt_prog_compiler_no_builtin_flag_GCJ \
18629 export_dynamic_flag_spec_GCJ \
18630 thread_safe_flag_spec_GCJ \
18631 whole_archive_flag_spec_GCJ \
18632 enable_shared_with_static_runtimes_GCJ \
18633 old_archive_cmds_GCJ \
18634 old_archive_from_new_cmds_GCJ \
18635 predep_objects_GCJ \
18636 postdep_objects_GCJ \
18639 compiler_lib_search_path_GCJ \
18641 archive_expsym_cmds_GCJ \
18642 postinstall_cmds_GCJ \
18643 postuninstall_cmds_GCJ \
18644 old_archive_from_expsyms_cmds_GCJ \
18645 allow_undefined_flag_GCJ \
18646 no_undefined_flag_GCJ \
18647 export_symbols_cmds_GCJ \
18648 hardcode_libdir_flag_spec_GCJ \
18649 hardcode_libdir_flag_spec_ld_GCJ \
18650 hardcode_libdir_separator_GCJ \
18651 hardcode_automatic_GCJ \
18653 module_expsym_cmds_GCJ \
18654 lt_cv_prog_compiler_c_o_GCJ \
18655 exclude_expsyms_GCJ \
18656 include_expsyms_GCJ
; do
18659 old_archive_cmds_GCJ | \
18660 old_archive_from_new_cmds_GCJ | \
18661 archive_cmds_GCJ | \
18662 archive_expsym_cmds_GCJ | \
18663 module_cmds_GCJ | \
18664 module_expsym_cmds_GCJ | \
18665 old_archive_from_expsyms_cmds_GCJ | \
18666 export_symbols_cmds_GCJ | \
18667 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18668 postinstall_cmds | postuninstall_cmds | \
18669 old_postinstall_cmds | old_postuninstall_cmds | \
18670 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18671 # Double-quote double-evaled strings.
18672 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18675 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18681 *'\$0 --fallback-echo"')
18682 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18688 cat <<__EOF__ >> "$cfgfile"
18689 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18691 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18693 # Shell to use when invoking shell scripts.
18696 # Whether or not to build shared libraries.
18697 build_libtool_libs=$enable_shared
18699 # Whether or not to build static libraries.
18700 build_old_libs=$enable_static
18702 # Whether or not to add -lc for building shared libraries.
18703 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18705 # Whether or not to disallow shared libs when runtime libs are static
18706 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18708 # Whether or not to optimize for fast installation.
18709 fast_install=$enable_fast_install
18712 host_alias=$host_alias
18716 # The build system.
18717 build_alias=$build_alias
18721 # An echo program that does not interpret backslashes.
18726 AR_FLAGS=$lt_AR_FLAGS
18731 # LTCC compiler flags.
18732 LTCFLAGS=$lt_LTCFLAGS
18734 # A language-specific compiler.
18735 CC=$lt_compiler_GCJ
18737 # Is the compiler the GNU C compiler?
18743 # The linker used to build libraries.
18746 # Whether we need hard or soft links.
18749 # A BSD-compatible nm program.
18752 # A symbol stripping program
18755 # Used to examine libraries when file_magic_cmd begins "file"
18756 MAGIC_CMD=$MAGIC_CMD
18758 # Used on cygwin: DLL creation program.
18761 # Used on cygwin: object dumper.
18764 # Used on cygwin: assembler.
18767 # The name of the directory that contains temporary libtool files.
18770 # How to create reloadable object files.
18771 reload_flag=$lt_reload_flag
18772 reload_cmds=$lt_reload_cmds
18774 # How to pass a linker flag through the compiler.
18775 wl=$lt_lt_prog_compiler_wl_GCJ
18777 # Object file suffix (normally "o").
18778 objext="$ac_objext"
18780 # Old archive suffix (normally "a").
18783 # Shared library suffix (normally ".so").
18784 shrext_cmds='$shrext_cmds'
18786 # Executable file suffix (normally "").
18789 # Additional compiler flags for building library objects.
18790 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18793 # What is the maximum length of a command?
18794 max_cmd_len=$lt_cv_sys_max_cmd_len
18796 # Does compiler simultaneously support -c and -o options?
18797 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18799 # Must we lock files when doing compilation?
18800 need_locks=$lt_need_locks
18802 # Do we need the lib prefix for modules?
18803 need_lib_prefix=$need_lib_prefix
18805 # Do we need a version for libraries?
18806 need_version=$need_version
18808 # Whether dlopen is supported.
18809 dlopen_support=$enable_dlopen
18811 # Whether dlopen of programs is supported.
18812 dlopen_self=$enable_dlopen_self
18814 # Whether dlopen of statically linked programs is supported.
18815 dlopen_self_static=$enable_dlopen_self_static
18817 # Compiler flag to prevent dynamic linking.
18818 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18820 # Compiler flag to turn off builtin functions.
18821 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18823 # Compiler flag to allow reflexive dlopens.
18824 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18826 # Compiler flag to generate shared objects directly from archives.
18827 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18829 # Compiler flag to generate thread-safe objects.
18830 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18832 # Library versioning type.
18833 version_type=$version_type
18835 # Format of library name prefix.
18836 libname_spec=$lt_libname_spec
18838 # List of archive names. First name is the real one, the rest are links.
18839 # The last name is the one that the linker finds with -lNAME.
18840 library_names_spec=$lt_library_names_spec
18842 # The coded name of the library, if different from the real name.
18843 soname_spec=$lt_soname_spec
18845 # Commands used to build and install an old-style archive.
18847 old_archive_cmds=$lt_old_archive_cmds_GCJ
18848 old_postinstall_cmds=$lt_old_postinstall_cmds
18849 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18851 # Create an old-style archive from a shared archive.
18852 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18854 # Create a temporary old-style archive to link instead of a shared archive.
18855 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18857 # Commands used to build and install a shared archive.
18858 archive_cmds=$lt_archive_cmds_GCJ
18859 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18860 postinstall_cmds=$lt_postinstall_cmds
18861 postuninstall_cmds=$lt_postuninstall_cmds
18863 # Commands used to build a loadable module (assumed same as above if empty)
18864 module_cmds=$lt_module_cmds_GCJ
18865 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18867 # Commands to strip libraries.
18868 old_striplib=$lt_old_striplib
18869 striplib=$lt_striplib
18871 # Dependencies to place before the objects being linked to create a
18873 predep_objects=$lt_predep_objects_GCJ
18875 # Dependencies to place after the objects being linked to create a
18877 postdep_objects=$lt_postdep_objects_GCJ
18879 # Dependencies to place before the objects being linked to create a
18881 predeps=$lt_predeps_GCJ
18883 # Dependencies to place after the objects being linked to create a
18885 postdeps=$lt_postdeps_GCJ
18887 # The library search path used internally by the compiler when linking
18888 # a shared library.
18889 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18891 # Method to check whether dependent libraries are shared objects.
18892 deplibs_check_method=$lt_deplibs_check_method
18894 # Command to use when deplibs_check_method == file_magic.
18895 file_magic_cmd=$lt_file_magic_cmd
18897 # Flag that allows shared libraries with undefined symbols to be built.
18898 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18900 # Flag that forces no undefined symbols.
18901 no_undefined_flag=$lt_no_undefined_flag_GCJ
18903 # Commands used to finish a libtool library installation in a directory.
18904 finish_cmds=$lt_finish_cmds
18906 # Same as above, but a single script fragment to be evaled but not shown.
18907 finish_eval=$lt_finish_eval
18909 # Take the output of nm and produce a listing of raw symbols and C names.
18910 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18912 # Transform the output of nm in a proper C declaration
18913 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18915 # Transform the output of nm in a C name address pair
18916 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18918 # This is the shared library runtime path variable.
18919 runpath_var=$runpath_var
18921 # This is the shared library path variable.
18922 shlibpath_var=$shlibpath_var
18924 # Is shlibpath searched before the hard-coded library search path?
18925 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18927 # How to hardcode a shared library path into an executable.
18928 hardcode_action=$hardcode_action_GCJ
18930 # Whether we should hardcode library paths into libraries.
18931 hardcode_into_libs=$hardcode_into_libs
18933 # Flag to hardcode \$libdir into a binary during linking.
18934 # This must work even if \$libdir does not exist.
18935 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18937 # If ld is used when linking, flag to hardcode \$libdir into
18938 # a binary during linking. This must work even if \$libdir does
18940 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18942 # Whether we need a single -rpath flag with a separated argument.
18943 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18945 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18946 # resulting binary.
18947 hardcode_direct=$hardcode_direct_GCJ
18949 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18950 # resulting binary.
18951 hardcode_minus_L=$hardcode_minus_L_GCJ
18953 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18954 # the resulting binary.
18955 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18957 # Set to yes if building a shared library automatically hardcodes DIR into the library
18958 # and all subsequent libraries and executables linked against it.
18959 hardcode_automatic=$hardcode_automatic_GCJ
18961 # Variables whose values should be saved in libtool wrapper scripts and
18962 # restored at relink time.
18963 variables_saved_for_relink="$variables_saved_for_relink"
18965 # Whether libtool must link a program against all its dependency libraries.
18966 link_all_deplibs=$link_all_deplibs_GCJ
18968 # Compile-time system search path for libraries
18969 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18971 # Run-time system search path for libraries
18972 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18974 # Fix the shell variable \$srcfile for the compiler.
18975 fix_srcfile_path="$fix_srcfile_path_GCJ"
18977 # Set to yes if exported symbols are required.
18978 always_export_symbols=$always_export_symbols_GCJ
18980 # The commands to list exported symbols.
18981 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18983 # The commands to extract the exported symbol list from a shared archive.
18984 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18986 # Symbols that should not be listed in the preloaded symbols.
18987 exclude_expsyms=$lt_exclude_expsyms_GCJ
18989 # Symbols that must always be exported.
18990 include_expsyms=$lt_include_expsyms_GCJ
18992 # ### END LIBTOOL TAG CONFIG: $tagname
18998 # If there is no Makefile yet, we rely on a make rule to execute
18999 # `config.status --recheck' to rerun these tests and create the
19000 # libtool script then.
19001 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19002 if test -f "$ltmain_in"; then
19003 test -f Makefile
&& make "$ltmain"
19009 ac_cpp
='$CPP $CPPFLAGS'
19010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19024 # Source file extension for RC test sources.
19027 # Object file extension for compiled RC test sources.
19031 # Code to be used in simple compile tests
19032 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19034 # Code to be used in simple link tests
19035 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19037 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19039 # If no C compiler was specified, use CC.
19042 # If no C compiler flags were specified, use CFLAGS.
19043 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19045 # Allow CC to be a program name with arguments.
19049 # save warnings/boilerplate of simple test code
19050 ac_outfile
=conftest.
$ac_objext
19051 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19052 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19053 _lt_compiler_boilerplate
=`cat conftest.err`
19056 ac_outfile
=conftest.
$ac_objext
19057 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19058 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19059 _lt_linker_boilerplate
=`cat conftest.err`
19063 # Allow CC to be a program name with arguments.
19068 for cc_temp
in $compiler""; do
19070 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19071 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19076 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19078 lt_cv_prog_compiler_c_o_RC
=yes
19080 # The else clause should only fire when bootstrapping the
19081 # libtool distribution, otherwise you forgot to ship ltmain.sh
19082 # with your package, and you will get complaints that there are
19083 # no rules to generate ltmain.sh.
19084 if test -f "$ltmain"; then
19085 # See if we are running on zsh, and set the options which allow our commands through
19086 # without removal of \ escapes.
19087 if test -n "${ZSH_VERSION+set}" ; then
19088 setopt NO_GLOB_SUBST
19090 # Now quote all the things that may contain metacharacters while being
19091 # careful not to overquote the AC_SUBSTed values. We take copies of the
19092 # variables and quote the copies for generation of the libtool script.
19093 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19095 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19096 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19097 deplibs_check_method reload_flag reload_cmds need_locks \
19098 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19099 lt_cv_sys_global_symbol_to_c_name_address \
19100 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19101 old_postinstall_cmds old_postuninstall_cmds \
19105 lt_prog_compiler_wl_RC \
19106 lt_prog_compiler_pic_RC \
19107 lt_prog_compiler_static_RC \
19108 lt_prog_compiler_no_builtin_flag_RC \
19109 export_dynamic_flag_spec_RC \
19110 thread_safe_flag_spec_RC \
19111 whole_archive_flag_spec_RC \
19112 enable_shared_with_static_runtimes_RC \
19113 old_archive_cmds_RC \
19114 old_archive_from_new_cmds_RC \
19115 predep_objects_RC \
19116 postdep_objects_RC \
19119 compiler_lib_search_path_RC \
19121 archive_expsym_cmds_RC \
19122 postinstall_cmds_RC \
19123 postuninstall_cmds_RC \
19124 old_archive_from_expsyms_cmds_RC \
19125 allow_undefined_flag_RC \
19126 no_undefined_flag_RC \
19127 export_symbols_cmds_RC \
19128 hardcode_libdir_flag_spec_RC \
19129 hardcode_libdir_flag_spec_ld_RC \
19130 hardcode_libdir_separator_RC \
19131 hardcode_automatic_RC \
19133 module_expsym_cmds_RC \
19134 lt_cv_prog_compiler_c_o_RC \
19135 exclude_expsyms_RC \
19136 include_expsyms_RC
; do
19139 old_archive_cmds_RC | \
19140 old_archive_from_new_cmds_RC | \
19141 archive_cmds_RC | \
19142 archive_expsym_cmds_RC | \
19144 module_expsym_cmds_RC | \
19145 old_archive_from_expsyms_cmds_RC | \
19146 export_symbols_cmds_RC | \
19147 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19148 postinstall_cmds | postuninstall_cmds | \
19149 old_postinstall_cmds | old_postuninstall_cmds | \
19150 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19151 # Double-quote double-evaled strings.
19152 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19155 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19161 *'\$0 --fallback-echo"')
19162 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19168 cat <<__EOF__ >> "$cfgfile"
19169 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19171 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19173 # Shell to use when invoking shell scripts.
19176 # Whether or not to build shared libraries.
19177 build_libtool_libs=$enable_shared
19179 # Whether or not to build static libraries.
19180 build_old_libs=$enable_static
19182 # Whether or not to add -lc for building shared libraries.
19183 build_libtool_need_lc=$archive_cmds_need_lc_RC
19185 # Whether or not to disallow shared libs when runtime libs are static
19186 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19188 # Whether or not to optimize for fast installation.
19189 fast_install=$enable_fast_install
19192 host_alias=$host_alias
19196 # The build system.
19197 build_alias=$build_alias
19201 # An echo program that does not interpret backslashes.
19206 AR_FLAGS=$lt_AR_FLAGS
19211 # LTCC compiler flags.
19212 LTCFLAGS=$lt_LTCFLAGS
19214 # A language-specific compiler.
19217 # Is the compiler the GNU C compiler?
19223 # The linker used to build libraries.
19226 # Whether we need hard or soft links.
19229 # A BSD-compatible nm program.
19232 # A symbol stripping program
19235 # Used to examine libraries when file_magic_cmd begins "file"
19236 MAGIC_CMD=$MAGIC_CMD
19238 # Used on cygwin: DLL creation program.
19241 # Used on cygwin: object dumper.
19244 # Used on cygwin: assembler.
19247 # The name of the directory that contains temporary libtool files.
19250 # How to create reloadable object files.
19251 reload_flag=$lt_reload_flag
19252 reload_cmds=$lt_reload_cmds
19254 # How to pass a linker flag through the compiler.
19255 wl=$lt_lt_prog_compiler_wl_RC
19257 # Object file suffix (normally "o").
19258 objext="$ac_objext"
19260 # Old archive suffix (normally "a").
19263 # Shared library suffix (normally ".so").
19264 shrext_cmds='$shrext_cmds'
19266 # Executable file suffix (normally "").
19269 # Additional compiler flags for building library objects.
19270 pic_flag=$lt_lt_prog_compiler_pic_RC
19273 # What is the maximum length of a command?
19274 max_cmd_len=$lt_cv_sys_max_cmd_len
19276 # Does compiler simultaneously support -c and -o options?
19277 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19279 # Must we lock files when doing compilation?
19280 need_locks=$lt_need_locks
19282 # Do we need the lib prefix for modules?
19283 need_lib_prefix=$need_lib_prefix
19285 # Do we need a version for libraries?
19286 need_version=$need_version
19288 # Whether dlopen is supported.
19289 dlopen_support=$enable_dlopen
19291 # Whether dlopen of programs is supported.
19292 dlopen_self=$enable_dlopen_self
19294 # Whether dlopen of statically linked programs is supported.
19295 dlopen_self_static=$enable_dlopen_self_static
19297 # Compiler flag to prevent dynamic linking.
19298 link_static_flag=$lt_lt_prog_compiler_static_RC
19300 # Compiler flag to turn off builtin functions.
19301 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19303 # Compiler flag to allow reflexive dlopens.
19304 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19306 # Compiler flag to generate shared objects directly from archives.
19307 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19309 # Compiler flag to generate thread-safe objects.
19310 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19312 # Library versioning type.
19313 version_type=$version_type
19315 # Format of library name prefix.
19316 libname_spec=$lt_libname_spec
19318 # List of archive names. First name is the real one, the rest are links.
19319 # The last name is the one that the linker finds with -lNAME.
19320 library_names_spec=$lt_library_names_spec
19322 # The coded name of the library, if different from the real name.
19323 soname_spec=$lt_soname_spec
19325 # Commands used to build and install an old-style archive.
19327 old_archive_cmds=$lt_old_archive_cmds_RC
19328 old_postinstall_cmds=$lt_old_postinstall_cmds
19329 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19331 # Create an old-style archive from a shared archive.
19332 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19334 # Create a temporary old-style archive to link instead of a shared archive.
19335 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19337 # Commands used to build and install a shared archive.
19338 archive_cmds=$lt_archive_cmds_RC
19339 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19340 postinstall_cmds=$lt_postinstall_cmds
19341 postuninstall_cmds=$lt_postuninstall_cmds
19343 # Commands used to build a loadable module (assumed same as above if empty)
19344 module_cmds=$lt_module_cmds_RC
19345 module_expsym_cmds=$lt_module_expsym_cmds_RC
19347 # Commands to strip libraries.
19348 old_striplib=$lt_old_striplib
19349 striplib=$lt_striplib
19351 # Dependencies to place before the objects being linked to create a
19353 predep_objects=$lt_predep_objects_RC
19355 # Dependencies to place after the objects being linked to create a
19357 postdep_objects=$lt_postdep_objects_RC
19359 # Dependencies to place before the objects being linked to create a
19361 predeps=$lt_predeps_RC
19363 # Dependencies to place after the objects being linked to create a
19365 postdeps=$lt_postdeps_RC
19367 # The library search path used internally by the compiler when linking
19368 # a shared library.
19369 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19371 # Method to check whether dependent libraries are shared objects.
19372 deplibs_check_method=$lt_deplibs_check_method
19374 # Command to use when deplibs_check_method == file_magic.
19375 file_magic_cmd=$lt_file_magic_cmd
19377 # Flag that allows shared libraries with undefined symbols to be built.
19378 allow_undefined_flag=$lt_allow_undefined_flag_RC
19380 # Flag that forces no undefined symbols.
19381 no_undefined_flag=$lt_no_undefined_flag_RC
19383 # Commands used to finish a libtool library installation in a directory.
19384 finish_cmds=$lt_finish_cmds
19386 # Same as above, but a single script fragment to be evaled but not shown.
19387 finish_eval=$lt_finish_eval
19389 # Take the output of nm and produce a listing of raw symbols and C names.
19390 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19392 # Transform the output of nm in a proper C declaration
19393 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19395 # Transform the output of nm in a C name address pair
19396 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19398 # This is the shared library runtime path variable.
19399 runpath_var=$runpath_var
19401 # This is the shared library path variable.
19402 shlibpath_var=$shlibpath_var
19404 # Is shlibpath searched before the hard-coded library search path?
19405 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19407 # How to hardcode a shared library path into an executable.
19408 hardcode_action=$hardcode_action_RC
19410 # Whether we should hardcode library paths into libraries.
19411 hardcode_into_libs=$hardcode_into_libs
19413 # Flag to hardcode \$libdir into a binary during linking.
19414 # This must work even if \$libdir does not exist.
19415 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19417 # If ld is used when linking, flag to hardcode \$libdir into
19418 # a binary during linking. This must work even if \$libdir does
19420 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19422 # Whether we need a single -rpath flag with a separated argument.
19423 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19425 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19426 # resulting binary.
19427 hardcode_direct=$hardcode_direct_RC
19429 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19430 # resulting binary.
19431 hardcode_minus_L=$hardcode_minus_L_RC
19433 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19434 # the resulting binary.
19435 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19437 # Set to yes if building a shared library automatically hardcodes DIR into the library
19438 # and all subsequent libraries and executables linked against it.
19439 hardcode_automatic=$hardcode_automatic_RC
19441 # Variables whose values should be saved in libtool wrapper scripts and
19442 # restored at relink time.
19443 variables_saved_for_relink="$variables_saved_for_relink"
19445 # Whether libtool must link a program against all its dependency libraries.
19446 link_all_deplibs=$link_all_deplibs_RC
19448 # Compile-time system search path for libraries
19449 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19451 # Run-time system search path for libraries
19452 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19454 # Fix the shell variable \$srcfile for the compiler.
19455 fix_srcfile_path="$fix_srcfile_path_RC"
19457 # Set to yes if exported symbols are required.
19458 always_export_symbols=$always_export_symbols_RC
19460 # The commands to list exported symbols.
19461 export_symbols_cmds=$lt_export_symbols_cmds_RC
19463 # The commands to extract the exported symbol list from a shared archive.
19464 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19466 # Symbols that should not be listed in the preloaded symbols.
19467 exclude_expsyms=$lt_exclude_expsyms_RC
19469 # Symbols that must always be exported.
19470 include_expsyms=$lt_include_expsyms_RC
19472 # ### END LIBTOOL TAG CONFIG: $tagname
19478 # If there is no Makefile yet, we rely on a make rule to execute
19479 # `config.status --recheck' to rerun these tests and create the
19480 # libtool script then.
19481 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19482 if test -f "$ltmain_in"; then
19483 test -f Makefile
&& make "$ltmain"
19489 ac_cpp
='$CPP $CPPFLAGS'
19490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19499 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19500 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19501 { (exit 1); exit 1; }; }
19505 # Append the new tag name to the list of available tags.
19506 if test -n "$tagname" ; then
19507 available_tags
="$available_tags $tagname"
19513 # Now substitute the updated list of available tags.
19514 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19515 mv "${ofile}T" "$ofile"
19519 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19520 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19521 { (exit 1); exit 1; }; }
19527 # This can be used to rebuild libtool when needed
19528 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19530 # Always use our own libtool.
19531 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19533 # Prevent multiple expansion
19557 { echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
19558 echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6; }
19559 if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then
19560 echo $ECHO_N "(cached) $ECHO_C" >&6
19562 ac_check_lib_save_LIBS
=$LIBS
19563 LIBS
="-lgdbm $LIBS"
19564 cat >conftest.
$ac_ext <<_ACEOF
19567 cat confdefs.h
>>conftest.
$ac_ext
19568 cat >>conftest.
$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19571 /* Override any GCC internal prototype to avoid an error.
19572 Use char because int might match the return type of a GCC
19573 builtin and then its argument prototype would still apply. */
19581 return gdbm_open ();
19586 rm -f conftest.
$ac_objext conftest
$ac_exeext
19587 if { (ac_try
="$ac_link"
19588 case "(($ac_try" in
19589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_link") 2>conftest.er1
19595 grep -v '^ *+' conftest.er1 >conftest.err
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest$ac_exeext &&
19603 $as_test_x conftest$ac_exeext; then
19604 ac_cv_lib_gdbm_gdbm_open=yes
19606 echo "$as_me: failed program was:" >&5
19607 sed 's/^/| /' conftest.$ac_ext >&5
19609 ac_cv_lib_gdbm_gdbm_open=no
19612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19613 conftest$ac_exeext conftest.$ac_ext
19614 LIBS=$ac_check_lib_save_LIBS
19616 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
19617 echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6; }
19618 if test $ac_cv_lib_gdbm_gdbm_open = yes; then
19619 LIBGDBM=-lgdbm ; LIBS="-lgdbm $LIBS"
19623 { echo "$as_me:$LINENO: checking for gdbm_open" >&5
19624 echo $ECHO_N "checking for gdbm_open... $ECHO_C" >&6; }
19625 if test "${ac_cv_func_gdbm_open+set}" = set; then
19626 echo $ECHO_N "(cached) $ECHO_C" >&6
19628 cat >conftest.$ac_ext <<_ACEOF
19631 cat confdefs.h >>conftest.$ac_ext
19632 cat >>conftest.$ac_ext <<_ACEOF
19633 /* end confdefs.h. */
19634 /* Define gdbm_open to an innocuous variant, in case <limits.h> declares gdbm_open.
19635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19636 #define gdbm_open innocuous_gdbm_open
19638 /* System header to define __stub macros and hopefully few prototypes,
19639 which can conflict with char gdbm_open (); below.
19640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19641 <limits.h> exists even on freestanding compilers. */
19644 # include <limits.h>
19646 # include <assert.h>
19651 /* Override any GCC internal prototype to avoid an error.
19652 Use char because int might match the return type of a GCC
19653 builtin and then its argument prototype would still apply. */
19658 /* The GNU C library defines this for functions which it implements
19659 to always fail with ENOSYS. Some functions are actually named
19660 something starting with __ and the normal name is an alias. */
19661 #if defined __stub_gdbm_open || defined __stub___gdbm_open
19668 return gdbm_open ();
19673 rm -f conftest.$ac_objext conftest$ac_exeext
19674 if { (ac_try="$ac_link"
19675 case "(($ac_try" in
19676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19677 *) ac_try_echo
=$ac_try;;
19679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19680 (eval "$ac_link") 2>conftest.er1
19682 grep -v '^ *+' conftest.er1
>conftest.err
19684 cat conftest.err
>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } && {
19687 test -z "$ac_c_werror_flag" ||
19688 test ! -s conftest.err
19689 } && test -s conftest
$ac_exeext &&
19690 $as_test_x conftest
$ac_exeext; then
19691 ac_cv_func_gdbm_open
=yes
19693 echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.
$ac_ext >&5
19696 ac_cv_func_gdbm_open
=no
19699 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19700 conftest
$ac_exeext conftest.
$ac_ext
19702 { echo "$as_me:$LINENO: result: $ac_cv_func_gdbm_open" >&5
19703 echo "${ECHO_T}$ac_cv_func_gdbm_open" >&6; }
19704 if test $ac_cv_func_gdbm_open = yes; then
19711 if test "$FOUND_GDBM" = 1
19714 for ac_func
in gdbm_fdesc
19716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19717 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19719 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19720 echo $ECHO_N "(cached) $ECHO_C" >&6
19722 cat >conftest.
$ac_ext <<_ACEOF
19725 cat confdefs.h
>>conftest.
$ac_ext
19726 cat >>conftest.
$ac_ext <<_ACEOF
19727 /* end confdefs.h. */
19728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19730 #define $ac_func innocuous_$ac_func
19732 /* System header to define __stub macros and hopefully few prototypes,
19733 which can conflict with char $ac_func (); below.
19734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19735 <limits.h> exists even on freestanding compilers. */
19738 # include <limits.h>
19740 # include <assert.h>
19745 /* Override any GCC internal prototype to avoid an error.
19746 Use char because int might match the return type of a GCC
19747 builtin and then its argument prototype would still apply. */
19752 /* The GNU C library defines this for functions which it implements
19753 to always fail with ENOSYS. Some functions are actually named
19754 something starting with __ and the normal name is an alias. */
19755 #if defined __stub_$ac_func || defined __stub___$ac_func
19762 return $ac_func ();
19767 rm -f conftest.
$ac_objext conftest
$ac_exeext
19768 if { (ac_try
="$ac_link"
19769 case "(($ac_try" in
19770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19771 *) ac_try_echo=$ac_try;;
19773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19774 (eval "$ac_link") 2>conftest.er1
19776 grep -v '^ *+' conftest.er1 >conftest.err
19778 cat conftest.err >&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); } && {
19781 test -z "$ac_c_werror_flag" ||
19782 test ! -s conftest.err
19783 } && test -s conftest$ac_exeext &&
19784 $as_test_x conftest$ac_exeext; then
19785 eval "$as_ac_var=yes"
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19790 eval "$as_ac_var=no"
19793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19794 conftest$ac_exeext conftest.$ac_ext
19796 ac_res=`eval echo '${'$as_ac_var'}'`
19797 { echo "$as_me:$LINENO: result: $ac_res" >&5
19798 echo "${ECHO_T}$ac_res" >&6; }
19799 if test `eval echo '${'$as_ac_var'}'` = yes; then
19800 cat >>confdefs.h <<_ACEOF
19801 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
19810 for ac_header in unistd.h fcntl.h
19812 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
19813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19819 ac_res=`eval echo '${'$as_ac_Header'}'`
19820 { echo "$as_me:$LINENO: result: $ac_res" >&5
19821 echo "${ECHO_T}$ac_res" >&6; }
19823 # Is the header compilable?
19824 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19826 cat >conftest.$ac_ext <<_ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h. */
19832 $ac_includes_default
19833 #include <$ac_header>
19835 rm -f conftest.$ac_objext
19836 if { (ac_try="$ac_compile"
19837 case "(($ac_try" in
19838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19839 *) ac_try_echo
=$ac_try;;
19841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19842 (eval "$ac_compile") 2>conftest.er1
19844 grep -v '^ *+' conftest.er1
>conftest.err
19846 cat conftest.err
>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } && {
19849 test -z "$ac_c_werror_flag" ||
19850 test ! -s conftest.err
19851 } && test -s conftest.
$ac_objext; then
19852 ac_header_compiler
=yes
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.
$ac_ext >&5
19857 ac_header_compiler
=no
19860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19861 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19862 echo "${ECHO_T}$ac_header_compiler" >&6; }
19864 # Is the header present?
19865 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19867 cat >conftest.
$ac_ext <<_ACEOF
19870 cat confdefs.h
>>conftest.
$ac_ext
19871 cat >>conftest.
$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873 #include <$ac_header>
19875 if { (ac_try
="$ac_cpp conftest.$ac_ext"
19876 case "(($ac_try" in
19877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19883 grep -v '^ *+' conftest.er1 >conftest.err
19885 cat conftest.err >&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } >/dev/null && {
19888 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19889 test ! -s conftest.err
19891 ac_header_preproc=yes
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19896 ac_header_preproc=no
19899 rm -f conftest.err conftest.$ac_ext
19900 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19901 echo "${ECHO_T}$ac_header_preproc" >&6; }
19903 # So? What about this header?
19904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19910 ac_header_preproc=yes
19913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19926 ## -------------------------------------------------- ##
19927 ## Report this to courier-users@lists.sourceforge.net ##
19928 ## -------------------------------------------------- ##
19930 ) | sed "s/^/$as_me: WARNING: /" >&2
19933 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19936 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 eval "$as_ac_Header=\$ac_header_preproc"
19940 ac_res=`eval echo '${'$as_ac_Header'}'`
19941 { echo "$as_me:$LINENO: result: $ac_res" >&5
19942 echo "${ECHO_T}$ac_res" >&6; }
19945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19946 cat >>confdefs.h <<_ACEOF
19947 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
19959 if test "$FOUND_GDBM" = 1; then
19961 FOUND_GDBM_FALSE='#'
19963 FOUND_GDBM_TRUE='#'
19969 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19970 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19971 if test "${ac_cv_c_const+set}" = set; then
19972 echo $ECHO_N "(cached) $ECHO_C" >&6
19974 cat >conftest.$ac_ext <<_ACEOF
19977 cat confdefs.h >>conftest.$ac_ext
19978 cat >>conftest.$ac_ext <<_ACEOF
19979 /* end confdefs.h. */
19984 /* FIXME: Include the comments suggested by Paul. */
19985 #ifndef __cplusplus
19986 /* Ultrix mips cc rejects this. */
19987 typedef int charset[2];
19989 /* SunOS 4.1.1 cc rejects this. */
19990 char const *const *pcpcc;
19992 /* NEC SVR4.0.2 mips cc rejects this. */
19993 struct point {int x, y;};
19994 static struct point const zero = {0,0};
19995 /* AIX XL C 1.02.0.0 rejects this.
19996 It does not let you subtract one const X* pointer from another in
19997 an arm of an if-expression whose if-part is not a constant
19999 const char *g = "string";
20000 pcpcc = &g + (g ? g-g : 0);
20001 /* HPUX 7.0 cc rejects these. */
20003 ppc = (char**) pcpcc;
20004 pcpcc = (char const *const *) ppc;
20005 { /* SCO 3.2v4 cc rejects this. */
20007 char const *s = 0 ? (char *) 0 : (char const *) 0;
20012 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20013 int x[] = {25, 17};
20014 const int *foo = &x[0];
20017 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20018 typedef const int *iptr;
20022 { /* AIX XL C 1.02.0.0 rejects this saying
20023 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20024 struct s { int j; const int *ap[3]; };
20025 struct s *b; b->j = 5;
20027 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20028 const int foo = 10;
20029 if (!foo) return 0;
20031 return !cs[0] && !zero.x;
20038 rm -f conftest.$ac_objext
20039 if { (ac_try="$ac_compile"
20040 case "(($ac_try" in
20041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20042 *) ac_try_echo
=$ac_try;;
20044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20045 (eval "$ac_compile") 2>conftest.er1
20047 grep -v '^ *+' conftest.er1
>conftest.err
20049 cat conftest.err
>&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); } && {
20052 test -z "$ac_c_werror_flag" ||
20053 test ! -s conftest.err
20054 } && test -s conftest.
$ac_objext; then
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.
$ac_ext >&5
20063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20065 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20066 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20067 if test $ac_cv_c_const = no
; then
20069 cat >>confdefs.h
<<\_ACEOF
20075 { echo "$as_me:$LINENO: checking for size_t" >&5
20076 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20077 if test "${ac_cv_type_size_t+set}" = set; then
20078 echo $ECHO_N "(cached) $ECHO_C" >&6
20080 cat >conftest.
$ac_ext <<_ACEOF
20083 cat confdefs.h
>>conftest.
$ac_ext
20084 cat >>conftest.
$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 $ac_includes_default
20087 typedef size_t ac__type_new_;
20091 if ((ac__type_new_ *) 0)
20093 if (sizeof (ac__type_new_))
20099 rm -f conftest.
$ac_objext
20100 if { (ac_try
="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20108 grep -v '^ *+' conftest.er1 >conftest.err
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.$ac_objext; then
20116 ac_cv_type_size_t=yes
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.$ac_ext >&5
20121 ac_cv_type_size_t=no
20124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20126 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20127 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20128 if test $ac_cv_type_size_t = yes; then
20132 cat >>confdefs.h <<_ACEOF
20133 #define size_t unsigned int
20141 ac_cpp='$CXXCPP $CPPFLAGS'
20142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20146 { echo "$as_me:$LINENO: checking if the C++ compiler needs -fhandle-exceptions" >&5
20147 echo $ECHO_N "checking if the C++ compiler needs -fhandle-exceptions... $ECHO_C" >&6; }
20148 if test "${ac_cxx_need_handlexceptions+set}" = set; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20151 cat >conftest.$ac_ext <<_ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20168 rm -f conftest.$ac_objext
20169 if { (ac_try="$ac_compile"
20170 case "(($ac_try" in
20171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20172 *) ac_try_echo
=$ac_try;;
20174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20175 (eval "$ac_compile") 2>conftest.er1
20177 grep -v '^ *+' conftest.er1
>conftest.err
20179 cat conftest.err
>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } && {
20182 test -z "$ac_cxx_werror_flag" ||
20183 test ! -s conftest.err
20184 } && test -s conftest.
$ac_objext; then
20185 ac_cxx_need_handlexceptions
=no
20187 echo "$as_me: failed program was:" >&5
20188 sed 's/^/| /' conftest.
$ac_ext >&5
20190 ac_cxx_need_handlexceptions
=yes
20193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20196 { echo "$as_me:$LINENO: result: $ac_cxx_need_handlexceptions" >&5
20197 echo "${ECHO_T}$ac_cxx_need_handlexceptions" >&6; }
20199 if test "$ac_cxx_need_handlexceptions" = "yes"
20201 case "$CXXFLAGS" in
20202 *handle-exceptions
*)
20205 CXXFLAGS
="-fhandle-exceptions $CXXFLAGS"
20206 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-O2//'`
20211 ac_config_files
="$ac_config_files Makefile"
20213 cat >confcache
<<\_ACEOF
20214 # This file is a shell script that caches the results of configure
20215 # tests run on this system so they can be shared between configure
20216 # scripts and configure runs, see configure's option --config-cache.
20217 # It is not useful on other systems. If it contains results you don't
20218 # want to keep, you may remove or edit it.
20220 # config.status only pays attention to the cache file if you give it
20221 # the --recheck option to rerun configure.
20223 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20224 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20225 # following values.
20229 # The following way of writing the cache mishandles newlines in values,
20230 # but we know of no workaround that is simple, portable, and efficient.
20231 # So, we kill variables containing newlines.
20232 # Ultrix sh set writes to stderr and can't be redirected directly,
20233 # and sets the high bit in the cache file unless we assign to the vars.
20235 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20236 eval ac_val
=\$
$ac_var
20240 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20241 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20244 _ | IFS | as_nl
) ;; #(
20245 *) $as_unset $ac_var ;;
20251 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20252 *${as_nl}ac_space
=\
*)
20253 # `set' does not quote correctly, so add quotes (double-quote
20254 # substitution turns \\\\ into \\, and sed turns \\ into \).
20257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20260 # `set' quotes correctly as required by POSIX, so do not add quotes.
20261 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20270 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20272 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20274 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20275 if test -w "$cache_file"; then
20276 test "x$cache_file" != "x/dev/null" &&
20277 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20278 echo "$as_me: updating cache $cache_file" >&6;}
20279 cat confcache
>$cache_file
20281 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20282 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20287 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20288 # Let make expand exec_prefix.
20289 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20291 DEFS
=-DHAVE_CONFIG_H
20295 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20296 # 1. Remove the extension, and $U if already installed.
20297 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20298 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20299 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20300 # will be set to the directory where LIBOBJS objects are built.
20301 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20302 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20304 LIBOBJS
=$ac_libobjs
20306 LTLIBOBJS
=$ac_ltlibobjs
20309 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20310 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20311 Usually this means the macro was only invoked conditionally." >&5
20312 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20313 Usually this means the macro was only invoked conditionally." >&2;}
20314 { (exit 1); exit 1; }; }
20316 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20317 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20318 Usually this means the macro was only invoked conditionally." >&5
20319 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20320 Usually this means the macro was only invoked conditionally." >&2;}
20321 { (exit 1); exit 1; }; }
20323 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20324 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20325 Usually this means the macro was only invoked conditionally." >&5
20326 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20327 Usually this means the macro was only invoked conditionally." >&2;}
20328 { (exit 1); exit 1; }; }
20330 if test -z "${FOUND_GDBM_TRUE}" && test -z "${FOUND_GDBM_FALSE}"; then
20331 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GDBM\" was never defined.
20332 Usually this means the macro was only invoked conditionally." >&5
20333 echo "$as_me: error: conditional \"FOUND_GDBM\" was never defined.
20334 Usually this means the macro was only invoked conditionally." >&2;}
20335 { (exit 1); exit 1; }; }
20338 : ${CONFIG_STATUS=./config.status}
20339 ac_clean_files_save
=$ac_clean_files
20340 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20341 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20342 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20343 cat >$CONFIG_STATUS <<_ACEOF
20345 # Generated by $as_me.
20346 # Run this file to recreate the current configuration.
20347 # Compiler output produced by configure, useful for debugging
20348 # configure, is in config.log if it exists.
20351 ac_cs_recheck=false
20353 SHELL=\${CONFIG_SHELL-$SHELL}
20356 cat >>$CONFIG_STATUS <<\_ACEOF
20357 ## --------------------- ##
20358 ## M4sh Initialization. ##
20359 ## --------------------- ##
20361 # Be more Bourne compatible
20362 DUALCASE
=1; export DUALCASE
# for MKS sh
20363 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20366 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20367 # is contrary to our usage. Disable this feature.
20368 alias -g '${1+"$@"}'='"$@"'
20369 setopt NO_GLOB_SUBST
20371 case `(set -o) 2>/dev/null` in
20372 *posix
*) set -o posix
;;
20381 # Avoid depending upon Character Ranges.
20382 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20383 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20384 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20385 as_cr_digits
='0123456789'
20386 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20388 # The user is always right.
20389 if test "${PATH_SEPARATOR+set}" != set; then
20390 echo "#! /bin/sh" >conf$$.sh
20391 echo "exit 0" >>conf$$.sh
20393 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20401 # Support unset when possible.
20402 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20410 # We need space, tab and new line, in precisely that order. Quoting is
20411 # there to prevent editors from complaining about space-tab.
20412 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20413 # splitting by setting IFS to empty value.)
20418 # Find who we are. Look in the path if we contain no directory separator.
20420 *[\\/]* ) as_myself
=$0 ;;
20421 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20422 for as_dir
in $PATH
20425 test -z "$as_dir" && as_dir
=.
20426 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20432 # We did not find ourselves, most probably we were run as `sh COMMAND'
20433 # in which case we are not to be found in the path.
20434 if test "x$as_myself" = x
; then
20437 if test ! -f "$as_myself"; then
20438 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20439 { (exit 1); exit 1; }
20442 # Work around bugs in pre-3.0 UWIN ksh.
20443 for as_var
in ENV MAIL MAILPATH
20444 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20452 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20453 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20454 LC_TELEPHONE LC_TIME
20456 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20457 eval $as_var=C
; export $as_var
20459 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20463 # Required to use basename.
20464 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20465 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20471 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20472 as_basename
=basename
20478 # Name of the executable.
20479 as_me
=`$as_basename -- "$0" ||
20480 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20481 X"$0" : 'X\(//\)$' \| \
20482 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20484 sed '/^.*\/\([^/][^/]*\)\/*$/{
20503 as_lineno_1
=$LINENO
20504 as_lineno_2
=$LINENO
20505 test "x$as_lineno_1" != "x$as_lineno_2" &&
20506 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20508 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20509 # uniformly replaced by the line number. The first 'sed' inserts a
20510 # line-number line after each line using $LINENO; the second 'sed'
20511 # does the real work. The second script uses 'N' to pair each
20512 # line-number line with the line containing $LINENO, and appends
20513 # trailing '-' during substitution so that $LINENO is not a special
20514 # case at line end.
20515 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20516 # scripts with optimization help from Paolo Bonzini. Blame Lee
20517 # E. McMahon (1931-1989) for sed's syntax. :-)
20529 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20532 ' >$as_me.lineno
&&
20533 chmod +x
"$as_me.lineno" ||
20534 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20535 { (exit 1); exit 1; }; }
20537 # Don't try to exec as it changes $[0], causing all sort of problems
20538 # (the dirname of $[0] is not the place where we might find the
20539 # original and so on. Autoconf is especially sensitive to this).
20540 .
"./$as_me.lineno"
20541 # Exit status is that of the last command.
20546 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20552 ECHO_C
= ECHO_N
= ECHO_T
=
20553 case `echo -n x` in
20555 case `echo 'x\c'` in
20556 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20563 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20564 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20570 rm -f conf$$ conf$$.exe conf$$.
file
20571 if test -d conf$$.dir
; then
20572 rm -f conf$$.dir
/conf$$.
file
20578 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20580 # ... but there are two gotchas:
20581 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20582 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20583 # In both cases, we have to default to `cp -p'.
20584 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20586 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20591 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20592 rmdir conf$$.dir
2>/dev
/null
20594 if mkdir
-p .
2>/dev
/null
; then
20597 test -d .
/-p && rmdir .
/-p
20601 if test -x / >/dev
/null
2>&1; then
20602 as_test_x
='test -x'
20604 if ls -dL / >/dev
/null
2>&1; then
20611 if test -d "$1"; then
20617 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20618 ???[sx]*):;;*)false;;esac;fi
20622 as_executable_p
=$as_test_x
20624 # Sed expression to map a string onto a valid CPP name.
20625 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20627 # Sed expression to map a string onto a valid variable name.
20628 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20633 # Save the log message, to keep $[0] and so on meaningful, and to
20634 # report actual input values of CONFIG_FILES etc. instead of their
20635 # values after options handling.
20637 This file was extended by gdbmobj $as_me 0.10, which was
20638 generated by GNU Autoconf 2.61. Invocation command line was
20640 CONFIG_FILES = $CONFIG_FILES
20641 CONFIG_HEADERS = $CONFIG_HEADERS
20642 CONFIG_LINKS = $CONFIG_LINKS
20643 CONFIG_COMMANDS = $CONFIG_COMMANDS
20646 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20651 cat >>$CONFIG_STATUS <<_ACEOF
20652 # Files that config.status was made for.
20653 config_files="$ac_config_files"
20654 config_headers="$ac_config_headers"
20655 config_commands="$ac_config_commands"
20659 cat >>$CONFIG_STATUS <<\_ACEOF
20661 \`$as_me' instantiates files from templates according to the
20662 current configuration.
20664 Usage: $0 [OPTIONS] [FILE]...
20666 -h, --help print this help, then exit
20667 -V, --version print version number and configuration settings, then exit
20668 -q, --quiet do not print progress messages
20669 -d, --debug don't remove temporary files
20670 --recheck update $as_me by reconfiguring in the same conditions
20671 --file=FILE[:TEMPLATE]
20672 instantiate the configuration file FILE
20673 --header=FILE[:TEMPLATE]
20674 instantiate the configuration header FILE
20676 Configuration files:
20679 Configuration headers:
20682 Configuration commands:
20685 Report bugs to <bug-autoconf@gnu.org>."
20688 cat >>$CONFIG_STATUS <<_ACEOF
20690 gdbmobj config.status 0.10
20691 configured by $0, generated by GNU Autoconf 2.61,
20692 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20694 Copyright (C) 2006 Free Software Foundation, Inc.
20695 This config.status script is free software; the Free Software Foundation
20696 gives unlimited permission to copy, distribute and modify it."
20704 cat >>$CONFIG_STATUS <<\_ACEOF
20705 # If no file are specified by the user, then we need to provide default
20706 # value. By we need to know if files were specified by the user.
20712 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20713 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20724 # Handling of the options.
20725 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20727 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20728 echo "$ac_cs_version"; exit ;;
20729 --debug |
--debu |
--deb |
--de |
--d |
-d )
20731 --file |
--fil |
--fi |
--f )
20733 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20734 ac_need_defaults
=false
;;
20735 --header |
--heade |
--head |
--hea )
20737 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20738 ac_need_defaults
=false
;;
20740 # Conflict between --help and --header
20741 { echo "$as_me: error: ambiguous option: $1
20742 Try \`$0 --help' for more information." >&2
20743 { (exit 1); exit 1; }; };;
20744 --help |
--hel |
-h )
20745 echo "$ac_cs_usage"; exit ;;
20746 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20747 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20750 # This is an error.
20751 -*) { echo "$as_me: error: unrecognized option: $1
20752 Try \`$0 --help' for more information." >&2
20753 { (exit 1); exit 1; }; } ;;
20755 *) ac_config_targets
="$ac_config_targets $1"
20756 ac_need_defaults
=false
;;
20762 ac_configure_extra_args
=
20764 if $ac_cs_silent; then
20766 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20770 cat >>$CONFIG_STATUS <<_ACEOF
20771 if \$ac_cs_recheck; then
20772 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20773 CONFIG_SHELL=$SHELL
20774 export CONFIG_SHELL
20775 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20779 cat >>$CONFIG_STATUS <<\_ACEOF
20783 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20784 ## Running $as_me. ##
20790 cat >>$CONFIG_STATUS <<_ACEOF
20794 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20798 cat >>$CONFIG_STATUS <<\_ACEOF
20800 # Handling of arguments.
20801 for ac_config_target
in $ac_config_targets
20803 case $ac_config_target in
20804 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20805 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20806 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20808 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20809 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20810 { (exit 1); exit 1; }; };;
20815 # If the user did not use the arguments to specify the items to instantiate,
20816 # then the envvar interface is used. Set only those that are not.
20817 # We use the long form for the default assignment because of an extremely
20818 # bizarre bug on SunOS 4.1.3.
20819 if $ac_need_defaults; then
20820 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20821 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20822 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20825 # Have a temporary directory for convenience. Make it in the build tree
20826 # simply because there is no reason against having it here, and in addition,
20827 # creating and moving files from /tmp can sometimes cause problems.
20828 # Hook for its removal unless debugging.
20829 # Note that there is a small window in which the directory will not be cleaned:
20830 # after its creation but before its name has been assigned to `$tmp'.
20834 trap 'exit_status=$?
20835 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20837 trap '{ (exit 1); exit 1; }' 1 2 13 15
20839 # Create a (secure) tmp directory for tmp files.
20842 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20843 test -n "$tmp" && test -d "$tmp"
20846 tmp
=.
/conf$$
-$RANDOM
20847 (umask 077 && mkdir
"$tmp")
20850 echo "$me: cannot create a temporary directory in ." >&2
20851 { (exit 1); exit 1; }
20855 # Set up the sed scripts for CONFIG_FILES section.
20858 # No need to generate the scripts if there are no CONFIG_FILES.
20859 # This happens for instance when ./config.status config.h
20860 if test -n "$CONFIG_FILES"; then
20867 for ac_last_try
in false false false false false
:; do
20868 cat >conf$
$subs.
sed <<_ACEOF
20869 SHELL!$SHELL$ac_delim
20870 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20871 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20872 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20873 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20874 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20875 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20876 exec_prefix!$exec_prefix$ac_delim
20877 prefix!$prefix$ac_delim
20878 program_transform_name!$program_transform_name$ac_delim
20879 bindir!$bindir$ac_delim
20880 sbindir!$sbindir$ac_delim
20881 libexecdir!$libexecdir$ac_delim
20882 datarootdir!$datarootdir$ac_delim
20883 datadir!$datadir$ac_delim
20884 sysconfdir!$sysconfdir$ac_delim
20885 sharedstatedir!$sharedstatedir$ac_delim
20886 localstatedir!$localstatedir$ac_delim
20887 includedir!$includedir$ac_delim
20888 oldincludedir!$oldincludedir$ac_delim
20889 docdir!$docdir$ac_delim
20890 infodir!$infodir$ac_delim
20891 htmldir!$htmldir$ac_delim
20892 dvidir!$dvidir$ac_delim
20893 pdfdir!$pdfdir$ac_delim
20894 psdir!$psdir$ac_delim
20895 libdir!$libdir$ac_delim
20896 localedir!$localedir$ac_delim
20897 mandir!$mandir$ac_delim
20898 DEFS!$DEFS$ac_delim
20899 ECHO_C!$ECHO_C$ac_delim
20900 ECHO_N!$ECHO_N$ac_delim
20901 ECHO_T!$ECHO_T$ac_delim
20902 LIBS!$LIBS$ac_delim
20903 build_alias!$build_alias$ac_delim
20904 host_alias!$host_alias$ac_delim
20905 target_alias!$target_alias$ac_delim
20906 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20907 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20908 INSTALL_DATA!$INSTALL_DATA$ac_delim
20909 am__isrc!$am__isrc$ac_delim
20910 CYGPATH_W!$CYGPATH_W$ac_delim
20911 PACKAGE!$PACKAGE$ac_delim
20912 VERSION!$VERSION$ac_delim
20913 ACLOCAL!$ACLOCAL$ac_delim
20914 AUTOCONF!$AUTOCONF$ac_delim
20915 AUTOMAKE!$AUTOMAKE$ac_delim
20916 AUTOHEADER!$AUTOHEADER$ac_delim
20917 MAKEINFO!$MAKEINFO$ac_delim
20918 install_sh!$install_sh$ac_delim
20919 STRIP!$STRIP$ac_delim
20920 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20921 mkdir_p!$mkdir_p$ac_delim
20923 SET_MAKE!$SET_MAKE$ac_delim
20924 am__leading_dot!$am__leading_dot$ac_delim
20925 AMTAR!$AMTAR$ac_delim
20926 am__tar!$am__tar$ac_delim
20927 am__untar!$am__untar$ac_delim
20929 CFLAGS!$CFLAGS$ac_delim
20930 LDFLAGS!$LDFLAGS$ac_delim
20931 CPPFLAGS!$CPPFLAGS$ac_delim
20932 ac_ct_CC!$ac_ct_CC$ac_delim
20933 EXEEXT!$EXEEXT$ac_delim
20934 OBJEXT!$OBJEXT$ac_delim
20935 DEPDIR!$DEPDIR$ac_delim
20936 am__include!$am__include$ac_delim
20937 am__quote!$am__quote$ac_delim
20938 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20939 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20940 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20941 CCDEPMODE!$CCDEPMODE$ac_delim
20942 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20943 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20945 GREP!$GREP$ac_delim
20946 EGREP!$EGREP$ac_delim
20948 CXXFLAGS!$CXXFLAGS$ac_delim
20949 ac_ct_CXX!$ac_ct_CXX$ac_delim
20950 CXXDEPMODE!$CXXDEPMODE$ac_delim
20951 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20952 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20953 build!$build$ac_delim
20954 build_cpu!$build_cpu$ac_delim
20955 build_vendor!$build_vendor$ac_delim
20956 build_os!$build_os$ac_delim
20957 host!$host$ac_delim
20958 host_cpu!$host_cpu$ac_delim
20959 host_vendor!$host_vendor$ac_delim
20960 host_os!$host_os$ac_delim
20962 LN_S!$LN_S$ac_delim
20963 ECHO!$ECHO$ac_delim
20965 RANLIB!$RANLIB$ac_delim
20968 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20970 elif $ac_last_try; then
20971 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20972 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20973 { (exit 1); exit 1; }; }
20975 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20979 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20980 if test -n "$ac_eof"; then
20981 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20982 ac_eof
=`expr $ac_eof + 1`
20985 cat >>$CONFIG_STATUS <<_ACEOF
20986 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20987 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20990 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20991 s/^/s,@/; s/!/@,|#_!!_#|/
20994 s/'"$ac_delim"'$/,g/; t
20996 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20997 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20998 rm -f conf$
$subs.
sed
20999 cat >>$CONFIG_STATUS <<_ACEOF
21005 for ac_last_try
in false false false false false
:; do
21006 cat >conf$
$subs.
sed <<_ACEOF
21007 CXXCPP!$CXXCPP$ac_delim
21009 FFLAGS!$FFLAGS$ac_delim
21010 ac_ct_F77!$ac_ct_F77$ac_delim
21011 LIBTOOL!$LIBTOOL$ac_delim
21012 LIBGDBM!$LIBGDBM$ac_delim
21013 FOUND_GDBM_TRUE!$FOUND_GDBM_TRUE$ac_delim
21014 FOUND_GDBM_FALSE!$FOUND_GDBM_FALSE$ac_delim
21015 LIBOBJS!$LIBOBJS$ac_delim
21016 LTLIBOBJS!$LTLIBOBJS$ac_delim
21019 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
21021 elif $ac_last_try; then
21022 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21023 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21024 { (exit 1); exit 1; }; }
21026 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21030 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21031 if test -n "$ac_eof"; then
21032 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21033 ac_eof
=`expr $ac_eof + 1`
21036 cat >>$CONFIG_STATUS <<_ACEOF
21037 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21038 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21041 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21042 s/^/s,@/; s/!/@,|#_!!_#|/
21045 s/'"$ac_delim"'$/,g/; t
21047 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21048 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21049 rm -f conf$
$subs.
sed
21050 cat >>$CONFIG_STATUS <<_ACEOF
21057 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21058 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21059 # trailing colons and then remove the whole line if VPATH becomes empty
21060 # (actually we leave an empty line to preserve line numbers).
21061 if test "x$srcdir" = x.
; then
21062 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21063 s/:*\$(srcdir):*/:/
21064 s/:*\${srcdir}:*/:/
21066 s/^\([^=]*=[ ]*\):*/\1/
21072 cat >>$CONFIG_STATUS <<\_ACEOF
21073 fi # test -n "$CONFIG_FILES"
21076 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21079 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21081 case $ac_mode$ac_tag in
21083 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21084 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21085 { (exit 1); exit 1; }; };;
21086 :[FH
]-) ac_tag
=-:-;;
21087 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21104 -) ac_f
="$tmp/stdin";;
21105 *) # Look for the file first in the build tree, then in the source tree
21106 # (if the path is not absolute). The absolute path cannot be DOS-style,
21107 # because $ac_f cannot contain `:'.
21111 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21113 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21114 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21115 { (exit 1); exit 1; }; };;
21117 ac_file_inputs
="$ac_file_inputs $ac_f"
21120 # Let's still pretend it is `configure' which instantiates (i.e., don't
21121 # use $as_me), people would be surprised to read:
21122 # /* config.h. Generated by config.status. */
21123 configure_input
="Generated from "`IFS=:
21124 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21125 if test x
"$ac_file" != x-
; then
21126 configure_input
="$ac_file. $configure_input"
21127 { echo "$as_me:$LINENO: creating $ac_file" >&5
21128 echo "$as_me: creating $ac_file" >&6;}
21132 *:-:* |
*:-) cat >"$tmp/stdin";;
21137 ac_dir
=`$as_dirname -- "$ac_file" ||
21138 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21139 X"$ac_file" : 'X\(//\)[^/]' \| \
21140 X"$ac_file" : 'X\(//\)$' \| \
21141 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21147 /^X\(\/\/\)[^/].*/{
21162 -*) as_dir
=.
/$as_dir;;
21164 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21168 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21169 *) as_qdir
=$as_dir;;
21171 as_dirs
="'$as_qdir' $as_dirs"
21172 as_dir
=`$as_dirname -- "$as_dir" ||
21173 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21174 X"$as_dir" : 'X\(//\)[^/]' \| \
21175 X"$as_dir" : 'X\(//\)$' \| \
21176 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21182 /^X\(\/\/\)[^/].*/{
21195 test -d "$as_dir" && break
21197 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21198 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21199 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21200 { (exit 1); exit 1; }; }; }
21204 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21206 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21207 # A ".." for each directory in $ac_dir_suffix.
21208 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21209 case $ac_top_builddir_sub in
21210 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21211 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21214 ac_abs_top_builddir
=$ac_pwd
21215 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21216 # for backward compatibility:
21217 ac_top_builddir
=$ac_top_build_prefix
21220 .
) # We are building in place.
21222 ac_top_srcdir
=$ac_top_builddir_sub
21223 ac_abs_top_srcdir
=$ac_pwd ;;
21224 [\\/]* | ?
:[\\/]* ) # Absolute name.
21225 ac_srcdir
=$srcdir$ac_dir_suffix;
21226 ac_top_srcdir
=$srcdir
21227 ac_abs_top_srcdir
=$srcdir ;;
21228 *) # Relative name.
21229 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21230 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21231 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21233 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21243 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21244 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21246 ac_MKDIR_P
=$MKDIR_P
21248 [\\/$
]* | ?
:[\\/]* ) ;;
21249 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21253 cat >>$CONFIG_STATUS <<\_ACEOF
21254 # If the template does not know about datarootdir, expand it.
21255 # FIXME: This hack should be removed a few years after 2.60.
21256 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21258 case `sed -n '/datarootdir/ {
21267 ' $ac_file_inputs` in
21268 *datarootdir
*) ac_datarootdir_seen
=yes;;
21269 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21270 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21271 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21273 cat >>$CONFIG_STATUS <<_ACEOF
21274 ac_datarootdir_hack='
21275 s&@datadir@&$datadir&g
21276 s&@docdir@&$docdir&g
21277 s&@infodir@&$infodir&g
21278 s&@localedir@&$localedir&g
21279 s&@mandir@&$mandir&g
21280 s&\\\${datarootdir}&$datarootdir&g' ;;
21284 # Neutralize VPATH when `$srcdir' = `.'.
21285 # Shell code in configure.ac might set extrasub.
21286 # FIXME: do we really want to maintain this feature?
21287 cat >>$CONFIG_STATUS <<_ACEOF
21291 cat >>$CONFIG_STATUS <<\_ACEOF
21293 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21294 s
&@configure_input@
&$configure_input&;t t
21295 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21296 s
&@srcdir@
&$ac_srcdir&;t t
21297 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21298 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21299 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21300 s
&@builddir@
&$ac_builddir&;t t
21301 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21302 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21303 s
&@INSTALL@
&$ac_INSTALL&;t t
21304 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21305 $ac_datarootdir_hack
21306 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21308 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21309 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21310 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21311 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21312 which seems to be undefined. Please make sure it is defined." >&5
21313 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21314 which seems to be undefined. Please make sure it is defined." >&2;}
21318 -) cat "$tmp/out"; rm -f "$tmp/out";;
21319 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21328 # Transform confdefs.h into a sed script `conftest.defines', that
21329 # substitutes the proper values into config.h.in to produce config.h.
21330 rm -f conftest.defines conftest.
tail
21331 # First, append a space to every undef/define line, to ease matching.
21332 echo 's/$/ /' >conftest.defines
21333 # Then, protect against being on the right side of a sed subst, or in
21334 # an unquoted here document, in config.status. If some macros were
21335 # called several times there might be several #defines for the same
21336 # symbol, which is useless. But do not sort them, since the last
21337 # AC_DEFINE must be honored.
21338 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21339 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21340 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21341 # PARAMS is the parameter list in the macro definition--in most cases, it's
21342 # just an empty string.
21343 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21344 ac_dB
='\\)[ (].*,\\1define\\2'
21352 s/^[ ]*#[ ]*define[ ][ ]*//
21357 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21358 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21359 ' >>conftest.defines
21361 # Remove the space that was appended to ease matching.
21362 # Then replace #undef with comments. This is necessary, for
21363 # example, in the case of _POSIX_SOURCE, which is predefined and required
21364 # on some systems where configure will not decide to define it.
21365 # (The regexp can be short, since the line contains either #define or #undef.)
21367 s,^[ #]*u.*,/* & */,' >>conftest.defines
21369 # Break up conftest.defines:
21370 ac_max_sed_lines
=50
21372 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21373 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21374 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21376 ac_in
='$ac_file_inputs'
21377 ac_out
='"$tmp/out1"'
21378 ac_nxt
='"$tmp/out2"'
21382 # Write a here document:
21383 cat >>$CONFIG_STATUS <<_ACEOF
21384 # First, check the format of the line:
21385 cat >"\$tmp/defines.sed" <<\\CEOF
21386 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21387 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21391 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21393 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21394 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21395 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21396 grep . conftest.
tail >/dev
/null ||
break
21397 rm -f conftest.defines
21398 mv conftest.
tail conftest.defines
21400 rm -f conftest.defines conftest.
tail
21402 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21403 cat >>$CONFIG_STATUS <<\_ACEOF
21404 if test x
"$ac_file" != x-
; then
21405 echo "/* $configure_input */" >"$tmp/config.h"
21406 cat "$ac_result" >>"$tmp/config.h"
21407 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21408 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21409 echo "$as_me: $ac_file is unchanged" >&6;}
21412 mv "$tmp/config.h" $ac_file
21415 echo "/* $configure_input */"
21419 # Compute $ac_file's index in $config_headers.
21421 for _am_header
in $config_headers :; do
21422 case $_am_header in
21423 $ac_file |
$ac_file:* )
21426 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21429 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21430 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21431 X$ac_file : 'X\(//\)[^/]' \| \
21432 X$ac_file : 'X\(//\)$' \| \
21433 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21439 /^X\(\/\/\)[^/].*/{
21451 s/.*/./; q'`/stamp-h
$_am_stamp_count
21454 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21455 echo "$as_me: executing $ac_file commands" >&6;}
21460 case $ac_file$ac_mode in
21461 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21462 # Strip MF so we end up with the name of the file.
21463 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21464 # Check whether this is an Automake generated Makefile or not.
21465 # We used to match only the files named `Makefile.in', but
21466 # some people rename them; so instead we look at the file content.
21467 # Grep'ing the first line is not enough: some people post-process
21468 # each Makefile.in and add a new line on top of each file to say so.
21469 # Grep'ing the whole file is not good either: AIX grep has a line
21470 # limit of 2048, but all sed's we know have understand at least 4000.
21471 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
21472 dirpart
=`$as_dirname -- "$mf" ||
21473 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21474 X"$mf" : 'X\(//\)[^/]' \| \
21475 X"$mf" : 'X\(//\)$' \| \
21476 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21482 /^X\(\/\/\)[^/].*/{
21498 # Extract the definition of DEPDIR, am__include, and am__quote
21499 # from the Makefile without running `make'.
21500 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21501 test -z "$DEPDIR" && continue
21502 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21503 test -z "am__include" && continue
21504 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21505 # When using ansi2knr, U may be empty or an underscore; expand it
21506 U
=`sed -n 's/^U = //p' < "$mf"`
21507 # Find all dependency output files, they are included files with
21508 # $(DEPDIR) in their names. We invoke sed twice because it is the
21509 # simplest approach to changing $(DEPDIR) to its actual value in the
21511 for file in `sed -n "
21512 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21513 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21514 # Make sure the directory exists.
21515 test -f "$dirpart/$file" && continue
21516 fdir
=`$as_dirname -- "$file" ||
21517 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21518 X"$file" : 'X\(//\)[^/]' \| \
21519 X"$file" : 'X\(//\)$' \| \
21520 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21526 /^X\(\/\/\)[^/].*/{
21539 { as_dir
=$dirpart/$fdir
21541 -*) as_dir
=.
/$as_dir;;
21543 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21547 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21548 *) as_qdir
=$as_dir;;
21550 as_dirs
="'$as_qdir' $as_dirs"
21551 as_dir
=`$as_dirname -- "$as_dir" ||
21552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21553 X"$as_dir" : 'X\(//\)[^/]' \| \
21554 X"$as_dir" : 'X\(//\)$' \| \
21555 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21561 /^X\(\/\/\)[^/].*/{
21574 test -d "$as_dir" && break
21576 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21577 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21578 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21579 { (exit 1); exit 1; }; }; }
21580 # echo "creating $dirpart/$file"
21581 echo '# dummy' > "$dirpart/$file"
21590 { (exit 0); exit 0; }
21592 chmod +x
$CONFIG_STATUS
21593 ac_clean_files
=$ac_clean_files_save
21596 # configure is writing to config.log, and then calls config.status.
21597 # config.status does its own redirection, appending to config.log.
21598 # Unfortunately, on DOS this fails, as config.log is still kept open
21599 # by configure, so config.status won't be able to write to it; its
21600 # output is simply discarded. So we exec the FD to /dev/null,
21601 # effectively closing config.log, so it can be properly (re)opened and
21602 # appended to by config.status. When coming back to configure, we
21603 # need to make the FD available again.
21604 if test "$no_create" != yes; then
21606 ac_config_status_args
=
21607 test "$silent" = yes &&
21608 ac_config_status_args
="$ac_config_status_args --quiet"
21610 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21612 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21613 # would make configure fail if this is the last instruction.
21614 $ac_cs_success ||
{ (exit 1); exit 1; }