2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for sqlite 3.7.0.1.
5 # Report bugs to <http://www.sqlite.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL
=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec
; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo
; then
592 # Avoid inline document here, it may be left over
594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $echo works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo
; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
615 if test -z "$ECHO"; then
616 if test "X${echo_test_string+set}" != Xset
; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
621 echo_test_string
=`eval $cmd` &&
622 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
630 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # The Solaris, AIX, and Digital Unix default echo programs unquote
635 # backslashes. This makes it impossible to quote backslashes using
636 # echo "$something" | sed 's/\\/\\\\/g'
638 # So, first we look for a working echo in the user's PATH.
640 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
641 for dir
in $PATH /usr
/ucb
; do
643 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
644 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646 test "X$echo_testing_string" = "X$echo_test_string"; then
653 if test "X$echo" = Xecho
; then
654 # We didn't find a better echo, so look for alternatives.
655 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
656 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 # This shell has a builtin print -r that does the trick.
660 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
661 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
662 # If we have ksh, try running configure again with it.
663 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
664 export ORIGINAL_CONFIG_SHELL
665 CONFIG_SHELL
=/bin
/ksh
667 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
671 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
672 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
673 test "X$echo_testing_string" = "X$echo_test_string"; then
676 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677 test "X$echo_testing_string" = 'X\t' &&
678 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679 test "X$echo_testing_string" = "X$echo_test_string"; then
680 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
682 SHELL
="$CONFIG_SHELL"
684 echo="$CONFIG_SHELL $0 --fallback-echo"
685 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686 test "X$echo_testing_string" = 'X\t' &&
687 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688 test "X$echo_testing_string" = "X$echo_test_string"; then
689 echo="$CONFIG_SHELL $0 --fallback-echo"
691 # maybe with a smaller string...
694 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
702 if test "$prev" != 'sed 50q "$0"'; then
703 echo_test_string
=`eval $prev`
704 export echo_test_string
705 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
707 # Oops. We lost completely, so just stick with echo.
716 # Copy echo and quote the copy suitably for passing to libtool from
717 # the Makefile, instead of quoting the original, which is used later.
719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
726 tagnames
=${tagnames+${tagnames},}CXX
728 tagnames
=${tagnames+${tagnames},}F77
730 exec 7<&0 </dev
/null
6>&1
733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
734 # so uname gets run too.
735 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
740 ac_default_prefix
=/usr
/local
742 ac_config_libobj_dir
=.
748 SHELL
=${CONFIG_SHELL-/bin/sh}
750 # Identity of this package.
751 PACKAGE_NAME
='sqlite'
752 PACKAGE_TARNAME
='sqlite'
753 PACKAGE_VERSION
='3.7.0.1'
754 PACKAGE_STRING
='sqlite 3.7.0.1'
755 PACKAGE_BUGREPORT
='http://www.sqlite.org'
757 ac_unique_file
="sqlite3.c"
758 # Factoring default headers for most tests.
759 ac_includes_default
="\
761 #ifdef HAVE_SYS_TYPES_H
762 # include <sys/types.h>
764 #ifdef HAVE_SYS_STAT_H
765 # include <sys/stat.h>
771 # ifdef HAVE_STDLIB_H
776 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
781 #ifdef HAVE_STRINGS_H
782 # include <strings.h>
784 #ifdef HAVE_INTTYPES_H
785 # include <inttypes.h>
803 program_transform_name
844 INSTALL_STRIP_PROGRAM
897 DYNAMIC_EXTENSION_FLAGS
902 enable_option_checking
904 enable_dependency_tracking
914 enable_dynamic_extensions
916 ac_precious_vars
='build_alias
933 # Initialize some variables set by options.
935 ac_init_version
=false
936 ac_unrecognized_opts
=
938 # The variables have the same names as the options, with
939 # dashes changed to underlines.
947 program_transform_name
=s
,x
,x
,
955 # Installation directory options.
956 # These are left unexpanded so users can "make install exec_prefix=/foo"
957 # and all the variables that are supposed to be based on exec_prefix
958 # by default will actually change.
959 # Use braces instead of parens because sh, perl, etc. also accept them.
960 # (The list follows the same order as the GNU Coding Standards.)
961 bindir
='${exec_prefix}/bin'
962 sbindir
='${exec_prefix}/sbin'
963 libexecdir
='${exec_prefix}/libexec'
964 datarootdir
='${prefix}/share'
965 datadir
='${datarootdir}'
966 sysconfdir
='${prefix}/etc'
967 sharedstatedir
='${prefix}/com'
968 localstatedir
='${prefix}/var'
969 includedir
='${prefix}/include'
970 oldincludedir
='/usr/include'
971 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
972 infodir
='${datarootdir}/info'
977 libdir
='${exec_prefix}/lib'
978 localedir
='${datarootdir}/locale'
979 mandir
='${datarootdir}/man'
985 # If the previous option needs an argument, assign it.
986 if test -n "$ac_prev"; then
987 eval $ac_prev=\
$ac_option
993 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
997 # Accept the important Cygnus configure options, so we can diagnose typos.
999 case $ac_dashdash$ac_option in
1003 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1005 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1006 bindir
=$ac_optarg ;;
1008 -build |
--build |
--buil |
--bui |
--bu)
1009 ac_prev
=build_alias
;;
1010 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1011 build_alias
=$ac_optarg ;;
1013 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1014 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1015 ac_prev
=cache_file
;;
1016 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1017 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1018 cache_file
=$ac_optarg ;;
1020 --config-cache |
-C)
1021 cache_file
=config.cache
;;
1023 -datadir |
--datadir |
--datadi |
--datad)
1025 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1026 datadir
=$ac_optarg ;;
1028 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1029 |
--dataroo |
--dataro |
--datar)
1030 ac_prev
=datarootdir
;;
1031 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1032 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1033 datarootdir
=$ac_optarg ;;
1035 -disable-* |
--disable-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_useropt_orig
=$ac_useropt
1042 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "enable_
$ac_useropt"
1047 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1048 ac_unrecognized_sep
=', ';;
1050 eval enable_
$ac_useropt=no
;;
1052 -docdir |
--docdir |
--docdi |
--doc |
--do)
1054 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1055 docdir
=$ac_optarg ;;
1057 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1059 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1060 dvidir
=$ac_optarg ;;
1062 -enable-* |
--enable-*)
1063 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1066 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1067 { (exit 1); exit 1; }; }
1068 ac_useropt_orig
=$ac_useropt
1069 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1072 "enable_
$ac_useropt"
1074 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1075 ac_unrecognized_sep
=', ';;
1077 eval enable_
$ac_useropt=\
$ac_optarg ;;
1079 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1080 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1081 |
--exec |
--exe |
--ex)
1082 ac_prev
=exec_prefix
;;
1083 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1084 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1085 |
--exec=* |
--exe=* |
--ex=*)
1086 exec_prefix
=$ac_optarg ;;
1088 -gas |
--gas |
--ga |
--g)
1089 # Obsolete; use --with-gas.
1092 -help |
--help |
--hel |
--he |
-h)
1093 ac_init_help
=long
;;
1094 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1095 ac_init_help
=recursive
;;
1096 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1097 ac_init_help
=short
;;
1099 -host |
--host |
--hos |
--ho)
1100 ac_prev
=host_alias
;;
1101 -host=* |
--host=* |
--hos=* |
--ho=*)
1102 host_alias
=$ac_optarg ;;
1104 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1106 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1108 htmldir
=$ac_optarg ;;
1110 -includedir |
--includedir |
--includedi |
--included |
--include \
1111 |
--includ |
--inclu |
--incl |
--inc)
1112 ac_prev
=includedir
;;
1113 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1114 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1115 includedir
=$ac_optarg ;;
1117 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1119 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1120 infodir
=$ac_optarg ;;
1122 -libdir |
--libdir |
--libdi |
--libd)
1124 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1125 libdir
=$ac_optarg ;;
1127 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1128 |
--libexe |
--libex |
--libe)
1129 ac_prev
=libexecdir
;;
1130 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1131 |
--libexe=* |
--libex=* |
--libe=*)
1132 libexecdir
=$ac_optarg ;;
1134 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1135 ac_prev
=localedir
;;
1136 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1137 localedir
=$ac_optarg ;;
1139 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1140 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1141 ac_prev
=localstatedir
;;
1142 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1143 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1144 localstatedir
=$ac_optarg ;;
1146 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1148 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1149 mandir
=$ac_optarg ;;
1151 -nfp |
--nfp |
--nf)
1152 # Obsolete; use --without-fp.
1155 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1156 |
--no-cr |
--no-c |
-n)
1159 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1160 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1163 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1164 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1165 |
--oldin |
--oldi |
--old |
--ol |
--o)
1166 ac_prev
=oldincludedir
;;
1167 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1168 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1169 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1170 oldincludedir
=$ac_optarg ;;
1172 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1174 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1175 prefix
=$ac_optarg ;;
1177 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1178 |
--program-pre |
--program-pr |
--program-p)
1179 ac_prev
=program_prefix
;;
1180 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1181 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1182 program_prefix
=$ac_optarg ;;
1184 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1185 |
--program-suf |
--program-su |
--program-s)
1186 ac_prev
=program_suffix
;;
1187 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1188 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1189 program_suffix
=$ac_optarg ;;
1191 -program-transform-name |
--program-transform-name \
1192 |
--program-transform-nam |
--program-transform-na \
1193 |
--program-transform-n |
--program-transform- \
1194 |
--program-transform |
--program-transfor \
1195 |
--program-transfo |
--program-transf \
1196 |
--program-trans |
--program-tran \
1197 |
--progr-tra |
--program-tr |
--program-t)
1198 ac_prev
=program_transform_name
;;
1199 -program-transform-name=* |
--program-transform-name=* \
1200 |
--program-transform-nam=* |
--program-transform-na=* \
1201 |
--program-transform-n=* |
--program-transform-=* \
1202 |
--program-transform=* |
--program-transfor=* \
1203 |
--program-transfo=* |
--program-transf=* \
1204 |
--program-trans=* |
--program-tran=* \
1205 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1206 program_transform_name
=$ac_optarg ;;
1208 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1210 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1211 pdfdir
=$ac_optarg ;;
1213 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1215 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1218 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1219 |
-silent |
--silent |
--silen |
--sile |
--sil)
1222 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1224 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1226 sbindir
=$ac_optarg ;;
1228 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1229 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1230 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1232 ac_prev
=sharedstatedir
;;
1233 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1234 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1235 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1237 sharedstatedir
=$ac_optarg ;;
1239 -site |
--site |
--sit)
1241 -site=* |
--site=* |
--sit=*)
1244 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1246 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1247 srcdir
=$ac_optarg ;;
1249 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1250 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1251 ac_prev
=sysconfdir
;;
1252 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1253 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1254 sysconfdir
=$ac_optarg ;;
1256 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1257 ac_prev
=target_alias
;;
1258 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1259 target_alias
=$ac_optarg ;;
1261 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1264 -version |
--version |
--versio |
--versi |
--vers |
-V)
1265 ac_init_version
=: ;;
1268 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1271 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1272 { (exit 1); exit 1; }; }
1273 ac_useropt_orig
=$ac_useropt
1274 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1280 ac_unrecognized_sep
=', ';;
1282 eval with_
$ac_useropt=\
$ac_optarg ;;
1284 -without-* |
--without-*)
1285 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1288 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1289 { (exit 1); exit 1; }; }
1290 ac_useropt_orig
=$ac_useropt
1291 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1292 case $ac_user_opts in
1296 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1297 ac_unrecognized_sep
=', ';;
1299 eval with_
$ac_useropt=no
;;
1302 # Obsolete; use --with-x.
1305 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1306 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1307 ac_prev
=x_includes
;;
1308 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1309 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1310 x_includes
=$ac_optarg ;;
1312 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1313 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1314 ac_prev
=x_libraries
;;
1315 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1316 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1317 x_libraries
=$ac_optarg ;;
1319 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1320 Try \`$0 --help' for more information." >&2
1321 { (exit 1); exit 1; }; }
1325 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1326 # Reject names that are not valid shell variable names.
1327 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1328 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1329 { (exit 1); exit 1; }; }
1330 eval $ac_envvar=\
$ac_optarg
1331 export $ac_envvar ;;
1334 # FIXME: should be removed in autoconf 3.0.
1335 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1336 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1337 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1338 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1344 if test -n "$ac_prev"; then
1345 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1346 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1347 { (exit 1); exit 1; }; }
1350 if test -n "$ac_unrecognized_opts"; then
1351 case $enable_option_checking in
1353 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1354 { (exit 1); exit 1; }; } ;;
1355 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1359 # Check all directory arguments for consistency.
1360 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1361 datadir sysconfdir sharedstatedir localstatedir includedir \
1362 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1363 libdir localedir mandir
1365 eval ac_val
=\$
$ac_var
1366 # Remove trailing slashes.
1369 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1370 eval $ac_var=\
$ac_val;;
1372 # Be sure to have absolute directory names.
1374 [\\/$
]* | ?
:[\\/]* ) continue;;
1375 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1377 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1378 { (exit 1); exit 1; }; }
1381 # There might be people who depend on the old broken behavior: `$host'
1382 # used to hold the argument of --host etc.
1383 # FIXME: To remove some day.
1386 target
=$target_alias
1388 # FIXME: To remove some day.
1389 if test "x$host_alias" != x
; then
1390 if test "x$build_alias" = x
; then
1391 cross_compiling
=maybe
1392 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1393 If a cross compiler is detected then cross compile mode will be used." >&2
1394 elif test "x$build_alias" != "x$host_alias"; then
1400 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1402 test "$silent" = yes && exec 6>/dev
/null
1405 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1406 ac_ls_di
=`ls -di .` &&
1407 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1408 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1409 { (exit 1); exit 1; }; }
1410 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1411 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1412 { (exit 1); exit 1; }; }
1415 # Find the source files, if location was not specified.
1416 if test -z "$srcdir"; then
1417 ac_srcdir_defaulted
=yes
1418 # Try the directory containing this script, then the parent directory.
1419 ac_confdir
=`$as_dirname -- "$as_myself" ||
1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1421 X"$as_myself" : 'X\(//\)[^/]' \| \
1422 X"$as_myself" : 'X\(//\)$' \| \
1423 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1424 $as_echo X"$as_myself" |
1425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1447 ac_srcdir_defaulted
=no
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1450 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1451 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1452 { (exit 1); exit 1; }; }
1454 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1456 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1457 { (exit 1); exit 1; }; }
1459 # When building in place, set srcdir=.
1460 if test "$ac_abs_confdir" = "$ac_pwd"; then
1463 # Remove unnecessary trailing slashes from srcdir.
1464 # Double slashes in file names in object file debugging info
1465 # mess up M-x gdb in Emacs.
1467 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1469 for ac_var
in $ac_precious_vars; do
1470 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1471 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1472 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1473 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1477 # Report the --help message.
1479 if test "$ac_init_help" = "long"; then
1480 # Omit some internal or obsolete options to make the list less imposing.
1481 # This message is too long to be a string in the A/UX 3.1 sh.
1483 \`configure' configures sqlite 3.7.0.1 to adapt to many kinds of systems.
1485 Usage: $0 [OPTION]... [VAR=VALUE]...
1487 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1488 VAR=VALUE. See below for descriptions of some of the useful variables.
1490 Defaults for the options are specified in brackets.
1493 -h, --help display this help and exit
1494 --help=short display options specific to this package
1495 --help=recursive display the short help of all the included packages
1496 -V, --version display version information and exit
1497 -q, --quiet, --silent do not print \`checking...' messages
1498 --cache-file=FILE cache test results in FILE [disabled]
1499 -C, --config-cache alias for \`--cache-file=config.cache'
1500 -n, --no-create do not create output files
1501 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1503 Installation directories:
1504 --prefix=PREFIX install architecture-independent files in PREFIX
1505 [$ac_default_prefix]
1506 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1509 By default, \`make install' will install all the files in
1510 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1511 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1512 for instance \`--prefix=\$HOME'.
1514 For better control, use the options below.
1516 Fine tuning of the installation directories:
1517 --bindir=DIR user executables [EPREFIX/bin]
1518 --sbindir=DIR system admin executables [EPREFIX/sbin]
1519 --libexecdir=DIR program executables [EPREFIX/libexec]
1520 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1521 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1522 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1523 --libdir=DIR object code libraries [EPREFIX/lib]
1524 --includedir=DIR C header files [PREFIX/include]
1525 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1526 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1527 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1528 --infodir=DIR info documentation [DATAROOTDIR/info]
1529 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1530 --mandir=DIR man documentation [DATAROOTDIR/man]
1531 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1532 --htmldir=DIR html documentation [DOCDIR]
1533 --dvidir=DIR dvi documentation [DOCDIR]
1534 --pdfdir=DIR pdf documentation [DOCDIR]
1535 --psdir=DIR ps documentation [DOCDIR]
1541 --program-prefix=PREFIX prepend PREFIX to installed program names
1542 --program-suffix=SUFFIX append SUFFIX to installed program names
1543 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1546 --build=BUILD configure
for building on BUILD
[guessed
]
1547 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1551 if test -n "$ac_init_help"; then
1552 case $ac_init_help in
1553 short | recursive
) echo "Configuration of sqlite 3.7.0.1:";;
1558 --disable-option-checking ignore unrecognized
--enable/--with options
1559 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1560 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1561 --disable-largefile omit support
for large files
1562 --disable-dependency-tracking speeds up one-time build
1563 --enable-dependency-tracking do not reject slow dependency extractors
1564 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1565 --enable-static[=PKGS
] build static libraries
[default
=yes]
1566 --enable-fast-install[=PKGS
]
1567 optimize
for fast installation
[default
=yes]
1568 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1569 --enable-readline use readline
in shell tool
(yes, no
) [default
=yes]
1570 --enable-threadsafe build a thread-safe library
[default
=yes]
1571 --enable-dynamic-extensions
1572 support loadable extensions
[default
=yes]
1575 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1576 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1577 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1578 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1580 --with-tags[=TAGS
] include additional configurations
[automatic
]
1582 Some influential environment variables
:
1583 CC C compiler
command
1584 CFLAGS C compiler flags
1585 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1586 nonstandard directory
<lib dir
>
1587 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1588 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1589 you have headers
in a nonstandard directory
<include dir
>
1591 CXX C
++ compiler
command
1592 CXXFLAGS C
++ compiler flags
1593 CXXCPP C
++ preprocessor
1594 F77 Fortran
77 compiler
command
1595 FFLAGS Fortran
77 compiler flags
1597 Use these variables to override the choices made by
`configure' or to help
1598 it to find libraries and programs with nonstandard names/locations.
1600 Report bugs to <http://www.sqlite.org>.
1605 if test "$ac_init_help" = "recursive"; then
1606 # If there are subdirs, report their specific --help.
1607 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1608 test -d "$ac_dir" ||
1609 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1617 # A ".." for each directory in $ac_dir_suffix.
1618 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1619 case $ac_top_builddir_sub in
1620 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1624 ac_abs_top_builddir=$ac_pwd
1625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir=$ac_top_build_prefix
1630 .) # We are building in place.
1632 ac_top_srcdir=$ac_top_builddir_sub
1633 ac_abs_top_srcdir=$ac_pwd ;;
1634 [\\/]* | ?:[\\/]* ) # Absolute name.
1635 ac_srcdir=$srcdir$ac_dir_suffix;
1636 ac_top_srcdir=$srcdir
1637 ac_abs_top_srcdir=$srcdir ;;
1639 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640 ac_top_srcdir=$ac_top_build_prefix$srcdir
1641 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1645 cd "$ac_dir" || { ac_status=$?; continue; }
1646 # Check for guested configure.
1647 if test -f "$ac_srcdir/configure.gnu"; then
1649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650 elif test -f "$ac_srcdir/configure"; then
1652 $SHELL "$ac_srcdir/configure" --help=recursive
1654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1656 cd "$ac_pwd" || { ac_status=$?; break; }
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1663 sqlite configure 3.7.0.1
1664 generated by GNU Autoconf 2.62
1666 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1667 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1668 This configure script is free software; the Free Software Foundation
1669 gives unlimited permission to copy, distribute and modify it.
1673 cat >config.log <<_ACEOF
1674 This file contains any messages produced by compilers while
1675 running configure, to aid debugging if configure makes a mistake.
1677 It was created by sqlite $as_me 3.7.0.1, which was
1678 generated by GNU Autoconf 2.62. Invocation command line was
1690 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1691 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1692 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1693 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1694 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1696 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1697 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1699 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1700 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1701 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1702 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1703 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1704 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1705 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 test -z "$as_dir" && as_dir=.
1714 $as_echo "PATH: $as_dir"
1730 # Keep a trace of the command line.
1731 # Strip out --no-create and --no-recursion so they do not pile up.
1732 # Strip out --silent because we don't want to record it for future runs.
1733 # Also quote any args containing shell meta-characters.
1734 # Make two passes to allow for proper duplicate-argument suppression.
1738 ac_must_keep_next=false
1744 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1745 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1746 | -silent | --silent | --silen | --sile | --sil)
1749 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1752 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1754 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1755 if test $ac_must_keep_next = true; then
1756 ac_must_keep_next=false # Got value, back to normal.
1759 *=* | --config-cache | -C | -disable-* | --disable-* \
1760 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1761 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1762 | -with-* | --with-* | -without-* | --without-* | --x)
1763 case "$ac_configure_args0 " in
1764 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1767 -* ) ac_must_keep_next=true ;;
1770 ac_configure_args="$ac_configure_args '$ac_arg'"
1775 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1776 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1778 # When interrupted or exit'd, cleanup temporary files, and complete
1779 # config.log. We remove comments because anyway the quotes in there
1780 # would cause problems or look ugly.
1781 # WARNING: Use '\'' to represent an apostrophe within the trap.
1782 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1783 trap 'exit_status=$?
1784 # Save into config.log some information that might help in debugging.
1789 ## ---------------- ##
1790 ## Cache variables. ##
1791 ## ---------------- ##
1794 # The following way of writing the cache mishandles newlines in values,
1796 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1797 eval ac_val=\$$ac_var
1801 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1802 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1805 _ | IFS | as_nl) ;; #(
1806 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1807 *) $as_unset $ac_var ;;
1812 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1813 *${as_nl}ac_space=\ *)
1815 "s/'\''/'\''\\\\'\'''\''/g;
1816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1819 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1827 ## ----------------- ##
1828 ## Output variables. ##
1829 ## ----------------- ##
1832 for ac_var in $ac_subst_vars
1834 eval ac_val=\$$ac_var
1836 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1838 $as_echo "$ac_var='\''$ac_val'\''"
1842 if test -n "$ac_subst_files"; then
1844 ## ------------------- ##
1845 ## File substitutions. ##
1846 ## ------------------- ##
1849 for ac_var in $ac_subst_files
1851 eval ac_val=\$$ac_var
1853 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1855 $as_echo "$ac_var='\''$ac_val'\''"
1860 if test -s confdefs.h; then
1870 test "$ac_signal" != 0 &&
1871 $as_echo "$as_me: caught signal $ac_signal"
1872 $as_echo "$as_me: exit $exit_status"
1874 rm -f core *.core core.conftest.* &&
1875 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1878 for ac_signal in 1 2 13 15; do
1879 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1883 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1884 rm -f -r conftest* confdefs.h
1886 # Predefined preprocessor variables.
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_NAME "$PACKAGE_NAME"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_STRING "$PACKAGE_STRING"
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1913 # Let the site file select an alternate cache file if it wants to.
1914 # Prefer an explicitly selected file to automatically selected ones.
1917 if test -n "$CONFIG_SITE"; then
1918 ac_site_file1=$CONFIG_SITE
1919 elif test "x$prefix" != xNONE; then
1920 ac_site_file1=$prefix/share/config.site
1921 ac_site_file2=$prefix/etc/config.site
1923 ac_site_file1=$ac_default_prefix/share/config.site
1924 ac_site_file2=$ac_default_prefix/etc/config.site
1926 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1928 test "x$ac_site_file" = xNONE && continue
1929 if test -r "$ac_site_file"; then
1930 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1931 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1932 sed 's/^/| /' "$ac_site_file" >&5
1937 if test -r "$cache_file"; then
1938 # Some versions of bash will fail to source /dev/null (special
1939 # files actually), so we avoid doing that.
1940 if test -f "$cache_file"; then
1941 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1942 $as_echo "$as_me: loading cache $cache_file" >&6;}
1944 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1945 *) . "./$cache_file";;
1949 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1950 $as_echo "$as_me: creating cache $cache_file" >&6;}
1954 # Check that the precious variables saved in the cache have kept the same
1956 ac_cache_corrupted=false
1957 for ac_var in $ac_precious_vars; do
1958 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1959 eval ac_new_set=\$ac_env_${ac_var}_set
1960 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1961 eval ac_new_val=\$ac_env_${ac_var}_value
1962 case $ac_old_set,$ac_new_set in
1964 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1965 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1966 ac_cache_corrupted=: ;;
1968 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1969 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1970 ac_cache_corrupted=: ;;
1973 if test "x$ac_old_val" != "x$ac_new_val"; then
1974 # differences in whitespace do not lead to failure.
1975 ac_old_val_w=`echo x
$ac_old_val`
1976 ac_new_val_w=`echo x
$ac_new_val`
1977 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1978 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1979 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1980 ac_cache_corrupted=:
1982 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1983 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1984 eval $ac_var=\$ac_old_val
1986 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1987 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1988 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1989 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1992 # Pass precious variables to config.status.
1993 if test "$ac_new_set" = set; then
1995 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1996 *) ac_arg=$ac_var=$ac_new_val ;;
1998 case " $ac_configure_args " in
1999 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2000 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2004 if $ac_cache_corrupted; then
2005 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2006 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2007 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2008 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2009 { (exit 1); exit 1; }; }
2037 ac_cpp='$CPP $CPPFLAGS'
2038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2046 am__api_version="1.9"
2048 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2049 if test -f "$ac_dir/install-sh"; then
2051 ac_install_sh="$ac_aux_dir/install-sh -c"
2053 elif test -f "$ac_dir/install.sh"; then
2055 ac_install_sh="$ac_aux_dir/install.sh -c"
2057 elif test -f "$ac_dir/shtool"; then
2059 ac_install_sh="$ac_aux_dir/shtool install -c"
2063 if test -z "$ac_aux_dir"; then
2064 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2065 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2066 { (exit 1); exit 1; }; }
2069 # These three variables are undocumented and unsupported,
2070 # and are intended to be withdrawn in a future Autoconf release.
2071 # They can cause serious problems if a builder's source tree is in a directory
2072 # whose full name contains unusual characters.
2073 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2074 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2075 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2078 # Find a good install program. We prefer a C program (faster),
2079 # so one script is as good as another. But avoid the broken or
2080 # incompatible versions:
2081 # SysV /etc/install, /usr/sbin/install
2082 # SunOS /usr/etc/install
2083 # IRIX /sbin/install
2085 # AmigaOS /C/install, which installs bootblocks on floppy discs
2086 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2087 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2088 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2089 # OS/2's system install, which has a completely different semantic
2090 # ./install, which can be erroneously created by make from ./install.sh.
2091 # Reject install programs that cannot install multiple files.
2092 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2093 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2094 if test -z "$INSTALL"; then
2095 if test "${ac_cv_path_install+set}" = set; then
2096 $as_echo_n "(cached) " >&6
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir=.
2103 # Account for people who put trailing slashes in PATH elements.
2105 ./ | .// | /cC/* | \
2106 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2107 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2110 # OSF1 and SCO ODT 3.0 have their own names for install.
2111 # Don't use installbsd from OSF since it installs stuff as root
2113 for ac_prog in ginstall scoinst install; do
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2116 if test $ac_prog = install &&
2117 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2118 # AIX install. It has an incompatible calling convention.
2120 elif test $ac_prog = install &&
2121 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2122 # program-specific install script used by HP pwplus--don't use.
2125 rm -rf conftest.one conftest.two conftest.dir
2126 echo one > conftest.one
2127 echo two > conftest.two
2129 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2130 test -s conftest.one && test -s conftest.two &&
2131 test -s conftest.dir/conftest.one &&
2132 test -s conftest.dir/conftest.two
2134 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2147 rm -rf conftest.one conftest.two conftest.dir
2150 if test "${ac_cv_path_install+set}" = set; then
2151 INSTALL=$ac_cv_path_install
2153 # As a last resort, use the slow shell script. Don't cache a
2154 # value for INSTALL within a source directory, because that will
2155 # break other packages using the cache if that directory is
2156 # removed, or if the value is a relative name.
2157 INSTALL=$ac_install_sh
2160 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2161 $as_echo "$INSTALL" >&6; }
2163 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2164 # It thinks the first close brace ends the variable substitution.
2165 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2167 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2169 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2171 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2172 $as_echo_n "checking whether build environment is sane... " >&6; }
2175 echo timestamp > conftest.file
2176 # Do `set' in a subshell so we don't clobber the current shell
's
2177 # arguments. Must try -L first in case configure is actually a
2178 # symlink; some systems play weird games with the mod time of symlinks
2179 # (eg FreeBSD returns the mod time of the symlink's containing
2182 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2183 if test "$*" = "X"; then
2185 set X
`ls -t $srcdir/configure conftest.file`
2188 if test "$*" != "X $srcdir/configure conftest.file" \
2189 && test "$*" != "X conftest.file $srcdir/configure"; then
2191 # If neither matched, then we have a broken ls. This can happen
2192 # if, for instance, CONFIG_SHELL is bash and it inherits a
2193 # broken ls alias from the environment. This has actually
2194 # happened. Such a system could not be considered "sane".
2195 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2196 alias in your environment" >&5
2197 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2198 alias in your environment" >&2;}
2199 { (exit 1); exit 1; }; }
2202 test "$2" = conftest.
file
2208 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2209 Check your system clock" >&5
2210 $as_echo "$as_me: error: newly created file is older than distributed files!
2211 Check your system clock" >&2;}
2212 { (exit 1); exit 1; }; }
2214 { $as_echo "$as_me:$LINENO: result: yes" >&5
2215 $as_echo "yes" >&6; }
2216 test "$program_prefix" != NONE
&&
2217 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2218 # Use a double $ so make ignores it.
2219 test "$program_suffix" != NONE
&&
2220 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2221 # Double any \ or $.
2222 # By default was `s,x,x', remove it if useless.
2223 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2224 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2226 # expand $ac_aux_dir to an absolute path
2227 am_aux_dir
=`cd $ac_aux_dir && pwd`
2229 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2230 # Use eval to expand $SHELL
2231 if eval "$MISSING --run true"; then
2232 am_missing_run
="$MISSING --run "
2235 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2236 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2239 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2240 # We used to keeping the `.' as first argument, in order to
2241 # allow $(mkdir_p) to be used without argument. As in
2242 # $(mkdir_p) $(somedir)
2243 # where $(somedir) is conditionally defined. However this is wrong
2245 # 1. if the package is installed by a user who cannot write `.'
2246 # make install will fail,
2247 # 2. the above comment should most certainly read
2248 # $(mkdir_p) $(DESTDIR)$(somedir)
2249 # so it does not work when $(somedir) is undefined and
2250 # $(DESTDIR) is not.
2251 # To support the latter case, we have to write
2252 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2253 # so the `.' trick is pointless.
2254 mkdir_p
='mkdir -p --'
2256 # On NextStep and OpenStep, the `mkdir' command does not
2257 # recognize any option. It will interpret all options as
2258 # directories to create, and then abort because `.' already
2260 for d
in .
/-p .
/--version;
2262 test -d $d && rmdir $d
2264 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2265 if test -f "$ac_aux_dir/mkinstalldirs"; then
2266 mkdir_p
='$(mkinstalldirs)'
2268 mkdir_p
='$(install_sh) -d'
2272 for ac_prog
in gawk mawk nawk
awk
2274 # Extract the first word of "$ac_prog", so it can be a program name with args.
2275 set dummy
$ac_prog; ac_word
=$2
2276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 $as_echo_n "checking for $ac_word... " >&6; }
2278 if test "${ac_cv_prog_AWK+set}" = set; then
2279 $as_echo_n "(cached) " >&6
2281 if test -n "$AWK"; then
2282 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir
=.
2289 for ac_exec_ext
in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_AWK
="$ac_prog"
2292 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 if test -n "$AWK"; then
2303 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2304 $as_echo "$AWK" >&6; }
2306 { $as_echo "$as_me:$LINENO: result: no" >&5
2307 $as_echo "no" >&6; }
2311 test -n "$AWK" && break
2314 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2315 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2317 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2318 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2319 $as_echo_n "(cached) " >&6
2321 cat >conftest.
make <<\_ACEOF
2324 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2326 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2327 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2329 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2331 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2335 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2336 { $as_echo "$as_me:$LINENO: result: yes" >&5
2337 $as_echo "yes" >&6; }
2340 { $as_echo "$as_me:$LINENO: result: no" >&5
2341 $as_echo "no" >&6; }
2342 SET_MAKE
="MAKE=${MAKE-make}"
2345 rm -rf .tst
2>/dev
/null
2346 mkdir .tst
2>/dev
/null
2347 if test -d .tst
; then
2352 rmdir .tst
2>/dev
/null
2354 # test to see if srcdir already configured
2355 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2356 test -f $srcdir/config.status
; then
2357 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2358 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2359 { (exit 1); exit 1; }; }
2362 # test whether we have cygpath
2363 if test -z "$CYGPATH_W"; then
2364 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2365 CYGPATH_W
='cygpath -w'
2372 # Define the identity of the package.
2377 cat >>confdefs.h
<<_ACEOF
2378 #define PACKAGE "$PACKAGE"
2382 cat >>confdefs.h
<<_ACEOF
2383 #define VERSION "$VERSION"
2386 # Some tools Automake needs.
2388 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2391 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2394 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2397 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2400 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2402 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2404 # Installed binaries are usually stripped using `strip' when the user
2405 # run `make install-strip'. However `strip' might not be the right
2406 # tool to use in cross-compilation environments, therefore Automake
2407 # will honor the `STRIP' environment variable to overrule this program.
2408 if test "$cross_compiling" != no
; then
2409 if test -n "$ac_tool_prefix"; then
2410 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2411 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2412 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2413 $as_echo_n "checking for $ac_word... " >&6; }
2414 if test "${ac_cv_prog_STRIP+set}" = set; then
2415 $as_echo_n "(cached) " >&6
2417 if test -n "$STRIP"; then
2418 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2424 test -z "$as_dir" && as_dir
=.
2425 for ac_exec_ext
in '' $ac_executable_extensions; do
2426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2427 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2428 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 STRIP
=$ac_cv_prog_STRIP
2438 if test -n "$STRIP"; then
2439 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2440 $as_echo "$STRIP" >&6; }
2442 { $as_echo "$as_me:$LINENO: result: no" >&5
2443 $as_echo "no" >&6; }
2448 if test -z "$ac_cv_prog_STRIP"; then
2450 # Extract the first word of "strip", so it can be a program name with args.
2451 set dummy strip
; ac_word
=$2
2452 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2453 $as_echo_n "checking for $ac_word... " >&6; }
2454 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2455 $as_echo_n "(cached) " >&6
2457 if test -n "$ac_ct_STRIP"; then
2458 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir
=.
2465 for ac_exec_ext
in '' $ac_executable_extensions; do
2466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2467 ac_cv_prog_ac_ct_STRIP
="strip"
2468 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2478 if test -n "$ac_ct_STRIP"; then
2479 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2480 $as_echo "$ac_ct_STRIP" >&6; }
2482 { $as_echo "$as_me:$LINENO: result: no" >&5
2483 $as_echo "no" >&6; }
2486 if test "x$ac_ct_STRIP" = x
; then
2489 case $cross_compiling:$ac_tool_warned in
2491 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2492 whose name does not start with the host triplet. If you think this
2493 configuration is useful to you, please write to autoconf@gnu.org." >&5
2494 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2495 whose name does not start with the host triplet. If you think this
2496 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2497 ac_tool_warned
=yes ;;
2502 STRIP
="$ac_cv_prog_STRIP"
2506 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2508 # We need awk for the "check" target. The system "awk" is bad on
2510 # Always define AMTAR for backward compatibility.
2512 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2514 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2521 DEPDIR
="${am__leading_dot}deps"
2523 ac_config_commands
="$ac_config_commands depfiles"
2526 am_make
=${MAKE-make}
2527 cat > confinc
<< 'END'
2532 # If we don't find an include directive, just comment out the code.
2533 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2534 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2538 # First try GNU make style include.
2539 echo "include confinc" > confmf
2540 # We grep out `Entering directory' and `Leaving directory'
2541 # messages which can occur if `w' ends up in MAKEFLAGS.
2542 # In particular we don't look at `^make:' because GNU make might
2543 # be invoked under some other name (usually "gmake"), in which
2544 # case it prints its new name instead of `make'.
2545 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2550 # Now try BSD make style include.
2551 if test "$am__include" = "#"; then
2552 echo '.include "confinc"' > confmf
2553 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2554 am__include
=.include
2561 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2562 $as_echo "$_am_result" >&6; }
2563 rm -f confinc confmf
2565 # Check whether --enable-dependency-tracking was given.
2566 if test "${enable_dependency_tracking+set}" = set; then
2567 enableval
=$enable_dependency_tracking;
2570 if test "x$enable_dependency_tracking" != xno
; then
2571 am_depcomp
="$ac_aux_dir/depcomp"
2576 if test "x$enable_dependency_tracking" != xno; then
2587 ac_cpp
='$CPP $CPPFLAGS'
2588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2591 if test -n "$ac_tool_prefix"; then
2592 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2593 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2594 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if test "${ac_cv_prog_CC+set}" = set; then
2597 $as_echo_n "(cached) " >&6
2599 if test -n "$CC"; then
2600 ac_cv_prog_CC
="$CC" # Let the user override the test.
2602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir
=.
2607 for ac_exec_ext
in '' $ac_executable_extensions; do
2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2610 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 if test -n "$CC"; then
2621 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2622 $as_echo "$CC" >&6; }
2624 { $as_echo "$as_me:$LINENO: result: no" >&5
2625 $as_echo "no" >&6; }
2630 if test -z "$ac_cv_prog_CC"; then
2632 # Extract the first word of "gcc", so it can be a program name with args.
2633 set dummy gcc
; ac_word
=$2
2634 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2637 $as_echo_n "(cached) " >&6
2639 if test -n "$ac_ct_CC"; then
2640 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir
=.
2647 for ac_exec_ext
in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 ac_cv_prog_ac_ct_CC
="gcc"
2650 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2660 if test -n "$ac_ct_CC"; then
2661 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2662 $as_echo "$ac_ct_CC" >&6; }
2664 { $as_echo "$as_me:$LINENO: result: no" >&5
2665 $as_echo "no" >&6; }
2668 if test "x$ac_ct_CC" = x
; then
2671 case $cross_compiling:$ac_tool_warned in
2673 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2674 whose name does not start with the host triplet. If you think this
2675 configuration is useful to you, please write to autoconf@gnu.org." >&5
2676 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2677 whose name does not start with the host triplet. If you think this
2678 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2679 ac_tool_warned
=yes ;;
2687 if test -z "$CC"; then
2688 if test -n "$ac_tool_prefix"; then
2689 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2690 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2691 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2692 $as_echo_n "checking for $ac_word... " >&6; }
2693 if test "${ac_cv_prog_CC+set}" = set; then
2694 $as_echo_n "(cached) " >&6
2696 if test -n "$CC"; then
2697 ac_cv_prog_CC
="$CC" # Let the user override the test.
2699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir
=.
2704 for ac_exec_ext
in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2707 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 if test -n "$CC"; then
2718 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2719 $as_echo "$CC" >&6; }
2721 { $as_echo "$as_me:$LINENO: result: no" >&5
2722 $as_echo "no" >&6; }
2728 if test -z "$CC"; then
2729 # Extract the first word of "cc", so it can be a program name with args.
2730 set dummy cc
; ac_word
=$2
2731 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2732 $as_echo_n "checking for $ac_word... " >&6; }
2733 if test "${ac_cv_prog_CC+set}" = set; then
2734 $as_echo_n "(cached) " >&6
2736 if test -n "$CC"; then
2737 ac_cv_prog_CC
="$CC" # Let the user override the test.
2740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2744 test -z "$as_dir" && as_dir
=.
2745 for ac_exec_ext
in '' $ac_executable_extensions; do
2746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2747 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2748 ac_prog_rejected
=yes
2752 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 if test $ac_prog_rejected = yes; then
2760 # We found a bogon in the path, so make sure we never use it.
2761 set dummy
$ac_cv_prog_CC
2763 if test $# != 0; then
2764 # We chose a different compiler from the bogus one.
2765 # However, it has the same basename, so the bogon will be chosen
2766 # first if we set CC to just the basename; use the full file name.
2768 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2774 if test -n "$CC"; then
2775 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2776 $as_echo "$CC" >&6; }
2778 { $as_echo "$as_me:$LINENO: result: no" >&5
2779 $as_echo "no" >&6; }
2784 if test -z "$CC"; then
2785 if test -n "$ac_tool_prefix"; then
2786 for ac_prog
in cl.exe
2788 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2789 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2790 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if test "${ac_cv_prog_CC+set}" = set; then
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$CC"; then
2796 ac_cv_prog_CC
="$CC" # Let the user override the test.
2798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir
=.
2803 for ac_exec_ext
in '' $ac_executable_extensions; do
2804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2806 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 if test -n "$CC"; then
2817 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2818 $as_echo "$CC" >&6; }
2820 { $as_echo "$as_me:$LINENO: result: no" >&5
2821 $as_echo "no" >&6; }
2825 test -n "$CC" && break
2828 if test -z "$CC"; then
2830 for ac_prog
in cl.exe
2832 # Extract the first word of "$ac_prog", so it can be a program name with args.
2833 set dummy
$ac_prog; ac_word
=$2
2834 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2835 $as_echo_n "checking for $ac_word... " >&6; }
2836 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2837 $as_echo_n "(cached) " >&6
2839 if test -n "$ac_ct_CC"; then
2840 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2846 test -z "$as_dir" && as_dir
=.
2847 for ac_exec_ext
in '' $ac_executable_extensions; do
2848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2849 ac_cv_prog_ac_ct_CC
="$ac_prog"
2850 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2860 if test -n "$ac_ct_CC"; then
2861 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2862 $as_echo "$ac_ct_CC" >&6; }
2864 { $as_echo "$as_me:$LINENO: result: no" >&5
2865 $as_echo "no" >&6; }
2869 test -n "$ac_ct_CC" && break
2872 if test "x$ac_ct_CC" = x
; then
2875 case $cross_compiling:$ac_tool_warned in
2877 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2878 whose name does not start with the host triplet. If you think this
2879 configuration is useful to you, please write to autoconf@gnu.org." >&5
2880 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2881 whose name does not start with the host triplet. If you think this
2882 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2883 ac_tool_warned
=yes ;;
2892 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2893 See \`config.log' for more details." >&5
2894 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2895 See \`config.log' for more details." >&2;}
2896 { (exit 1); exit 1; }; }
2898 # Provide some information about the compiler.
2899 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2902 { (ac_try
="$ac_compiler --version >&5"
2904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2908 $as_echo "$ac_try_echo") >&5
2909 (eval "$ac_compiler --version >&5") 2>&5
2911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }
2913 { (ac_try="$ac_compiler -v >&5"
2915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2916 *) ac_try_echo
=$ac_try;;
2918 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2919 $as_echo "$ac_try_echo") >&5
2920 (eval "$ac_compiler -v >&5") 2>&5
2922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }
2924 { (ac_try
="$ac_compiler -V >&5"
2926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2930 $as_echo "$ac_try_echo") >&5
2931 (eval "$ac_compiler -V >&5") 2>&5
2933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }
2936 cat >conftest.$ac_ext <<_ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2951 ac_clean_files_save=$ac_clean_files
2952 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2953 # Try to create an executable without -o first, disregard a.out.
2954 # It will help us diagnose broken compilers, and finding out an intuition
2956 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2957 $as_echo_n "checking for C compiler default output file name... " >&6; }
2958 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2960 # The possible output files:
2961 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2964 for ac_file in $ac_files
2967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2968 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2973 if { (ac_try="$ac_link_default"
2975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2976 *) ac_try_echo
=$ac_try;;
2978 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2979 $as_echo "$ac_try_echo") >&5
2980 (eval "$ac_link_default") 2>&5
2982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; then
2984 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2985 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2986 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2987 # so that the user can short-circuit this test for compilers unknown to
2989 for ac_file
in $ac_files ''
2991 test -f "$ac_file" ||
continue
2993 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2996 # We found the default executable, but exeext='' is most
3000 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3002 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3004 # We set ac_cv_exeext here because the later test for it is not
3005 # safe: cross compilers may not add the suffix if given an `-o'
3006 # argument, so we may need to know it at that point already.
3007 # Even if this section looks crufty: it has the advantage of
3014 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3020 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3021 $as_echo "$ac_file" >&6; }
3022 if test -z "$ac_file"; then
3023 $as_echo "$as_me: failed program was:" >&5
3024 sed 's/^/| /' conftest.
$ac_ext >&5
3026 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3027 See \`config.log' for more details." >&5
3028 $as_echo "$as_me: error: C compiler cannot create executables
3029 See \`config.log' for more details." >&2;}
3030 { (exit 77); exit 77; }; }
3033 ac_exeext
=$ac_cv_exeext
3035 # Check that the compiler produces executables we can run. If not, either
3036 # the compiler is broken, or we cross compile.
3037 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3038 $as_echo_n "checking whether the C compiler works... " >&6; }
3039 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3040 # If not cross compiling, check that we can run a simple program.
3041 if test "$cross_compiling" != yes; then
3042 if { ac_try
='./$ac_file'
3043 { (case "(($ac_try" in
3044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3045 *) ac_try_echo=$ac_try;;
3047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3048 $as_echo "$ac_try_echo") >&5
3049 (eval "$ac_try") 2>&5
3051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); }; }; then
3055 if test "$cross_compiling" = maybe; then
3058 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3059 If you meant to cross compile, use \`--host'.
3060 See \`config.log' for more details.
" >&5
3061 $as_echo "$as_me: error
: cannot run C compiled programs.
3062 If you meant to cross compile
, use \
`--host'.
3063 See \`config.log
' for more details." >&2;}
3064 { (exit 1); exit 1; }; }
3068 { $as_echo "$as_me:$LINENO: result: yes" >&5
3069 $as_echo "yes" >&6; }
3071 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3072 ac_clean_files=$ac_clean_files_save
3073 # Check that the compiler produces executables we can run. If not, either
3074 # the compiler is broken, or we cross compile.
3075 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3076 $as_echo_n "checking whether we are cross compiling... " >&6; }
3077 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3078 $as_echo "$cross_compiling" >&6; }
3080 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3081 $as_echo_n "checking for suffix of executables... " >&6; }
3082 if { (ac_try="$ac_link"
3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3088 $as_echo "$ac_try_echo") >&5
3089 (eval "$ac_link") 2>&5
3091 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); }; then
3093 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3094 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3095 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3097 for ac_file
in conftest.exe conftest conftest.
*; do
3098 test -f "$ac_file" ||
continue
3100 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3101 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3107 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3108 See \`config.log' for more details." >&5
3109 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3110 See \`config.log' for more details." >&2;}
3111 { (exit 1); exit 1; }; }
3114 rm -f conftest
$ac_cv_exeext
3115 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3116 $as_echo "$ac_cv_exeext" >&6; }
3118 rm -f conftest.
$ac_ext
3119 EXEEXT
=$ac_cv_exeext
3121 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3122 $as_echo_n "checking for suffix of object files... " >&6; }
3123 if test "${ac_cv_objext+set}" = set; then
3124 $as_echo_n "(cached) " >&6
3126 cat >conftest.
$ac_ext <<_ACEOF
3129 cat confdefs.h
>>conftest.
$ac_ext
3130 cat >>conftest.
$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3141 rm -f conftest.o conftest.obj
3142 if { (ac_try
="$ac_compile"
3144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3148 $as_echo "$ac_try_echo") >&5
3149 (eval "$ac_compile") 2>&5
3151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }; then
3153 for ac_file in conftest.o conftest.obj conftest.*; do
3154 test -f "$ac_file" || continue;
3156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3157 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3162 $as_echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3165 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3166 See \`config.log
' for more details." >&5
3167 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3168 See \`config.log' for more details.
" >&2;}
3169 { (exit 1); exit 1; }; }
3172 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3174 { $as_echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3175 $as_echo "$ac_cv_objext" >&6; }
3176 OBJEXT=$ac_cv_objext
3178 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3179 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3180 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3181 $as_echo_n "(cached
) " >&6
3183 cat >conftest.$ac_ext <<_ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3201 rm -f conftest.$ac_objext
3202 if { (ac_try="$ac_compile"
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3208 $as_echo "$ac_try_echo") >&5
3209 (eval "$ac_compile") 2>conftest.er1
3211 grep -v '^ *+' conftest.er1 >conftest.err
3213 cat conftest.err >&5
3214 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3215 (exit $ac_status); } && {
3216 test -z "$ac_c_werror_flag" ||
3217 test ! -s conftest.err
3218 } && test -s conftest.$ac_objext; then
3221 $as_echo "$as_me: failed program was
:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3231 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3232 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3233 if test $ac_compiler_gnu = yes; then
3238 ac_test_CFLAGS=${CFLAGS+set}
3239 ac_save_CFLAGS=$CFLAGS
3240 { $as_echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3241 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3242 if test "${ac_cv_prog_cc_g+set}" = set; then
3243 $as_echo_n "(cached
) " >&6
3245 ac_save_c_werror_flag=$ac_c_werror_flag
3246 ac_c_werror_flag=yes
3249 cat >conftest.$ac_ext <<_ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3271 $as_echo "$ac_try_echo") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3274 grep -v '^ *+' conftest.er1 >conftest.err
3276 cat conftest.err >&5
3277 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_c_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3284 $as_echo "$as_me: failed program was
:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3288 cat >conftest.$ac_ext <<_ACEOF
3291 cat confdefs.h >>conftest.$ac_ext
3292 cat >>conftest.$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3303 rm -f conftest.$ac_objext
3304 if { (ac_try="$ac_compile"
3306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3309 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3310 $as_echo "$ac_try_echo") >&5
3311 (eval "$ac_compile") 2>conftest.er1
3313 grep -v '^ *+' conftest.er1 >conftest.err
3315 cat conftest.err >&5
3316 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3317 (exit $ac_status); } && {
3318 test -z "$ac_c_werror_flag" ||
3319 test ! -s conftest.err
3320 } && test -s conftest.$ac_objext; then
3323 $as_echo "$as_me: failed program was
:" >&5
3324 sed 's/^/| /' conftest.$ac_ext >&5
3326 ac_c_werror_flag=$ac_save_c_werror_flag
3328 cat >conftest.$ac_ext <<_ACEOF
3331 cat confdefs.h >>conftest.$ac_ext
3332 cat >>conftest.$ac_ext <<_ACEOF
3333 /* end confdefs.h. */
3343 rm -f conftest.$ac_objext
3344 if { (ac_try="$ac_compile"
3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3349 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3350 $as_echo "$ac_try_echo") >&5
3351 (eval "$ac_compile") 2>conftest.er1
3353 grep -v '^ *+' conftest.er1 >conftest.err
3355 cat conftest.err >&5
3356 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3357 (exit $ac_status); } && {
3358 test -z "$ac_c_werror_flag" ||
3359 test ! -s conftest.err
3360 } && test -s conftest.$ac_objext; then
3363 $as_echo "$as_me: failed program was
:" >&5
3364 sed 's/^/| /' conftest.$ac_ext >&5
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376 ac_c_werror_flag=$ac_save_c_werror_flag
3378 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3379 $as_echo "$ac_cv_prog_cc_g" >&6; }
3380 if test "$ac_test_CFLAGS" = set; then
3381 CFLAGS=$ac_save_CFLAGS
3382 elif test $ac_cv_prog_cc_g = yes; then
3383 if test "$GCC" = yes; then
3389 if test "$GCC" = yes; then
3395 { $as_echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3396 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3397 if test "${ac_cv_prog_cc_c89+set}" = set; then
3398 $as_echo_n "(cached
) " >&6
3400 ac_cv_prog_cc_c89=no
3402 cat >conftest.$ac_ext <<_ACEOF
3405 cat confdefs.h >>conftest.$ac_ext
3406 cat >>conftest.$ac_ext <<_ACEOF
3407 /* end confdefs.h. */
3410 #include <sys/types.h>
3411 #include <sys/stat.h>
3412 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3413 struct buf { int x; };
3414 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3415 static char *e (p, i)
3421 static char *f (char * (*g) (char **, int), char **p, ...)
3426 s = g (p, va_arg (v,int));
3431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3432 function prototypes and stuff, but not '\xHH' hex character constants.
3433 These don't provoke an error unfortunately, instead are silently treated
3434 as 'x'. The following induces an error, until -std is added to get
3435 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3436 array size at least. It's necessary to write '\x00'==0 to get something
3437 that's true only with -std. */
3438 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3440 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3441 inside strings and character constants. */
3443 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3445 int test (int i, double x);
3446 struct s1 {int (*f) (int a);};
3447 struct s2 {int (*f) (double a);};
3448 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3454 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3459 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3460 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3462 CC="$ac_save_CC $ac_arg"
3463 rm -f conftest.$ac_objext
3464 if { (ac_try="$ac_compile"
3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467 *) ac_try_echo=$ac_try;;
3469 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3470 $as_echo "$ac_try_echo") >&5
3471 (eval "$ac_compile") 2>conftest.er1
3473 grep -v '^ *+' conftest.er1 >conftest.err
3475 cat conftest.err >&5
3476 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3477 (exit $ac_status); } && {
3478 test -z "$ac_c_werror_flag" ||
3479 test ! -s conftest.err
3480 } && test -s conftest.$ac_objext; then
3481 ac_cv_prog_cc_c89=$ac_arg
3483 $as_echo "$as_me: failed program was
:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5
3489 rm -f core conftest.err conftest.$ac_objext
3490 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3492 rm -f conftest.$ac_ext
3497 case "x
$ac_cv_prog_cc_c89" in
3499 { $as_echo "$as_me:$LINENO: result
: none needed
" >&5
3500 $as_echo "none needed
" >&6; } ;;
3502 { $as_echo "$as_me:$LINENO: result
: unsupported
" >&5
3503 $as_echo "unsupported
" >&6; } ;;
3505 CC="$CC $ac_cv_prog_cc_c89"
3506 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3507 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3512 ac_cpp='$CPP $CPPFLAGS'
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3517 depcc="$CC" am_compiler_list=
3519 { $as_echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3520 $as_echo_n "checking dependency style of
$depcc...
" >&6; }
3521 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3522 $as_echo_n "(cached
) " >&6
3524 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3525 # We make a subdir and do the tests there. Otherwise we can end up
3526 # making bogus files that we don't know about and never remove. For
3527 # instance it was reported that on HP-UX the gcc test will end up
3528 # making a dummy file named `D' -- because `-MD' means `put the output
3531 # Copy depcomp to subdir because otherwise we won't find it if we're
3532 # using a relative directory.
3533 cp "$am_depcomp" conftest.dir
3535 # We will build objects and dependencies in a subdirectory because
3536 # it helps to detect inapplicable dependency modes. For instance
3537 # both Tru64's cc and ICC support -MD to output dependencies as a
3538 # side effect of compilation, but ICC will put the dependencies in
3539 # the current directory while Tru64 will put them in the object
3543 am_cv_CC_dependencies_compiler_type=none
3544 if test "$am_compiler_list" = ""; then
3545 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3547 for depmode in $am_compiler_list; do
3548 # Setup a source with many dependencies, because some compilers
3549 # like to wrap large dependency lists on column 80 (with \), and
3550 # we should not choose a depcomp mode which is confused by this.
3552 # We need to recreate these files for each test, as the compiler may
3553 # overwrite some of them when testing with obscure command lines.
3554 # This happens at least with the AIX C compiler.
3556 for i in 1 2 3 4 5 6; do
3557 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3558 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3559 # Solaris 8's {/usr,}/bin/sh.
3560 touch sub/conftst$i.h
3562 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3566 # after this tag, mechanisms are not by side-effect, so they'll
3567 # only be used when explicitly requested
3568 if test "x
$enable_dependency_tracking" = xyes; then
3576 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3577 # mode. It turns out that the SunPro C++ compiler does not properly
3578 # handle `-M -o', and we need to detect this.
3579 if depmode=$depmode \
3580 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3581 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3582 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3583 >/dev/null 2>conftest.err &&
3584 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3585 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3586 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3587 # icc doesn't choke on unknown options, it will just issue warnings
3588 # or remarks (even with -Werror). So we grep stderr for any message
3589 # that says an option was ignored or not supported.
3590 # When given -MP, icc 7.0 and 7.1 complain thusly:
3591 # icc: Command line warning: ignoring option '-M'; no argument required
3592 # The diagnosis changed in icc 8.0:
3593 # icc: Command line remark: option '-MP' not supported
3594 if (grep 'ignoring option' conftest.err ||
3595 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3596 am_cv_CC_dependencies_compiler_type=$depmode
3605 am_cv_CC_dependencies_compiler_type=none
3609 { $as_echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3610 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3611 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3616 test "x
$enable_dependency_tracking" != xno \
3617 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3619 am__fastdepCC_FALSE='#'
3621 am__fastdepCC_TRUE='#'
3622 am__fastdepCC_FALSE=
3627 # Check whether --enable-largefile was given.
3628 if test "${enable_largefile+set}" = set; then
3629 enableval=$enable_largefile;
3632 if test "$enable_largefile" != no; then
3634 { $as_echo "$as_me:$LINENO: checking
for special C compiler options needed
for large files
" >&5
3635 $as_echo_n "checking
for special C compiler options needed
for large files...
" >&6; }
3636 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3637 $as_echo_n "(cached
) " >&6
3639 ac_cv_sys_largefile_CC=no
3640 if test "$GCC" != yes; then
3643 # IRIX 6.2 and later do not support large files by default,
3644 # so use the C compiler's -n32 option if that helps.
3645 cat >conftest.$ac_ext <<_ACEOF
3648 cat confdefs.h >>conftest.$ac_ext
3649 cat >>conftest.$ac_ext <<_ACEOF
3650 /* end confdefs.h. */
3651 #include <sys/types.h>
3652 /* Check that off_t can represent 2**63 - 1 correctly.
3653 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3654 since some C++ compilers masquerading as C compilers
3655 incorrectly reject 9223372036854775807. */
3656 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3657 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3658 && LARGE_OFF_T % 2147483647 == 1)
3668 rm -f conftest.$ac_objext
3669 if { (ac_try="$ac_compile"
3671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3672 *) ac_try_echo=$ac_try;;
3674 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3675 $as_echo "$ac_try_echo") >&5
3676 (eval "$ac_compile") 2>conftest.er1
3678 grep -v '^ *+' conftest.er1 >conftest.err
3680 cat conftest.err >&5
3681 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3682 (exit $ac_status); } && {
3683 test -z "$ac_c_werror_flag" ||
3684 test ! -s conftest.err
3685 } && test -s conftest.$ac_objext; then
3688 $as_echo "$as_me: failed program was
:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3694 rm -f core conftest.err conftest.$ac_objext
3696 rm -f conftest.$ac_objext
3697 if { (ac_try="$ac_compile"
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3702 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3703 $as_echo "$ac_try_echo") >&5
3704 (eval "$ac_compile") 2>conftest.er1
3706 grep -v '^ *+' conftest.er1 >conftest.err
3708 cat conftest.err >&5
3709 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3710 (exit $ac_status); } && {
3711 test -z "$ac_c_werror_flag" ||
3712 test ! -s conftest.err
3713 } && test -s conftest.$ac_objext; then
3714 ac_cv_sys_largefile_CC=' -n32'; break
3716 $as_echo "$as_me: failed program was
:" >&5
3717 sed 's/^/| /' conftest.$ac_ext >&5
3722 rm -f core conftest.err conftest.$ac_objext
3726 rm -f conftest.$ac_ext
3729 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sys_largefile_CC" >&5
3730 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3731 if test "$ac_cv_sys_largefile_CC" != no; then
3732 CC=$CC$ac_cv_sys_largefile_CC
3735 { $as_echo "$as_me:$LINENO: checking
for _FILE_OFFSET_BITS value needed
for large files
" >&5
3736 $as_echo_n "checking
for _FILE_OFFSET_BITS value needed
for large files...
" >&6; }
3737 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3738 $as_echo_n "(cached
) " >&6
3741 cat >conftest.$ac_ext <<_ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3747 #include <sys/types.h>
3748 /* Check that off_t can represent 2**63 - 1 correctly.
3749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3750 since some C++ compilers masquerading as C compilers
3751 incorrectly reject 9223372036854775807. */
3752 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3754 && LARGE_OFF_T % 2147483647 == 1)
3764 rm -f conftest.$ac_objext
3765 if { (ac_try="$ac_compile"
3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768 *) ac_try_echo=$ac_try;;
3770 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3771 $as_echo "$ac_try_echo") >&5
3772 (eval "$ac_compile") 2>conftest.er1
3774 grep -v '^ *+' conftest.er1 >conftest.err
3776 cat conftest.err >&5
3777 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3778 (exit $ac_status); } && {
3779 test -z "$ac_c_werror_flag" ||
3780 test ! -s conftest.err
3781 } && test -s conftest.$ac_objext; then
3782 ac_cv_sys_file_offset_bits=no; break
3784 $as_echo "$as_me: failed program was
:" >&5
3785 sed 's/^/| /' conftest.$ac_ext >&5
3790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3791 cat >conftest.$ac_ext <<_ACEOF
3794 cat confdefs.h >>conftest.$ac_ext
3795 cat >>conftest.$ac_ext <<_ACEOF
3796 /* end confdefs.h. */
3797 #define _FILE_OFFSET_BITS 64
3798 #include <sys/types.h>
3799 /* Check that off_t can represent 2**63 - 1 correctly.
3800 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3801 since some C++ compilers masquerading as C compilers
3802 incorrectly reject 9223372036854775807. */
3803 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3804 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3805 && LARGE_OFF_T % 2147483647 == 1)
3815 rm -f conftest.$ac_objext
3816 if { (ac_try="$ac_compile"
3818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3819 *) ac_try_echo=$ac_try;;
3821 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3822 $as_echo "$ac_try_echo") >&5
3823 (eval "$ac_compile") 2>conftest.er1
3825 grep -v '^ *+' conftest.er1 >conftest.err
3827 cat conftest.err >&5
3828 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3829 (exit $ac_status); } && {
3830 test -z "$ac_c_werror_flag" ||
3831 test ! -s conftest.err
3832 } && test -s conftest.$ac_objext; then
3833 ac_cv_sys_file_offset_bits=64; break
3835 $as_echo "$as_me: failed program was
:" >&5
3836 sed 's/^/| /' conftest.$ac_ext >&5
3841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 ac_cv_sys_file_offset_bits=unknown
3846 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sys_file_offset_bits" >&5
3847 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3848 case $ac_cv_sys_file_offset_bits in #(
3851 cat >>confdefs.h <<_ACEOF
3852 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3857 if test $ac_cv_sys_file_offset_bits = unknown; then
3858 { $as_echo "$as_me:$LINENO: checking
for _LARGE_FILES value needed
for large files
" >&5
3859 $as_echo_n "checking
for _LARGE_FILES value needed
for large files...
" >&6; }
3860 if test "${ac_cv_sys_large_files+set}" = set; then
3861 $as_echo_n "(cached
) " >&6
3864 cat >conftest.$ac_ext <<_ACEOF
3867 cat confdefs.h >>conftest.$ac_ext
3868 cat >>conftest.$ac_ext <<_ACEOF
3869 /* end confdefs.h. */
3870 #include <sys/types.h>
3871 /* Check that off_t can represent 2**63 - 1 correctly.
3872 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3873 since some C++ compilers masquerading as C compilers
3874 incorrectly reject 9223372036854775807. */
3875 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3876 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3877 && LARGE_OFF_T % 2147483647 == 1)
3887 rm -f conftest.$ac_objext
3888 if { (ac_try="$ac_compile"
3890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891 *) ac_try_echo=$ac_try;;
3893 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3894 $as_echo "$ac_try_echo") >&5
3895 (eval "$ac_compile") 2>conftest.er1
3897 grep -v '^ *+' conftest.er1 >conftest.err
3899 cat conftest.err >&5
3900 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3901 (exit $ac_status); } && {
3902 test -z "$ac_c_werror_flag" ||
3903 test ! -s conftest.err
3904 } && test -s conftest.$ac_objext; then
3905 ac_cv_sys_large_files=no; break
3907 $as_echo "$as_me: failed program was
:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3914 cat >conftest.$ac_ext <<_ACEOF
3917 cat confdefs.h >>conftest.$ac_ext
3918 cat >>conftest.$ac_ext <<_ACEOF
3919 /* end confdefs.h. */
3920 #define _LARGE_FILES 1
3921 #include <sys/types.h>
3922 /* Check that off_t can represent 2**63 - 1 correctly.
3923 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3924 since some C++ compilers masquerading as C compilers
3925 incorrectly reject 9223372036854775807. */
3926 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3927 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3928 && LARGE_OFF_T % 2147483647 == 1)
3938 rm -f conftest.$ac_objext
3939 if { (ac_try="$ac_compile"
3941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3944 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3945 $as_echo "$ac_try_echo") >&5
3946 (eval "$ac_compile") 2>conftest.er1
3948 grep -v '^ *+' conftest.er1 >conftest.err
3950 cat conftest.err >&5
3951 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3952 (exit $ac_status); } && {
3953 test -z "$ac_c_werror_flag" ||
3954 test ! -s conftest.err
3955 } && test -s conftest.$ac_objext; then
3956 ac_cv_sys_large_files=1; break
3958 $as_echo "$as_me: failed program was
:" >&5
3959 sed 's/^/| /' conftest.$ac_ext >&5
3964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3965 ac_cv_sys_large_files=unknown
3969 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sys_large_files" >&5
3970 $as_echo "$ac_cv_sys_large_files" >&6; }
3971 case $ac_cv_sys_large_files in #(
3974 cat >>confdefs.h <<_ACEOF
3975 #define _LARGE_FILES $ac_cv_sys_large_files
3984 # Check for required programs.
3986 ac_cpp='$CPP $CPPFLAGS'
3987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3990 if test -n "$ac_tool_prefix"; then
3991 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3992 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3993 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
3994 $as_echo_n "checking
for $ac_word...
" >&6; }
3995 if test "${ac_cv_prog_CC+set}" = set; then
3996 $as_echo_n "(cached
) " >&6
3998 if test -n "$CC"; then
3999 ac_cv_prog_CC="$CC" # Let the user override the test.
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir=.
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4008 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
4009 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4019 if test -n "$CC"; then
4020 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
4021 $as_echo "$CC" >&6; }
4023 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4024 $as_echo "no
" >&6; }
4029 if test -z "$ac_cv_prog_CC"; then
4031 # Extract the first word of "gcc
", so it can be a program name with args.
4032 set dummy gcc; ac_word=$2
4033 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4034 $as_echo_n "checking
for $ac_word...
" >&6; }
4035 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4036 $as_echo_n "(cached
) " >&6
4038 if test -n "$ac_ct_CC"; then
4039 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir=.
4046 for ac_exec_ext in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 ac_cv_prog_ac_ct_CC="gcc
"
4049 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4058 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4059 if test -n "$ac_ct_CC"; then
4060 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4061 $as_echo "$ac_ct_CC" >&6; }
4063 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4064 $as_echo "no
" >&6; }
4067 if test "x
$ac_ct_CC" = x; then
4070 case $cross_compiling:$ac_tool_warned in
4072 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4073 whose name does not start with the
host triplet. If you think this
4074 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4075 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4076 whose name does not start with the
host triplet. If you think this
4077 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4078 ac_tool_warned=yes ;;
4086 if test -z "$CC"; then
4087 if test -n "$ac_tool_prefix"; then
4088 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
4089 set dummy ${ac_tool_prefix}cc; ac_word=$2
4090 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4091 $as_echo_n "checking
for $ac_word...
" >&6; }
4092 if test "${ac_cv_prog_CC+set}" = set; then
4093 $as_echo_n "(cached
) " >&6
4095 if test -n "$CC"; then
4096 ac_cv_prog_CC="$CC" # Let the user override the test.
4098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 test -z "$as_dir" && as_dir=.
4103 for ac_exec_ext in '' $ac_executable_extensions; do
4104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4105 ac_cv_prog_CC="${ac_tool_prefix}cc
"
4106 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4116 if test -n "$CC"; then
4117 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
4118 $as_echo "$CC" >&6; }
4120 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4121 $as_echo "no
" >&6; }
4127 if test -z "$CC"; then
4128 # Extract the first word of "cc
", so it can be a program name with args.
4129 set dummy cc; ac_word=$2
4130 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4131 $as_echo_n "checking
for $ac_word...
" >&6; }
4132 if test "${ac_cv_prog_CC+set}" = set; then
4133 $as_echo_n "(cached
) " >&6
4135 if test -n "$CC"; then
4136 ac_cv_prog_CC="$CC" # Let the user override the test.
4139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir=.
4144 for ac_exec_ext in '' $ac_executable_extensions; do
4145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4146 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
4147 ac_prog_rejected=yes
4151 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4158 if test $ac_prog_rejected = yes; then
4159 # We found a bogon in the path, so make sure we never use it.
4160 set dummy $ac_cv_prog_CC
4162 if test $# != 0; then
4163 # We chose a different compiler from the bogus one.
4164 # However, it has the same basename, so the bogon will be chosen
4165 # first if we set CC to just the basename; use the full file name.
4167 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
4173 if test -n "$CC"; then
4174 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
4175 $as_echo "$CC" >&6; }
4177 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4178 $as_echo "no
" >&6; }
4183 if test -z "$CC"; then
4184 if test -n "$ac_tool_prefix"; then
4185 for ac_prog in cl.exe
4187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4188 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4189 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4190 $as_echo_n "checking
for $ac_word...
" >&6; }
4191 if test "${ac_cv_prog_CC+set}" = set; then
4192 $as_echo_n "(cached
) " >&6
4194 if test -n "$CC"; then
4195 ac_cv_prog_CC="$CC" # Let the user override the test.
4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir=.
4202 for ac_exec_ext in '' $ac_executable_extensions; do
4203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4204 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4205 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4215 if test -n "$CC"; then
4216 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
4217 $as_echo "$CC" >&6; }
4219 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4220 $as_echo "no
" >&6; }
4224 test -n "$CC" && break
4227 if test -z "$CC"; then
4229 for ac_prog in cl.exe
4231 # Extract the first word of "$ac_prog", so it can be a program name with args.
4232 set dummy $ac_prog; ac_word=$2
4233 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4234 $as_echo_n "checking
for $ac_word...
" >&6; }
4235 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4236 $as_echo_n "(cached
) " >&6
4238 if test -n "$ac_ct_CC"; then
4239 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir=.
4246 for ac_exec_ext in '' $ac_executable_extensions; do
4247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4248 ac_cv_prog_ac_ct_CC="$ac_prog"
4249 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4258 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4259 if test -n "$ac_ct_CC"; then
4260 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4261 $as_echo "$ac_ct_CC" >&6; }
4263 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4264 $as_echo "no
" >&6; }
4268 test -n "$ac_ct_CC" && break
4271 if test "x
$ac_ct_CC" = x; then
4274 case $cross_compiling:$ac_tool_warned in
4276 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4277 whose name does not start with the
host triplet. If you think this
4278 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4279 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4280 whose name does not start with the
host triplet. If you think this
4281 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4282 ac_tool_warned=yes ;;
4291 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4292 See \
`config.log' for more details." >&5
4293 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4294 See \`config.log
' for more details." >&2;}
4295 { (exit 1); exit 1; }; }
4297 # Provide some information about the compiler.
4298 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4301 { (ac_try="$ac_compiler --version >&5"
4303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4304 *) ac_try_echo=$ac_try;;
4306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4307 $as_echo "$ac_try_echo") >&5
4308 (eval "$ac_compiler --version >&5") 2>&5
4310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }
4312 { (ac_try="$ac_compiler -v >&5"
4314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4315 *) ac_try_echo=$ac_try;;
4317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4318 $as_echo "$ac_try_echo") >&5
4319 (eval "$ac_compiler -v >&5") 2>&5
4321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); }
4323 { (ac_try="$ac_compiler -V >&5"
4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4329 $as_echo "$ac_try_echo") >&5
4330 (eval "$ac_compiler -V >&5") 2>&5
4332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); }
4335 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4336 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4337 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4338 $as_echo_n "(cached) " >&6
4340 cat >conftest.$ac_ext <<_ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4358 rm -f conftest.$ac_objext
4359 if { (ac_try="$ac_compile"
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4365 $as_echo "$ac_try_echo") >&5
4366 (eval "$ac_compile") 2>conftest.er1
4368 grep -v '^
*+' conftest.er1 >conftest.err
4370 cat conftest.err >&5
4371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } && {
4373 test -z "$ac_c_werror_flag" ||
4374 test ! -s conftest.err
4375 } && test -s conftest.$ac_objext; then
4378 $as_echo "$as_me: failed program was:" >&5
4379 sed 's
/^
/|
/' conftest.$ac_ext >&5
4384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4388 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4389 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4390 if test $ac_compiler_gnu = yes; then
4395 ac_test_CFLAGS=${CFLAGS+set}
4396 ac_save_CFLAGS=$CFLAGS
4397 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4398 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4399 if test "${ac_cv_prog_cc_g+set}" = set; then
4400 $as_echo_n "(cached) " >&6
4402 ac_save_c_werror_flag=$ac_c_werror_flag
4403 ac_c_werror_flag=yes
4406 cat >conftest.$ac_ext <<_ACEOF
4409 cat confdefs.h >>conftest.$ac_ext
4410 cat >>conftest.$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4421 rm -f conftest.$ac_objext
4422 if { (ac_try="$ac_compile"
4424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4425 *) ac_try_echo=$ac_try;;
4427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4428 $as_echo "$ac_try_echo") >&5
4429 (eval "$ac_compile") 2>conftest.er1
4431 grep -v '^
*+' conftest.er1 >conftest.err
4433 cat conftest.err >&5
4434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); } && {
4436 test -z "$ac_c_werror_flag" ||
4437 test ! -s conftest.err
4438 } && test -s conftest.$ac_objext; then
4441 $as_echo "$as_me: failed program was:" >&5
4442 sed 's
/^
/|
/' conftest.$ac_ext >&5
4445 cat >conftest.$ac_ext <<_ACEOF
4448 cat confdefs.h >>conftest.$ac_ext
4449 cat >>conftest.$ac_ext <<_ACEOF
4450 /* end confdefs.h. */
4460 rm -f conftest.$ac_objext
4461 if { (ac_try="$ac_compile"
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4467 $as_echo "$ac_try_echo") >&5
4468 (eval "$ac_compile") 2>conftest.er1
4470 grep -v '^
*+' conftest.er1 >conftest.err
4472 cat conftest.err >&5
4473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); } && {
4475 test -z "$ac_c_werror_flag" ||
4476 test ! -s conftest.err
4477 } && test -s conftest.$ac_objext; then
4480 $as_echo "$as_me: failed program was:" >&5
4481 sed 's
/^
/|
/' conftest.$ac_ext >&5
4483 ac_c_werror_flag=$ac_save_c_werror_flag
4485 cat >conftest.$ac_ext <<_ACEOF
4488 cat confdefs.h >>conftest.$ac_ext
4489 cat >>conftest.$ac_ext <<_ACEOF
4490 /* end confdefs.h. */
4500 rm -f conftest.$ac_objext
4501 if { (ac_try="$ac_compile"
4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4504 *) ac_try_echo=$ac_try;;
4506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4507 $as_echo "$ac_try_echo") >&5
4508 (eval "$ac_compile") 2>conftest.er1
4510 grep -v '^
*+' conftest.er1 >conftest.err
4512 cat conftest.err >&5
4513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } && {
4515 test -z "$ac_c_werror_flag" ||
4516 test ! -s conftest.err
4517 } && test -s conftest.$ac_objext; then
4520 $as_echo "$as_me: failed program was:" >&5
4521 sed 's
/^
/|
/' conftest.$ac_ext >&5
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 ac_c_werror_flag=$ac_save_c_werror_flag
4535 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4536 $as_echo "$ac_cv_prog_cc_g" >&6; }
4537 if test "$ac_test_CFLAGS" = set; then
4538 CFLAGS=$ac_save_CFLAGS
4539 elif test $ac_cv_prog_cc_g = yes; then
4540 if test "$GCC" = yes; then
4546 if test "$GCC" = yes; then
4552 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4553 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4554 if test "${ac_cv_prog_cc_c89+set}" = set; then
4555 $as_echo_n "(cached) " >&6
4557 ac_cv_prog_cc_c89=no
4559 cat >conftest.$ac_ext <<_ACEOF
4562 cat confdefs.h >>conftest.$ac_ext
4563 cat >>conftest.$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4567 #include <sys/types.h>
4568 #include <sys/stat.h>
4569 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4570 struct buf
{ int x
; };
4571 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4572 static char
*e
(p
, i
)
4578 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4583 s
= g
(p
, va_arg
(v
,int
));
4588 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4589 function prototypes and stuff
, but not
'\xHH' hex character constants.
4590 These don
't provoke an error unfortunately, instead are silently treated
4591 as 'x
'. The following induces an error, until -std is added to get
4592 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4593 array size at least. It's necessary to
write '\x00'==0 to get something
4594 that
's true only with -std. */
4595 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4597 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4598 inside strings and character constants. */
4600 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4602 int test (int i, double x);
4603 struct s1 {int (*f) (int a);};
4604 struct s2 {int (*f) (double a);};
4605 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4611 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4616 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4617 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4619 CC="$ac_save_CC $ac_arg"
4620 rm -f conftest.$ac_objext
4621 if { (ac_try="$ac_compile"
4623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624 *) ac_try_echo=$ac_try;;
4626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4627 $as_echo "$ac_try_echo") >&5
4628 (eval "$ac_compile") 2>conftest.er1
4630 grep -v '^
*+' conftest.er1 >conftest.err
4632 cat conftest.err >&5
4633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } && {
4635 test -z "$ac_c_werror_flag" ||
4636 test ! -s conftest.err
4637 } && test -s conftest.$ac_objext; then
4638 ac_cv_prog_cc_c89=$ac_arg
4640 $as_echo "$as_me: failed program was:" >&5
4641 sed 's
/^
/|
/' conftest.$ac_ext >&5
4646 rm -f core conftest.err conftest.$ac_objext
4647 test "x$ac_cv_prog_cc_c89" != "xno" && break
4649 rm -f conftest.$ac_ext
4654 case "x$ac_cv_prog_cc_c89" in
4656 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4657 $as_echo "none needed" >&6; } ;;
4659 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4660 $as_echo "unsupported" >&6; } ;;
4662 CC="$CC $ac_cv_prog_cc_c89"
4663 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4664 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4669 ac_cpp='$CPP $CPPFLAGS'
4670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4671 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4674 depcc="$CC" am_compiler_list=
4676 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4677 $as_echo_n "checking dependency style of $depcc... " >&6; }
4678 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4679 $as_echo_n "(cached) " >&6
4681 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4682 # We make a subdir and do the tests there. Otherwise we can end up
4683 # making bogus files that we don't know about and never remove. For
4684 # instance it was reported that on HP-UX the gcc test will end up
4685 # making a dummy file named `D' -- because `-MD' means `put the output
4688 # Copy depcomp to subdir because otherwise we won't find it if we're
4689 # using a relative directory.
4690 cp "$am_depcomp" conftest.dir
4692 # We will build objects and dependencies in a subdirectory because
4693 # it helps to detect inapplicable dependency modes. For instance
4694 # both Tru64's cc and ICC support -MD to output dependencies as a
4695 # side effect of compilation, but ICC will put the dependencies in
4696 # the current directory while Tru64 will put them in the object
4700 am_cv_CC_dependencies_compiler_type
=none
4701 if test "$am_compiler_list" = ""; then
4702 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4704 for depmode
in $am_compiler_list; do
4705 # Setup a source with many dependencies, because some compilers
4706 # like to wrap large dependency lists on column 80 (with \), and
4707 # we should not choose a depcomp mode which is confused by this.
4709 # We need to recreate these files for each test, as the compiler may
4710 # overwrite some of them when testing with obscure command lines.
4711 # This happens at least with the AIX C compiler.
4713 for i
in 1 2 3 4 5 6; do
4714 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4715 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4716 # Solaris 8's {/usr,}/bin/sh.
4717 touch sub
/conftst
$i.h
4719 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4723 # after this tag, mechanisms are not by side-effect, so they'll
4724 # only be used when explicitly requested
4725 if test "x$enable_dependency_tracking" = xyes
; then
4733 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4734 # mode. It turns out that the SunPro C++ compiler does not properly
4735 # handle `-M -o', and we need to detect this.
4736 if depmode
=$depmode \
4737 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4738 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4739 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4740 >/dev
/null
2>conftest.err
&&
4741 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4742 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4743 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4744 # icc doesn't choke on unknown options, it will just issue warnings
4745 # or remarks (even with -Werror). So we grep stderr for any message
4746 # that says an option was ignored or not supported.
4747 # When given -MP, icc 7.0 and 7.1 complain thusly:
4748 # icc: Command line warning: ignoring option '-M'; no argument required
4749 # The diagnosis changed in icc 8.0:
4750 # icc: Command line remark: option '-MP' not supported
4751 if (grep 'ignoring option' conftest.err ||
4752 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4753 am_cv_CC_dependencies_compiler_type
=$depmode
4762 am_cv_CC_dependencies_compiler_type
=none
4766 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4767 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4768 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4773 test "x$enable_dependency_tracking" != xno \
4774 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4776 am__fastdepCC_FALSE
='#'
4778 am__fastdepCC_TRUE
='#'
4779 am__fastdepCC_FALSE
=
4783 if test -n "$ac_tool_prefix"; then
4784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4785 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4786 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if test "${ac_cv_prog_RANLIB+set}" = set; then
4789 $as_echo_n "(cached) " >&6
4791 if test -n "$RANLIB"; then
4792 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4798 test -z "$as_dir" && as_dir
=.
4799 for ac_exec_ext
in '' $ac_executable_extensions; do
4800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4801 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4802 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 RANLIB
=$ac_cv_prog_RANLIB
4812 if test -n "$RANLIB"; then
4813 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4814 $as_echo "$RANLIB" >&6; }
4816 { $as_echo "$as_me:$LINENO: result: no" >&5
4817 $as_echo "no" >&6; }
4822 if test -z "$ac_cv_prog_RANLIB"; then
4823 ac_ct_RANLIB
=$RANLIB
4824 # Extract the first word of "ranlib", so it can be a program name with args.
4825 set dummy ranlib
; ac_word
=$2
4826 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4829 $as_echo_n "(cached) " >&6
4831 if test -n "$ac_ct_RANLIB"; then
4832 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4838 test -z "$as_dir" && as_dir
=.
4839 for ac_exec_ext
in '' $ac_executable_extensions; do
4840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4841 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4842 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4852 if test -n "$ac_ct_RANLIB"; then
4853 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4854 $as_echo "$ac_ct_RANLIB" >&6; }
4856 { $as_echo "$as_me:$LINENO: result: no" >&5
4857 $as_echo "no" >&6; }
4860 if test "x$ac_ct_RANLIB" = x
; then
4863 case $cross_compiling:$ac_tool_warned in
4865 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4866 whose name does not start with the host triplet. If you think this
4867 configuration is useful to you, please write to autoconf@gnu.org." >&5
4868 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4869 whose name does not start with the host triplet. If you think this
4870 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4871 ac_tool_warned
=yes ;;
4873 RANLIB
=$ac_ct_RANLIB
4876 RANLIB
="$ac_cv_prog_RANLIB"
4879 # Check whether --enable-shared was given.
4880 if test "${enable_shared+set}" = set; then
4881 enableval
=$enable_shared; p
=${PACKAGE-default}
4883 yes) enable_shared
=yes ;;
4884 no
) enable_shared
=no
;;
4887 # Look at the argument we got. We use all the common list separators.
4888 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4889 for pkg
in $enableval; do
4891 if test "X$pkg" = "X$p"; then
4903 # Check whether --enable-static was given.
4904 if test "${enable_static+set}" = set; then
4905 enableval
=$enable_static; p
=${PACKAGE-default}
4907 yes) enable_static
=yes ;;
4908 no
) enable_static
=no
;;
4911 # Look at the argument we got. We use all the common list separators.
4912 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4913 for pkg
in $enableval; do
4915 if test "X$pkg" = "X$p"; then
4927 # Check whether --enable-fast-install was given.
4928 if test "${enable_fast_install+set}" = set; then
4929 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4931 yes) enable_fast_install
=yes ;;
4932 no
) enable_fast_install
=no
;;
4934 enable_fast_install
=no
4935 # Look at the argument we got. We use all the common list separators.
4936 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4937 for pkg
in $enableval; do
4939 if test "X$pkg" = "X$p"; then
4940 enable_fast_install
=yes
4947 enable_fast_install
=yes
4951 # Make sure we can run config.sub.
4952 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4953 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4954 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4955 { (exit 1); exit 1; }; }
4957 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4958 $as_echo_n "checking build system type... " >&6; }
4959 if test "${ac_cv_build+set}" = set; then
4960 $as_echo_n "(cached) " >&6
4962 ac_build_alias
=$build_alias
4963 test "x$ac_build_alias" = x
&&
4964 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4965 test "x$ac_build_alias" = x
&&
4966 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4967 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4968 { (exit 1); exit 1; }; }
4969 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4970 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4971 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4972 { (exit 1); exit 1; }; }
4975 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4976 $as_echo "$ac_cv_build" >&6; }
4977 case $ac_cv_build in
4979 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4980 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4981 { (exit 1); exit 1; }; };;
4984 ac_save_IFS
=$IFS; IFS
='-'
4990 # Remember, the first character of IFS is used to create $*,
4991 # except with old shells:
4994 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4997 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4998 $as_echo_n "checking host system type... " >&6; }
4999 if test "${ac_cv_host+set}" = set; then
5000 $as_echo_n "(cached) " >&6
5002 if test "x$host_alias" = x
; then
5003 ac_cv_host
=$ac_cv_build
5005 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5006 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5007 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5008 { (exit 1); exit 1; }; }
5012 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5013 $as_echo "$ac_cv_host" >&6; }
5016 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5017 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
5018 { (exit 1); exit 1; }; };;
5021 ac_save_IFS
=$IFS; IFS
='-'
5027 # Remember, the first character of IFS is used to create $*,
5028 # except with old shells:
5031 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5034 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5035 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5036 if test "${lt_cv_path_SED+set}" = set; then
5037 $as_echo_n "(cached) " >&6
5039 # Loop through the user's path and test for sed and gsed.
5040 # Then use that list of sed's as ones to test for truncation.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for lt_ac_prog
in sed gsed
; do
5047 for ac_exec_ext
in '' $ac_executable_extensions; do
5048 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5049 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5056 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5057 # along with /bin/sed that truncates output.
5058 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5059 test ! -f $lt_ac_sed && continue
5060 cat /dev
/null
> conftest.
in
5062 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5063 # Check for GNU sed and select it if it is found.
5064 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5065 lt_cv_path_SED
=$lt_ac_sed
5069 cat conftest.
in conftest.
in >conftest.tmp
5070 mv conftest.tmp conftest.
in
5071 cp conftest.
in conftest.
nl
5073 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5074 cmp -s conftest.out conftest.
nl ||
break
5075 # 10000 chars as input seems more than enough
5076 test $lt_ac_count -gt 10 && break
5077 lt_ac_count
=`expr $lt_ac_count + 1`
5078 if test $lt_ac_count -gt $lt_ac_max; then
5079 lt_ac_max
=$lt_ac_count
5080 lt_cv_path_SED
=$lt_ac_sed
5088 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5089 $as_echo "$SED" >&6; }
5091 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5092 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5093 if test "${ac_cv_path_GREP+set}" = set; then
5094 $as_echo_n "(cached) " >&6
5096 if test -z "$GREP"; then
5097 ac_path_GREP_found
=false
5098 # Loop through the user's path and test for each of PROGNAME-LIST
5099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5100 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5103 test -z "$as_dir" && as_dir
=.
5104 for ac_prog
in grep ggrep
; do
5105 for ac_exec_ext
in '' $ac_executable_extensions; do
5106 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5107 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5108 # Check for GNU ac_path_GREP and select it if it is found.
5109 # Check for GNU $ac_path_GREP
5110 case `"$ac_path_GREP" --version 2>&1` in
5112 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5115 $as_echo_n 0123456789 >"conftest.in"
5118 cat "conftest.in" "conftest.in" >"conftest.tmp"
5119 mv "conftest.tmp" "conftest.in"
5120 cp "conftest.in" "conftest.nl"
5121 $as_echo 'GREP' >> "conftest.nl"
5122 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5123 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5124 ac_count
=`expr $ac_count + 1`
5125 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5126 # Best one so far, save it but keep looking for a better one
5127 ac_cv_path_GREP
="$ac_path_GREP"
5128 ac_path_GREP_max
=$ac_count
5130 # 10*(2^10) chars as input seems more than enough
5131 test $ac_count -gt 10 && break
5133 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5136 $ac_path_GREP_found && break 3
5141 if test -z "$ac_cv_path_GREP"; then
5142 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5143 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5144 { (exit 1); exit 1; }; }
5147 ac_cv_path_GREP
=$GREP
5151 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5152 $as_echo "$ac_cv_path_GREP" >&6; }
5153 GREP
="$ac_cv_path_GREP"
5156 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5157 $as_echo_n "checking for egrep... " >&6; }
5158 if test "${ac_cv_path_EGREP+set}" = set; then
5159 $as_echo_n "(cached) " >&6
5161 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5162 then ac_cv_path_EGREP
="$GREP -E"
5164 if test -z "$EGREP"; then
5165 ac_path_EGREP_found
=false
5166 # Loop through the user's path and test for each of PROGNAME-LIST
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5168 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_prog
in egrep; do
5173 for ac_exec_ext
in '' $ac_executable_extensions; do
5174 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5175 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5176 # Check for GNU ac_path_EGREP and select it if it is found.
5177 # Check for GNU $ac_path_EGREP
5178 case `"$ac_path_EGREP" --version 2>&1` in
5180 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5183 $as_echo_n 0123456789 >"conftest.in"
5186 cat "conftest.in" "conftest.in" >"conftest.tmp"
5187 mv "conftest.tmp" "conftest.in"
5188 cp "conftest.in" "conftest.nl"
5189 $as_echo 'EGREP' >> "conftest.nl"
5190 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5191 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5192 ac_count
=`expr $ac_count + 1`
5193 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5194 # Best one so far, save it but keep looking for a better one
5195 ac_cv_path_EGREP
="$ac_path_EGREP"
5196 ac_path_EGREP_max
=$ac_count
5198 # 10*(2^10) chars as input seems more than enough
5199 test $ac_count -gt 10 && break
5201 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5204 $ac_path_EGREP_found && break 3
5209 if test -z "$ac_cv_path_EGREP"; then
5210 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5211 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5212 { (exit 1); exit 1; }; }
5215 ac_cv_path_EGREP
=$EGREP
5220 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5221 $as_echo "$ac_cv_path_EGREP" >&6; }
5222 EGREP
="$ac_cv_path_EGREP"
5226 # Check whether --with-gnu-ld was given.
5227 if test "${with_gnu_ld+set}" = set; then
5228 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5234 if test "$GCC" = yes; then
5235 # Check if gcc -print-prog-name=ld gives a path.
5236 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5237 $as_echo_n "checking for ld used by $CC... " >&6; }
5240 # gcc leaves a trailing carriage return which upsets mingw
5241 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5243 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5246 # Accept absolute paths.
5248 re_direlt
='/[^/][^/]*/\.\./'
5249 # Canonicalize the pathname of ld
5250 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
5251 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5252 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5254 test -z "$LD" && LD
="$ac_prog"
5257 # If it fails, then pretend we aren't using GCC.
5261 # If it is relative, then search for the first ld in PATH.
5265 elif test "$with_gnu_ld" = yes; then
5266 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5267 $as_echo_n "checking for GNU ld... " >&6; }
5269 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5270 $as_echo_n "checking for non-GNU ld... " >&6; }
5272 if test "${lt_cv_path_LD+set}" = set; then
5273 $as_echo_n "(cached) " >&6
5275 if test -z "$LD"; then
5276 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5277 for ac_dir
in $PATH; do
5279 test -z "$ac_dir" && ac_dir
=.
5280 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5281 lt_cv_path_LD
="$ac_dir/$ac_prog"
5282 # Check to see if the program is GNU ld. I'd rather use --version,
5283 # but apparently some variants of GNU ld only accept -v.
5284 # Break only if it was the GNU/non-GNU ld that we prefer.
5285 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5286 *GNU
* |
*'with BFD'*)
5287 test "$with_gnu_ld" != no
&& break
5290 test "$with_gnu_ld" != yes && break
5297 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5302 if test -n "$LD"; then
5303 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5304 $as_echo "$LD" >&6; }
5306 { $as_echo "$as_me:$LINENO: result: no" >&5
5307 $as_echo "no" >&6; }
5309 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5310 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5311 { (exit 1); exit 1; }; }
5312 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5313 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5314 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5315 $as_echo_n "(cached) " >&6
5317 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5318 case `$LD -v 2>&1 </dev/null` in
5319 *GNU
* |
*'with BFD'*)
5320 lt_cv_prog_gnu_ld
=yes
5323 lt_cv_prog_gnu_ld
=no
5327 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5328 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5329 with_gnu_ld
=$lt_cv_prog_gnu_ld
5332 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5333 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5334 if test "${lt_cv_ld_reload_flag+set}" = set; then
5335 $as_echo_n "(cached) " >&6
5337 lt_cv_ld_reload_flag
='-r'
5339 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5340 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5341 reload_flag
=$lt_cv_ld_reload_flag
5342 case $reload_flag in
5344 *) reload_flag
=" $reload_flag" ;;
5346 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5349 if test "$GCC" = yes; then
5350 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5352 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5357 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5358 $as_echo_n "checking for BSD-compatible nm... " >&6; }
5359 if test "${lt_cv_path_NM+set}" = set; then
5360 $as_echo_n "(cached) " >&6
5362 if test -n "$NM"; then
5363 # Let the user override the test.
5366 lt_nm_to_check
="${ac_tool_prefix}nm"
5367 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5368 lt_nm_to_check
="$lt_nm_to_check nm"
5370 for lt_tmp_nm
in $lt_nm_to_check; do
5371 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5372 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5374 test -z "$ac_dir" && ac_dir
=.
5375 tmp_nm
="$ac_dir/$lt_tmp_nm"
5376 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5377 # Check to see if the nm accepts a BSD-compat flag.
5378 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5379 # nm: unknown option "B" ignored
5380 # Tru64's nm complains that /dev/null is an invalid object file
5381 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5382 */dev
/null
* |
*'Invalid file or object type'*)
5383 lt_cv_path_NM
="$tmp_nm -B"
5387 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5389 lt_cv_path_NM
="$tmp_nm -p"
5393 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5394 continue # so that we can try to find one that supports BSD flags
5403 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5406 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5407 $as_echo "$lt_cv_path_NM" >&6; }
5410 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5411 $as_echo_n "checking whether ln -s works... " >&6; }
5413 if test "$LN_S" = "ln -s"; then
5414 { $as_echo "$as_me:$LINENO: result: yes" >&5
5415 $as_echo "yes" >&6; }
5417 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5418 $as_echo "no, using $LN_S" >&6; }
5421 { $as_echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5422 $as_echo_n "checking how to recognise dependent libraries... " >&6; }
5423 if test "${lt_cv_deplibs_check_method+set}" = set; then
5424 $as_echo_n "(cached) " >&6
5426 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5427 lt_cv_file_magic_test_file
=
5428 lt_cv_deplibs_check_method
='unknown'
5429 # Need to set the preceding variable on all platforms that support
5430 # interlibrary dependencies.
5431 # 'none' -- dependencies not supported.
5432 # `unknown' -- same as none, but documents that we really don't know.
5433 # 'pass_all' -- all dependencies passed with no checks.
5434 # 'test_compile' -- check by making test program.
5435 # 'file_magic [[regex]]' -- check by looking for files in library path
5436 # which responds to the $file_magic_cmd with a given extended regex.
5437 # If you have `file' or equivalent on your system and you're not sure
5438 # whether `pass_all' will *always* work, you probably want this one.
5442 lt_cv_deplibs_check_method
=pass_all
5446 lt_cv_deplibs_check_method
=pass_all
5450 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5451 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5452 lt_cv_file_magic_test_file
=/shlib
/libc.so
5456 # func_win32_libid is a shell function defined in ltmain.sh
5457 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5458 lt_cv_file_magic_cmd
='func_win32_libid'
5462 # Base MSYS/MinGW do not provide the 'file' command needed by
5463 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5464 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5465 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5468 darwin
* | rhapsody
*)
5469 lt_cv_deplibs_check_method
=pass_all
5472 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
5473 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5476 # Not sure whether the presence of OpenBSD here was a mistake.
5477 # Let's accept both of them until this is cleared up.
5478 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5479 lt_cv_file_magic_cmd
=/usr
/bin
/file
5480 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5484 lt_cv_deplibs_check_method
=pass_all
5489 lt_cv_deplibs_check_method
=pass_all
5492 hpux10.20
* | hpux11
*)
5493 lt_cv_file_magic_cmd
=/usr
/bin
/file
5496 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5497 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5500 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]'
5501 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5504 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5505 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5511 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5512 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5515 irix5
* | irix6
* | nonstopux
*)
5517 *-32|
*"-32 ") libmagic
=32-bit;;
5518 *-n32|
*"-n32 ") libmagic
=N32
;;
5519 *-64|
*"-64 ") libmagic
=64-bit;;
5520 *) libmagic
=never-match
;;
5522 lt_cv_deplibs_check_method
=pass_all
5525 # This must be Linux ELF.
5527 lt_cv_deplibs_check_method
=pass_all
5531 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5532 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5534 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5539 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5540 lt_cv_file_magic_cmd
=/usr
/bin
/file
5541 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5545 lt_cv_deplibs_check_method
=unknown
5549 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5550 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5552 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5556 osf3
* | osf4
* | osf5
*)
5557 lt_cv_deplibs_check_method
=pass_all
5561 lt_cv_deplibs_check_method
=pass_all
5565 case $host_vendor in
5567 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]'
5568 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5571 lt_cv_deplibs_check_method
=pass_all
5574 lt_cv_file_magic_cmd
='/bin/file'
5575 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5578 lt_cv_file_magic_cmd
='/bin/file'
5579 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5580 lt_cv_file_magic_test_file
=/lib
/libc.so
5583 lt_cv_deplibs_check_method
=pass_all
5586 lt_cv_deplibs_check_method
=pass_all
5591 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5592 lt_cv_deplibs_check_method
=pass_all
5597 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5598 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5599 file_magic_cmd
=$lt_cv_file_magic_cmd
5600 deplibs_check_method
=$lt_cv_deplibs_check_method
5601 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5606 # If no C compiler was specified, use CC.
5609 # If no C compiler flags were specified, use CFLAGS.
5610 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5612 # Allow CC to be a program name with arguments.
5615 # Check whether --enable-libtool-lock was given.
5616 if test "${enable_libtool_lock+set}" = set; then
5617 enableval
=$enable_libtool_lock;
5620 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5622 # Some flags need to be propagated to the compiler or linker for good
5626 # Find out which ABI we are using.
5627 echo 'int i;' > conftest.
$ac_ext
5628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5629 (eval $ac_compile) 2>&5
5631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); }; then
5633 case `/usr/bin/file conftest.$ac_objext` in
5645 # Find out which ABI we are using.
5646 echo '#line 5646 "configure"' > conftest.
$ac_ext
5647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5648 (eval $ac_compile) 2>&5
5650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; then
5652 if test "$lt_cv_prog_gnu_ld" = yes; then
5653 case `/usr/bin/file conftest.$ac_objext` in
5655 LD
="${LD-ld} -melf32bsmip"
5658 LD
="${LD-ld} -melf32bmipn32"
5661 LD
="${LD-ld} -melf64bmip"
5665 case `/usr/bin/file conftest.$ac_objext` in
5681 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5682 # Find out which ABI we are using.
5683 echo 'int i;' > conftest.
$ac_ext
5684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5685 (eval $ac_compile) 2>&5
5687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; then
5689 case `/usr/bin/file conftest.o` in
5693 LD
="${LD-ld} -m elf_i386"
5695 ppc64-
*linux
*|powerpc64-
*linux
*)
5696 LD
="${LD-ld} -m elf32ppclinux"
5699 LD
="${LD-ld} -m elf_s390"
5702 LD
="${LD-ld} -m elf32_sparc"
5709 LD
="${LD-ld} -m elf_x86_64"
5711 ppc
*-*linux
*|powerpc
*-*linux
*)
5712 LD
="${LD-ld} -m elf64ppc"
5715 LD
="${LD-ld} -m elf64_s390"
5718 LD
="${LD-ld} -m elf64_sparc"
5728 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5729 SAVE_CFLAGS
="$CFLAGS"
5730 CFLAGS
="$CFLAGS -belf"
5731 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5732 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5733 if test "${lt_cv_cc_needs_belf+set}" = set; then
5734 $as_echo_n "(cached) " >&6
5737 ac_cpp
='$CPP $CPPFLAGS'
5738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5742 cat >conftest.
$ac_ext <<_ACEOF
5745 cat confdefs.h
>>conftest.
$ac_ext
5746 cat >>conftest.
$ac_ext <<_ACEOF
5747 /* end confdefs.h. */
5757 rm -f conftest.
$ac_objext conftest
$ac_exeext
5758 if { (ac_try
="$ac_link"
5760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5761 *) ac_try_echo=$ac_try;;
5763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5764 $as_echo "$ac_try_echo") >&5
5765 (eval "$ac_link") 2>conftest.er1
5767 grep -v '^ *+' conftest.er1 >conftest.err
5769 cat conftest.err >&5
5770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); } && {
5772 test -z "$ac_c_werror_flag" ||
5773 test ! -s conftest.err
5774 } && test -s conftest$ac_exeext && {
5775 test "$cross_compiling" = yes ||
5776 $as_test_x conftest$ac_exeext
5778 lt_cv_cc_needs_belf=yes
5780 $as_echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5783 lt_cv_cc_needs_belf=no
5786 rm -rf conftest.dSYM
5787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5788 conftest$ac_exeext conftest.$ac_ext
5790 ac_cpp='$CPP $CPPFLAGS'
5791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5796 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5797 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5798 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5799 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5800 CFLAGS="$SAVE_CFLAGS"
5804 # Find out which ABI we are using.
5805 echo 'int i;' > conftest.$ac_ext
5806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5807 (eval $ac_compile) 2>&5
5809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); }; then
5811 case `/usr
/bin
/file conftest.o
` in
5813 case $lt_cv_prog_gnu_ld in
5814 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5815 *) LD="${LD-ld} -64" ;;
5826 need_locks="$enable_libtool_lock"
5830 ac_cpp='$CPP $CPPFLAGS'
5831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5834 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5835 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5836 # On Suns, sometimes $CPP names a directory.
5837 if test -n "$CPP" && test -d "$CPP"; then
5840 if test -z "$CPP"; then
5841 if test "${ac_cv_prog_CPP+set}" = set; then
5842 $as_echo_n "(cached) " >&6
5844 # Double quotes because CPP needs to be expanded
5845 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5848 for ac_c_preproc_warn_flag in '' yes
5850 # Use a header file that comes with gcc, so configuring glibc
5851 # with a fresh cross-compiler works.
5852 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5853 # <limits.h> exists even on freestanding compilers.
5854 # On the NeXT, cc -E runs the code through the compiler's parser,
5855 # not just through cpp. "Syntax error" is here to catch this case.
5856 cat >conftest.$ac_ext <<_ACEOF
5859 cat confdefs.h >>conftest.$ac_ext
5860 cat >>conftest.$ac_ext <<_ACEOF
5861 /* end confdefs.h. */
5863 # include <limits.h>
5865 # include <assert.h>
5869 if { (ac_try="$ac_cpp conftest.$ac_ext"
5871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5872 *) ac_try_echo
=$ac_try;;
5874 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5875 $as_echo "$ac_try_echo") >&5
5876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5878 grep -v '^ *+' conftest.er1
>conftest.err
5880 cat conftest.err
>&5
5881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); } >/dev
/null
&& {
5883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5884 test ! -s conftest.err
5888 $as_echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.
$ac_ext >&5
5891 # Broken: fails on valid input.
5895 rm -f conftest.err conftest.
$ac_ext
5897 # OK, works on sane cases. Now check whether nonexistent headers
5898 # can be detected and how.
5899 cat >conftest.
$ac_ext <<_ACEOF
5902 cat confdefs.h
>>conftest.
$ac_ext
5903 cat >>conftest.
$ac_ext <<_ACEOF
5904 /* end confdefs.h. */
5905 #include <ac_nonexistent.h>
5907 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5910 *) ac_try_echo=$ac_try;;
5912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5913 $as_echo "$ac_try_echo") >&5
5914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5916 grep -v '^ *+' conftest.er1 >conftest.err
5918 cat conftest.err >&5
5919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); } >/dev/null && {
5921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5922 test ! -s conftest.err
5924 # Broken: success on invalid input.
5927 $as_echo "$as_me: failed program was:" >&5
5928 sed 's/^/| /' conftest.$ac_ext >&5
5930 # Passes both tests.
5935 rm -f conftest.err conftest.$ac_ext
5938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5939 rm -f conftest.err conftest.
$ac_ext
5940 if $ac_preproc_ok; then
5952 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5953 $as_echo "$CPP" >&6; }
5955 for ac_c_preproc_warn_flag
in '' yes
5957 # Use a header file that comes with gcc, so configuring glibc
5958 # with a fresh cross-compiler works.
5959 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5960 # <limits.h> exists even on freestanding compilers.
5961 # On the NeXT, cc -E runs the code through the compiler's parser,
5962 # not just through cpp. "Syntax error" is here to catch this case.
5963 cat >conftest.
$ac_ext <<_ACEOF
5966 cat confdefs.h
>>conftest.
$ac_ext
5967 cat >>conftest.
$ac_ext <<_ACEOF
5968 /* end confdefs.h. */
5970 # include <limits.h>
5972 # include <assert.h>
5976 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5979 *) ac_try_echo=$ac_try;;
5981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5982 $as_echo "$ac_try_echo") >&5
5983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5985 grep -v '^ *+' conftest.er1 >conftest.err
5987 cat conftest.err >&5
5988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); } >/dev/null && {
5990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5991 test ! -s conftest.err
5995 $as_echo "$as_me: failed program was:" >&5
5996 sed 's/^/| /' conftest.$ac_ext >&5
5998 # Broken: fails on valid input.
6002 rm -f conftest.err conftest.$ac_ext
6004 # OK, works on sane cases. Now check whether nonexistent headers
6005 # can be detected and how.
6006 cat >conftest.$ac_ext <<_ACEOF
6009 cat confdefs.h >>conftest.$ac_ext
6010 cat >>conftest.$ac_ext <<_ACEOF
6011 /* end confdefs.h. */
6012 #include <ac_nonexistent.h>
6014 if { (ac_try="$ac_cpp conftest.$ac_ext"
6016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6017 *) ac_try_echo
=$ac_try;;
6019 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6020 $as_echo "$ac_try_echo") >&5
6021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6023 grep -v '^ *+' conftest.er1
>conftest.err
6025 cat conftest.err
>&5
6026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); } >/dev
/null
&& {
6028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6029 test ! -s conftest.err
6031 # Broken: success on invalid input.
6034 $as_echo "$as_me: failed program was:" >&5
6035 sed 's/^/| /' conftest.
$ac_ext >&5
6037 # Passes both tests.
6042 rm -f conftest.err conftest.
$ac_ext
6045 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6046 rm -f conftest.err conftest.
$ac_ext
6047 if $ac_preproc_ok; then
6050 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6051 See \`config.log' for more details." >&5
6052 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6053 See \`config.log' for more details." >&2;}
6054 { (exit 1); exit 1; }; }
6058 ac_cpp
='$CPP $CPPFLAGS'
6059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6064 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6065 $as_echo_n "checking for ANSI C header files... " >&6; }
6066 if test "${ac_cv_header_stdc+set}" = set; then
6067 $as_echo_n "(cached) " >&6
6069 cat >conftest.
$ac_ext <<_ACEOF
6072 cat confdefs.h
>>conftest.
$ac_ext
6073 cat >>conftest.
$ac_ext <<_ACEOF
6074 /* end confdefs.h. */
6088 rm -f conftest.
$ac_objext
6089 if { (ac_try
="$ac_compile"
6091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6092 *) ac_try_echo=$ac_try;;
6094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6095 $as_echo "$ac_try_echo") >&5
6096 (eval "$ac_compile") 2>conftest.er1
6098 grep -v '^ *+' conftest.er1 >conftest.err
6100 cat conftest.err >&5
6101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); } && {
6103 test -z "$ac_c_werror_flag" ||
6104 test ! -s conftest.err
6105 } && test -s conftest.$ac_objext; then
6106 ac_cv_header_stdc=yes
6108 $as_echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.$ac_ext >&5
6111 ac_cv_header_stdc=no
6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6116 if test $ac_cv_header_stdc = yes; then
6117 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6118 cat >conftest.$ac_ext <<_ACEOF
6121 cat confdefs.h >>conftest.$ac_ext
6122 cat >>conftest.$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6128 $EGREP "memchr" >/dev/null 2>&1; then
6131 ac_cv_header_stdc=no
6137 if test $ac_cv_header_stdc = yes; then
6138 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6139 cat >conftest.$ac_ext <<_ACEOF
6142 cat confdefs.h >>conftest.$ac_ext
6143 cat >>conftest.$ac_ext <<_ACEOF
6144 /* end confdefs.h. */
6148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6149 $EGREP "free" >/dev/null 2>&1; then
6152 ac_cv_header_stdc=no
6158 if test $ac_cv_header_stdc = yes; then
6159 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6160 if test "$cross_compiling" = yes; then
6163 cat >conftest.$ac_ext <<_ACEOF
6166 cat confdefs.h >>conftest.$ac_ext
6167 cat >>conftest.$ac_ext <<_ACEOF
6168 /* end confdefs.h. */
6171 #if ((' ' & 0x0FF) == 0x020)
6172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6175 # define ISLOWER(c) \
6176 (('a' <= (c) && (c) <= 'i') \
6177 || ('j' <= (c) && (c) <= 'r') \
6178 || ('s' <= (c) && (c) <= 'z'))
6179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6187 for (i = 0; i < 256; i++)
6188 if (XOR (islower (i), ISLOWER (i))
6189 || toupper (i) != TOUPPER (i))
6194 rm -f conftest$ac_exeext
6195 if { (ac_try="$ac_link"
6197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6198 *) ac_try_echo
=$ac_try;;
6200 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6201 $as_echo "$ac_try_echo") >&5
6202 (eval "$ac_link") 2>&5
6204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6206 { (case "(($ac_try" in
6207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6208 *) ac_try_echo=$ac_try;;
6210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6211 $as_echo "$ac_try_echo") >&5
6212 (eval "$ac_try") 2>&5
6214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; }; then
6218 $as_echo "$as_me: program exited with status $ac_status" >&5
6219 $as_echo "$as_me: failed program was:" >&5
6220 sed 's/^/| /' conftest.$ac_ext >&5
6223 ac_cv_header_stdc=no
6225 rm -rf conftest.dSYM
6226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6232 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6233 $as_echo "$ac_cv_header_stdc" >&6; }
6234 if test $ac_cv_header_stdc = yes; then
6236 cat >>confdefs.h <<\_ACEOF
6237 #define STDC_HEADERS 1
6242 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6252 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6253 inttypes.h stdint.h unistd.h
6255 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6256 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6257 $as_echo_n "checking for $ac_header... " >&6; }
6258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6259 $as_echo_n "(cached) " >&6
6261 cat >conftest.$ac_ext <<_ACEOF
6264 cat confdefs.h >>conftest.$ac_ext
6265 cat >>conftest.$ac_ext <<_ACEOF
6266 /* end confdefs.h. */
6267 $ac_includes_default
6269 #include <$ac_header>
6271 rm -f conftest.$ac_objext
6272 if { (ac_try="$ac_compile"
6274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6275 *) ac_try_echo
=$ac_try;;
6277 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6278 $as_echo "$ac_try_echo") >&5
6279 (eval "$ac_compile") 2>conftest.er1
6281 grep -v '^ *+' conftest.er1
>conftest.err
6283 cat conftest.err
>&5
6284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } && {
6286 test -z "$ac_c_werror_flag" ||
6287 test ! -s conftest.err
6288 } && test -s conftest.
$ac_objext; then
6289 eval "$as_ac_Header=yes"
6291 $as_echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.
$ac_ext >&5
6294 eval "$as_ac_Header=no"
6297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6299 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6300 $as_echo "$as_val"'`
6301 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6302 $as_echo "$ac_res" >&6; }
6303 if test `eval 'as_val=${'$as_ac_Header'}
6304 $as_echo "$as_val"'` = yes; then
6305 cat >>confdefs.h
<<_ACEOF
6306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6315 for ac_header
in dlfcn.h
6317 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6318 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6319 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6320 $as_echo_n "checking for $ac_header... " >&6; }
6321 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6322 $as_echo_n "(cached) " >&6
6324 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6325 $as_echo "$as_val"'`
6326 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6327 $as_echo "$ac_res" >&6; }
6329 # Is the header compilable?
6330 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6331 $as_echo_n "checking $ac_header usability... " >&6; }
6332 cat >conftest.
$ac_ext <<_ACEOF
6335 cat confdefs.h
>>conftest.
$ac_ext
6336 cat >>conftest.
$ac_ext <<_ACEOF
6337 /* end confdefs.h. */
6338 $ac_includes_default
6339 #include <$ac_header>
6341 rm -f conftest.
$ac_objext
6342 if { (ac_try
="$ac_compile"
6344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6345 *) ac_try_echo=$ac_try;;
6347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6348 $as_echo "$ac_try_echo") >&5
6349 (eval "$ac_compile") 2>conftest.er1
6351 grep -v '^ *+' conftest.er1 >conftest.err
6353 cat conftest.err >&5
6354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } && {
6356 test -z "$ac_c_werror_flag" ||
6357 test ! -s conftest.err
6358 } && test -s conftest.$ac_objext; then
6359 ac_header_compiler=yes
6361 $as_echo "$as_me: failed program was:" >&5
6362 sed 's/^/| /' conftest.$ac_ext >&5
6364 ac_header_compiler=no
6367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6368 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6369 $as_echo "$ac_header_compiler" >&6; }
6371 # Is the header present?
6372 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6373 $as_echo_n "checking $ac_header presence... " >&6; }
6374 cat >conftest.$ac_ext <<_ACEOF
6377 cat confdefs.h >>conftest.$ac_ext
6378 cat >>conftest.$ac_ext <<_ACEOF
6379 /* end confdefs.h. */
6380 #include <$ac_header>
6382 if { (ac_try="$ac_cpp conftest.$ac_ext"
6384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6385 *) ac_try_echo
=$ac_try;;
6387 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6388 $as_echo "$ac_try_echo") >&5
6389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6391 grep -v '^ *+' conftest.er1
>conftest.err
6393 cat conftest.err
>&5
6394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); } >/dev
/null
&& {
6396 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6397 test ! -s conftest.err
6399 ac_header_preproc
=yes
6401 $as_echo "$as_me: failed program was:" >&5
6402 sed 's/^/| /' conftest.
$ac_ext >&5
6404 ac_header_preproc
=no
6407 rm -f conftest.err conftest.
$ac_ext
6408 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6409 $as_echo "$ac_header_preproc" >&6; }
6411 # So? What about this header?
6412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6414 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6415 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6416 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6417 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6418 ac_header_preproc
=yes
6421 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6422 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6423 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6424 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6425 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6426 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6427 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6428 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6429 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6430 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6431 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6432 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6434 ## ------------------------------------ ##
6435 ## Report this to http://www.sqlite.org ##
6436 ## ------------------------------------ ##
6438 ) |
sed "s/^/$as_me: WARNING: /" >&2
6441 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6442 $as_echo_n "checking for $ac_header... " >&6; }
6443 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6444 $as_echo_n "(cached) " >&6
6446 eval "$as_ac_Header=\$ac_header_preproc"
6448 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6449 $as_echo "$as_val"'`
6450 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6451 $as_echo "$ac_res" >&6; }
6454 if test `eval 'as_val=${'$as_ac_Header'}
6455 $as_echo "$as_val"'` = yes; then
6456 cat >>confdefs.h
<<_ACEOF
6457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6465 ac_cpp
='$CXXCPP $CPPFLAGS'
6466 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6467 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6469 if test -z "$CXX"; then
6470 if test -n "$CCC"; then
6473 if test -n "$ac_tool_prefix"; then
6474 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6477 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6478 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6479 $as_echo_n "checking for $ac_word... " >&6; }
6480 if test "${ac_cv_prog_CXX+set}" = set; then
6481 $as_echo_n "(cached) " >&6
6483 if test -n "$CXX"; then
6484 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir
=.
6491 for ac_exec_ext
in '' $ac_executable_extensions; do
6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 if test -n "$CXX"; then
6505 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
6506 $as_echo "$CXX" >&6; }
6508 { $as_echo "$as_me:$LINENO: result: no" >&5
6509 $as_echo "no" >&6; }
6513 test -n "$CXX" && break
6516 if test -z "$CXX"; then
6518 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6520 # Extract the first word of "$ac_prog", so it can be a program name with args.
6521 set dummy
$ac_prog; ac_word
=$2
6522 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6523 $as_echo_n "checking for $ac_word... " >&6; }
6524 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6525 $as_echo_n "(cached) " >&6
6527 if test -n "$ac_ct_CXX"; then
6528 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6534 test -z "$as_dir" && as_dir
=.
6535 for ac_exec_ext
in '' $ac_executable_extensions; do
6536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6537 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6538 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6547 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6548 if test -n "$ac_ct_CXX"; then
6549 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6550 $as_echo "$ac_ct_CXX" >&6; }
6552 { $as_echo "$as_me:$LINENO: result: no" >&5
6553 $as_echo "no" >&6; }
6557 test -n "$ac_ct_CXX" && break
6560 if test "x$ac_ct_CXX" = x
; then
6563 case $cross_compiling:$ac_tool_warned in
6565 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6566 whose name does not start with the host triplet. If you think this
6567 configuration is useful to you, please write to autoconf@gnu.org." >&5
6568 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6569 whose name does not start with the host triplet. If you think this
6570 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6571 ac_tool_warned
=yes ;;
6579 # Provide some information about the compiler.
6580 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6583 { (ac_try
="$ac_compiler --version >&5"
6585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6586 *) ac_try_echo=$ac_try;;
6588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6589 $as_echo "$ac_try_echo") >&5
6590 (eval "$ac_compiler --version >&5") 2>&5
6592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); }
6594 { (ac_try="$ac_compiler -v >&5"
6596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6597 *) ac_try_echo
=$ac_try;;
6599 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6600 $as_echo "$ac_try_echo") >&5
6601 (eval "$ac_compiler -v >&5") 2>&5
6603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }
6605 { (ac_try
="$ac_compiler -V >&5"
6607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6608 *) ac_try_echo=$ac_try;;
6610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6611 $as_echo "$ac_try_echo") >&5
6612 (eval "$ac_compiler -V >&5") 2>&5
6614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); }
6617 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6618 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6619 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6620 $as_echo_n "(cached) " >&6
6622 cat >conftest.$ac_ext <<_ACEOF
6625 cat confdefs.h >>conftest.$ac_ext
6626 cat >>conftest.$ac_ext <<_ACEOF
6627 /* end confdefs.h. */
6640 rm -f conftest.$ac_objext
6641 if { (ac_try="$ac_compile"
6643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6644 *) ac_try_echo
=$ac_try;;
6646 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6647 $as_echo "$ac_try_echo") >&5
6648 (eval "$ac_compile") 2>conftest.er1
6650 grep -v '^ *+' conftest.er1
>conftest.err
6652 cat conftest.err
>&5
6653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); } && {
6655 test -z "$ac_cxx_werror_flag" ||
6656 test ! -s conftest.err
6657 } && test -s conftest.
$ac_objext; then
6660 $as_echo "$as_me: failed program was:" >&5
6661 sed 's/^/| /' conftest.
$ac_ext >&5
6666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6667 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6670 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6671 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6672 if test $ac_compiler_gnu = yes; then
6677 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6678 ac_save_CXXFLAGS
=$CXXFLAGS
6679 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6680 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6681 if test "${ac_cv_prog_cxx_g+set}" = set; then
6682 $as_echo_n "(cached) " >&6
6684 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6685 ac_cxx_werror_flag
=yes
6688 cat >conftest.
$ac_ext <<_ACEOF
6691 cat confdefs.h
>>conftest.
$ac_ext
6692 cat >>conftest.
$ac_ext <<_ACEOF
6693 /* end confdefs.h. */
6703 rm -f conftest.
$ac_objext
6704 if { (ac_try
="$ac_compile"
6706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6707 *) ac_try_echo=$ac_try;;
6709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6710 $as_echo "$ac_try_echo") >&5
6711 (eval "$ac_compile") 2>conftest.er1
6713 grep -v '^ *+' conftest.er1 >conftest.err
6715 cat conftest.err >&5
6716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } && {
6718 test -z "$ac_cxx_werror_flag" ||
6719 test ! -s conftest.err
6720 } && test -s conftest.$ac_objext; then
6721 ac_cv_prog_cxx_g=yes
6723 $as_echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.$ac_ext >&5
6727 cat >conftest.$ac_ext <<_ACEOF
6730 cat confdefs.h >>conftest.$ac_ext
6731 cat >>conftest.$ac_ext <<_ACEOF
6732 /* end confdefs.h. */
6742 rm -f conftest.$ac_objext
6743 if { (ac_try="$ac_compile"
6745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6746 *) ac_try_echo
=$ac_try;;
6748 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6749 $as_echo "$ac_try_echo") >&5
6750 (eval "$ac_compile") 2>conftest.er1
6752 grep -v '^ *+' conftest.er1
>conftest.err
6754 cat conftest.err
>&5
6755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } && {
6757 test -z "$ac_cxx_werror_flag" ||
6758 test ! -s conftest.err
6759 } && test -s conftest.
$ac_objext; then
6762 $as_echo "$as_me: failed program was:" >&5
6763 sed 's/^/| /' conftest.
$ac_ext >&5
6765 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6767 cat >conftest.
$ac_ext <<_ACEOF
6770 cat confdefs.h
>>conftest.
$ac_ext
6771 cat >>conftest.
$ac_ext <<_ACEOF
6772 /* end confdefs.h. */
6782 rm -f conftest.
$ac_objext
6783 if { (ac_try
="$ac_compile"
6785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6786 *) ac_try_echo=$ac_try;;
6788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6789 $as_echo "$ac_try_echo") >&5
6790 (eval "$ac_compile") 2>conftest.er1
6792 grep -v '^ *+' conftest.er1 >conftest.err
6794 cat conftest.err >&5
6795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); } && {
6797 test -z "$ac_cxx_werror_flag" ||
6798 test ! -s conftest.err
6799 } && test -s conftest.$ac_objext; then
6800 ac_cv_prog_cxx_g=yes
6802 $as_echo "$as_me: failed program was:" >&5
6803 sed 's/^/| /' conftest.$ac_ext >&5
6808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6815 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6817 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6818 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6819 if test "$ac_test_CXXFLAGS" = set; then
6820 CXXFLAGS=$ac_save_CXXFLAGS
6821 elif test $ac_cv_prog_cxx_g = yes; then
6822 if test "$GXX" = yes; then
6828 if test "$GXX" = yes; then
6835 ac_cpp='$CXXCPP $CPPFLAGS'
6836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6840 depcc="$CXX" am_compiler_list=
6842 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6843 $as_echo_n "checking dependency style of $depcc... " >&6; }
6844 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6845 $as_echo_n "(cached) " >&6
6847 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6848 # We make a subdir and do the tests there. Otherwise we can end up
6849 # making bogus files that we don't know about and never remove. For
6850 # instance it was reported that on HP-UX the gcc test will end up
6851 # making a dummy file named `D
' -- because `-MD' means
`put the output
6854 # Copy depcomp to subdir because otherwise we won't find it if we're
6855 # using a relative directory.
6856 cp "$am_depcomp" conftest.dir
6858 # We will build objects and dependencies in a subdirectory because
6859 # it helps to detect inapplicable dependency modes. For instance
6860 # both Tru64's cc and ICC support -MD to output dependencies as a
6861 # side effect of compilation, but ICC will put the dependencies in
6862 # the current directory while Tru64 will put them in the object
6866 am_cv_CXX_dependencies_compiler_type=none
6867 if test "$am_compiler_list" = ""; then
6868 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6870 for depmode in $am_compiler_list; do
6871 # Setup a source with many dependencies, because some compilers
6872 # like to wrap large dependency lists on column 80 (with \), and
6873 # we should not choose a depcomp mode which is confused by this.
6875 # We need to recreate these files for each test, as the compiler may
6876 # overwrite some of them when testing with obscure command lines.
6877 # This happens at least with the AIX C compiler.
6879 for i in 1 2 3 4 5 6; do
6880 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6881 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6882 # Solaris 8's
{/usr
,}/bin
/sh.
6883 touch sub
/conftst
$i.h
6885 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6889 # after this tag, mechanisms are not by side-effect, so they'll
6890 # only be used when explicitly requested
6891 if test "x$enable_dependency_tracking" = xyes
; then
6899 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6900 # mode. It turns out that the SunPro C++ compiler does not properly
6901 # handle `-M -o', and we need to detect this.
6902 if depmode
=$depmode \
6903 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6904 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6905 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6906 >/dev
/null
2>conftest.err
&&
6907 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6908 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6909 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6910 # icc doesn't choke on unknown options, it will just issue warnings
6911 # or remarks (even with -Werror). So we grep stderr for any message
6912 # that says an option was ignored or not supported.
6913 # When given -MP, icc 7.0 and 7.1 complain thusly:
6914 # icc: Command line warning: ignoring option '-M'; no argument required
6915 # The diagnosis changed in icc 8.0:
6916 # icc: Command line remark: option '-MP' not supported
6917 if (grep 'ignoring option' conftest.err ||
6918 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6919 am_cv_CXX_dependencies_compiler_type
=$depmode
6928 am_cv_CXX_dependencies_compiler_type
=none
6932 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6933 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6934 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6939 test "x$enable_dependency_tracking" != xno \
6940 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6941 am__fastdepCXX_TRUE
=
6942 am__fastdepCXX_FALSE
='#'
6944 am__fastdepCXX_TRUE
='#'
6945 am__fastdepCXX_FALSE
=
6951 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6952 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6953 (test "X$CXX" != "Xg++"))) ; then
6955 ac_cpp
='$CXXCPP $CPPFLAGS'
6956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6959 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6960 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6961 if test -z "$CXXCPP"; then
6962 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6963 $as_echo_n "(cached) " >&6
6965 # Double quotes because CXXCPP needs to be expanded
6966 for CXXCPP
in "$CXX -E" "/lib/cpp"
6969 for ac_cxx_preproc_warn_flag
in '' yes
6971 # Use a header file that comes with gcc, so configuring glibc
6972 # with a fresh cross-compiler works.
6973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6974 # <limits.h> exists even on freestanding compilers.
6975 # On the NeXT, cc -E runs the code through the compiler's parser,
6976 # not just through cpp. "Syntax error" is here to catch this case.
6977 cat >conftest.
$ac_ext <<_ACEOF
6980 cat confdefs.h
>>conftest.
$ac_ext
6981 cat >>conftest.
$ac_ext <<_ACEOF
6982 /* end confdefs.h. */
6984 # include <limits.h>
6986 # include <assert.h>
6990 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6993 *) ac_try_echo=$ac_try;;
6995 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6996 $as_echo "$ac_try_echo") >&5
6997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6999 grep -v '^ *+' conftest.er1 >conftest.err
7001 cat conftest.err >&5
7002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); } >/dev/null && {
7004 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7005 test ! -s conftest.err
7009 $as_echo "$as_me: failed program was:" >&5
7010 sed 's/^/| /' conftest.$ac_ext >&5
7012 # Broken: fails on valid input.
7016 rm -f conftest.err conftest.$ac_ext
7018 # OK, works on sane cases. Now check whether nonexistent headers
7019 # can be detected and how.
7020 cat >conftest.$ac_ext <<_ACEOF
7023 cat confdefs.h >>conftest.$ac_ext
7024 cat >>conftest.$ac_ext <<_ACEOF
7025 /* end confdefs.h. */
7026 #include <ac_nonexistent.h>
7028 if { (ac_try="$ac_cpp conftest.$ac_ext"
7030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7031 *) ac_try_echo
=$ac_try;;
7033 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7034 $as_echo "$ac_try_echo") >&5
7035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7037 grep -v '^ *+' conftest.er1
>conftest.err
7039 cat conftest.err
>&5
7040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); } >/dev
/null
&& {
7042 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7043 test ! -s conftest.err
7045 # Broken: success on invalid input.
7048 $as_echo "$as_me: failed program was:" >&5
7049 sed 's/^/| /' conftest.
$ac_ext >&5
7051 # Passes both tests.
7056 rm -f conftest.err conftest.
$ac_ext
7059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7060 rm -f conftest.err conftest.
$ac_ext
7061 if $ac_preproc_ok; then
7066 ac_cv_prog_CXXCPP
=$CXXCPP
7069 CXXCPP
=$ac_cv_prog_CXXCPP
7071 ac_cv_prog_CXXCPP
=$CXXCPP
7073 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
7074 $as_echo "$CXXCPP" >&6; }
7076 for ac_cxx_preproc_warn_flag
in '' yes
7078 # Use a header file that comes with gcc, so configuring glibc
7079 # with a fresh cross-compiler works.
7080 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7081 # <limits.h> exists even on freestanding compilers.
7082 # On the NeXT, cc -E runs the code through the compiler's parser,
7083 # not just through cpp. "Syntax error" is here to catch this case.
7084 cat >conftest.
$ac_ext <<_ACEOF
7087 cat confdefs.h
>>conftest.
$ac_ext
7088 cat >>conftest.
$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7091 # include <limits.h>
7093 # include <assert.h>
7097 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7100 *) ac_try_echo=$ac_try;;
7102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7103 $as_echo "$ac_try_echo") >&5
7104 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7106 grep -v '^ *+' conftest.er1 >conftest.err
7108 cat conftest.err >&5
7109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7110 (exit $ac_status); } >/dev/null && {
7111 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7112 test ! -s conftest.err
7116 $as_echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.$ac_ext >&5
7119 # Broken: fails on valid input.
7123 rm -f conftest.err conftest.$ac_ext
7125 # OK, works on sane cases. Now check whether nonexistent headers
7126 # can be detected and how.
7127 cat >conftest.$ac_ext <<_ACEOF
7130 cat confdefs.h >>conftest.$ac_ext
7131 cat >>conftest.$ac_ext <<_ACEOF
7132 /* end confdefs.h. */
7133 #include <ac_nonexistent.h>
7135 if { (ac_try="$ac_cpp conftest.$ac_ext"
7137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7138 *) ac_try_echo
=$ac_try;;
7140 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7141 $as_echo "$ac_try_echo") >&5
7142 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7144 grep -v '^ *+' conftest.er1
>conftest.err
7146 cat conftest.err
>&5
7147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } >/dev
/null
&& {
7149 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7150 test ! -s conftest.err
7152 # Broken: success on invalid input.
7155 $as_echo "$as_me: failed program was:" >&5
7156 sed 's/^/| /' conftest.
$ac_ext >&5
7158 # Passes both tests.
7163 rm -f conftest.err conftest.
$ac_ext
7166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7167 rm -f conftest.err conftest.
$ac_ext
7168 if $ac_preproc_ok; then
7171 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7172 See \`config.log' for more details." >&5
7173 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7174 See \`config.log' for more details." >&2;}
7175 { (exit 1); exit 1; }; }
7179 ac_cpp
='$CXXCPP $CPPFLAGS'
7180 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7181 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7182 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7188 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7189 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7191 if test -n "$ac_tool_prefix"; then
7192 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
7194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7195 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7196 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7197 $as_echo_n "checking for $ac_word... " >&6; }
7198 if test "${ac_cv_prog_F77+set}" = set; then
7199 $as_echo_n "(cached) " >&6
7201 if test -n "$F77"; then
7202 ac_cv_prog_F77
="$F77" # Let the user override the test.
7204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir
=.
7209 for ac_exec_ext
in '' $ac_executable_extensions; do
7210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7212 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 if test -n "$F77"; then
7223 { $as_echo "$as_me:$LINENO: result: $F77" >&5
7224 $as_echo "$F77" >&6; }
7226 { $as_echo "$as_me:$LINENO: result: no" >&5
7227 $as_echo "no" >&6; }
7231 test -n "$F77" && break
7234 if test -z "$F77"; then
7236 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
7238 # Extract the first word of "$ac_prog", so it can be a program name with args.
7239 set dummy
$ac_prog; ac_word
=$2
7240 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7241 $as_echo_n "checking for $ac_word... " >&6; }
7242 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7243 $as_echo_n "(cached) " >&6
7245 if test -n "$ac_ct_F77"; then
7246 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7252 test -z "$as_dir" && as_dir
=.
7253 for ac_exec_ext
in '' $ac_executable_extensions; do
7254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7255 ac_cv_prog_ac_ct_F77
="$ac_prog"
7256 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7266 if test -n "$ac_ct_F77"; then
7267 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7268 $as_echo "$ac_ct_F77" >&6; }
7270 { $as_echo "$as_me:$LINENO: result: no" >&5
7271 $as_echo "no" >&6; }
7275 test -n "$ac_ct_F77" && break
7278 if test "x$ac_ct_F77" = x
; then
7281 case $cross_compiling:$ac_tool_warned in
7283 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7284 whose name does not start with the host triplet. If you think this
7285 configuration is useful to you, please write to autoconf@gnu.org." >&5
7286 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7287 whose name does not start with the host triplet. If you think this
7288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7289 ac_tool_warned
=yes ;;
7296 # Provide some information about the compiler.
7297 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7300 { (ac_try
="$ac_compiler --version >&5"
7302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7303 *) ac_try_echo=$ac_try;;
7305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7306 $as_echo "$ac_try_echo") >&5
7307 (eval "$ac_compiler --version >&5") 2>&5
7309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); }
7311 { (ac_try="$ac_compiler -v >&5"
7313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7314 *) ac_try_echo
=$ac_try;;
7316 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7317 $as_echo "$ac_try_echo") >&5
7318 (eval "$ac_compiler -v >&5") 2>&5
7320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); }
7322 { (ac_try
="$ac_compiler -V >&5"
7324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7325 *) ac_try_echo=$ac_try;;
7327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7328 $as_echo "$ac_try_echo") >&5
7329 (eval "$ac_compiler -V >&5") 2>&5
7331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); }
7335 # If we don't use `.F
' as extension, the preprocessor is not run on the
7336 # input file. (Note that this only needs to work for GNU compilers.)
7339 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7340 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
7341 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7342 $as_echo_n "(cached) " >&6
7344 cat >conftest.$ac_ext <<_ACEOF
7352 rm -f conftest.$ac_objext
7353 if { (ac_try="$ac_compile"
7355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7356 *) ac_try_echo=$ac_try;;
7358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7359 $as_echo "$ac_try_echo") >&5
7360 (eval "$ac_compile") 2>conftest.er1
7362 grep -v '^
*+' conftest.er1 >conftest.err
7364 cat conftest.err >&5
7365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); } && {
7367 test -z "$ac_f77_werror_flag" ||
7368 test ! -s conftest.err
7369 } && test -s conftest.$ac_objext; then
7372 $as_echo "$as_me: failed program was:" >&5
7373 sed 's
/^
/|
/' conftest.$ac_ext >&5
7378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7379 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7382 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7383 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
7385 ac_test_FFLAGS=${FFLAGS+set}
7386 ac_save_FFLAGS=$FFLAGS
7388 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7389 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
7390 if test "${ac_cv_prog_f77_g+set}" = set; then
7391 $as_echo_n "(cached) " >&6
7394 cat >conftest.$ac_ext <<_ACEOF
7399 rm -f conftest.$ac_objext
7400 if { (ac_try="$ac_compile"
7402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7403 *) ac_try_echo=$ac_try;;
7405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7406 $as_echo "$ac_try_echo") >&5
7407 (eval "$ac_compile") 2>conftest.er1
7409 grep -v '^
*+' conftest.er1 >conftest.err
7411 cat conftest.err >&5
7412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); } && {
7414 test -z "$ac_f77_werror_flag" ||
7415 test ! -s conftest.err
7416 } && test -s conftest.$ac_objext; then
7417 ac_cv_prog_f77_g=yes
7419 $as_echo "$as_me: failed program was:" >&5
7420 sed 's
/^
/|
/' conftest.$ac_ext >&5
7425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7428 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7429 $as_echo "$ac_cv_prog_f77_g" >&6; }
7430 if test "$ac_test_FFLAGS" = set; then
7431 FFLAGS=$ac_save_FFLAGS
7432 elif test $ac_cv_prog_f77_g = yes; then
7433 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7439 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7446 if test $ac_compiler_gnu = yes; then
7452 ac_cpp='$CPP $CPPFLAGS'
7453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7454 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7459 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
7461 # find the maximum length of command line arguments
7462 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7463 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7464 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7465 $as_echo_n "(cached) " >&6
7472 # On DJGPP, this test can blow up pretty badly due to problems in libc
7473 # (any single argument exceeding 2000 bytes causes a buffer overrun
7474 # during glob expansion). Even if it were fixed, the result of this
7475 # check would be larger than it should be.
7476 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7480 # Under GNU Hurd, this test is not required because there is
7481 # no limit to the length of command line arguments.
7482 # Libtool will interpret -1 as no limit whatsoever
7483 lt_cv_sys_max_cmd_len
=-1;
7487 # On Win9x/ME, this test blows up -- it succeeds, but takes
7488 # about 5 minutes as the teststring grows exponentially.
7489 # Worse, since 9x/ME are not pre-emptively multitasking,
7490 # you end up with a "frozen" computer, even though with patience
7491 # the test eventually succeeds (with a max line length of 256k).
7492 # Instead, let's just punt: use the minimum linelength reported by
7493 # all of the supported platforms: 8192 (on NT/2K/XP).
7494 lt_cv_sys_max_cmd_len
=8192;
7498 # On AmigaOS with pdksh, this test takes hours, literally.
7499 # So we just punt and use a minimum line length of 8192.
7500 lt_cv_sys_max_cmd_len
=8192;
7503 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7504 # This has been around since 386BSD, at least. Likely further.
7505 if test -x /sbin
/sysctl
; then
7506 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7507 elif test -x /usr
/sbin
/sysctl
; then
7508 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7510 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7512 # And add a safety zone
7513 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7514 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7518 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7519 lt_cv_sys_max_cmd_len
=196608
7523 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7524 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7525 # nice to cause kernel panics so lets avoid the loop below.
7526 # First set a reasonable default.
7527 lt_cv_sys_max_cmd_len
=16384
7529 if test -x /sbin
/sysconfig
; then
7530 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7531 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7536 lt_cv_sys_max_cmd_len
=102400
7538 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7539 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7540 if test -n "$kargmax"; then
7541 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7543 lt_cv_sys_max_cmd_len
=32768
7547 # If test is not a shell built-in, we'll probably end up computing a
7548 # maximum length that is only half of the actual maximum length, but
7550 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7551 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7552 = "XX$teststring") >/dev
/null
2>&1 &&
7553 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
7554 lt_cv_sys_max_cmd_len
=$new_result &&
7555 test $i != 17 # 1/2 MB should be enough
7558 teststring
=$teststring$teststring
7561 # Add a significant safety factor because C++ compilers can tack on massive
7562 # amounts of additional arguments before passing them to the linker.
7563 # It appears as though 1/2 is a usable value.
7564 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7570 if test -n $lt_cv_sys_max_cmd_len ; then
7571 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7572 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7574 { $as_echo "$as_me:$LINENO: result: none" >&5
7575 $as_echo "none" >&6; }
7581 # Check for command to grab the raw symbol name followed by C symbol from nm.
7582 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7583 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7584 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7585 $as_echo_n "(cached) " >&6
7588 # These are sane defaults that work on at least a few old systems.
7589 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7591 # Character class describing NM global symbol codes.
7592 symcode
='[BCDEGRST]'
7594 # Regexp to match symbols that can be accessed directly from C.
7595 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7597 # Transform an extracted symbol line into a proper C declaration
7598 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7600 # Transform an extracted symbol line into symbol name and symbol address
7601 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'"
7603 # Define system-specific variables.
7608 cygwin
* | mingw
* | pw32
*)
7609 symcode
='[ABCDGISTW]'
7611 hpux
*) # Its linker distinguishes data from code symbols
7612 if test "$host_cpu" = ia64
; then
7613 symcode
='[ABCDEGRST]'
7615 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7616 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'"
7619 if test "$host_cpu" = ia64
; then
7620 symcode
='[ABCDGIRSTW]'
7621 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7622 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'"
7626 symcode
='[BCDEGRST]'
7629 symcode
='[BCDEGQRST]'
7640 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7648 # Handle CRLF in mingw tool chain
7652 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7656 # If we're using GNU nm, then use its standard symbol codes.
7657 case `$NM -V 2>&1` in
7658 *GNU
* |
*'with BFD'*)
7659 symcode
='[ABCDGIRSTW]' ;;
7662 # Try without a prefix undercore, then with it.
7663 for ac_symprfx
in "" "_"; do
7665 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7666 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7668 # Write the raw and C identifiers.
7669 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7671 # Check to see that the pipe works correctly.
7675 cat > conftest.
$ac_ext <<EOF
7680 void nm_test_func(){}
7684 int main(){nm_test_var='a';nm_test_func();return(0);}
7687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7688 (eval $ac_compile) 2>&5
7690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; then
7692 # Now try to grab the symbols.
7694 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7695 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); } && test -s "$nlist"; then
7699 # Try sorting and uniquifying the output.
7700 if sort "$nlist" |
uniq > "$nlist"T
; then
7701 mv -f "$nlist"T
"$nlist"
7706 # Make sure that we snagged all the symbols we need.
7707 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
7708 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
7709 cat <<EOF > conftest.$ac_ext
7715 # Now generate the symbol file.
7716 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7718 cat <<EOF >> conftest.$ac_ext
7719 #if defined (__STDC__) && __STDC__
7720 # define lt_ptr_t void *
7722 # define lt_ptr_t char *
7726 /* The mapping between symbol names and symbols. */
7731 lt_preloaded_symbols[] =
7734 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
7735 cat <<\EOF
>> conftest.
$ac_ext
7743 # Now try linking the two files.
7744 mv conftest.
$ac_objext conftstm.
$ac_objext
7745 lt_save_LIBS
="$LIBS"
7746 lt_save_CFLAGS
="$CFLAGS"
7747 LIBS
="conftstm.$ac_objext"
7748 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7750 (eval $ac_link) 2>&5
7752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
7756 LIBS
="$lt_save_LIBS"
7757 CFLAGS
="$lt_save_CFLAGS"
7759 echo "cannot find nm_test_func in $nlist" >&5
7762 echo "cannot find nm_test_var in $nlist" >&5
7765 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7768 echo "$progname: failed program was:" >&5
7769 cat conftest.
$ac_ext >&5
7771 rm -f conftest
* conftst
*
7773 # Do not use the global_symbol_pipe unless it works.
7774 if test "$pipe_works" = yes; then
7777 lt_cv_sys_global_symbol_pipe
=
7783 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7784 lt_cv_sys_global_symbol_to_cdecl
=
7786 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7787 { $as_echo "$as_me:$LINENO: result: failed" >&5
7788 $as_echo "failed" >&6; }
7790 { $as_echo "$as_me:$LINENO: result: ok" >&5
7791 $as_echo "ok" >&6; }
7794 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7795 $as_echo_n "checking for objdir... " >&6; }
7796 if test "${lt_cv_objdir+set}" = set; then
7797 $as_echo_n "(cached) " >&6
7799 rm -f .libs
2>/dev
/null
7800 mkdir .libs
2>/dev
/null
7801 if test -d .libs
; then
7804 # MS-DOS does not allow filenames that begin with a dot.
7807 rmdir .libs
2>/dev
/null
7809 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7810 $as_echo "$lt_cv_objdir" >&6; }
7811 objdir
=$lt_cv_objdir
7819 # AIX sometimes has problems with the GCC collect2 program. For some
7820 # reason, if we set the COLLECT_NAMES environment variable, the problems
7821 # vanish in a puff of smoke.
7822 if test "X${COLLECT_NAMES+set}" != Xset
; then
7824 export COLLECT_NAMES
7829 # Sed substitution that helps us do robust quoting. It backslashifies
7830 # metacharacters that are still active within double-quoted strings.
7831 Xsed
='sed -e 1s/^X//'
7832 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
7834 # Same as above, but do not quote variable references.
7835 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
7837 # Sed substitution to delay expansion of an escaped shell variable in a
7838 # double_quote_subst'ed string.
7839 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7841 # Sed substitution to avoid accidental globbing in evaled expressions
7842 no_glob_subst
='s/\*/\\\*/g'
7848 default_ofile
=libtool
7849 can_build_shared
=yes
7851 # All known linkers require a `.a' archive for static linking (except MSVC,
7852 # which needs '.lib').
7854 ltmain
="$ac_aux_dir/ltmain.sh"
7855 ofile
="$default_ofile"
7856 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7858 if test -n "$ac_tool_prefix"; then
7859 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7860 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7861 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7862 $as_echo_n "checking for $ac_word... " >&6; }
7863 if test "${ac_cv_prog_AR+set}" = set; then
7864 $as_echo_n "(cached) " >&6
7866 if test -n "$AR"; then
7867 ac_cv_prog_AR
="$AR" # Let the user override the test.
7869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7873 test -z "$as_dir" && as_dir
=.
7874 for ac_exec_ext
in '' $ac_executable_extensions; do
7875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7876 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7877 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7887 if test -n "$AR"; then
7888 { $as_echo "$as_me:$LINENO: result: $AR" >&5
7889 $as_echo "$AR" >&6; }
7891 { $as_echo "$as_me:$LINENO: result: no" >&5
7892 $as_echo "no" >&6; }
7897 if test -z "$ac_cv_prog_AR"; then
7899 # Extract the first word of "ar", so it can be a program name with args.
7900 set dummy
ar; ac_word
=$2
7901 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7904 $as_echo_n "(cached) " >&6
7906 if test -n "$ac_ct_AR"; then
7907 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7913 test -z "$as_dir" && as_dir
=.
7914 for ac_exec_ext
in '' $ac_executable_extensions; do
7915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7916 ac_cv_prog_ac_ct_AR
="ar"
7917 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7926 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7927 if test -n "$ac_ct_AR"; then
7928 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7929 $as_echo "$ac_ct_AR" >&6; }
7931 { $as_echo "$as_me:$LINENO: result: no" >&5
7932 $as_echo "no" >&6; }
7935 if test "x$ac_ct_AR" = x
; then
7938 case $cross_compiling:$ac_tool_warned in
7940 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7941 whose name does not start with the host triplet. If you think this
7942 configuration is useful to you, please write to autoconf@gnu.org." >&5
7943 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7944 whose name does not start with the host triplet. If you think this
7945 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7946 ac_tool_warned
=yes ;;
7954 if test -n "$ac_tool_prefix"; then
7955 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7956 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7957 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7958 $as_echo_n "checking for $ac_word... " >&6; }
7959 if test "${ac_cv_prog_RANLIB+set}" = set; then
7960 $as_echo_n "(cached) " >&6
7962 if test -n "$RANLIB"; then
7963 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7969 test -z "$as_dir" && as_dir
=.
7970 for ac_exec_ext
in '' $ac_executable_extensions; do
7971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7972 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7973 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7982 RANLIB
=$ac_cv_prog_RANLIB
7983 if test -n "$RANLIB"; then
7984 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7985 $as_echo "$RANLIB" >&6; }
7987 { $as_echo "$as_me:$LINENO: result: no" >&5
7988 $as_echo "no" >&6; }
7993 if test -z "$ac_cv_prog_RANLIB"; then
7994 ac_ct_RANLIB
=$RANLIB
7995 # Extract the first word of "ranlib", so it can be a program name with args.
7996 set dummy ranlib
; ac_word
=$2
7997 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7998 $as_echo_n "checking for $ac_word... " >&6; }
7999 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8000 $as_echo_n "(cached) " >&6
8002 if test -n "$ac_ct_RANLIB"; then
8003 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir
=.
8010 for ac_exec_ext
in '' $ac_executable_extensions; do
8011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8012 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8013 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8022 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8023 if test -n "$ac_ct_RANLIB"; then
8024 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8025 $as_echo "$ac_ct_RANLIB" >&6; }
8027 { $as_echo "$as_me:$LINENO: result: no" >&5
8028 $as_echo "no" >&6; }
8031 if test "x$ac_ct_RANLIB" = x
; then
8034 case $cross_compiling:$ac_tool_warned in
8036 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8037 whose name does not start with the host triplet. If you think this
8038 configuration is useful to you, please write to autoconf@gnu.org." >&5
8039 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8040 whose name does not start with the host triplet. If you think this
8041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8042 ac_tool_warned
=yes ;;
8044 RANLIB
=$ac_ct_RANLIB
8047 RANLIB
="$ac_cv_prog_RANLIB"
8050 if test -n "$ac_tool_prefix"; then
8051 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8052 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8053 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if test "${ac_cv_prog_STRIP+set}" = set; then
8056 $as_echo_n "(cached) " >&6
8058 if test -n "$STRIP"; then
8059 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir
=.
8066 for ac_exec_ext
in '' $ac_executable_extensions; do
8067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8068 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8069 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 STRIP
=$ac_cv_prog_STRIP
8079 if test -n "$STRIP"; then
8080 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
8081 $as_echo "$STRIP" >&6; }
8083 { $as_echo "$as_me:$LINENO: result: no" >&5
8084 $as_echo "no" >&6; }
8089 if test -z "$ac_cv_prog_STRIP"; then
8091 # Extract the first word of "strip", so it can be a program name with args.
8092 set dummy strip
; ac_word
=$2
8093 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8094 $as_echo_n "checking for $ac_word... " >&6; }
8095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8096 $as_echo_n "(cached) " >&6
8098 if test -n "$ac_ct_STRIP"; then
8099 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8105 test -z "$as_dir" && as_dir
=.
8106 for ac_exec_ext
in '' $ac_executable_extensions; do
8107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8108 ac_cv_prog_ac_ct_STRIP
="strip"
8109 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8118 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8119 if test -n "$ac_ct_STRIP"; then
8120 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8121 $as_echo "$ac_ct_STRIP" >&6; }
8123 { $as_echo "$as_me:$LINENO: result: no" >&5
8124 $as_echo "no" >&6; }
8127 if test "x$ac_ct_STRIP" = x
; then
8130 case $cross_compiling:$ac_tool_warned in
8132 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8133 whose name does not start with the host triplet. If you think this
8134 configuration is useful to you, please write to autoconf@gnu.org." >&5
8135 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8136 whose name does not start with the host triplet. If you think this
8137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8138 ac_tool_warned
=yes ;;
8143 STRIP
="$ac_cv_prog_STRIP"
8148 old_CFLAGS
="$CFLAGS"
8150 # Set sane defaults for various variables
8151 test -z "$AR" && AR
=ar
8152 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8153 test -z "$AS" && AS
=as
8154 test -z "$CC" && CC
=cc
8155 test -z "$LTCC" && LTCC
=$CC
8156 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8157 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8158 test -z "$LD" && LD
=ld
8159 test -z "$LN_S" && LN_S
="ln -s"
8160 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8161 test -z "$NM" && NM
=nm
8162 test -z "$SED" && SED
=sed
8163 test -z "$OBJDUMP" && OBJDUMP
=objdump
8164 test -z "$RANLIB" && RANLIB
=:
8165 test -z "$STRIP" && STRIP
=:
8166 test -z "$ac_objext" && ac_objext
=o
8168 # Determine commands to create old-style static archives.
8169 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
8170 old_postinstall_cmds
='chmod 644 $oldlib'
8171 old_postuninstall_cmds
=
8173 if test -n "$RANLIB"; then
8176 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8179 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8182 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8185 for cc_temp
in $compiler""; do
8187 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8188 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8193 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8196 # Only perform the check for file, if the check method requires it
8197 case $deplibs_check_method in
8199 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8200 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8201 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8202 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8203 $as_echo_n "(cached) " >&6
8207 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8210 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8211 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8212 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8213 for ac_dir
in $ac_dummy; do
8215 test -z "$ac_dir" && ac_dir
=.
8216 if test -f $ac_dir/${ac_tool_prefix}file; then
8217 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8218 if test -n "$file_magic_test_file"; then
8219 case $deplibs_check_method in
8221 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8222 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8223 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8224 $EGREP "$file_magic_regex" > /dev
/null
; then
8229 *** Warning: the command libtool uses to detect shared libraries,
8230 *** $file_magic_cmd, produces output that libtool cannot recognize.
8231 *** The result is that libtool may fail to recognize shared libraries
8232 *** as such. This will affect the creation of libtool libraries that
8233 *** depend on shared libraries, but programs linked with such libtool
8234 *** libraries will work regardless of this problem. Nevertheless, you
8235 *** may want to report the problem to your system manager and/or to
8236 *** bug-libtool@gnu.org
8246 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8251 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8252 if test -n "$MAGIC_CMD"; then
8253 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8254 $as_echo "$MAGIC_CMD" >&6; }
8256 { $as_echo "$as_me:$LINENO: result: no" >&5
8257 $as_echo "no" >&6; }
8260 if test -z "$lt_cv_path_MAGIC_CMD"; then
8261 if test -n "$ac_tool_prefix"; then
8262 { $as_echo "$as_me:$LINENO: checking for file" >&5
8263 $as_echo_n "checking for file... " >&6; }
8264 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8265 $as_echo_n "(cached) " >&6
8269 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8272 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8273 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8274 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8275 for ac_dir
in $ac_dummy; do
8277 test -z "$ac_dir" && ac_dir
=.
8278 if test -f $ac_dir/file; then
8279 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8280 if test -n "$file_magic_test_file"; then
8281 case $deplibs_check_method in
8283 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8284 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8285 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8286 $EGREP "$file_magic_regex" > /dev
/null
; then
8291 *** Warning: the command libtool uses to detect shared libraries,
8292 *** $file_magic_cmd, produces output that libtool cannot recognize.
8293 *** The result is that libtool may fail to recognize shared libraries
8294 *** as such. This will affect the creation of libtool libraries that
8295 *** depend on shared libraries, but programs linked with such libtool
8296 *** libraries will work regardless of this problem. Nevertheless, you
8297 *** may want to report the problem to your system manager and/or to
8298 *** bug-libtool@gnu.org
8308 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8313 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8314 if test -n "$MAGIC_CMD"; then
8315 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8316 $as_echo "$MAGIC_CMD" >&6; }
8318 { $as_echo "$as_me:$LINENO: result: no" >&5
8319 $as_echo "no" >&6; }
8334 # Check whether --enable-libtool-lock was given.
8335 if test "${enable_libtool_lock+set}" = set; then
8336 enableval
=$enable_libtool_lock;
8339 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8342 # Check whether --with-pic was given.
8343 if test "${with_pic+set}" = set; then
8344 withval
=$with_pic; pic_mode
="$withval"
8349 test -z "$pic_mode" && pic_mode
=default
8351 # Use C for the default configuration in the libtool script
8355 ac_cpp
='$CPP $CPPFLAGS'
8356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8361 # Source file extension for C test sources.
8364 # Object file extension for compiled C test sources.
8368 # Code to be used in simple compile tests
8369 lt_simple_compile_test_code
="int some_variable = 0;\n"
8371 # Code to be used in simple link tests
8372 lt_simple_link_test_code
='int main(){return(0);}\n'
8375 # If no C compiler was specified, use CC.
8378 # If no C compiler flags were specified, use CFLAGS.
8379 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8381 # Allow CC to be a program name with arguments.
8385 # save warnings/boilerplate of simple test code
8386 ac_outfile
=conftest.
$ac_objext
8387 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
8388 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8389 _lt_compiler_boilerplate
=`cat conftest.err`
8392 ac_outfile
=conftest.
$ac_objext
8393 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
8394 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8395 _lt_linker_boilerplate
=`cat conftest.err`
8400 lt_prog_compiler_no_builtin_flag
=
8402 if test "$GCC" = yes; then
8403 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8406 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8407 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8408 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8409 $as_echo_n "(cached) " >&6
8411 lt_cv_prog_compiler_rtti_exceptions
=no
8412 ac_outfile
=conftest.
$ac_objext
8413 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8414 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8415 # Insert the option either (1) after the last *FLAGS variable, or
8416 # (2) before a word containing "conftest.", or (3) at the end.
8417 # Note that $ac_compile itself does not contain backslashes and begins
8418 # with a dollar sign (not a hyphen), so the echo should work correctly.
8419 # The option is referenced via a variable to avoid confusing sed.
8420 lt_compile
=`echo "$ac_compile" | $SED \
8421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8423 -e 's:$: $lt_compiler_flag:'`
8424 (eval echo "\"\$as_me:8424: $lt_compile\"" >&5)
8425 (eval "$lt_compile" 2>conftest.err
)
8427 cat conftest.err
>&5
8428 echo "$as_me:8428: \$? = $ac_status" >&5
8429 if (exit $ac_status) && test -s "$ac_outfile"; then
8430 # The compiler can only warn and ignore the option if not recognized
8431 # So say no if there are warnings other than the usual output.
8432 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8433 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8434 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8435 lt_cv_prog_compiler_rtti_exceptions
=yes
8441 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8442 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8444 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8445 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8452 lt_prog_compiler_wl
=
8453 lt_prog_compiler_pic
=
8454 lt_prog_compiler_static
=
8456 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8457 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8459 if test "$GCC" = yes; then
8460 lt_prog_compiler_wl
='-Wl,'
8461 lt_prog_compiler_static
='-static'
8465 # All AIX code is PIC.
8466 if test "$host_cpu" = ia64
; then
8467 # AIX 5 now supports IA64 processor
8468 lt_prog_compiler_static
='-Bstatic'
8473 # FIXME: we need at least 68020 code to build shared libraries, but
8474 # adding the `-m68020' flag to GCC prevents building anything better,
8476 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8479 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8480 # PIC is the default for these OSes.
8483 mingw
* | pw32
* | os2
*)
8484 # This hack is so that the source file can tell whether it is being
8485 # built for inclusion in a dll (and should export symbols for example).
8486 lt_prog_compiler_pic
='-DDLL_EXPORT'
8489 darwin
* | rhapsody
*)
8490 # PIC is the default on this platform
8491 # Common symbols not allowed in MH_DYLIB files
8492 lt_prog_compiler_pic
='-fno-common'
8496 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8497 # Instead, we relocate shared libraries at runtime.
8501 # Just because we use GCC doesn't mean we suddenly get shared libraries
8502 # on systems that don't support them.
8503 lt_prog_compiler_can_build_shared
=no
8508 if test -d /usr
/nec
; then
8509 lt_prog_compiler_pic
=-Kconform_pic
8514 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8521 lt_prog_compiler_pic
='-fPIC'
8527 lt_prog_compiler_pic
='-fPIC'
8531 # PORTME Check for flag to pass linker flags through the system compiler.
8534 lt_prog_compiler_wl
='-Wl,'
8535 if test "$host_cpu" = ia64
; then
8536 # AIX 5 now supports IA64 processor
8537 lt_prog_compiler_static
='-Bstatic'
8539 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8543 # PIC is the default on this platform
8544 # Common symbols not allowed in MH_DYLIB files
8545 case $cc_basename in
8547 lt_prog_compiler_pic
='-qnocommon'
8548 lt_prog_compiler_wl
='-Wl,'
8553 mingw
* | pw32
* | os2
*)
8554 # This hack is so that the source file can tell whether it is being
8555 # built for inclusion in a dll (and should export symbols for example).
8556 lt_prog_compiler_pic
='-DDLL_EXPORT'
8559 hpux9
* | hpux10
* | hpux11
*)
8560 lt_prog_compiler_wl
='-Wl,'
8561 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8568 lt_prog_compiler_pic
='+Z'
8571 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8572 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8575 irix5
* | irix6
* | nonstopux
*)
8576 lt_prog_compiler_wl
='-Wl,'
8577 # PIC (with -KPIC) is the default.
8578 lt_prog_compiler_static
='-non_shared'
8582 lt_prog_compiler_pic
='-KPIC'
8583 lt_prog_compiler_static
='-Bstatic'
8587 case $cc_basename in
8589 lt_prog_compiler_wl
='-Wl,'
8590 lt_prog_compiler_pic
='-KPIC'
8591 lt_prog_compiler_static
='-static'
8593 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8594 # Portland Group compilers (*not* the Pentium gcc compiler,
8595 # which looks to be a dead project)
8596 lt_prog_compiler_wl
='-Wl,'
8597 lt_prog_compiler_pic
='-fpic'
8598 lt_prog_compiler_static
='-Bstatic'
8601 lt_prog_compiler_wl
='-Wl,'
8602 # All Alpha code is PIC.
8603 lt_prog_compiler_static
='-non_shared'
8608 osf3
* | osf4
* | osf5
*)
8609 lt_prog_compiler_wl
='-Wl,'
8610 # All OSF/1 code is PIC.
8611 lt_prog_compiler_static
='-non_shared'
8615 lt_prog_compiler_pic
='-KPIC'
8616 lt_prog_compiler_static
='-Bstatic'
8617 case $cc_basename in
8619 lt_prog_compiler_wl
='-Qoption ld ';;
8621 lt_prog_compiler_wl
='-Wl,';;
8626 lt_prog_compiler_wl
='-Qoption ld '
8627 lt_prog_compiler_pic
='-PIC'
8628 lt_prog_compiler_static
='-Bstatic'
8631 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8632 lt_prog_compiler_wl
='-Wl,'
8633 lt_prog_compiler_pic
='-KPIC'
8634 lt_prog_compiler_static
='-Bstatic'
8638 if test -d /usr
/nec
;then
8639 lt_prog_compiler_pic
='-Kconform_pic'
8640 lt_prog_compiler_static
='-Bstatic'
8644 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8645 lt_prog_compiler_wl
='-Wl,'
8646 lt_prog_compiler_pic
='-KPIC'
8647 lt_prog_compiler_static
='-Bstatic'
8651 lt_prog_compiler_wl
='-Wl,'
8652 lt_prog_compiler_can_build_shared
=no
8656 lt_prog_compiler_pic
='-pic'
8657 lt_prog_compiler_static
='-Bstatic'
8661 lt_prog_compiler_can_build_shared
=no
8666 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8667 $as_echo "$lt_prog_compiler_pic" >&6; }
8670 # Check to make sure the PIC flag actually works.
8672 if test -n "$lt_prog_compiler_pic"; then
8674 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8675 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8676 if test "${lt_prog_compiler_pic_works+set}" = set; then
8677 $as_echo_n "(cached) " >&6
8679 lt_prog_compiler_pic_works
=no
8680 ac_outfile
=conftest.
$ac_objext
8681 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8682 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8683 # Insert the option either (1) after the last *FLAGS variable, or
8684 # (2) before a word containing "conftest.", or (3) at the end.
8685 # Note that $ac_compile itself does not contain backslashes and begins
8686 # with a dollar sign (not a hyphen), so the echo should work correctly.
8687 # The option is referenced via a variable to avoid confusing sed.
8688 lt_compile
=`echo "$ac_compile" | $SED \
8689 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8691 -e 's:$: $lt_compiler_flag:'`
8692 (eval echo "\"\$as_me:8692: $lt_compile\"" >&5)
8693 (eval "$lt_compile" 2>conftest.err
)
8695 cat conftest.err
>&5
8696 echo "$as_me:8696: \$? = $ac_status" >&5
8697 if (exit $ac_status) && test -s "$ac_outfile"; then
8698 # The compiler can only warn and ignore the option if not recognized
8699 # So say no if there are warnings other than the usual output.
8700 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8701 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8702 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8703 lt_prog_compiler_pic_works
=yes
8709 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8710 $as_echo "$lt_prog_compiler_pic_works" >&6; }
8712 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
8713 case $lt_prog_compiler_pic in
8715 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8718 lt_prog_compiler_pic
=
8719 lt_prog_compiler_can_build_shared
=no
8724 # For platforms which do not support PIC, -DPIC is meaningless:
8726 lt_prog_compiler_pic
=
8729 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8734 # Check to make sure the static flag actually works.
8736 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8737 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8738 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8739 if test "${lt_prog_compiler_static_works+set}" = set; then
8740 $as_echo_n "(cached) " >&6
8742 lt_prog_compiler_static_works
=no
8743 save_LDFLAGS
="$LDFLAGS"
8744 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8745 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
8746 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8747 # The linker can only warn and ignore the option if not recognized
8748 # So say no if there are warnings
8749 if test -s conftest.err
; then
8750 # Append any errors to the config.log.
8751 cat conftest.err
1>&5
8752 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8753 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8754 if diff conftest.exp conftest.er2
>/dev
/null
; then
8755 lt_prog_compiler_static_works
=yes
8758 lt_prog_compiler_static_works
=yes
8762 LDFLAGS
="$save_LDFLAGS"
8765 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8766 $as_echo "$lt_prog_compiler_static_works" >&6; }
8768 if test x
"$lt_prog_compiler_static_works" = xyes
; then
8771 lt_prog_compiler_static
=
8775 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8776 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8777 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8778 $as_echo_n "(cached) " >&6
8780 lt_cv_prog_compiler_c_o
=no
8781 $rm -r conftest
2>/dev
/null
8785 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8787 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8788 # Insert the option either (1) after the last *FLAGS variable, or
8789 # (2) before a word containing "conftest.", or (3) at the end.
8790 # Note that $ac_compile itself does not contain backslashes and begins
8791 # with a dollar sign (not a hyphen), so the echo should work correctly.
8792 lt_compile
=`echo "$ac_compile" | $SED \
8793 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8795 -e 's:$: $lt_compiler_flag:'`
8796 (eval echo "\"\$as_me:8796: $lt_compile\"" >&5)
8797 (eval "$lt_compile" 2>out
/conftest.err
)
8799 cat out
/conftest.err
>&5
8800 echo "$as_me:8800: \$? = $ac_status" >&5
8801 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8803 # The compiler can only warn and ignore the option if not recognized
8804 # So say no if there are warnings
8805 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8806 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8807 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8808 lt_cv_prog_compiler_c_o
=yes
8813 # SGI C++ compiler will create directory out/ii_files/ for
8814 # template instantiation
8815 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8816 $rm out
/* && rmdir out
8822 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8823 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8826 hard_links
="nottested"
8827 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8828 # do not overwrite the value of need_locks provided by the user
8829 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8830 $as_echo_n "checking if we can lock with hard links... " >&6; }
8833 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8835 ln conftest.a conftest.b
2>&5 || hard_links
=no
8836 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8837 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8838 $as_echo "$hard_links" >&6; }
8839 if test "$hard_links" = no
; then
8840 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8841 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8848 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8849 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8852 allow_undefined_flag
=
8853 enable_shared_with_static_runtimes
=no
8855 archive_expsym_cmds
=
8856 old_archive_From_new_cmds
=
8857 old_archive_from_expsyms_cmds
=
8858 export_dynamic_flag_spec
=
8859 whole_archive_flag_spec
=
8860 thread_safe_flag_spec
=
8861 hardcode_libdir_flag_spec
=
8862 hardcode_libdir_flag_spec_ld
=
8863 hardcode_libdir_separator
=
8866 hardcode_shlibpath_var
=unsupported
8867 link_all_deplibs
=unknown
8868 hardcode_automatic
=no
8871 always_export_symbols
=no
8872 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8873 # include_expsyms should be a list of space-separated symbols to be *always*
8874 # included in the symbol list
8876 # exclude_expsyms can be an extended regexp of symbols to exclude
8877 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8878 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8879 # as well as any symbol that contains `d'.
8880 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8881 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8882 # platforms (ab)use it in PIC code, but their linkers get confused if
8883 # the symbol is explicitly referenced. Since portable code cannot
8884 # rely on this symbol name, it's probably fine to never include it in
8885 # preloaded symbol tables.
8886 extract_expsyms_cmds
=
8887 # Just being paranoid about ensuring that cc_basename is set.
8888 for cc_temp
in $compiler""; do
8890 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8891 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8896 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8899 cygwin
* | mingw
* | pw32
*)
8900 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8901 # When not using gcc, we currently assume that we are using
8902 # Microsoft Visual C++.
8903 if test "$GCC" != yes; then
8908 # we just hope/assume this is gcc and not c89 (= MSVC++)
8917 if test "$with_gnu_ld" = yes; then
8918 # If archive_cmds runs LD, not CC, wlarc should be empty
8921 # Set some defaults for GNU ld with shared library support. These
8922 # are reset later if shared libraries are not supported. Putting them
8923 # here allows them to be overridden if necessary.
8924 runpath_var
=LD_RUN_PATH
8925 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8926 export_dynamic_flag_spec
='${wl}--export-dynamic'
8927 # ancient GNU ld didn't support --whole-archive et. al.
8928 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8929 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8931 whole_archive_flag_spec
=
8933 supports_anon_versioning
=no
8934 case `$LD -v 2>/dev/null` in
8935 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8936 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8937 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8938 *\
2.11.
*) ;; # other 2.11 versions
8939 *) supports_anon_versioning
=yes ;;
8942 # See if GNU ld supports shared libraries.
8944 aix3
* | aix4
* | aix5
*)
8945 # On AIX/PPC, the GNU linker is very broken
8946 if test "$host_cpu" != ia64
; then
8950 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8951 *** to be unable to reliably create shared libraries on AIX.
8952 *** Therefore, libtool is disabling shared libraries support. If you
8953 *** really care for shared libraries, you may want to modify your PATH
8954 *** so that a non-GNU linker is found, and then restart.
8961 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)'
8962 hardcode_libdir_flag_spec
='-L$libdir'
8963 hardcode_minus_L
=yes
8965 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8966 # that the semantics of dynamic libraries on AmigaOS, at least up
8967 # to version 4, is to share data among multiple programs linked
8968 # with the same dynamic library. Since this doesn't match the
8969 # behavior of shared libraries on other platforms, we can't use
8975 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8976 allow_undefined_flag
=unsupported
8977 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8978 # support --undefined. This deserves some investigation. FIXME
8979 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8985 cygwin
* | mingw
* | pw32
*)
8986 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8987 # as there is no search path for DLLs.
8988 hardcode_libdir_flag_spec
='-L$libdir'
8989 allow_undefined_flag
=unsupported
8990 always_export_symbols
=no
8991 enable_shared_with_static_runtimes
=yes
8992 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8994 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8995 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8996 # If the export-symbols file already is a .def file (1st line
8997 # is EXPORTS), use it as is; otherwise, prepend...
8998 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8999 cp $export_symbols $output_objdir/$soname.def;
9001 echo EXPORTS > $output_objdir/$soname.def;
9002 cat $export_symbols >> $output_objdir/$soname.def;
9004 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9012 hardcode_shlibpath_var
=no
9013 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9014 export_dynamic_flag_spec
='${wl}-E'
9015 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9016 # Instead, shared libraries are loaded at an image base (0x10000000 by
9017 # default) and relocated if they conflict, which is a slow very memory
9018 # consuming and fragmenting process. To avoid this, we pick a random,
9019 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9020 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9021 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9022 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'
9026 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9028 case $cc_basename,$host_cpu in
9029 pgcc
*) # Portland Group C compiler
9030 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'
9031 tmp_addflag
=' $pic_flag'
9033 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9034 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'
9035 tmp_addflag
=' $pic_flag -Mnomain' ;;
9036 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9037 tmp_addflag
=' -i_dynamic' ;;
9038 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9039 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9040 ifc
* | ifort
*) # Intel Fortran compiler
9041 tmp_addflag
=' -nofor_main' ;;
9043 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9045 if test $supports_anon_versioning = yes; then
9046 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
9047 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9048 $echo "local: *; };" >> $output_objdir/$libname.ver~
9049 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9057 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9058 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9061 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9062 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9067 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
9071 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9072 *** create shared libraries on Solaris systems. Therefore, libtool
9073 *** is disabling shared libraries support. We urge you to upgrade GNU
9074 *** binutils to release 2.9.1 or newer. Another option is to modify
9075 *** your PATH or compiler configuration so that the native linker is
9076 *** used, and then restart.
9079 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9080 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9081 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9087 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9088 case `$LD -v 2>&1` in
9089 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9093 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9094 *** reliably create shared libraries on SCO systems. Therefore, libtool
9095 *** is disabling shared libraries support. We urge you to upgrade GNU
9096 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9097 *** your PATH or compiler configuration so that the native linker is
9098 *** used, and then restart.
9103 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9104 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9105 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9106 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9115 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9118 hardcode_shlibpath_var
=no
9122 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9123 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9124 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9131 if test "$ld_shlibs" = no
; then
9133 hardcode_libdir_flag_spec
=
9134 export_dynamic_flag_spec
=
9135 whole_archive_flag_spec
=
9138 # PORTME fill in a description of your system's linker (not GNU ld)
9141 allow_undefined_flag
=unsupported
9142 always_export_symbols
=yes
9143 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'
9144 # Note: this linker hardcodes the directories in LIBPATH if there
9145 # are no directories specified by -L.
9146 hardcode_minus_L
=yes
9147 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9148 # Neither direct hardcoding nor static linking is supported with a
9150 hardcode_direct
=unsupported
9155 if test "$host_cpu" = ia64
; then
9156 # On IA64, the linker does run time linking by default, so we don't
9157 # have to do anything special.
9158 aix_use_runtimelinking
=no
9159 exp_sym_flag
='-Bexport'
9162 # If we're using GNU nm, then we don't want the "-C" option.
9163 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9164 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
9165 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'
9167 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'
9169 aix_use_runtimelinking
=no
9171 # Test if we are trying to use run time linking or normal
9172 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9173 # need to do runtime linking.
9174 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9175 for ld_flag
in $LDFLAGS; do
9176 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9177 aix_use_runtimelinking
=yes
9184 exp_sym_flag
='-bexport'
9185 no_entry_flag
='-bnoentry'
9188 # When large executables or shared objects are built, AIX ld can
9189 # have problems creating the table of contents. If linking a library
9190 # or program results in "error TOC overflow" add -mminimal-toc to
9191 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9192 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9196 hardcode_libdir_separator
=':'
9197 link_all_deplibs
=yes
9199 if test "$GCC" = yes; then
9200 case $host_os in aix4.
[012]|aix4.
[012].
*)
9201 # We only want to do this on AIX 4.2 and lower, the check
9202 # below for broken collect2 doesn't work under 4.3+
9203 collect2name
=`${CC} -print-prog-name=collect2`
9204 if test -f "$collect2name" && \
9205 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9207 # We have reworked collect2
9210 # We have old collect2
9211 hardcode_direct
=unsupported
9212 # It fails to find uninstalled libraries when the uninstalled
9213 # path is not listed in the libpath. Setting hardcode_minus_L
9214 # to unsupported forces relinking
9215 hardcode_minus_L
=yes
9216 hardcode_libdir_flag_spec
='-L$libdir'
9217 hardcode_libdir_separator
=
9221 shared_flag
='-shared'
9222 if test "$aix_use_runtimelinking" = yes; then
9223 shared_flag
="$shared_flag "'${wl}-G'
9227 if test "$host_cpu" = ia64
; then
9228 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9229 # chokes on -Wl,-G. The following line is correct:
9232 if test "$aix_use_runtimelinking" = yes; then
9233 shared_flag
='${wl}-G'
9235 shared_flag
='${wl}-bM:SRE'
9240 # It seems that -bexpall does not export symbols beginning with
9241 # underscore (_), so it is better to generate a list of symbols to export.
9242 always_export_symbols
=yes
9243 if test "$aix_use_runtimelinking" = yes; then
9244 # Warning - without using the other runtime loading flags (-brtl),
9245 # -berok will link without error, but may produce a broken library.
9246 allow_undefined_flag
='-berok'
9247 # Determine the default libpath from the value encoded in an empty executable.
9248 cat >conftest.
$ac_ext <<_ACEOF
9251 cat confdefs.h
>>conftest.
$ac_ext
9252 cat >>conftest.
$ac_ext <<_ACEOF
9253 /* end confdefs.h. */
9263 rm -f conftest.
$ac_objext conftest
$ac_exeext
9264 if { (ac_try
="$ac_link"
9266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9267 *) ac_try_echo=$ac_try;;
9269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9270 $as_echo "$ac_try_echo") >&5
9271 (eval "$ac_link") 2>conftest.er1
9273 grep -v '^ *+' conftest.er1 >conftest.err
9275 cat conftest.err >&5
9276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); } && {
9278 test -z "$ac_c_werror_flag" ||
9279 test ! -s conftest.err
9280 } && test -s conftest$ac_exeext && {
9281 test "$cross_compiling" = yes ||
9282 $as_test_x conftest$ac_exeext
9285 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9287 # Check for a 64-bit object if we didn't find anything.
9288 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; }
9291 $as_echo "$as_me: failed program was:" >&5
9292 sed 's/^/| /' conftest.$ac_ext >&5
9297 rm -rf conftest.dSYM
9298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9299 conftest$ac_exeext conftest.$ac_ext
9300 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9302 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9303 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"
9305 if test "$host_cpu" = ia64; then
9306 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9307 allow_undefined_flag="-z nodefs"
9308 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"
9310 # Determine the default libpath from the value encoded in an empty executable.
9311 cat >conftest.$ac_ext <<_ACEOF
9314 cat confdefs.h >>conftest.$ac_ext
9315 cat >>conftest.$ac_ext <<_ACEOF
9316 /* end confdefs.h. */
9326 rm -f conftest.$ac_objext conftest$ac_exeext
9327 if { (ac_try="$ac_link"
9329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9330 *) ac_try_echo
=$ac_try;;
9332 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9333 $as_echo "$ac_try_echo") >&5
9334 (eval "$ac_link") 2>conftest.er1
9336 grep -v '^ *+' conftest.er1
>conftest.err
9338 cat conftest.err
>&5
9339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); } && {
9341 test -z "$ac_c_werror_flag" ||
9342 test ! -s conftest.err
9343 } && test -s conftest
$ac_exeext && {
9344 test "$cross_compiling" = yes ||
9345 $as_test_x conftest
$ac_exeext
9348 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9350 # Check for a 64-bit object if we didn't find anything.
9351 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; }
9354 $as_echo "$as_me: failed program was:" >&5
9355 sed 's/^/| /' conftest.
$ac_ext >&5
9360 rm -rf conftest.dSYM
9361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9362 conftest
$ac_exeext conftest.
$ac_ext
9363 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9365 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9366 # Warning - without using the other run time loading flags,
9367 # -berok will link without error, but may produce a broken library.
9368 no_undefined_flag
=' ${wl}-bernotok'
9369 allow_undefined_flag
=' ${wl}-berok'
9370 # Exported symbols can be pulled into shared objects from archives
9371 whole_archive_flag_spec
='$convenience'
9372 archive_cmds_need_lc
=yes
9373 # This is similar to how AIX traditionally builds its shared libraries.
9374 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'
9380 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)'
9381 hardcode_libdir_flag_spec
='-L$libdir'
9382 hardcode_minus_L
=yes
9383 # see comment about different semantics on the GNU ld section
9388 export_dynamic_flag_spec
=-rdynamic
9391 cygwin
* | mingw
* | pw32
*)
9392 # When not using gcc, we currently assume that we are using
9393 # Microsoft Visual C++.
9394 # hardcode_libdir_flag_spec is actually meaningless, as there is
9395 # no search path for DLLs.
9396 hardcode_libdir_flag_spec
=' '
9397 allow_undefined_flag
=unsupported
9398 # Tell ltmain to make .lib files, not .a files.
9400 # Tell ltmain to make .dll files, not .so files.
9402 # FIXME: Setting linknames here is a bad hack.
9403 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9404 # The linker will automatically build a .lib file if we build a DLL.
9405 old_archive_From_new_cmds
='true'
9406 # FIXME: Should let the user specify the lib program.
9407 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
9408 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9409 enable_shared_with_static_runtimes
=yes
9412 darwin
* | rhapsody
*)
9414 rhapsody
* | darwin1.
[012])
9415 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9418 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9419 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9421 case ${MACOSX_DEPLOYMENT_TARGET} in
9423 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9426 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9432 archive_cmds_need_lc
=no
9434 hardcode_automatic
=yes
9435 hardcode_shlibpath_var
=unsupported
9436 whole_archive_flag_spec
=''
9437 link_all_deplibs
=yes
9438 if test "$GCC" = yes ; then
9439 output_verbose_link_cmd
='echo'
9440 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9441 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9442 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9443 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}'
9444 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}'
9446 case $cc_basename in
9448 output_verbose_link_cmd
='echo'
9449 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
9450 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9451 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9452 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}'
9453 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}'
9463 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9464 hardcode_libdir_flag_spec
='-L$libdir'
9465 hardcode_shlibpath_var
=no
9472 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9473 # support. Future versions do this automatically, but an explicit c++rt0.o
9474 # does not break anything, and helps significantly (at the cost of a little
9477 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9478 hardcode_libdir_flag_spec
='-R$libdir'
9480 hardcode_shlibpath_var
=no
9483 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9485 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9487 hardcode_minus_L
=yes
9488 hardcode_shlibpath_var
=no
9491 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9492 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
9493 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9494 hardcode_libdir_flag_spec
='-R$libdir'
9496 hardcode_shlibpath_var
=no
9500 if test "$GCC" = yes; then
9501 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'
9503 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'
9505 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9506 hardcode_libdir_separator
=:
9509 # hardcode_minus_L: Not really in the search PATH,
9510 # but as the default location of the library.
9511 hardcode_minus_L
=yes
9512 export_dynamic_flag_spec
='${wl}-E'
9516 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9517 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9519 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9521 if test "$with_gnu_ld" = no
; then
9522 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9523 hardcode_libdir_separator
=:
9526 export_dynamic_flag_spec
='${wl}-E'
9528 # hardcode_minus_L: Not really in the search PATH,
9529 # but as the default location of the library.
9530 hardcode_minus_L
=yes
9535 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9538 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9541 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9544 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9550 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9553 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9556 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9560 if test "$with_gnu_ld" = no
; then
9561 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9562 hardcode_libdir_separator
=:
9566 hardcode_libdir_flag_spec_ld
='+b $libdir'
9568 hardcode_shlibpath_var
=no
9572 export_dynamic_flag_spec
='${wl}-E'
9574 # hardcode_minus_L: Not really in the search PATH,
9575 # but as the default location of the library.
9576 hardcode_minus_L
=yes
9582 irix5
* | irix6
* | nonstopux
*)
9583 if test "$GCC" = yes; then
9584 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'
9586 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'
9587 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9589 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9590 hardcode_libdir_separator
=:
9591 link_all_deplibs
=yes
9595 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9596 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9598 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9600 hardcode_libdir_flag_spec
='-R$libdir'
9602 hardcode_shlibpath_var
=no
9606 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9608 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9609 hardcode_libdir_separator
=:
9610 hardcode_shlibpath_var
=no
9615 hardcode_shlibpath_var
=no
9616 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9617 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9618 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9619 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9620 export_dynamic_flag_spec
='${wl}-E'
9623 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9624 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9625 hardcode_libdir_flag_spec
='-R$libdir'
9628 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9629 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9636 hardcode_libdir_flag_spec
='-L$libdir'
9637 hardcode_minus_L
=yes
9638 allow_undefined_flag
=unsupported
9639 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'
9640 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9644 if test "$GCC" = yes; then
9645 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9646 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'
9648 allow_undefined_flag
=' -expect_unresolved \*'
9649 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'
9651 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9652 hardcode_libdir_separator
=:
9655 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9656 if test "$GCC" = yes; then
9657 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9658 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'
9659 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9661 allow_undefined_flag
=' -expect_unresolved \*'
9662 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'
9663 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9664 $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'
9666 # Both c and cxx compiler support -rpath directly
9667 hardcode_libdir_flag_spec
='-rpath $libdir'
9669 hardcode_libdir_separator
=:
9673 no_undefined_flag
=' -z text'
9674 if test "$GCC" = yes; then
9676 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9677 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9678 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9681 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9682 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9683 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9685 hardcode_libdir_flag_spec
='-R$libdir'
9686 hardcode_shlibpath_var
=no
9688 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9690 # The compiler driver will combine linker options so we
9691 # cannot just pass the convience library names through
9692 # without $wl, iff we do not link with $LD.
9693 # Luckily, gcc supports the same syntax we need for Sun Studio.
9694 # Supported since Solaris 2.6 (maybe 2.5.1?)
9697 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
9699 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' ;;
9702 link_all_deplibs
=yes
9706 if test "x$host_vendor" = xsequent
; then
9707 # Use $CC to link under sequent, because it throws in some extra .o
9708 # files that make .init and .fini sections work.
9709 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9711 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9713 hardcode_libdir_flag_spec
='-L$libdir'
9715 hardcode_minus_L
=yes
9716 hardcode_shlibpath_var
=no
9720 case $host_vendor in
9722 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9723 hardcode_direct
=yes # is this really true???
9726 ## LD is ld it makes a PLAMLIB
9727 ## CC just makes a GrossModule.
9728 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9729 reload_cmds
='$CC -r -o $output$reload_objs'
9733 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9734 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9737 runpath_var
='LD_RUN_PATH'
9738 hardcode_shlibpath_var
=no
9742 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9743 hardcode_shlibpath_var
=no
9744 export_dynamic_flag_spec
='-Bexport'
9748 if test -d /usr
/nec
; then
9749 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9750 hardcode_shlibpath_var
=no
9751 runpath_var
=LD_RUN_PATH
9752 hardcode_runpath_var
=yes
9757 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
9758 no_undefined_flag
='${wl}-z,text'
9759 archive_cmds_need_lc
=no
9760 hardcode_shlibpath_var
=no
9761 runpath_var
='LD_RUN_PATH'
9763 if test "$GCC" = yes; then
9764 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9765 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9767 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9772 sysv5
* | sco3.2v5
* | sco5v6
*)
9773 # Note: We can NOT use -z defs as we might desire, because we do not
9774 # link with -lc, and that would cause any symbols used from libc to
9775 # always be unresolved, which means just about no library would
9776 # ever link correctly. If we're not using GNU ld we use -z text
9777 # though, which does catch some bad symbols but isn't as heavy-handed
9779 no_undefined_flag
='${wl}-z,text'
9780 allow_undefined_flag
='${wl}-z,nodefs'
9781 archive_cmds_need_lc
=no
9782 hardcode_shlibpath_var
=no
9783 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9784 hardcode_libdir_separator
=':'
9785 link_all_deplibs
=yes
9786 export_dynamic_flag_spec
='${wl}-Bexport'
9787 runpath_var
='LD_RUN_PATH'
9789 if test "$GCC" = yes; then
9790 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9791 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9793 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9794 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9799 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9800 hardcode_libdir_flag_spec
='-L$libdir'
9801 hardcode_shlibpath_var
=no
9810 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9811 $as_echo "$ld_shlibs" >&6; }
9812 test "$ld_shlibs" = no
&& can_build_shared
=no
9815 # Do we need to explicitly link libc?
9817 case "x$archive_cmds_need_lc" in
9819 # Assume -lc should be added
9820 archive_cmds_need_lc
=yes
9822 if test "$enable_shared" = yes && test "$GCC" = yes; then
9823 case $archive_cmds in
9825 # FIXME: we may have to deal with multi-command sequences.
9828 # Test whether the compiler implicitly links with -lc since on some
9829 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9830 # to ld, don't add -lc before -lgcc.
9831 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9832 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9834 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9837 (eval $ac_compile) 2>&5
9839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); } 2>conftest.err
; then
9843 libobjs
=conftest.
$ac_objext
9845 wl
=$lt_prog_compiler_wl
9846 pic_flag
=$lt_prog_compiler_pic
9852 lt_save_allow_undefined_flag
=$allow_undefined_flag
9853 allow_undefined_flag
=
9854 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9855 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }
9860 archive_cmds_need_lc
=no
9862 archive_cmds_need_lc
=yes
9864 allow_undefined_flag
=$lt_save_allow_undefined_flag
9866 cat conftest.err
1>&5
9869 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9870 $as_echo "$archive_cmds_need_lc" >&6; }
9877 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9878 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9880 libname_spec
='lib$name'
9888 shlibpath_overrides_runpath
=unknown
9890 dynamic_linker
="$host_os ld.so"
9891 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9892 if test "$GCC" = yes; then
9893 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9894 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
9895 # if the path contains ";" then we assume it to be the separator
9896 # otherwise default to the standard path separator (i.e. ":") - it is
9897 # assumed that no part of a normal pathname contains ";" but that should
9898 # okay in the real world where ";" in dirpaths is itself problematic.
9899 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9901 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9904 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9906 need_lib_prefix
=unknown
9907 hardcode_into_libs
=no
9909 # when you set need_version to no, make sure it does not cause -set_version
9910 # flags to be left without arguments
9911 need_version
=unknown
9916 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9917 shlibpath_var
=LIBPATH
9919 # AIX 3 has no versioning support, so we append a major version to the name.
9920 soname_spec
='${libname}${release}${shared_ext}$major'
9927 hardcode_into_libs
=yes
9928 if test "$host_cpu" = ia64
; then
9929 # AIX 5 supports IA64
9930 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9931 shlibpath_var
=LD_LIBRARY_PATH
9933 # With GCC up to 2.95.x, collect2 would create an import file
9934 # for dependence libraries. The import file would start with
9935 # the line `#! .'. This would cause the generated library to
9936 # depend on `.', always an invalid library. This was fixed in
9937 # development snapshots of GCC prior to 3.0.
9939 aix4 | aix4.
[01] | aix4.
[01].
*)
9940 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9942 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9949 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9950 # soname into executable. Probably we can add versioning support to
9951 # collect2, so additional links can be useful in future.
9952 if test "$aix_use_runtimelinking" = yes; then
9953 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9954 # instead of lib<name>.a to let people know that these are not
9955 # typical AIX shared libraries.
9956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9958 # We preserve .a as extension for shared libraries through AIX4.2
9959 # and later when we are not doing run time linking.
9960 library_names_spec
='${libname}${release}.a $libname.a'
9961 soname_spec
='${libname}${release}${shared_ext}$major'
9963 shlibpath_var
=LIBPATH
9968 library_names_spec
='$libname.ixlibrary $libname.a'
9969 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9970 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'
9974 library_names_spec
='${libname}${shared_ext}'
9975 dynamic_linker
="$host_os ld.so"
9976 shlibpath_var
=LIBRARY_PATH
9982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9983 soname_spec
='${libname}${release}${shared_ext}$major'
9984 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9985 shlibpath_var
=LD_LIBRARY_PATH
9986 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9987 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9988 # the default ld.so.conf also contains /usr/contrib/lib and
9989 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9990 # libtool to hard-code these into programs
9993 cygwin
* | mingw
* | pw32
*)
9994 version_type
=windows
9999 case $GCC,$host_os in
10000 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10001 library_names_spec
='$libname.dll.a'
10002 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10003 postinstall_cmds
='base_file=`basename \${file}`~
10004 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10005 dldir=$destdir/`dirname \$dlpath`~
10006 test -d \$dldir || mkdir -p \$dldir~
10007 $install_prog $dir/$dlname \$dldir/$dlname~
10008 chmod a+x \$dldir/$dlname'
10009 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10010 dlpath=$dir/\$dldll~
10012 shlibpath_overrides_runpath
=yes
10016 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10017 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10018 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10021 # MinGW DLLs use traditional 'lib' prefix
10022 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10023 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10024 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
10025 # It is most probably a Windows format PATH printed by
10026 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10027 # path with ; separators, and with drive letters. We can handle the
10028 # drive letters (cygwin fileutils understands them), so leave them,
10029 # especially as we might pass files found there to a mingw objdump,
10030 # which wouldn't understand a cygwinified path. Ahh.
10031 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10033 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10037 # pw32 DLLs use 'pw' prefix rather than 'lib'
10038 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10044 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10047 dynamic_linker
='Win32 ld.exe'
10048 # FIXME: first we should search . and the directory the executable is in
10052 darwin
* | rhapsody
*)
10053 dynamic_linker
="$host_os dyld"
10054 version_type
=darwin
10057 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10058 soname_spec
='${libname}${release}${major}$shared_ext'
10059 shlibpath_overrides_runpath
=yes
10060 shlibpath_var
=DYLD_LIBRARY_PATH
10061 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10062 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10063 if test "$GCC" = yes; then
10064 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"`
10066 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
10068 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10076 soname_spec
='${libname}${release}${shared_ext}$major'
10077 shlibpath_var
=LD_LIBRARY_PATH
10088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10089 soname_spec
='${libname}${release}${shared_ext}$major'
10090 shlibpath_var
=LD_LIBRARY_PATH
10091 shlibpath_overrides_runpath
=no
10092 hardcode_into_libs
=yes
10093 dynamic_linker
='GNU ld.so'
10096 freebsd
* | dragonfly
*)
10097 # DragonFly does not have aout. When/if they implement a new
10098 # versioning mechanism, adjust this.
10099 if test -x /usr
/bin
/objformat
; then
10100 objformat
=`/usr/bin/objformat`
10103 freebsd
[123]*) objformat
=aout
;;
10104 *) objformat
=elf
;;
10107 version_type
=freebsd-
$objformat
10108 case $version_type in
10110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10115 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10119 shlibpath_var
=LD_LIBRARY_PATH
10122 shlibpath_overrides_runpath
=yes
10124 freebsd3.
[01]* | freebsdelf3.
[01]*)
10125 shlibpath_overrides_runpath
=yes
10126 hardcode_into_libs
=yes
10128 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10129 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10130 shlibpath_overrides_runpath
=no
10131 hardcode_into_libs
=yes
10133 freebsd
*) # from 4.6 on
10134 shlibpath_overrides_runpath
=yes
10135 hardcode_into_libs
=yes
10144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10145 soname_spec
='${libname}${release}${shared_ext}$major'
10146 shlibpath_var
=LD_LIBRARY_PATH
10147 hardcode_into_libs
=yes
10150 hpux9
* | hpux10
* | hpux11
*)
10151 # Give a soname corresponding to the major version so that dld.sl refuses to
10152 # link against other versions.
10159 hardcode_into_libs
=yes
10160 dynamic_linker
="$host_os dld.so"
10161 shlibpath_var
=LD_LIBRARY_PATH
10162 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10164 soname_spec
='${libname}${release}${shared_ext}$major'
10165 if test "X$HPUX_IA64_MODE" = X32
; then
10166 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10168 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10170 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10174 hardcode_into_libs
=yes
10175 dynamic_linker
="$host_os dld.sl"
10176 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10177 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10179 soname_spec
='${libname}${release}${shared_ext}$major'
10180 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10181 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10185 dynamic_linker
="$host_os dld.sl"
10186 shlibpath_var
=SHLIB_PATH
10187 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10189 soname_spec
='${libname}${release}${shared_ext}$major'
10192 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10193 postinstall_cmds
='chmod 555 $lib'
10200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10201 soname_spec
='${libname}${release}${shared_ext}$major'
10202 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10203 shlibpath_var
=LD_LIBRARY_PATH
10204 shlibpath_overrides_runpath
=no
10205 hardcode_into_libs
=yes
10208 irix5
* | irix6
* | nonstopux
*)
10210 nonstopux
*) version_type
=nonstopux
;;
10212 if test "$lt_cv_prog_gnu_ld" = yes; then
10220 soname_spec
='${libname}${release}${shared_ext}$major'
10221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10223 irix5
* | nonstopux
*)
10224 libsuff
= shlibsuff
=
10227 case $LD in # libtool.m4 will add one of these switches to LD
10228 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10229 libsuff
= shlibsuff
= libmagic
=32-bit;;
10230 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10231 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10232 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10233 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10234 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10238 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10239 shlibpath_overrides_runpath
=no
10240 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10241 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10242 hardcode_into_libs
=yes
10245 # No shared lib support for Linux oldld, aout, or coff.
10246 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10250 # This must be Linux ELF.
10255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10256 soname_spec
='${libname}${release}${shared_ext}$major'
10257 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10258 shlibpath_var
=LD_LIBRARY_PATH
10259 shlibpath_overrides_runpath
=no
10260 # This implies no fast_install, which is unacceptable.
10261 # Some rework will be needed to allow for fast_install
10262 # before this can be enabled.
10263 hardcode_into_libs
=yes
10265 # Append ld.so.conf contents to the search path
10266 if test -f /etc
/ld.so.conf
; then
10267 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10268 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10271 # We used to test for /lib/ld.so.1 and disable shared libraries on
10272 # powerpc, because MkLinux only supported shared libraries with the
10273 # GNU dynamic linker. Since this was broken with cross compilers,
10274 # most powerpc-linux boxes support dynamic linking these days and
10275 # people can always --disable-shared, the test was removed, and we
10276 # assume the GNU/Linux dynamic linker is in use.
10277 dynamic_linker
='GNU/Linux ld.so'
10284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10285 soname_spec
='${libname}${release}${shared_ext}$major'
10286 shlibpath_var
=LD_LIBRARY_PATH
10287 shlibpath_overrides_runpath
=no
10288 hardcode_into_libs
=yes
10289 dynamic_linker
='GNU ld.so'
10296 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10298 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10299 dynamic_linker
='NetBSD (a.out) ld.so'
10301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10302 soname_spec
='${libname}${release}${shared_ext}$major'
10303 dynamic_linker
='NetBSD ld.elf_so'
10305 shlibpath_var
=LD_LIBRARY_PATH
10306 shlibpath_overrides_runpath
=yes
10307 hardcode_into_libs
=yes
10312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10313 shlibpath_var
=LD_LIBRARY_PATH
10314 shlibpath_overrides_runpath
=yes
10321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10322 soname_spec
='${libname}${release}${shared_ext}$major'
10323 shlibpath_var
=LD_LIBRARY_PATH
10324 shlibpath_overrides_runpath
=yes
10329 sys_lib_dlsearch_path_spec
="/usr/lib"
10331 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10333 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10334 *) need_version
=no
;;
10336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10337 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10338 shlibpath_var
=LD_LIBRARY_PATH
10339 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10341 openbsd2.
[89] | openbsd2.
[89].
*)
10342 shlibpath_overrides_runpath
=no
10345 shlibpath_overrides_runpath
=yes
10349 shlibpath_overrides_runpath
=yes
10354 libname_spec
='$name'
10357 library_names_spec
='$libname${shared_ext} $libname.a'
10358 dynamic_linker
='OS/2 ld.exe'
10359 shlibpath_var
=LIBPATH
10362 osf3
* | osf4
* | osf5
*)
10366 soname_spec
='${libname}${release}${shared_ext}$major'
10367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10368 shlibpath_var
=LD_LIBRARY_PATH
10369 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10370 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10378 soname_spec
='${libname}${release}${shared_ext}$major'
10379 shlibpath_var
=LD_LIBRARY_PATH
10380 shlibpath_overrides_runpath
=yes
10381 hardcode_into_libs
=yes
10382 # ldd complains unless libraries are executable
10383 postinstall_cmds
='chmod +x $lib'
10388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10389 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10390 shlibpath_var
=LD_LIBRARY_PATH
10391 shlibpath_overrides_runpath
=yes
10392 if test "$with_gnu_ld" = yes; then
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10401 soname_spec
='${libname}${release}${shared_ext}$major'
10402 shlibpath_var
=LD_LIBRARY_PATH
10403 case $host_vendor in
10405 shlibpath_overrides_runpath
=no
10407 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10408 runpath_var
=LD_RUN_PATH
10416 shlibpath_overrides_runpath
=no
10417 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10423 if test -d /usr
/nec
;then
10425 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10426 soname_spec
='$libname${shared_ext}.$major'
10427 shlibpath_var
=LD_LIBRARY_PATH
10431 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10432 version_type
=freebsd-elf
10435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10436 soname_spec
='${libname}${release}${shared_ext}$major'
10437 shlibpath_var
=LD_LIBRARY_PATH
10438 hardcode_into_libs
=yes
10439 if test "$with_gnu_ld" = yes; then
10440 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10441 shlibpath_overrides_runpath
=no
10443 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10444 shlibpath_overrides_runpath
=yes
10447 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10451 sys_lib_dlsearch_path_spec
='/usr/lib'
10456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10457 soname_spec
='${libname}${release}${shared_ext}$major'
10458 shlibpath_var
=LD_LIBRARY_PATH
10465 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10466 $as_echo "$dynamic_linker" >&6; }
10467 test "$dynamic_linker" = no
&& can_build_shared
=no
10469 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10470 if test "$GCC" = yes; then
10471 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10474 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10475 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10477 if test -n "$hardcode_libdir_flag_spec" || \
10478 test -n "$runpath_var" || \
10479 test "X$hardcode_automatic" = "Xyes" ; then
10481 # We can hardcode non-existant directories.
10482 if test "$hardcode_direct" != no
&&
10483 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10484 # have to relink, otherwise we might link with an installed library
10485 # when we should be linking with a yet-to-be-installed one
10486 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10487 test "$hardcode_minus_L" != no
; then
10488 # Linking always hardcodes the temporary library directory.
10489 hardcode_action
=relink
10491 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10492 hardcode_action
=immediate
10495 # We cannot hardcode anything, or else we can only hardcode existing
10497 hardcode_action
=unsupported
10499 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10500 $as_echo "$hardcode_action" >&6; }
10502 if test "$hardcode_action" = relink
; then
10503 # Fast installation is not supported
10504 enable_fast_install
=no
10505 elif test "$shlibpath_overrides_runpath" = yes ||
10506 test "$enable_shared" = no
; then
10507 # Fast installation is not necessary
10508 enable_fast_install
=needless
10513 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10514 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10515 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
10516 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10517 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10518 { $as_echo "$as_me:$LINENO: result: yes" >&5
10519 $as_echo "yes" >&6; }
10521 # FIXME - insert some real tests, host_os isn't really good enough
10524 if test -n "$STRIP" ; then
10525 striplib
="$STRIP -x"
10526 { $as_echo "$as_me:$LINENO: result: yes" >&5
10527 $as_echo "yes" >&6; }
10529 { $as_echo "$as_me:$LINENO: result: no" >&5
10530 $as_echo "no" >&6; }
10534 { $as_echo "$as_me:$LINENO: result: no" >&5
10535 $as_echo "no" >&6; }
10540 if test "x$enable_dlopen" != xyes
; then
10541 enable_dlopen
=unknown
10542 enable_dlopen_self
=unknown
10543 enable_dlopen_self_static
=unknown
10550 lt_cv_dlopen
="load_add_on"
10552 lt_cv_dlopen_self
=yes
10556 lt_cv_dlopen
="LoadLibrary"
10561 lt_cv_dlopen
="dlopen"
10566 # if libdl is installed we need to link against it
10567 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10568 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10569 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10570 $as_echo_n "(cached) " >&6
10572 ac_check_lib_save_LIBS
=$LIBS
10574 cat >conftest.
$ac_ext <<_ACEOF
10577 cat confdefs.h
>>conftest.
$ac_ext
10578 cat >>conftest.
$ac_ext <<_ACEOF
10579 /* end confdefs.h. */
10581 /* Override any GCC internal prototype to avoid an error.
10582 Use char because int might match the return type of a GCC
10583 builtin and then its argument prototype would still apply. */
10596 rm -f conftest.
$ac_objext conftest
$ac_exeext
10597 if { (ac_try
="$ac_link"
10598 case "(($ac_try" in
10599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10600 *) ac_try_echo=$ac_try;;
10602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10603 $as_echo "$ac_try_echo") >&5
10604 (eval "$ac_link") 2>conftest.er1
10606 grep -v '^ *+' conftest.er1 >conftest.err
10608 cat conftest.err >&5
10609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); } && {
10611 test -z "$ac_c_werror_flag" ||
10612 test ! -s conftest.err
10613 } && test -s conftest$ac_exeext && {
10614 test "$cross_compiling" = yes ||
10615 $as_test_x conftest$ac_exeext
10617 ac_cv_lib_dl_dlopen=yes
10619 $as_echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.$ac_ext >&5
10622 ac_cv_lib_dl_dlopen=no
10625 rm -rf conftest.dSYM
10626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10627 conftest$ac_exeext conftest.$ac_ext
10628 LIBS=$ac_check_lib_save_LIBS
10630 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10631 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10632 if test $ac_cv_lib_dl_dlopen = yes; then
10633 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10636 lt_cv_dlopen="dyld"
10638 lt_cv_dlopen_self=yes
10645 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10646 $as_echo_n "checking for shl_load... " >&6; }
10647 if test "${ac_cv_func_shl_load+set}" = set; then
10648 $as_echo_n "(cached) " >&6
10650 cat >conftest.$ac_ext <<_ACEOF
10653 cat confdefs.h >>conftest.$ac_ext
10654 cat >>conftest.$ac_ext <<_ACEOF
10655 /* end confdefs.h. */
10656 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10658 #define shl_load innocuous_shl_load
10660 /* System header to define __stub macros and hopefully few prototypes,
10661 which can conflict with char shl_load (); below.
10662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10663 <limits.h> exists even on freestanding compilers. */
10666 # include <limits.h>
10668 # include <assert.h>
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10680 /* The GNU C library defines this for functions which it implements
10681 to always fail with ENOSYS. Some functions are actually named
10682 something starting with __ and the normal name is an alias. */
10683 #if defined __stub_shl_load || defined __stub___shl_load
10690 return shl_load ();
10695 rm -f conftest.$ac_objext conftest$ac_exeext
10696 if { (ac_try="$ac_link"
10697 case "(($ac_try" in
10698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10699 *) ac_try_echo
=$ac_try;;
10701 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10702 $as_echo "$ac_try_echo") >&5
10703 (eval "$ac_link") 2>conftest.er1
10705 grep -v '^ *+' conftest.er1
>conftest.err
10707 cat conftest.err
>&5
10708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } && {
10710 test -z "$ac_c_werror_flag" ||
10711 test ! -s conftest.err
10712 } && test -s conftest
$ac_exeext && {
10713 test "$cross_compiling" = yes ||
10714 $as_test_x conftest
$ac_exeext
10716 ac_cv_func_shl_load
=yes
10718 $as_echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.
$ac_ext >&5
10721 ac_cv_func_shl_load
=no
10724 rm -rf conftest.dSYM
10725 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10726 conftest
$ac_exeext conftest.
$ac_ext
10728 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10729 $as_echo "$ac_cv_func_shl_load" >&6; }
10730 if test $ac_cv_func_shl_load = yes; then
10731 lt_cv_dlopen
="shl_load"
10733 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10734 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10735 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10736 $as_echo_n "(cached) " >&6
10738 ac_check_lib_save_LIBS
=$LIBS
10740 cat >conftest.
$ac_ext <<_ACEOF
10743 cat confdefs.h
>>conftest.
$ac_ext
10744 cat >>conftest.
$ac_ext <<_ACEOF
10745 /* end confdefs.h. */
10747 /* Override any GCC internal prototype to avoid an error.
10748 Use char because int might match the return type of a GCC
10749 builtin and then its argument prototype would still apply. */
10757 return shl_load ();
10762 rm -f conftest.
$ac_objext conftest
$ac_exeext
10763 if { (ac_try
="$ac_link"
10764 case "(($ac_try" in
10765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10766 *) ac_try_echo=$ac_try;;
10768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10769 $as_echo "$ac_try_echo") >&5
10770 (eval "$ac_link") 2>conftest.er1
10772 grep -v '^ *+' conftest.er1 >conftest.err
10774 cat conftest.err >&5
10775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } && {
10777 test -z "$ac_c_werror_flag" ||
10778 test ! -s conftest.err
10779 } && test -s conftest$ac_exeext && {
10780 test "$cross_compiling" = yes ||
10781 $as_test_x conftest$ac_exeext
10783 ac_cv_lib_dld_shl_load=yes
10785 $as_echo "$as_me: failed program was:" >&5
10786 sed 's/^/| /' conftest.$ac_ext >&5
10788 ac_cv_lib_dld_shl_load=no
10791 rm -rf conftest.dSYM
10792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10793 conftest$ac_exeext conftest.$ac_ext
10794 LIBS=$ac_check_lib_save_LIBS
10796 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10797 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10798 if test $ac_cv_lib_dld_shl_load = yes; then
10799 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10801 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10802 $as_echo_n "checking for dlopen... " >&6; }
10803 if test "${ac_cv_func_dlopen+set}" = set; then
10804 $as_echo_n "(cached) " >&6
10806 cat >conftest.$ac_ext <<_ACEOF
10809 cat confdefs.h >>conftest.$ac_ext
10810 cat >>conftest.$ac_ext <<_ACEOF
10811 /* end confdefs.h. */
10812 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10814 #define dlopen innocuous_dlopen
10816 /* System header to define __stub macros and hopefully few prototypes,
10817 which can conflict with char dlopen (); below.
10818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10819 <limits.h> exists even on freestanding compilers. */
10822 # include <limits.h>
10824 # include <assert.h>
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10836 /* The GNU C library defines this for functions which it implements
10837 to always fail with ENOSYS. Some functions are actually named
10838 something starting with __ and the normal name is an alias. */
10839 #if defined __stub_dlopen || defined __stub___dlopen
10851 rm -f conftest.$ac_objext conftest$ac_exeext
10852 if { (ac_try="$ac_link"
10853 case "(($ac_try" in
10854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10855 *) ac_try_echo
=$ac_try;;
10857 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10858 $as_echo "$ac_try_echo") >&5
10859 (eval "$ac_link") 2>conftest.er1
10861 grep -v '^ *+' conftest.er1
>conftest.err
10863 cat conftest.err
>&5
10864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865 (exit $ac_status); } && {
10866 test -z "$ac_c_werror_flag" ||
10867 test ! -s conftest.err
10868 } && test -s conftest
$ac_exeext && {
10869 test "$cross_compiling" = yes ||
10870 $as_test_x conftest
$ac_exeext
10872 ac_cv_func_dlopen
=yes
10874 $as_echo "$as_me: failed program was:" >&5
10875 sed 's/^/| /' conftest.
$ac_ext >&5
10877 ac_cv_func_dlopen
=no
10880 rm -rf conftest.dSYM
10881 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10882 conftest
$ac_exeext conftest.
$ac_ext
10884 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10885 $as_echo "$ac_cv_func_dlopen" >&6; }
10886 if test $ac_cv_func_dlopen = yes; then
10887 lt_cv_dlopen
="dlopen"
10889 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10890 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10891 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10892 $as_echo_n "(cached) " >&6
10894 ac_check_lib_save_LIBS
=$LIBS
10896 cat >conftest.
$ac_ext <<_ACEOF
10899 cat confdefs.h
>>conftest.
$ac_ext
10900 cat >>conftest.
$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10903 /* Override any GCC internal prototype to avoid an error.
10904 Use char because int might match the return type of a GCC
10905 builtin and then its argument prototype would still apply. */
10918 rm -f conftest.
$ac_objext conftest
$ac_exeext
10919 if { (ac_try
="$ac_link"
10920 case "(($ac_try" in
10921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10922 *) ac_try_echo=$ac_try;;
10924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10925 $as_echo "$ac_try_echo") >&5
10926 (eval "$ac_link") 2>conftest.er1
10928 grep -v '^ *+' conftest.er1 >conftest.err
10930 cat conftest.err >&5
10931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); } && {
10933 test -z "$ac_c_werror_flag" ||
10934 test ! -s conftest.err
10935 } && test -s conftest$ac_exeext && {
10936 test "$cross_compiling" = yes ||
10937 $as_test_x conftest$ac_exeext
10939 ac_cv_lib_dl_dlopen=yes
10941 $as_echo "$as_me: failed program was:" >&5
10942 sed 's/^/| /' conftest.$ac_ext >&5
10944 ac_cv_lib_dl_dlopen=no
10947 rm -rf conftest.dSYM
10948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10949 conftest$ac_exeext conftest.$ac_ext
10950 LIBS=$ac_check_lib_save_LIBS
10952 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10953 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10954 if test $ac_cv_lib_dl_dlopen = yes; then
10955 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10957 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10958 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10959 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10960 $as_echo_n "(cached) " >&6
10962 ac_check_lib_save_LIBS=$LIBS
10963 LIBS="-lsvld $LIBS"
10964 cat >conftest.$ac_ext <<_ACEOF
10967 cat confdefs.h >>conftest.$ac_ext
10968 cat >>conftest.$ac_ext <<_ACEOF
10969 /* end confdefs.h. */
10971 /* Override any GCC internal prototype to avoid an error.
10972 Use char because int might match the return type of a GCC
10973 builtin and then its argument prototype would still apply. */
10986 rm -f conftest.$ac_objext conftest$ac_exeext
10987 if { (ac_try="$ac_link"
10988 case "(($ac_try" in
10989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10990 *) ac_try_echo
=$ac_try;;
10992 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10993 $as_echo "$ac_try_echo") >&5
10994 (eval "$ac_link") 2>conftest.er1
10996 grep -v '^ *+' conftest.er1
>conftest.err
10998 cat conftest.err
>&5
10999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); } && {
11001 test -z "$ac_c_werror_flag" ||
11002 test ! -s conftest.err
11003 } && test -s conftest
$ac_exeext && {
11004 test "$cross_compiling" = yes ||
11005 $as_test_x conftest
$ac_exeext
11007 ac_cv_lib_svld_dlopen
=yes
11009 $as_echo "$as_me: failed program was:" >&5
11010 sed 's/^/| /' conftest.
$ac_ext >&5
11012 ac_cv_lib_svld_dlopen
=no
11015 rm -rf conftest.dSYM
11016 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11017 conftest
$ac_exeext conftest.
$ac_ext
11018 LIBS
=$ac_check_lib_save_LIBS
11020 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11021 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11022 if test $ac_cv_lib_svld_dlopen = yes; then
11023 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11025 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11026 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11027 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11028 $as_echo_n "(cached) " >&6
11030 ac_check_lib_save_LIBS
=$LIBS
11032 cat >conftest.
$ac_ext <<_ACEOF
11035 cat confdefs.h
>>conftest.
$ac_ext
11036 cat >>conftest.
$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11039 /* Override any GCC internal prototype to avoid an error.
11040 Use char because int might match the return type of a GCC
11041 builtin and then its argument prototype would still apply. */
11049 return dld_link ();
11054 rm -f conftest.
$ac_objext conftest
$ac_exeext
11055 if { (ac_try
="$ac_link"
11056 case "(($ac_try" in
11057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11058 *) ac_try_echo=$ac_try;;
11060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11061 $as_echo "$ac_try_echo") >&5
11062 (eval "$ac_link") 2>conftest.er1
11064 grep -v '^ *+' conftest.er1 >conftest.err
11066 cat conftest.err >&5
11067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } && {
11069 test -z "$ac_c_werror_flag" ||
11070 test ! -s conftest.err
11071 } && test -s conftest$ac_exeext && {
11072 test "$cross_compiling" = yes ||
11073 $as_test_x conftest$ac_exeext
11075 ac_cv_lib_dld_dld_link=yes
11077 $as_echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.$ac_ext >&5
11080 ac_cv_lib_dld_dld_link=no
11083 rm -rf conftest.dSYM
11084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11089 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11090 if test $ac_cv_lib_dld_dld_link = yes; then
11091 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11112 if test "x$lt_cv_dlopen" != xno; then
11118 case $lt_cv_dlopen in
11120 save_CPPFLAGS="$CPPFLAGS"
11121 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11123 save_LDFLAGS="$LDFLAGS"
11124 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11127 LIBS="$lt_cv_dlopen_libs $LIBS"
11129 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11130 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11131 if test "${lt_cv_dlopen_self+set}" = set; then
11132 $as_echo_n "(cached) " >&6
11134 if test "$cross_compiling" = yes; then :
11135 lt_cv_dlopen_self=cross
11137 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11138 lt_status=$lt_dlunknown
11139 cat > conftest.$ac_ext <<EOF
11140 #line 11140 "configure"
11141 #include "confdefs.h"
11150 # define LT_DLGLOBAL RTLD_GLOBAL
11153 # define LT_DLGLOBAL DL_GLOBAL
11155 # define LT_DLGLOBAL 0
11159 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11160 find out it does not work in some platform. */
11161 #ifndef LT_DLLAZY_OR_NOW
11163 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11166 # define LT_DLLAZY_OR_NOW DL_LAZY
11169 # define LT_DLLAZY_OR_NOW RTLD_NOW
11172 # define LT_DLLAZY_OR_NOW DL_NOW
11174 # define LT_DLLAZY_OR_NOW 0
11182 extern "C" void exit (int);
11185 void fnord() { int i=42;}
11188 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11189 int status = $lt_dlunknown;
11193 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11194 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11195 /* dlclose (self); */
11203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11204 (eval $ac_link) 2>&5
11206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11208 (./conftest; exit; ) >&5 2>/dev/null
11210 case x$lt_status in
11211 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11212 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11213 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11216 # compilation failed
11217 lt_cv_dlopen_self=no
11224 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11225 $as_echo "$lt_cv_dlopen_self" >&6; }
11227 if test "x$lt_cv_dlopen_self" = xyes; then
11228 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11229 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11230 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11231 if test "${lt_cv_dlopen_self_static+set}" = set; then
11232 $as_echo_n "(cached) " >&6
11234 if test "$cross_compiling" = yes; then :
11235 lt_cv_dlopen_self_static=cross
11237 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11238 lt_status=$lt_dlunknown
11239 cat > conftest.$ac_ext <<EOF
11240 #line 11240 "configure"
11241 #include "confdefs.h"
11250 # define LT_DLGLOBAL RTLD_GLOBAL
11253 # define LT_DLGLOBAL DL_GLOBAL
11255 # define LT_DLGLOBAL 0
11259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11260 find out it does not work in some platform. */
11261 #ifndef LT_DLLAZY_OR_NOW
11263 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11266 # define LT_DLLAZY_OR_NOW DL_LAZY
11269 # define LT_DLLAZY_OR_NOW RTLD_NOW
11272 # define LT_DLLAZY_OR_NOW DL_NOW
11274 # define LT_DLLAZY_OR_NOW 0
11282 extern "C" void exit (int);
11285 void fnord() { int i=42;}
11288 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11289 int status = $lt_dlunknown;
11293 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11294 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11295 /* dlclose (self); */
11303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11304 (eval $ac_link) 2>&5
11306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11308 (./conftest; exit; ) >&5 2>/dev/null
11310 case x$lt_status in
11311 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11312 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11313 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11316 # compilation failed
11317 lt_cv_dlopen_self_static=no
11324 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11325 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11328 CPPFLAGS="$save_CPPFLAGS"
11329 LDFLAGS="$save_LDFLAGS"
11334 case $lt_cv_dlopen_self in
11335 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11336 *) enable_dlopen_self=unknown ;;
11339 case $lt_cv_dlopen_self_static in
11340 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11341 *) enable_dlopen_self_static=unknown ;;
11346 # Report which library types will actually be built
11347 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11348 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11349 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11350 $as_echo "$can_build_shared" >&6; }
11352 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11353 $as_echo_n "checking whether to build shared libraries... " >&6; }
11354 test "$can_build_shared" = "no" && enable_shared=no
11356 # On AIX, shared libraries and static libraries use the same namespace, and
11357 # are all built from PIC.
11360 test "$enable_shared" = yes && enable_static=no
11361 if test -n "$RANLIB"; then
11362 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11363 postinstall_cmds='$RANLIB $lib'
11368 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11369 test "$enable_shared" = yes && enable_static=no
11373 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11374 $as_echo "$enable_shared" >&6; }
11376 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11377 $as_echo_n "checking whether to build static libraries... " >&6; }
11378 # Make sure either enable_shared or enable_static is yes.
11379 test "$enable_shared" = yes || enable_static=yes
11380 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11381 $as_echo "$enable_static" >&6; }
11383 # The else clause should only fire when bootstrapping the
11384 # libtool distribution, otherwise you forgot to ship ltmain.sh
11385 # with your package, and you will get complaints that there are
11386 # no rules to generate ltmain.sh.
11387 if test -f "$ltmain"; then
11388 # See if we are running on zsh, and set the options which allow our commands through
11389 # without removal of \ escapes.
11390 if test -n "${ZSH_VERSION+set}" ; then
11391 setopt NO_GLOB_SUBST
11393 # Now quote all the things that may contain metacharacters while being
11394 # careful not to overquote the AC_SUBSTed values. We take copies of the
11395 # variables and quote the copies for generation of the libtool script.
11396 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11398 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11399 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11400 deplibs_check_method reload_flag reload_cmds need_locks \
11401 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11402 lt_cv_sys_global_symbol_to_c_name_address \
11403 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11404 old_postinstall_cmds old_postuninstall_cmds \
11408 lt_prog_compiler_wl \
11409 lt_prog_compiler_pic \
11410 lt_prog_compiler_static \
11411 lt_prog_compiler_no_builtin_flag \
11412 export_dynamic_flag_spec \
11413 thread_safe_flag_spec \
11414 whole_archive_flag_spec \
11415 enable_shared_with_static_runtimes \
11417 old_archive_from_new_cmds \
11422 compiler_lib_search_path \
11424 archive_expsym_cmds \
11426 postuninstall_cmds \
11427 old_archive_from_expsyms_cmds \
11428 allow_undefined_flag \
11429 no_undefined_flag \
11430 export_symbols_cmds \
11431 hardcode_libdir_flag_spec \
11432 hardcode_libdir_flag_spec_ld \
11433 hardcode_libdir_separator \
11434 hardcode_automatic \
11436 module_expsym_cmds \
11437 lt_cv_prog_compiler_c_o \
11439 include_expsyms; do
11442 old_archive_cmds | \
11443 old_archive_from_new_cmds | \
11445 archive_expsym_cmds | \
11447 module_expsym_cmds | \
11448 old_archive_from_expsyms_cmds | \
11449 export_symbols_cmds | \
11450 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11451 postinstall_cmds | postuninstall_cmds | \
11452 old_postinstall_cmds | old_postuninstall_cmds | \
11453 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11454 # Double-quote double-evaled strings.
11455 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
11458 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
11464 *'\$0 --fallback-echo"')
11465 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11469 cfgfile="${ofile}T"
11470 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11472 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
11473 $as_echo "$as_me: creating $ofile" >&6;}
11475 cat <<__EOF__ >> "$cfgfile"
11478 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
11479 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11480 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11482 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11483 # Free Software Foundation, Inc.
11485 # This file is part of GNU Libtool:
11486 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11488 # This program is free software; you can redistribute it and/or modify
11489 # it under the terms of the GNU General Public License as published by
11490 # the Free Software Foundation; either version 2 of the License, or
11491 # (at your option) any later version.
11493 # This program is distributed in the hope that it will be useful, but
11494 # WITHOUT ANY WARRANTY; without even the implied warranty of
11495 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11496 # General Public License for more details.
11498 # You should have received a copy of the GNU General Public License
11499 # along with this program; if not, write to the Free Software
11500 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11502 # As a special exception to the GNU General Public License, if you
11503 # distribute this file as part of a program that contains a
11504 # configuration script generated by Autoconf, you may include it under
11505 # the same distribution terms that you use for the rest of that program.
11507 # A sed program that does not truncate output.
11510 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11511 Xsed="$SED -e 1s/^X//"
11513 # The HP-UX ksh and POSIX shell print the target directory to stdout
11514 # if CDPATH is set.
11515 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11517 # The names of the tagged configurations supported by this script.
11520 # ### BEGIN LIBTOOL CONFIG
11522 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
11524 # Shell to use when invoking shell scripts.
11527 # Whether or not to build shared libraries.
11528 build_libtool_libs=$enable_shared
11530 # Whether or not to build static libraries.
11531 build_old_libs=$enable_static
11533 # Whether or not to add -lc for building shared libraries.
11534 build_libtool_need_lc=$archive_cmds_need_lc
11536 # Whether or not to disallow shared libs when runtime libs are static
11537 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11539 # Whether or not to optimize for fast installation.
11540 fast_install=$enable_fast_install
11543 host_alias=$host_alias
11547 # The build system.
11548 build_alias=$build_alias
11552 # An echo program that does not interpret backslashes.
11557 AR_FLAGS=$lt_AR_FLAGS
11562 # LTCC compiler flags.
11563 LTCFLAGS=$lt_LTCFLAGS
11565 # A language-specific compiler.
11568 # Is the compiler the GNU C compiler?
11574 # The linker used to build libraries.
11577 # Whether we need hard or soft links.
11580 # A BSD-compatible nm program.
11583 # A symbol stripping program
11586 # Used to examine libraries when file_magic_cmd begins "file"
11587 MAGIC_CMD=$MAGIC_CMD
11589 # Used on cygwin: DLL creation program.
11592 # Used on cygwin: object dumper.
11595 # Used on cygwin: assembler.
11598 # The name of the directory that contains temporary libtool files.
11601 # How to create reloadable object files.
11602 reload_flag=$lt_reload_flag
11603 reload_cmds=$lt_reload_cmds
11605 # How to pass a linker flag through the compiler.
11606 wl=$lt_lt_prog_compiler_wl
11608 # Object file suffix (normally "o").
11609 objext="$ac_objext"
11611 # Old archive suffix (normally "a").
11614 # Shared library suffix (normally ".so").
11615 shrext_cmds='$shrext_cmds'
11617 # Executable file suffix (normally "").
11620 # Additional compiler flags for building library objects.
11621 pic_flag=$lt_lt_prog_compiler_pic
11624 # What is the maximum length of a command?
11625 max_cmd_len=$lt_cv_sys_max_cmd_len
11627 # Does compiler simultaneously support -c and -o options?
11628 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11630 # Must we lock files when doing compilation?
11631 need_locks=$lt_need_locks
11633 # Do we need the lib prefix for modules?
11634 need_lib_prefix=$need_lib_prefix
11636 # Do we need a version for libraries?
11637 need_version=$need_version
11639 # Whether dlopen is supported.
11640 dlopen_support=$enable_dlopen
11642 # Whether dlopen of programs is supported.
11643 dlopen_self=$enable_dlopen_self
11645 # Whether dlopen of statically linked programs is supported.
11646 dlopen_self_static=$enable_dlopen_self_static
11648 # Compiler flag to prevent dynamic linking.
11649 link_static_flag=$lt_lt_prog_compiler_static
11651 # Compiler flag to turn off builtin functions.
11652 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11654 # Compiler flag to allow reflexive dlopens.
11655 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11657 # Compiler flag to generate shared objects directly from archives.
11658 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11660 # Compiler flag to generate thread-safe objects.
11661 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11663 # Library versioning type.
11664 version_type=$version_type
11666 # Format of library name prefix.
11667 libname_spec=$lt_libname_spec
11669 # List of archive names. First name is the real one, the rest are links.
11670 # The last name is the one that the linker finds with -lNAME.
11671 library_names_spec=$lt_library_names_spec
11673 # The coded name of the library, if different from the real name.
11674 soname_spec=$lt_soname_spec
11676 # Commands used to build and install an old-style archive.
11678 old_archive_cmds=$lt_old_archive_cmds
11679 old_postinstall_cmds=$lt_old_postinstall_cmds
11680 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11682 # Create an old-style archive from a shared archive.
11683 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11685 # Create a temporary old-style archive to link instead of a shared archive.
11686 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11688 # Commands used to build and install a shared archive.
11689 archive_cmds=$lt_archive_cmds
11690 archive_expsym_cmds=$lt_archive_expsym_cmds
11691 postinstall_cmds=$lt_postinstall_cmds
11692 postuninstall_cmds=$lt_postuninstall_cmds
11694 # Commands used to build a loadable module (assumed same as above if empty)
11695 module_cmds=$lt_module_cmds
11696 module_expsym_cmds=$lt_module_expsym_cmds
11698 # Commands to strip libraries.
11699 old_striplib=$lt_old_striplib
11700 striplib=$lt_striplib
11702 # Dependencies to place before the objects being linked to create a
11704 predep_objects=$lt_predep_objects
11706 # Dependencies to place after the objects being linked to create a
11708 postdep_objects=$lt_postdep_objects
11710 # Dependencies to place before the objects being linked to create a
11712 predeps=$lt_predeps
11714 # Dependencies to place after the objects being linked to create a
11716 postdeps=$lt_postdeps
11718 # The library search path used internally by the compiler when linking
11719 # a shared library.
11720 compiler_lib_search_path=$lt_compiler_lib_search_path
11722 # Method to check whether dependent libraries are shared objects.
11723 deplibs_check_method=$lt_deplibs_check_method
11725 # Command to use when deplibs_check_method == file_magic.
11726 file_magic_cmd=$lt_file_magic_cmd
11728 # Flag that allows shared libraries with undefined symbols to be built.
11729 allow_undefined_flag=$lt_allow_undefined_flag
11731 # Flag that forces no undefined symbols.
11732 no_undefined_flag=$lt_no_undefined_flag
11734 # Commands used to finish a libtool library installation in a directory.
11735 finish_cmds=$lt_finish_cmds
11737 # Same as above, but a single script fragment to be evaled but not shown.
11738 finish_eval=$lt_finish_eval
11740 # Take the output of nm and produce a listing of raw symbols and C names.
11741 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11743 # Transform the output of nm in a proper C declaration
11744 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11746 # Transform the output of nm in a C name address pair
11747 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11749 # This is the shared library runtime path variable.
11750 runpath_var=$runpath_var
11752 # This is the shared library path variable.
11753 shlibpath_var=$shlibpath_var
11755 # Is shlibpath searched before the hard-coded library search path?
11756 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11758 # How to hardcode a shared library path into an executable.
11759 hardcode_action=$hardcode_action
11761 # Whether we should hardcode library paths into libraries.
11762 hardcode_into_libs=$hardcode_into_libs
11764 # Flag to hardcode \$libdir into a binary during linking.
11765 # This must work even if \$libdir does not exist.
11766 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11768 # If ld is used when linking, flag to hardcode \$libdir into
11769 # a binary during linking. This must work even if \$libdir does
11771 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11773 # Whether we need a single -rpath flag with a separated argument.
11774 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11776 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11777 # resulting binary.
11778 hardcode_direct=$hardcode_direct
11780 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11781 # resulting binary.
11782 hardcode_minus_L=$hardcode_minus_L
11784 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11785 # the resulting binary.
11786 hardcode_shlibpath_var=$hardcode_shlibpath_var
11788 # Set to yes if building a shared library automatically hardcodes DIR into the library
11789 # and all subsequent libraries and executables linked against it.
11790 hardcode_automatic=$hardcode_automatic
11792 # Variables whose values should be saved in libtool wrapper scripts and
11793 # restored at relink time.
11794 variables_saved_for_relink="$variables_saved_for_relink"
11796 # Whether libtool must link a program against all its dependency libraries.
11797 link_all_deplibs=$link_all_deplibs
11799 # Compile-time system search path for libraries
11800 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11802 # Run-time system search path for libraries
11803 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11805 # Fix the shell variable \$srcfile for the compiler.
11806 fix_srcfile_path="$fix_srcfile_path"
11808 # Set to yes if exported symbols are required.
11809 always_export_symbols=$always_export_symbols
11811 # The commands to list exported symbols.
11812 export_symbols_cmds=$lt_export_symbols_cmds
11814 # The commands to extract the exported symbol list from a shared archive.
11815 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11817 # Symbols that should not be listed in the preloaded symbols.
11818 exclude_expsyms=$lt_exclude_expsyms
11820 # Symbols that must always be exported.
11821 include_expsyms=$lt_include_expsyms
11823 # ### END LIBTOOL CONFIG
11830 cat <<\EOF >> "$cfgfile"
11832 # AIX sometimes has problems with the GCC collect2 program. For some
11833 # reason, if we set the COLLECT_NAMES environment variable, the problems
11834 # vanish in a puff of smoke.
11835 if test "X${COLLECT_NAMES+set}" != Xset; then
11837 export COLLECT_NAMES
11843 # We use sed instead of cat because bash on DJGPP gets confused if
11844 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11845 # text mode, it properly converts lines to CR/LF. This bash problem
11846 # is reportedly fixed, but why not run on old versions too?
11847 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11849 mv -f "$cfgfile" "$ofile" || \
11850 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11854 # If there is no Makefile yet, we rely on a make rule to execute
11855 # `config.status
--recheck' to rerun these tests and create the
11856 # libtool script then.
11857 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11858 if test -f "$ltmain_in"; then
11859 test -f Makefile && make "$ltmain"
11865 ac_cpp='$CPP $CPPFLAGS'
11866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11867 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11873 # Check whether --with-tags was given.
11874 if test "${with_tags+set}" = set; then
11875 withval=$with_tags; tagnames="$withval"
11879 if test -f "$ltmain" && test -n "$tagnames"; then
11880 if test ! -f "${ofile}"; then
11881 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11882 $as_echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11885 if test -z "$LTCC"; then
11886 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11887 if test -z "$LTCC"; then
11888 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11889 $as_echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11891 { $as_echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11892 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11895 if test -z "$LTCFLAGS"; then
11896 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11899 # Extract list of available tagged configurations in $ofile.
11900 # Note that this assumes the entire list is on one line.
11901 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11903 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11904 for tagname in $tagnames; do
11906 # Check whether tagname contains only valid characters
11907 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11909 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11910 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
11911 { (exit 1); exit 1; }; }
11915 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11917 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11918 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11919 { (exit 1); exit 1; }; }
11922 # Update the list of available tags.
11923 if test -n "$tagname"; then
11924 echo appending configuration tag \"$tagname\" to $ofile
11928 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11929 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11930 (test "X$CXX" != "Xg++"))) ; then
11932 ac_cpp='$CXXCPP $CPPFLAGS'
11933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11940 archive_cmds_need_lc_CXX=no
11941 allow_undefined_flag_CXX=
11942 always_export_symbols_CXX=no
11943 archive_expsym_cmds_CXX=
11944 export_dynamic_flag_spec_CXX=
11945 hardcode_direct_CXX=no
11946 hardcode_libdir_flag_spec_CXX=
11947 hardcode_libdir_flag_spec_ld_CXX=
11948 hardcode_libdir_separator_CXX=
11949 hardcode_minus_L_CXX=no
11950 hardcode_shlibpath_var_CXX=unsupported
11951 hardcode_automatic_CXX=no
11953 module_expsym_cmds_CXX=
11954 link_all_deplibs_CXX=unknown
11955 old_archive_cmds_CXX=$old_archive_cmds
11956 no_undefined_flag_CXX=
11957 whole_archive_flag_spec_CXX=
11958 enable_shared_with_static_runtimes_CXX=no
11960 # Dependencies to place before and after the object being linked:
11961 predep_objects_CXX=
11962 postdep_objects_CXX=
11965 compiler_lib_search_path_CXX=
11967 # Source file extension for C++ test sources.
11970 # Object file extension for compiled C++ test sources.
11974 # Code to be used in simple compile tests
11975 lt_simple_compile_test_code="int some_variable = 0;\n"
11977 # Code to be used in simple link tests
11978 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11980 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11982 # If no C compiler was specified, use CC.
11985 # If no C compiler flags were specified, use CFLAGS.
11986 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11988 # Allow CC to be a program name with arguments.
11992 # save warnings/boilerplate of simple test code
11993 ac_outfile=conftest.$ac_objext
11994 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11995 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11996 _lt_compiler_boilerplate=`cat conftest.err
`
11999 ac_outfile=conftest.$ac_objext
12000 printf "$lt_simple_link_test_code" >conftest.$ac_ext
12001 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12002 _lt_linker_boilerplate=`cat conftest.err
`
12006 # Allow CC to be a program name with arguments.
12011 lt_save_with_gnu_ld=$with_gnu_ld
12012 lt_save_path_LD=$lt_cv_path_LD
12013 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12014 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12016 $as_unset lt_cv_prog_gnu_ld
12018 if test -n "${lt_cv_path_LDCXX+set}"; then
12019 lt_cv_path_LD=$lt_cv_path_LDCXX
12021 $as_unset lt_cv_path_LD
12023 test -z "${LDCXX+set}" || LD=$LDCXX
12027 for cc_temp in $compiler""; do
12029 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12030 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12035 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12038 # We don't want -fno-exception wen compiling C++ code, so set the
12039 # no_builtin_flag separately
12040 if test "$GXX" = yes; then
12041 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12043 lt_prog_compiler_no_builtin_flag_CXX=
12046 if test "$GXX" = yes; then
12047 # Set up default GNU C++ configuration
12050 # Check whether --with-gnu-ld was given.
12051 if test "${with_gnu_ld+set}" = set; then
12052 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12058 if test "$GCC" = yes; then
12059 # Check if gcc -print-prog-name=ld gives a path.
12060 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12061 $as_echo_n "checking for ld used by $CC... " >&6; }
12064 # gcc leaves a trailing carriage return which upsets mingw
12065 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
12067 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
12070 # Accept absolute paths.
12072 re_direlt='/[^/][^/]*/\.\./'
12073 # Canonicalize the pathname of ld
12074 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
12075 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12076 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
12078 test -z "$LD" && LD="$ac_prog"
12081 # If it fails, then pretend we aren't using GCC.
12085 # If it is relative, then search for the first ld in PATH.
12086 with_gnu_ld=unknown
12089 elif test "$with_gnu_ld" = yes; then
12090 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
12091 $as_echo_n "checking for GNU ld... " >&6; }
12093 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12094 $as_echo_n "checking for non-GNU ld... " >&6; }
12096 if test "${lt_cv_path_LD+set}" = set; then
12097 $as_echo_n "(cached) " >&6
12099 if test -z "$LD"; then
12100 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12101 for ac_dir in $PATH; do
12103 test -z "$ac_dir" && ac_dir=.
12104 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12105 lt_cv_path_LD="$ac_dir/$ac_prog"
12106 # Check to see if the program is GNU ld. I'd rather use --version,
12107 # but apparently some variants of GNU ld only accept -v.
12108 # Break only if it was the GNU/non-GNU ld that we prefer.
12109 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
12110 *GNU* | *'with BFD'*)
12111 test "$with_gnu_ld" != no && break
12114 test "$with_gnu_ld" != yes && break
12121 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12125 LD="$lt_cv_path_LD"
12126 if test -n "$LD"; then
12127 { $as_echo "$as_me:$LINENO: result: $LD" >&5
12128 $as_echo "$LD" >&6; }
12130 { $as_echo "$as_me:$LINENO: result: no" >&5
12131 $as_echo "no" >&6; }
12133 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12134 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12135 { (exit 1); exit 1; }; }
12136 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12137 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12138 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12139 $as_echo_n "(cached) " >&6
12141 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12142 case `$LD -v 2>&1 </dev
/null
` in
12143 *GNU* | *'with BFD'*)
12144 lt_cv_prog_gnu_ld=yes
12147 lt_cv_prog_gnu_ld=no
12151 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12152 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12153 with_gnu_ld=$lt_cv_prog_gnu_ld
12157 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12158 # archiving commands below assume that GNU ld is being used.
12159 if test "$with_gnu_ld" = yes; then
12160 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12161 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'
12163 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12164 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12166 # If archive_cmds runs LD, not CC, wlarc should be empty
12167 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12168 # investigate it a little bit more. (MM)
12171 # ancient GNU ld didn't support --whole-archive et. al.
12172 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
12173 grep 'no-whole-archive' > /dev/null; then
12174 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12176 whole_archive_flag_spec_CXX=
12182 # A generic and very simple default shared library creation
12183 # command for GNU C++ for the case where it uses the native
12184 # linker, instead of GNU ld. If possible, this setting should
12185 # overridden to take advantage of the native linker features on
12186 # the platform it is being used on.
12187 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12190 # Commands to make compiler produce verbose output that lists
12191 # what "hidden" libraries, object files and flags are used when
12192 # linking a shared library.
12193 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12201 # PORTME: fill in a description of your system's C++ link characteristics
12202 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12203 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12207 # FIXME: insert proper C++ library support
12211 if test "$host_cpu" = ia64; then
12212 # On IA64, the linker does run time linking by default, so we don't
12213 # have to do anything special.
12214 aix_use_runtimelinking=no
12215 exp_sym_flag='-Bexport'
12218 aix_use_runtimelinking=no
12220 # Test if we are trying to use run time linking or normal
12221 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12222 # need to do runtime linking.
12223 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12224 for ld_flag in $LDFLAGS; do
12227 aix_use_runtimelinking=yes
12235 exp_sym_flag='-bexport'
12236 no_entry_flag='-bnoentry'
12239 # When large executables or shared objects are built, AIX ld can
12240 # have problems creating the table of contents. If linking a library
12241 # or program results in "error TOC overflow" add -mminimal-toc to
12242 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12243 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12245 archive_cmds_CXX=''
12246 hardcode_direct_CXX=yes
12247 hardcode_libdir_separator_CXX=':'
12248 link_all_deplibs_CXX=yes
12250 if test "$GXX" = yes; then
12251 case $host_os in aix4.[012]|aix4.[012].*)
12252 # We only want to do this on AIX 4.2 and lower, the check
12253 # below for broken collect2 doesn't work under 4.3+
12254 collect2name=`${CC} -print-prog-name=collect2
`
12255 if test -f "$collect2name" && \
12256 strings "$collect2name" | grep resolve_lib_name >/dev/null
12258 # We have reworked collect2
12259 hardcode_direct_CXX=yes
12261 # We have old collect2
12262 hardcode_direct_CXX=unsupported
12263 # It fails to find uninstalled libraries when the uninstalled
12264 # path is not listed in the libpath. Setting hardcode_minus_L
12265 # to unsupported forces relinking
12266 hardcode_minus_L_CXX=yes
12267 hardcode_libdir_flag_spec_CXX='-L$libdir'
12268 hardcode_libdir_separator_CXX=
12272 shared_flag='-shared'
12273 if test "$aix_use_runtimelinking" = yes; then
12274 shared_flag="$shared_flag "'${wl}-G'
12278 if test "$host_cpu" = ia64; then
12279 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12280 # chokes on -Wl,-G. The following line is correct:
12283 if test "$aix_use_runtimelinking" = yes; then
12284 shared_flag='${wl}-G'
12286 shared_flag='${wl}-bM:SRE'
12291 # It seems that -bexpall does not export symbols beginning with
12292 # underscore (_), so it is better to generate a list of symbols to export.
12293 always_export_symbols_CXX=yes
12294 if test "$aix_use_runtimelinking" = yes; then
12295 # Warning - without using the other runtime loading flags (-brtl),
12296 # -berok will link without error, but may produce a broken library.
12297 allow_undefined_flag_CXX='-berok'
12298 # Determine the default libpath from the value encoded in an empty executable.
12299 cat >conftest.$ac_ext <<_ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12314 rm -f conftest.$ac_objext conftest$ac_exeext
12315 if { (ac_try="$ac_link"
12316 case "(($ac_try" in
12317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12318 *) ac_try_echo
=$ac_try;;
12320 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12321 $as_echo "$ac_try_echo") >&5
12322 (eval "$ac_link") 2>conftest.er1
12324 grep -v '^ *+' conftest.er1
>conftest.err
12326 cat conftest.err
>&5
12327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } && {
12329 test -z "$ac_cxx_werror_flag" ||
12330 test ! -s conftest.err
12331 } && test -s conftest
$ac_exeext && {
12332 test "$cross_compiling" = yes ||
12333 $as_test_x conftest
$ac_exeext
12336 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12338 # Check for a 64-bit object if we didn't find anything.
12339 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; }
12342 $as_echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.
$ac_ext >&5
12348 rm -rf conftest.dSYM
12349 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12350 conftest
$ac_exeext conftest.
$ac_ext
12351 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12353 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12355 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"
12357 if test "$host_cpu" = ia64
; then
12358 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12359 allow_undefined_flag_CXX
="-z nodefs"
12360 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"
12362 # Determine the default libpath from the value encoded in an empty executable.
12363 cat >conftest.
$ac_ext <<_ACEOF
12366 cat confdefs.h
>>conftest.
$ac_ext
12367 cat >>conftest.
$ac_ext <<_ACEOF
12368 /* end confdefs.h. */
12378 rm -f conftest.
$ac_objext conftest
$ac_exeext
12379 if { (ac_try
="$ac_link"
12380 case "(($ac_try" in
12381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12382 *) ac_try_echo=$ac_try;;
12384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12385 $as_echo "$ac_try_echo") >&5
12386 (eval "$ac_link") 2>conftest.er1
12388 grep -v '^ *+' conftest.er1 >conftest.err
12390 cat conftest.err >&5
12391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); } && {
12393 test -z "$ac_cxx_werror_flag" ||
12394 test ! -s conftest.err
12395 } && test -s conftest$ac_exeext && {
12396 test "$cross_compiling" = yes ||
12397 $as_test_x conftest$ac_exeext
12400 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12402 # Check for a 64-bit object if we didn't find anything.
12403 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; }
12406 $as_echo "$as_me: failed program was:" >&5
12407 sed 's/^/| /' conftest.$ac_ext >&5
12412 rm -rf conftest.dSYM
12413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12414 conftest$ac_exeext conftest.$ac_ext
12415 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12417 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12418 # Warning - without using the other run time loading flags,
12419 # -berok will link without error, but may produce a broken library.
12420 no_undefined_flag_CXX=' ${wl}-bernotok'
12421 allow_undefined_flag_CXX=' ${wl}-berok'
12422 # Exported symbols can be pulled into shared objects from archives
12423 whole_archive_flag_spec_CXX='$convenience'
12424 archive_cmds_need_lc_CXX=yes
12425 # This is similar to how AIX traditionally builds its shared libraries.
12426 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'
12432 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12433 allow_undefined_flag_CXX=unsupported
12434 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12435 # support --undefined. This deserves some investigation. FIXME
12436 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12443 case $cc_basename in
12445 # FIXME: insert proper C++ library support
12451 cygwin* | mingw* | pw32*)
12452 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12453 # as there is no search path for DLLs.
12454 hardcode_libdir_flag_spec_CXX='-L$libdir'
12455 allow_undefined_flag_CXX=unsupported
12456 always_export_symbols_CXX=no
12457 enable_shared_with_static_runtimes_CXX=yes
12459 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12460 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'
12461 # If the export-symbols file already is a .def file (1st line
12462 # is EXPORTS), use it as is; otherwise, prepend...
12463 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
12464 cp $export_symbols $output_objdir/$soname.def;
12466 echo EXPORTS > $output_objdir/$soname.def;
12467 cat $export_symbols >> $output_objdir/$soname.def;
12469 $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'
12474 darwin* | rhapsody*)
12476 rhapsody* | darwin1.[012])
12477 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12480 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12481 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12483 case ${MACOSX_DEPLOYMENT_TARGET} in
12485 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12488 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12494 archive_cmds_need_lc_CXX=no
12495 hardcode_direct_CXX=no
12496 hardcode_automatic_CXX=yes
12497 hardcode_shlibpath_var_CXX=unsupported
12498 whole_archive_flag_spec_CXX=''
12499 link_all_deplibs_CXX=yes
12501 if test "$GXX" = yes ; then
12502 lt_int_apple_cc_single_mod=no
12503 output_verbose_link_cmd='echo'
12504 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12505 lt_int_apple_cc_single_mod=yes
12507 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12508 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12510 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'
12512 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12513 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12514 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12515 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}'
12517 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}'
12519 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}'
12521 case $cc_basename in
12523 output_verbose_link_cmd='echo'
12524 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'
12525 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12526 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12527 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}'
12528 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}'
12538 case $cc_basename in
12540 # FIXME: insert proper C++ library support
12544 # Green Hills C++ Compiler
12545 # FIXME: insert proper C++ library support
12549 # FIXME: insert proper C++ library support
12555 # C++ shared libraries reported to be fairly broken before switch to ELF
12559 archive_cmds_need_lc_CXX=no
12561 freebsd* | kfreebsd*-gnu | dragonfly*)
12562 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12569 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12570 hardcode_libdir_separator_CXX=:
12571 export_dynamic_flag_spec_CXX='${wl}-E'
12572 hardcode_direct_CXX=yes
12573 hardcode_minus_L_CXX=yes # Not in the search PATH,
12574 # but as the default
12575 # location of the library.
12577 case $cc_basename in
12579 # FIXME: insert proper C++ library support
12583 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'
12584 # Commands to make compiler produce verbose output that lists
12585 # what "hidden" libraries, object files and flags are used when
12586 # linking a shared library.
12588 # There doesn't appear to be a way to prevent this compiler from
12589 # explicitly linking system object files so we need to strip them
12590 # from the output so that they don't get included in the library
12592 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'
12595 if test "$GXX" = yes; then
12596 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'
12598 # FIXME: insert proper C++ library support
12605 if test $with_gnu_ld = no; then
12606 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12607 hardcode_libdir_separator_CXX=:
12611 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12614 export_dynamic_flag_spec_CXX='${wl}-E'
12620 hardcode_direct_CXX=no
12621 hardcode_shlibpath_var_CXX=no
12624 hardcode_direct_CXX=yes
12625 hardcode_minus_L_CXX=yes # Not in the search PATH,
12626 # but as the default
12627 # location of the library.
12631 case $cc_basename in
12633 # FIXME: insert proper C++ library support
12639 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12642 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12645 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12648 # Commands to make compiler produce verbose output that lists
12649 # what "hidden" libraries, object files and flags are used when
12650 # linking a shared library.
12652 # There doesn't appear to be a way to prevent this compiler from
12653 # explicitly linking system object files so we need to strip them
12654 # from the output so that they don't get included in the library
12656 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'
12659 if test "$GXX" = yes; then
12660 if test $with_gnu_ld = no; then
12663 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12666 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 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'
12674 # FIXME: insert proper C++ library support
12681 hardcode_direct_CXX=no
12682 hardcode_shlibpath_var_CXX=no
12683 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12684 export_dynamic_flag_spec_CXX='${wl}-E'
12685 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12686 # Instead, shared libraries are loaded at an image base (0x10000000 by
12687 # default) and relocated if they conflict, which is a slow very memory
12688 # consuming and fragmenting process. To avoid this, we pick a random,
12689 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12690 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12691 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'
12692 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'
12695 case $cc_basename in
12698 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'
12700 # Archives containing C++ object files must be created using
12701 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12702 # necessary to make sure instantiated templates are included
12704 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12707 if test "$GXX" = yes; then
12708 if test "$with_gnu_ld" = no; then
12709 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'
12711 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'
12714 link_all_deplibs_CXX=yes
12717 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12718 hardcode_libdir_separator_CXX=:
12721 case $cc_basename in
12723 # Kuck and Associates, Inc. (KAI) C++ Compiler
12725 # KCC will only create a shared library if the output file
12726 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12727 # to its proper name (with version) after linking.
12728 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'
12729 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'
12730 # Commands to make compiler produce verbose output that lists
12731 # what "hidden" libraries, object files and flags are used when
12732 # linking a shared library.
12734 # There doesn't appear to be a way to prevent this compiler from
12735 # explicitly linking system object files so we need to strip them
12736 # from the output so that they don't get included in the library
12738 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'
12740 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12741 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12743 # Archives containing C++ object files must be created using
12744 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12745 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12750 # version 8.0 and above of icpc choke on multiply defined symbols
12751 # if we add $predep_objects and $postdep_objects, however 7.1 and
12752 # earlier do not add the objects themselves.
12753 case `$CC -V 2>&1` in
12755 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12756 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'
12758 *) # Version 8.0 or newer
12761 ia64
*) tmp_idyn
=' -i_dynamic';;
12763 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12764 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'
12767 archive_cmds_need_lc_CXX
=no
12768 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12769 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12770 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12773 # Portland Group C++ compiler
12774 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12775 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'
12777 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12778 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12779 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'
12783 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12784 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'
12786 runpath_var
=LD_RUN_PATH
12787 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12788 hardcode_libdir_separator_CXX
=:
12790 # Commands to make compiler produce verbose output that lists
12791 # what "hidden" libraries, object files and flags are used when
12792 # linking a shared library.
12794 # There doesn't appear to be a way to prevent this compiler from
12795 # explicitly linking system object files so we need to strip them
12796 # from the output so that they don't get included in the library
12798 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'
12803 # FIXME: insert proper C++ library support
12807 # FIXME: insert proper C++ library support
12811 case $cc_basename in
12813 # FIXME: insert proper C++ library support
12817 # FIXME: insert proper C++ library support
12823 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12824 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12826 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12827 hardcode_direct_CXX
=yes
12828 hardcode_shlibpath_var_CXX
=no
12830 # Workaround some broken pre-1.5 toolchains
12831 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12834 # C++ shared libraries are fairly broken
12838 hardcode_direct_CXX
=yes
12839 hardcode_shlibpath_var_CXX
=no
12840 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12841 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12842 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12843 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12844 export_dynamic_flag_spec_CXX
='${wl}-E'
12845 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12847 output_verbose_link_cmd
='echo'
12850 case $cc_basename in
12852 # Kuck and Associates, Inc. (KAI) C++ Compiler
12854 # KCC will only create a shared library if the output file
12855 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12856 # to its proper name (with version) after linking.
12857 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'
12859 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12860 hardcode_libdir_separator_CXX
=:
12862 # Archives containing C++ object files must be created using
12863 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12864 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12868 # Rational C++ 2.4.1
12869 # FIXME: insert proper C++ library support
12873 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12874 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'
12876 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12877 hardcode_libdir_separator_CXX
=:
12879 # Commands to make compiler produce verbose output that lists
12880 # what "hidden" libraries, object files and flags are used when
12881 # linking a shared library.
12883 # There doesn't appear to be a way to prevent this compiler from
12884 # explicitly linking system object files so we need to strip them
12885 # from the output so that they don't get included in the library
12887 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'
12890 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12891 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12892 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'
12894 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12895 hardcode_libdir_separator_CXX
=:
12897 # Commands to make compiler produce verbose output that lists
12898 # what "hidden" libraries, object files and flags are used when
12899 # linking a shared library.
12900 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12903 # FIXME: insert proper C++ library support
12910 case $cc_basename in
12912 # Kuck and Associates, Inc. (KAI) C++ Compiler
12914 # KCC will only create a shared library if the output file
12915 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12916 # to its proper name (with version) after linking.
12917 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'
12919 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12920 hardcode_libdir_separator_CXX
=:
12922 # Archives containing C++ object files must be created using
12923 # the KAI C++ compiler.
12924 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12927 # Rational C++ 2.4.1
12928 # FIXME: insert proper C++ library support
12932 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12933 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'
12934 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12935 echo "-hidden">> $lib.exp~
12936 $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~
12939 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12940 hardcode_libdir_separator_CXX
=:
12942 # Commands to make compiler produce verbose output that lists
12943 # what "hidden" libraries, object files and flags are used when
12944 # linking a shared library.
12946 # There doesn't appear to be a way to prevent this compiler from
12947 # explicitly linking system object files so we need to strip them
12948 # from the output so that they don't get included in the library
12950 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'
12953 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12954 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12955 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'
12957 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12958 hardcode_libdir_separator_CXX
=:
12960 # Commands to make compiler produce verbose output that lists
12961 # what "hidden" libraries, object files and flags are used when
12962 # linking a shared library.
12963 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12966 # FIXME: insert proper C++ library support
12973 # FIXME: insert proper C++ library support
12977 case $cc_basename in
12980 # FIXME: insert proper C++ library support
12985 # FIXME: insert proper C++ library support
12989 # FIXME: insert proper C++ library support
12995 case $cc_basename in
12997 # Sun C++ 4.2, 5.x and Centerline C++
12998 archive_cmds_need_lc_CXX
=yes
12999 no_undefined_flag_CXX
=' -zdefs'
13000 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13001 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13002 $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'
13004 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13005 hardcode_shlibpath_var_CXX
=no
13007 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13009 # The C++ compiler is used as linker so we must use $wl
13010 # flag to pass the commands to the underlying system
13011 # linker. We must also pass each convience library through
13012 # to the system linker between allextract/defaultextract.
13013 # The C++ compiler will combine linker options so we
13014 # cannot just pass the convience library names through
13016 # Supported since Solaris 2.6 (maybe 2.5.1?)
13017 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'
13020 link_all_deplibs_CXX
=yes
13022 output_verbose_link_cmd
='echo'
13024 # Archives containing C++ object files must be created using
13025 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13026 # necessary to make sure instantiated templates are included
13028 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13031 # Green Hills C++ Compiler
13032 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13034 # The C++ compiler must be used to create the archive.
13035 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13038 # GNU C++ compiler with Solaris linker
13039 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13040 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13041 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
13042 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13043 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13044 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13046 # Commands to make compiler produce verbose output that lists
13047 # what "hidden" libraries, object files and flags are used when
13048 # linking a shared library.
13049 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13051 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13053 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13054 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13055 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13057 # Commands to make compiler produce verbose output that lists
13058 # what "hidden" libraries, object files and flags are used when
13059 # linking a shared library.
13060 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13063 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13068 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13069 no_undefined_flag_CXX
='${wl}-z,text'
13070 archive_cmds_need_lc_CXX
=no
13071 hardcode_shlibpath_var_CXX
=no
13072 runpath_var
='LD_RUN_PATH'
13074 case $cc_basename in
13076 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13077 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13080 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13081 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13085 sysv5
* | sco3.2v5
* | sco5v6
*)
13086 # Note: We can NOT use -z defs as we might desire, because we do not
13087 # link with -lc, and that would cause any symbols used from libc to
13088 # always be unresolved, which means just about no library would
13089 # ever link correctly. If we're not using GNU ld we use -z text
13090 # though, which does catch some bad symbols but isn't as heavy-handed
13092 # For security reasons, it is highly recommended that you always
13093 # use absolute paths for naming shared libraries, and exclude the
13094 # DT_RUNPATH tag from executables and libraries. But doing so
13095 # requires that you compile everything twice, which is a pain.
13096 # So that behaviour is only enabled if SCOABSPATH is set to a
13097 # non-empty value in the environment. Most likely only useful for
13098 # creating official distributions of packages.
13099 # This is a hack until libtool officially supports absolute path
13100 # names for shared libraries.
13101 no_undefined_flag_CXX
='${wl}-z,text'
13102 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13103 archive_cmds_need_lc_CXX
=no
13104 hardcode_shlibpath_var_CXX
=no
13105 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13106 hardcode_libdir_separator_CXX
=':'
13107 link_all_deplibs_CXX
=yes
13108 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13109 runpath_var
='LD_RUN_PATH'
13111 case $cc_basename in
13113 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13117 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13118 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13123 case $cc_basename in
13125 # NonStop-UX NCC 3.20
13126 # FIXME: insert proper C++ library support
13130 # FIXME: insert proper C++ library support
13136 # FIXME: insert proper C++ library support
13140 # FIXME: insert proper C++ library support
13144 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13145 $as_echo "$ld_shlibs_CXX" >&6; }
13146 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13152 cat > conftest.
$ac_ext <<EOF
13156 Foo (void) { a = 0; }
13162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13163 (eval $ac_compile) 2>&5
13165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; then
13167 # Parse the compiler output and extract the necessary
13168 # objects, libraries and library flags.
13170 # Sentinel used to keep track of whether or not we are before
13171 # the conftest object file.
13172 pre_test_object_deps_done
=no
13174 # The `*' in the case matches for architectures that use `case' in
13175 # $output_verbose_cmd can trigger glob expansion during the loop
13176 # eval without this substitution.
13177 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13179 for p
in `eval $output_verbose_link_cmd`; do
13183 # Some compilers place space between "-{L,R}" and the path.
13184 # Remove the space.
13185 if test $p = "-L" \
13186 ||
test $p = "-R"; then
13193 if test "$pre_test_object_deps_done" = no
; then
13196 # Internal compiler library paths should come after those
13197 # provided the user. The postdeps already come after the
13198 # user supplied libs so there is no need to process them.
13199 if test -z "$compiler_lib_search_path_CXX"; then
13200 compiler_lib_search_path_CXX
="${prev}${p}"
13202 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13205 # The "-l" case would never come before the object being
13206 # linked, so don't bother handling this case.
13209 if test -z "$postdeps_CXX"; then
13210 postdeps_CXX
="${prev}${p}"
13212 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13218 # This assumes that the test object file only shows up
13219 # once in the compiler output.
13220 if test "$p" = "conftest.$objext"; then
13221 pre_test_object_deps_done
=yes
13225 if test "$pre_test_object_deps_done" = no
; then
13226 if test -z "$predep_objects_CXX"; then
13227 predep_objects_CXX
="$p"
13229 predep_objects_CXX
="$predep_objects_CXX $p"
13232 if test -z "$postdep_objects_CXX"; then
13233 postdep_objects_CXX
="$p"
13235 postdep_objects_CXX
="$postdep_objects_CXX $p"
13240 *) ;; # Ignore the rest.
13248 echo "libtool.m4: error: problem compiling CXX test program"
13251 $rm -f confest.
$objext
13253 # PORTME: override above test on systems where it is broken
13256 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13257 # hack all around it, let's just trust "g++" to DTRT.
13258 predep_objects_CXX
=
13259 postdep_objects_CXX
=
13264 case $cc_basename in
13266 # Adding this requires a known-good setup of shared libraries for
13267 # Sun compiler versions before 5.6, else PIC objects from an old
13268 # archive will be linked into the output, leading to subtle bugs.
13269 postdeps_CXX
='-lCstd -lCrun'
13276 case " $postdeps_CXX " in
13277 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13280 lt_prog_compiler_wl_CXX
=
13281 lt_prog_compiler_pic_CXX
=
13282 lt_prog_compiler_static_CXX
=
13284 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13285 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13287 # C++ specific cases for pic, static, wl, etc.
13288 if test "$GXX" = yes; then
13289 lt_prog_compiler_wl_CXX
='-Wl,'
13290 lt_prog_compiler_static_CXX
='-static'
13294 # All AIX code is PIC.
13295 if test "$host_cpu" = ia64
; then
13296 # AIX 5 now supports IA64 processor
13297 lt_prog_compiler_static_CXX
='-Bstatic'
13301 # FIXME: we need at least 68020 code to build shared libraries, but
13302 # adding the `-m68020' flag to GCC prevents building anything better,
13304 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13306 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13307 # PIC is the default for these OSes.
13309 mingw
* | os2
* | pw32
*)
13310 # This hack is so that the source file can tell whether it is being
13311 # built for inclusion in a dll (and should export symbols for example).
13312 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13314 darwin
* | rhapsody
*)
13315 # PIC is the default on this platform
13316 # Common symbols not allowed in MH_DYLIB files
13317 lt_prog_compiler_pic_CXX
='-fno-common'
13320 # DJGPP does not support shared libraries at all
13321 lt_prog_compiler_pic_CXX
=
13324 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13325 # Instead, we relocate shared libraries at runtime.
13328 if test -d /usr
/nec
; then
13329 lt_prog_compiler_pic_CXX
=-Kconform_pic
13333 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13334 # not for PA HP-UX.
13339 lt_prog_compiler_pic_CXX
='-fPIC'
13344 lt_prog_compiler_pic_CXX
='-fPIC'
13350 # All AIX code is PIC.
13351 if test "$host_cpu" = ia64
; then
13352 # AIX 5 now supports IA64 processor
13353 lt_prog_compiler_static_CXX
='-Bstatic'
13355 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13359 case $cc_basename in
13361 # Green Hills C++ Compiler
13362 # _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"
13367 # PIC is the default on this platform
13368 # Common symbols not allowed in MH_DYLIB files
13369 case $cc_basename in
13371 lt_prog_compiler_pic_CXX
='-qnocommon'
13372 lt_prog_compiler_wl_CXX
='-Wl,'
13377 case $cc_basename in
13379 lt_prog_compiler_pic_CXX
='-KPIC'
13382 # Green Hills C++ Compiler
13383 lt_prog_compiler_pic_CXX
='-pic'
13389 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
13390 # FreeBSD uses GNU C++
13392 hpux9
* | hpux10
* | hpux11
*)
13393 case $cc_basename in
13395 lt_prog_compiler_wl_CXX
='-Wl,'
13396 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13397 if test "$host_cpu" != ia64
; then
13398 lt_prog_compiler_pic_CXX
='+Z'
13402 lt_prog_compiler_wl_CXX
='-Wl,'
13403 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13409 lt_prog_compiler_pic_CXX
='+Z'
13418 # This is c89, which is MS Visual C++ (no shared libs)
13419 # Anyone wants to do a port?
13421 irix5
* | irix6
* | nonstopux
*)
13422 case $cc_basename in
13424 lt_prog_compiler_wl_CXX
='-Wl,'
13425 lt_prog_compiler_static_CXX
='-non_shared'
13426 # CC pic flag -KPIC is the default.
13433 case $cc_basename in
13436 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13437 lt_prog_compiler_pic_CXX
='-fPIC'
13441 lt_prog_compiler_wl_CXX
='-Wl,'
13442 lt_prog_compiler_pic_CXX
='-KPIC'
13443 lt_prog_compiler_static_CXX
='-static'
13446 # Portland Group C++ compiler.
13447 lt_prog_compiler_wl_CXX
='-Wl,'
13448 lt_prog_compiler_pic_CXX
='-fpic'
13449 lt_prog_compiler_static_CXX
='-Bstatic'
13453 # Make sure the PIC flag is empty. It appears that all Alpha
13454 # Linux and Compaq Tru64 Unix objects are PIC.
13455 lt_prog_compiler_pic_CXX
=
13456 lt_prog_compiler_static_CXX
='-non_shared'
13467 case $cc_basename in
13469 lt_prog_compiler_pic_CXX
='-W c,exportall'
13477 osf3
* | osf4
* | osf5
*)
13478 case $cc_basename in
13480 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13483 # Rational C++ 2.4.1
13484 lt_prog_compiler_pic_CXX
='-pic'
13487 # Digital/Compaq C++
13488 lt_prog_compiler_wl_CXX
='-Wl,'
13489 # Make sure the PIC flag is empty. It appears that all Alpha
13490 # Linux and Compaq Tru64 Unix objects are PIC.
13491 lt_prog_compiler_pic_CXX
=
13492 lt_prog_compiler_static_CXX
='-non_shared'
13501 case $cc_basename in
13503 # Sun C++ 4.2, 5.x and Centerline C++
13504 lt_prog_compiler_pic_CXX
='-KPIC'
13505 lt_prog_compiler_static_CXX
='-Bstatic'
13506 lt_prog_compiler_wl_CXX
='-Qoption ld '
13509 # Green Hills C++ Compiler
13510 lt_prog_compiler_pic_CXX
='-PIC'
13517 case $cc_basename in
13520 lt_prog_compiler_pic_CXX
='-pic'
13521 lt_prog_compiler_static_CXX
='-Bstatic'
13525 lt_prog_compiler_pic_CXX
='-pic'
13532 case $cc_basename in
13534 # NonStop-UX NCC 3.20
13535 lt_prog_compiler_pic_CXX
='-KPIC'
13541 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13542 case $cc_basename in
13544 lt_prog_compiler_wl_CXX
='-Wl,'
13545 lt_prog_compiler_pic_CXX
='-KPIC'
13546 lt_prog_compiler_static_CXX
='-Bstatic'
13553 lt_prog_compiler_can_build_shared_CXX
=no
13558 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13559 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13562 # Check to make sure the PIC flag actually works.
13564 if test -n "$lt_prog_compiler_pic_CXX"; then
13566 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13567 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13568 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13569 $as_echo_n "(cached) " >&6
13571 lt_prog_compiler_pic_works_CXX
=no
13572 ac_outfile
=conftest.
$ac_objext
13573 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13574 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13575 # Insert the option either (1) after the last *FLAGS variable, or
13576 # (2) before a word containing "conftest.", or (3) at the end.
13577 # Note that $ac_compile itself does not contain backslashes and begins
13578 # with a dollar sign (not a hyphen), so the echo should work correctly.
13579 # The option is referenced via a variable to avoid confusing sed.
13580 lt_compile
=`echo "$ac_compile" | $SED \
13581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13583 -e 's:$: $lt_compiler_flag:'`
13584 (eval echo "\"\$as_me:13584: $lt_compile\"" >&5)
13585 (eval "$lt_compile" 2>conftest.err
)
13587 cat conftest.err
>&5
13588 echo "$as_me:13588: \$? = $ac_status" >&5
13589 if (exit $ac_status) && test -s "$ac_outfile"; then
13590 # The compiler can only warn and ignore the option if not recognized
13591 # So say no if there are warnings other than the usual output.
13592 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13593 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13594 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13595 lt_prog_compiler_pic_works_CXX
=yes
13601 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13602 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
13604 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
13605 case $lt_prog_compiler_pic_CXX in
13607 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13610 lt_prog_compiler_pic_CXX
=
13611 lt_prog_compiler_can_build_shared_CXX
=no
13616 # For platforms which do not support PIC, -DPIC is meaningless:
13618 lt_prog_compiler_pic_CXX
=
13621 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13626 # Check to make sure the static flag actually works.
13628 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13629 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13630 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13631 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13632 $as_echo_n "(cached) " >&6
13634 lt_prog_compiler_static_works_CXX
=no
13635 save_LDFLAGS
="$LDFLAGS"
13636 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13637 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13638 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13639 # The linker can only warn and ignore the option if not recognized
13640 # So say no if there are warnings
13641 if test -s conftest.err
; then
13642 # Append any errors to the config.log.
13643 cat conftest.err
1>&5
13644 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13646 if diff conftest.exp conftest.er2
>/dev
/null
; then
13647 lt_prog_compiler_static_works_CXX
=yes
13650 lt_prog_compiler_static_works_CXX
=yes
13654 LDFLAGS
="$save_LDFLAGS"
13657 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13658 $as_echo "$lt_prog_compiler_static_works_CXX" >&6; }
13660 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
13663 lt_prog_compiler_static_CXX
=
13667 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13668 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13669 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13670 $as_echo_n "(cached) " >&6
13672 lt_cv_prog_compiler_c_o_CXX
=no
13673 $rm -r conftest
2>/dev
/null
13677 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13679 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13680 # Insert the option either (1) after the last *FLAGS variable, or
13681 # (2) before a word containing "conftest.", or (3) at the end.
13682 # Note that $ac_compile itself does not contain backslashes and begins
13683 # with a dollar sign (not a hyphen), so the echo should work correctly.
13684 lt_compile
=`echo "$ac_compile" | $SED \
13685 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13686 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13687 -e 's:$: $lt_compiler_flag:'`
13688 (eval echo "\"\$as_me:13688: $lt_compile\"" >&5)
13689 (eval "$lt_compile" 2>out
/conftest.err
)
13691 cat out
/conftest.err
>&5
13692 echo "$as_me:13692: \$? = $ac_status" >&5
13693 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13695 # The compiler can only warn and ignore the option if not recognized
13696 # So say no if there are warnings
13697 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13698 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13699 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13700 lt_cv_prog_compiler_c_o_CXX
=yes
13705 # SGI C++ compiler will create directory out/ii_files/ for
13706 # template instantiation
13707 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13708 $rm out
/* && rmdir out
13714 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13715 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13718 hard_links
="nottested"
13719 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13720 # do not overwrite the value of need_locks provided by the user
13721 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13722 $as_echo_n "checking if we can lock with hard links... " >&6; }
13725 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13727 ln conftest.a conftest.b
2>&5 || hard_links
=no
13728 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13729 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13730 $as_echo "$hard_links" >&6; }
13731 if test "$hard_links" = no
; then
13732 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13733 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13740 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13741 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13743 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13746 # If we're using GNU nm, then we don't want the "-C" option.
13747 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13748 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13749 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'
13751 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'
13755 export_symbols_cmds_CXX
="$ltdll_cmds"
13758 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'
13761 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13765 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13766 $as_echo "$ld_shlibs_CXX" >&6; }
13767 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13770 # Do we need to explicitly link libc?
13772 case "x$archive_cmds_need_lc_CXX" in
13774 # Assume -lc should be added
13775 archive_cmds_need_lc_CXX
=yes
13777 if test "$enable_shared" = yes && test "$GCC" = yes; then
13778 case $archive_cmds_CXX in
13780 # FIXME: we may have to deal with multi-command sequences.
13783 # Test whether the compiler implicitly links with -lc since on some
13784 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13785 # to ld, don't add -lc before -lgcc.
13786 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13787 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13789 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13792 (eval $ac_compile) 2>&5
13794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } 2>conftest.err
; then
13798 libobjs
=conftest.
$ac_objext
13800 wl
=$lt_prog_compiler_wl_CXX
13801 pic_flag
=$lt_prog_compiler_pic_CXX
13807 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13808 allow_undefined_flag_CXX
=
13809 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13810 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }
13815 archive_cmds_need_lc_CXX
=no
13817 archive_cmds_need_lc_CXX
=yes
13819 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13821 cat conftest.err
1>&5
13824 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13825 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13832 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13833 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13834 library_names_spec
=
13835 libname_spec
='lib$name'
13839 postuninstall_cmds
=
13843 shlibpath_overrides_runpath
=unknown
13845 dynamic_linker
="$host_os ld.so"
13846 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13847 if test "$GCC" = yes; then
13848 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13849 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
13850 # if the path contains ";" then we assume it to be the separator
13851 # otherwise default to the standard path separator (i.e. ":") - it is
13852 # assumed that no part of a normal pathname contains ";" but that should
13853 # okay in the real world where ";" in dirpaths is itself problematic.
13854 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13856 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13859 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13861 need_lib_prefix
=unknown
13862 hardcode_into_libs
=no
13864 # when you set need_version to no, make sure it does not cause -set_version
13865 # flags to be left without arguments
13866 need_version
=unknown
13871 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13872 shlibpath_var
=LIBPATH
13874 # AIX 3 has no versioning support, so we append a major version to the name.
13875 soname_spec
='${libname}${release}${shared_ext}$major'
13882 hardcode_into_libs
=yes
13883 if test "$host_cpu" = ia64
; then
13884 # AIX 5 supports IA64
13885 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13886 shlibpath_var
=LD_LIBRARY_PATH
13888 # With GCC up to 2.95.x, collect2 would create an import file
13889 # for dependence libraries. The import file would start with
13890 # the line `#! .'. This would cause the generated library to
13891 # depend on `.', always an invalid library. This was fixed in
13892 # development snapshots of GCC prior to 3.0.
13894 aix4 | aix4.
[01] | aix4.
[01].
*)
13895 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13897 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13900 can_build_shared
=no
13904 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13905 # soname into executable. Probably we can add versioning support to
13906 # collect2, so additional links can be useful in future.
13907 if test "$aix_use_runtimelinking" = yes; then
13908 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13909 # instead of lib<name>.a to let people know that these are not
13910 # typical AIX shared libraries.
13911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13913 # We preserve .a as extension for shared libraries through AIX4.2
13914 # and later when we are not doing run time linking.
13915 library_names_spec
='${libname}${release}.a $libname.a'
13916 soname_spec
='${libname}${release}${shared_ext}$major'
13918 shlibpath_var
=LIBPATH
13923 library_names_spec
='$libname.ixlibrary $libname.a'
13924 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13925 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'
13929 library_names_spec
='${libname}${shared_ext}'
13930 dynamic_linker
="$host_os ld.so"
13931 shlibpath_var
=LIBRARY_PATH
13937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13938 soname_spec
='${libname}${release}${shared_ext}$major'
13939 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13940 shlibpath_var
=LD_LIBRARY_PATH
13941 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13942 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13943 # the default ld.so.conf also contains /usr/contrib/lib and
13944 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13945 # libtool to hard-code these into programs
13948 cygwin
* | mingw
* | pw32
*)
13949 version_type
=windows
13954 case $GCC,$host_os in
13955 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13956 library_names_spec
='$libname.dll.a'
13957 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13958 postinstall_cmds
='base_file=`basename \${file}`~
13959 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13960 dldir=$destdir/`dirname \$dlpath`~
13961 test -d \$dldir || mkdir -p \$dldir~
13962 $install_prog $dir/$dlname \$dldir/$dlname~
13963 chmod a+x \$dldir/$dlname'
13964 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13965 dlpath=$dir/\$dldll~
13967 shlibpath_overrides_runpath
=yes
13971 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13972 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13973 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13976 # MinGW DLLs use traditional 'lib' prefix
13977 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13978 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13979 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13980 # It is most probably a Windows format PATH printed by
13981 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13982 # path with ; separators, and with drive letters. We can handle the
13983 # drive letters (cygwin fileutils understands them), so leave them,
13984 # especially as we might pass files found there to a mingw objdump,
13985 # which wouldn't understand a cygwinified path. Ahh.
13986 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13988 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13992 # pw32 DLLs use 'pw' prefix rather than 'lib'
13993 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13999 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14002 dynamic_linker
='Win32 ld.exe'
14003 # FIXME: first we should search . and the directory the executable is in
14007 darwin
* | rhapsody
*)
14008 dynamic_linker
="$host_os dyld"
14009 version_type
=darwin
14012 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14013 soname_spec
='${libname}${release}${major}$shared_ext'
14014 shlibpath_overrides_runpath
=yes
14015 shlibpath_var
=DYLD_LIBRARY_PATH
14016 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14017 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14018 if test "$GCC" = yes; then
14019 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"`
14021 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14023 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14031 soname_spec
='${libname}${release}${shared_ext}$major'
14032 shlibpath_var
=LD_LIBRARY_PATH
14043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14044 soname_spec
='${libname}${release}${shared_ext}$major'
14045 shlibpath_var
=LD_LIBRARY_PATH
14046 shlibpath_overrides_runpath
=no
14047 hardcode_into_libs
=yes
14048 dynamic_linker
='GNU ld.so'
14051 freebsd
* | dragonfly
*)
14052 # DragonFly does not have aout. When/if they implement a new
14053 # versioning mechanism, adjust this.
14054 if test -x /usr
/bin
/objformat
; then
14055 objformat
=`/usr/bin/objformat`
14058 freebsd
[123]*) objformat
=aout
;;
14059 *) objformat
=elf
;;
14062 version_type
=freebsd-
$objformat
14063 case $version_type in
14065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14070 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14074 shlibpath_var
=LD_LIBRARY_PATH
14077 shlibpath_overrides_runpath
=yes
14079 freebsd3.
[01]* | freebsdelf3.
[01]*)
14080 shlibpath_overrides_runpath
=yes
14081 hardcode_into_libs
=yes
14083 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14084 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14085 shlibpath_overrides_runpath
=no
14086 hardcode_into_libs
=yes
14088 freebsd
*) # from 4.6 on
14089 shlibpath_overrides_runpath
=yes
14090 hardcode_into_libs
=yes
14099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14100 soname_spec
='${libname}${release}${shared_ext}$major'
14101 shlibpath_var
=LD_LIBRARY_PATH
14102 hardcode_into_libs
=yes
14105 hpux9
* | hpux10
* | hpux11
*)
14106 # Give a soname corresponding to the major version so that dld.sl refuses to
14107 # link against other versions.
14114 hardcode_into_libs
=yes
14115 dynamic_linker
="$host_os dld.so"
14116 shlibpath_var
=LD_LIBRARY_PATH
14117 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14119 soname_spec
='${libname}${release}${shared_ext}$major'
14120 if test "X$HPUX_IA64_MODE" = X32
; then
14121 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14123 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14125 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14129 hardcode_into_libs
=yes
14130 dynamic_linker
="$host_os dld.sl"
14131 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14132 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14134 soname_spec
='${libname}${release}${shared_ext}$major'
14135 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14136 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14140 dynamic_linker
="$host_os dld.sl"
14141 shlibpath_var
=SHLIB_PATH
14142 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14144 soname_spec
='${libname}${release}${shared_ext}$major'
14147 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14148 postinstall_cmds
='chmod 555 $lib'
14155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14156 soname_spec
='${libname}${release}${shared_ext}$major'
14157 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14158 shlibpath_var
=LD_LIBRARY_PATH
14159 shlibpath_overrides_runpath
=no
14160 hardcode_into_libs
=yes
14163 irix5
* | irix6
* | nonstopux
*)
14165 nonstopux
*) version_type
=nonstopux
;;
14167 if test "$lt_cv_prog_gnu_ld" = yes; then
14175 soname_spec
='${libname}${release}${shared_ext}$major'
14176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14178 irix5
* | nonstopux
*)
14179 libsuff
= shlibsuff
=
14182 case $LD in # libtool.m4 will add one of these switches to LD
14183 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14184 libsuff
= shlibsuff
= libmagic
=32-bit;;
14185 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14186 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14187 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14188 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14189 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14193 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14194 shlibpath_overrides_runpath
=no
14195 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14196 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14197 hardcode_into_libs
=yes
14200 # No shared lib support for Linux oldld, aout, or coff.
14201 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14205 # This must be Linux ELF.
14210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14211 soname_spec
='${libname}${release}${shared_ext}$major'
14212 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14213 shlibpath_var
=LD_LIBRARY_PATH
14214 shlibpath_overrides_runpath
=no
14215 # This implies no fast_install, which is unacceptable.
14216 # Some rework will be needed to allow for fast_install
14217 # before this can be enabled.
14218 hardcode_into_libs
=yes
14220 # Append ld.so.conf contents to the search path
14221 if test -f /etc
/ld.so.conf
; then
14222 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14223 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14226 # We used to test for /lib/ld.so.1 and disable shared libraries on
14227 # powerpc, because MkLinux only supported shared libraries with the
14228 # GNU dynamic linker. Since this was broken with cross compilers,
14229 # most powerpc-linux boxes support dynamic linking these days and
14230 # people can always --disable-shared, the test was removed, and we
14231 # assume the GNU/Linux dynamic linker is in use.
14232 dynamic_linker
='GNU/Linux ld.so'
14239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14240 soname_spec
='${libname}${release}${shared_ext}$major'
14241 shlibpath_var
=LD_LIBRARY_PATH
14242 shlibpath_overrides_runpath
=no
14243 hardcode_into_libs
=yes
14244 dynamic_linker
='GNU ld.so'
14251 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14253 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14254 dynamic_linker
='NetBSD (a.out) ld.so'
14256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14257 soname_spec
='${libname}${release}${shared_ext}$major'
14258 dynamic_linker
='NetBSD ld.elf_so'
14260 shlibpath_var
=LD_LIBRARY_PATH
14261 shlibpath_overrides_runpath
=yes
14262 hardcode_into_libs
=yes
14267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14268 shlibpath_var
=LD_LIBRARY_PATH
14269 shlibpath_overrides_runpath
=yes
14276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14277 soname_spec
='${libname}${release}${shared_ext}$major'
14278 shlibpath_var
=LD_LIBRARY_PATH
14279 shlibpath_overrides_runpath
=yes
14284 sys_lib_dlsearch_path_spec
="/usr/lib"
14286 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14288 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14289 *) need_version
=no
;;
14291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14292 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14293 shlibpath_var
=LD_LIBRARY_PATH
14294 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14296 openbsd2.
[89] | openbsd2.
[89].
*)
14297 shlibpath_overrides_runpath
=no
14300 shlibpath_overrides_runpath
=yes
14304 shlibpath_overrides_runpath
=yes
14309 libname_spec
='$name'
14312 library_names_spec
='$libname${shared_ext} $libname.a'
14313 dynamic_linker
='OS/2 ld.exe'
14314 shlibpath_var
=LIBPATH
14317 osf3
* | osf4
* | osf5
*)
14321 soname_spec
='${libname}${release}${shared_ext}$major'
14322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 shlibpath_var
=LD_LIBRARY_PATH
14324 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14325 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14333 soname_spec
='${libname}${release}${shared_ext}$major'
14334 shlibpath_var
=LD_LIBRARY_PATH
14335 shlibpath_overrides_runpath
=yes
14336 hardcode_into_libs
=yes
14337 # ldd complains unless libraries are executable
14338 postinstall_cmds
='chmod +x $lib'
14343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14344 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14345 shlibpath_var
=LD_LIBRARY_PATH
14346 shlibpath_overrides_runpath
=yes
14347 if test "$with_gnu_ld" = yes; then
14355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14356 soname_spec
='${libname}${release}${shared_ext}$major'
14357 shlibpath_var
=LD_LIBRARY_PATH
14358 case $host_vendor in
14360 shlibpath_overrides_runpath
=no
14362 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14363 runpath_var
=LD_RUN_PATH
14371 shlibpath_overrides_runpath
=no
14372 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14378 if test -d /usr
/nec
;then
14380 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14381 soname_spec
='$libname${shared_ext}.$major'
14382 shlibpath_var
=LD_LIBRARY_PATH
14386 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14387 version_type
=freebsd-elf
14390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14391 soname_spec
='${libname}${release}${shared_ext}$major'
14392 shlibpath_var
=LD_LIBRARY_PATH
14393 hardcode_into_libs
=yes
14394 if test "$with_gnu_ld" = yes; then
14395 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14396 shlibpath_overrides_runpath
=no
14398 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14399 shlibpath_overrides_runpath
=yes
14402 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14406 sys_lib_dlsearch_path_spec
='/usr/lib'
14411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412 soname_spec
='${libname}${release}${shared_ext}$major'
14413 shlibpath_var
=LD_LIBRARY_PATH
14420 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14421 $as_echo "$dynamic_linker" >&6; }
14422 test "$dynamic_linker" = no
&& can_build_shared
=no
14424 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14425 if test "$GCC" = yes; then
14426 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14429 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14430 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14431 hardcode_action_CXX
=
14432 if test -n "$hardcode_libdir_flag_spec_CXX" || \
14433 test -n "$runpath_var_CXX" || \
14434 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14436 # We can hardcode non-existant directories.
14437 if test "$hardcode_direct_CXX" != no
&&
14438 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14439 # have to relink, otherwise we might link with an installed library
14440 # when we should be linking with a yet-to-be-installed one
14441 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14442 test "$hardcode_minus_L_CXX" != no
; then
14443 # Linking always hardcodes the temporary library directory.
14444 hardcode_action_CXX
=relink
14446 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14447 hardcode_action_CXX
=immediate
14450 # We cannot hardcode anything, or else we can only hardcode existing
14452 hardcode_action_CXX
=unsupported
14454 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14455 $as_echo "$hardcode_action_CXX" >&6; }
14457 if test "$hardcode_action_CXX" = relink
; then
14458 # Fast installation is not supported
14459 enable_fast_install
=no
14460 elif test "$shlibpath_overrides_runpath" = yes ||
14461 test "$enable_shared" = no
; then
14462 # Fast installation is not necessary
14463 enable_fast_install
=needless
14467 # The else clause should only fire when bootstrapping the
14468 # libtool distribution, otherwise you forgot to ship ltmain.sh
14469 # with your package, and you will get complaints that there are
14470 # no rules to generate ltmain.sh.
14471 if test -f "$ltmain"; then
14472 # See if we are running on zsh, and set the options which allow our commands through
14473 # without removal of \ escapes.
14474 if test -n "${ZSH_VERSION+set}" ; then
14475 setopt NO_GLOB_SUBST
14477 # Now quote all the things that may contain metacharacters while being
14478 # careful not to overquote the AC_SUBSTed values. We take copies of the
14479 # variables and quote the copies for generation of the libtool script.
14480 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14482 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14483 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14484 deplibs_check_method reload_flag reload_cmds need_locks \
14485 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14486 lt_cv_sys_global_symbol_to_c_name_address \
14487 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14488 old_postinstall_cmds old_postuninstall_cmds \
14492 lt_prog_compiler_wl_CXX \
14493 lt_prog_compiler_pic_CXX \
14494 lt_prog_compiler_static_CXX \
14495 lt_prog_compiler_no_builtin_flag_CXX \
14496 export_dynamic_flag_spec_CXX \
14497 thread_safe_flag_spec_CXX \
14498 whole_archive_flag_spec_CXX \
14499 enable_shared_with_static_runtimes_CXX \
14500 old_archive_cmds_CXX \
14501 old_archive_from_new_cmds_CXX \
14502 predep_objects_CXX \
14503 postdep_objects_CXX \
14506 compiler_lib_search_path_CXX \
14508 archive_expsym_cmds_CXX \
14509 postinstall_cmds_CXX \
14510 postuninstall_cmds_CXX \
14511 old_archive_from_expsyms_cmds_CXX \
14512 allow_undefined_flag_CXX \
14513 no_undefined_flag_CXX \
14514 export_symbols_cmds_CXX \
14515 hardcode_libdir_flag_spec_CXX \
14516 hardcode_libdir_flag_spec_ld_CXX \
14517 hardcode_libdir_separator_CXX \
14518 hardcode_automatic_CXX \
14520 module_expsym_cmds_CXX \
14521 lt_cv_prog_compiler_c_o_CXX \
14522 exclude_expsyms_CXX \
14523 include_expsyms_CXX
; do
14526 old_archive_cmds_CXX | \
14527 old_archive_from_new_cmds_CXX | \
14528 archive_cmds_CXX | \
14529 archive_expsym_cmds_CXX | \
14530 module_cmds_CXX | \
14531 module_expsym_cmds_CXX | \
14532 old_archive_from_expsyms_cmds_CXX | \
14533 export_symbols_cmds_CXX | \
14534 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14535 postinstall_cmds | postuninstall_cmds | \
14536 old_postinstall_cmds | old_postuninstall_cmds | \
14537 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14538 # Double-quote double-evaled strings.
14539 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14542 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14548 *'\$0 --fallback-echo"')
14549 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14555 cat <<__EOF__ >> "$cfgfile"
14556 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14558 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14560 # Shell to use when invoking shell scripts.
14563 # Whether or not to build shared libraries.
14564 build_libtool_libs=$enable_shared
14566 # Whether or not to build static libraries.
14567 build_old_libs=$enable_static
14569 # Whether or not to add -lc for building shared libraries.
14570 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14572 # Whether or not to disallow shared libs when runtime libs are static
14573 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14575 # Whether or not to optimize for fast installation.
14576 fast_install=$enable_fast_install
14579 host_alias=$host_alias
14583 # The build system.
14584 build_alias=$build_alias
14588 # An echo program that does not interpret backslashes.
14593 AR_FLAGS=$lt_AR_FLAGS
14598 # LTCC compiler flags.
14599 LTCFLAGS=$lt_LTCFLAGS
14601 # A language-specific compiler.
14602 CC=$lt_compiler_CXX
14604 # Is the compiler the GNU C compiler?
14610 # The linker used to build libraries.
14613 # Whether we need hard or soft links.
14616 # A BSD-compatible nm program.
14619 # A symbol stripping program
14622 # Used to examine libraries when file_magic_cmd begins "file"
14623 MAGIC_CMD=$MAGIC_CMD
14625 # Used on cygwin: DLL creation program.
14628 # Used on cygwin: object dumper.
14631 # Used on cygwin: assembler.
14634 # The name of the directory that contains temporary libtool files.
14637 # How to create reloadable object files.
14638 reload_flag=$lt_reload_flag
14639 reload_cmds=$lt_reload_cmds
14641 # How to pass a linker flag through the compiler.
14642 wl=$lt_lt_prog_compiler_wl_CXX
14644 # Object file suffix (normally "o").
14645 objext="$ac_objext"
14647 # Old archive suffix (normally "a").
14650 # Shared library suffix (normally ".so").
14651 shrext_cmds='$shrext_cmds'
14653 # Executable file suffix (normally "").
14656 # Additional compiler flags for building library objects.
14657 pic_flag=$lt_lt_prog_compiler_pic_CXX
14660 # What is the maximum length of a command?
14661 max_cmd_len=$lt_cv_sys_max_cmd_len
14663 # Does compiler simultaneously support -c and -o options?
14664 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14666 # Must we lock files when doing compilation?
14667 need_locks=$lt_need_locks
14669 # Do we need the lib prefix for modules?
14670 need_lib_prefix=$need_lib_prefix
14672 # Do we need a version for libraries?
14673 need_version=$need_version
14675 # Whether dlopen is supported.
14676 dlopen_support=$enable_dlopen
14678 # Whether dlopen of programs is supported.
14679 dlopen_self=$enable_dlopen_self
14681 # Whether dlopen of statically linked programs is supported.
14682 dlopen_self_static=$enable_dlopen_self_static
14684 # Compiler flag to prevent dynamic linking.
14685 link_static_flag=$lt_lt_prog_compiler_static_CXX
14687 # Compiler flag to turn off builtin functions.
14688 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14690 # Compiler flag to allow reflexive dlopens.
14691 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14693 # Compiler flag to generate shared objects directly from archives.
14694 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14696 # Compiler flag to generate thread-safe objects.
14697 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14699 # Library versioning type.
14700 version_type=$version_type
14702 # Format of library name prefix.
14703 libname_spec=$lt_libname_spec
14705 # List of archive names. First name is the real one, the rest are links.
14706 # The last name is the one that the linker finds with -lNAME.
14707 library_names_spec=$lt_library_names_spec
14709 # The coded name of the library, if different from the real name.
14710 soname_spec=$lt_soname_spec
14712 # Commands used to build and install an old-style archive.
14714 old_archive_cmds=$lt_old_archive_cmds_CXX
14715 old_postinstall_cmds=$lt_old_postinstall_cmds
14716 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14718 # Create an old-style archive from a shared archive.
14719 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14721 # Create a temporary old-style archive to link instead of a shared archive.
14722 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14724 # Commands used to build and install a shared archive.
14725 archive_cmds=$lt_archive_cmds_CXX
14726 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14727 postinstall_cmds=$lt_postinstall_cmds
14728 postuninstall_cmds=$lt_postuninstall_cmds
14730 # Commands used to build a loadable module (assumed same as above if empty)
14731 module_cmds=$lt_module_cmds_CXX
14732 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14734 # Commands to strip libraries.
14735 old_striplib=$lt_old_striplib
14736 striplib=$lt_striplib
14738 # Dependencies to place before the objects being linked to create a
14740 predep_objects=$lt_predep_objects_CXX
14742 # Dependencies to place after the objects being linked to create a
14744 postdep_objects=$lt_postdep_objects_CXX
14746 # Dependencies to place before the objects being linked to create a
14748 predeps=$lt_predeps_CXX
14750 # Dependencies to place after the objects being linked to create a
14752 postdeps=$lt_postdeps_CXX
14754 # The library search path used internally by the compiler when linking
14755 # a shared library.
14756 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14758 # Method to check whether dependent libraries are shared objects.
14759 deplibs_check_method=$lt_deplibs_check_method
14761 # Command to use when deplibs_check_method == file_magic.
14762 file_magic_cmd=$lt_file_magic_cmd
14764 # Flag that allows shared libraries with undefined symbols to be built.
14765 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14767 # Flag that forces no undefined symbols.
14768 no_undefined_flag=$lt_no_undefined_flag_CXX
14770 # Commands used to finish a libtool library installation in a directory.
14771 finish_cmds=$lt_finish_cmds
14773 # Same as above, but a single script fragment to be evaled but not shown.
14774 finish_eval=$lt_finish_eval
14776 # Take the output of nm and produce a listing of raw symbols and C names.
14777 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14779 # Transform the output of nm in a proper C declaration
14780 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14782 # Transform the output of nm in a C name address pair
14783 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14785 # This is the shared library runtime path variable.
14786 runpath_var=$runpath_var
14788 # This is the shared library path variable.
14789 shlibpath_var=$shlibpath_var
14791 # Is shlibpath searched before the hard-coded library search path?
14792 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14794 # How to hardcode a shared library path into an executable.
14795 hardcode_action=$hardcode_action_CXX
14797 # Whether we should hardcode library paths into libraries.
14798 hardcode_into_libs=$hardcode_into_libs
14800 # Flag to hardcode \$libdir into a binary during linking.
14801 # This must work even if \$libdir does not exist.
14802 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14804 # If ld is used when linking, flag to hardcode \$libdir into
14805 # a binary during linking. This must work even if \$libdir does
14807 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14809 # Whether we need a single -rpath flag with a separated argument.
14810 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14812 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14813 # resulting binary.
14814 hardcode_direct=$hardcode_direct_CXX
14816 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14817 # resulting binary.
14818 hardcode_minus_L=$hardcode_minus_L_CXX
14820 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14821 # the resulting binary.
14822 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14824 # Set to yes if building a shared library automatically hardcodes DIR into the library
14825 # and all subsequent libraries and executables linked against it.
14826 hardcode_automatic=$hardcode_automatic_CXX
14828 # Variables whose values should be saved in libtool wrapper scripts and
14829 # restored at relink time.
14830 variables_saved_for_relink="$variables_saved_for_relink"
14832 # Whether libtool must link a program against all its dependency libraries.
14833 link_all_deplibs=$link_all_deplibs_CXX
14835 # Compile-time system search path for libraries
14836 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14838 # Run-time system search path for libraries
14839 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14841 # Fix the shell variable \$srcfile for the compiler.
14842 fix_srcfile_path="$fix_srcfile_path_CXX"
14844 # Set to yes if exported symbols are required.
14845 always_export_symbols=$always_export_symbols_CXX
14847 # The commands to list exported symbols.
14848 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14850 # The commands to extract the exported symbol list from a shared archive.
14851 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14853 # Symbols that should not be listed in the preloaded symbols.
14854 exclude_expsyms=$lt_exclude_expsyms_CXX
14856 # Symbols that must always be exported.
14857 include_expsyms=$lt_include_expsyms_CXX
14859 # ### END LIBTOOL TAG CONFIG: $tagname
14865 # If there is no Makefile yet, we rely on a make rule to execute
14866 # `config.status --recheck' to rerun these tests and create the
14867 # libtool script then.
14868 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14869 if test -f "$ltmain_in"; then
14870 test -f Makefile
&& make "$ltmain"
14876 ac_cpp
='$CPP $CPPFLAGS'
14877 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14878 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14879 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14885 with_gnu_ldcxx
=$with_gnu_ld
14886 with_gnu_ld
=$lt_save_with_gnu_ld
14887 lt_cv_path_LDCXX
=$lt_cv_path_LD
14888 lt_cv_path_LD
=$lt_save_path_LD
14889 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14890 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14898 if test -n "$F77" && test "X$F77" != "Xno"; then
14901 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14902 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14903 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14906 archive_cmds_need_lc_F77
=no
14907 allow_undefined_flag_F77
=
14908 always_export_symbols_F77
=no
14909 archive_expsym_cmds_F77
=
14910 export_dynamic_flag_spec_F77
=
14911 hardcode_direct_F77
=no
14912 hardcode_libdir_flag_spec_F77
=
14913 hardcode_libdir_flag_spec_ld_F77
=
14914 hardcode_libdir_separator_F77
=
14915 hardcode_minus_L_F77
=no
14916 hardcode_automatic_F77
=no
14918 module_expsym_cmds_F77
=
14919 link_all_deplibs_F77
=unknown
14920 old_archive_cmds_F77
=$old_archive_cmds
14921 no_undefined_flag_F77
=
14922 whole_archive_flag_spec_F77
=
14923 enable_shared_with_static_runtimes_F77
=no
14925 # Source file extension for f77 test sources.
14928 # Object file extension for compiled f77 test sources.
14932 # Code to be used in simple compile tests
14933 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
14935 # Code to be used in simple link tests
14936 lt_simple_link_test_code
=" program t\n end\n"
14938 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14940 # If no C compiler was specified, use CC.
14943 # If no C compiler flags were specified, use CFLAGS.
14944 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14946 # Allow CC to be a program name with arguments.
14950 # save warnings/boilerplate of simple test code
14951 ac_outfile
=conftest.
$ac_objext
14952 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
14953 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14954 _lt_compiler_boilerplate
=`cat conftest.err`
14957 ac_outfile
=conftest.
$ac_objext
14958 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
14959 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14960 _lt_linker_boilerplate
=`cat conftest.err`
14964 # Allow CC to be a program name with arguments.
14969 for cc_temp
in $compiler""; do
14971 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14972 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14977 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14980 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14981 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14982 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14983 $as_echo "$can_build_shared" >&6; }
14985 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14986 $as_echo_n "checking whether to build shared libraries... " >&6; }
14987 test "$can_build_shared" = "no" && enable_shared
=no
14989 # On AIX, shared libraries and static libraries use the same namespace, and
14990 # are all built from PIC.
14993 test "$enable_shared" = yes && enable_static
=no
14994 if test -n "$RANLIB"; then
14995 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14996 postinstall_cmds
='$RANLIB $lib'
15000 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
15001 test "$enable_shared" = yes && enable_static
=no
15005 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
15006 $as_echo "$enable_shared" >&6; }
15008 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15009 $as_echo_n "checking whether to build static libraries... " >&6; }
15010 # Make sure either enable_shared or enable_static is yes.
15011 test "$enable_shared" = yes || enable_static
=yes
15012 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
15013 $as_echo "$enable_static" >&6; }
15018 lt_prog_compiler_wl_F77
=
15019 lt_prog_compiler_pic_F77
=
15020 lt_prog_compiler_static_F77
=
15022 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15023 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15025 if test "$GCC" = yes; then
15026 lt_prog_compiler_wl_F77
='-Wl,'
15027 lt_prog_compiler_static_F77
='-static'
15031 # All AIX code is PIC.
15032 if test "$host_cpu" = ia64
; then
15033 # AIX 5 now supports IA64 processor
15034 lt_prog_compiler_static_F77
='-Bstatic'
15039 # FIXME: we need at least 68020 code to build shared libraries, but
15040 # adding the `-m68020' flag to GCC prevents building anything better,
15042 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
15045 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15046 # PIC is the default for these OSes.
15049 mingw
* | pw32
* | os2
*)
15050 # This hack is so that the source file can tell whether it is being
15051 # built for inclusion in a dll (and should export symbols for example).
15052 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15055 darwin
* | rhapsody
*)
15056 # PIC is the default on this platform
15057 # Common symbols not allowed in MH_DYLIB files
15058 lt_prog_compiler_pic_F77
='-fno-common'
15062 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15063 # Instead, we relocate shared libraries at runtime.
15067 # Just because we use GCC doesn't mean we suddenly get shared libraries
15068 # on systems that don't support them.
15069 lt_prog_compiler_can_build_shared_F77
=no
15074 if test -d /usr
/nec
; then
15075 lt_prog_compiler_pic_F77
=-Kconform_pic
15080 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15081 # not for PA HP-UX.
15087 lt_prog_compiler_pic_F77
='-fPIC'
15093 lt_prog_compiler_pic_F77
='-fPIC'
15097 # PORTME Check for flag to pass linker flags through the system compiler.
15100 lt_prog_compiler_wl_F77
='-Wl,'
15101 if test "$host_cpu" = ia64
; then
15102 # AIX 5 now supports IA64 processor
15103 lt_prog_compiler_static_F77
='-Bstatic'
15105 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
15109 # PIC is the default on this platform
15110 # Common symbols not allowed in MH_DYLIB files
15111 case $cc_basename in
15113 lt_prog_compiler_pic_F77
='-qnocommon'
15114 lt_prog_compiler_wl_F77
='-Wl,'
15119 mingw
* | pw32
* | os2
*)
15120 # This hack is so that the source file can tell whether it is being
15121 # built for inclusion in a dll (and should export symbols for example).
15122 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15125 hpux9
* | hpux10
* | hpux11
*)
15126 lt_prog_compiler_wl_F77
='-Wl,'
15127 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15128 # not for PA HP-UX.
15134 lt_prog_compiler_pic_F77
='+Z'
15137 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15138 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
15141 irix5
* | irix6
* | nonstopux
*)
15142 lt_prog_compiler_wl_F77
='-Wl,'
15143 # PIC (with -KPIC) is the default.
15144 lt_prog_compiler_static_F77
='-non_shared'
15148 lt_prog_compiler_pic_F77
='-KPIC'
15149 lt_prog_compiler_static_F77
='-Bstatic'
15153 case $cc_basename in
15155 lt_prog_compiler_wl_F77
='-Wl,'
15156 lt_prog_compiler_pic_F77
='-KPIC'
15157 lt_prog_compiler_static_F77
='-static'
15159 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15160 # Portland Group compilers (*not* the Pentium gcc compiler,
15161 # which looks to be a dead project)
15162 lt_prog_compiler_wl_F77
='-Wl,'
15163 lt_prog_compiler_pic_F77
='-fpic'
15164 lt_prog_compiler_static_F77
='-Bstatic'
15167 lt_prog_compiler_wl_F77
='-Wl,'
15168 # All Alpha code is PIC.
15169 lt_prog_compiler_static_F77
='-non_shared'
15174 osf3
* | osf4
* | osf5
*)
15175 lt_prog_compiler_wl_F77
='-Wl,'
15176 # All OSF/1 code is PIC.
15177 lt_prog_compiler_static_F77
='-non_shared'
15181 lt_prog_compiler_pic_F77
='-KPIC'
15182 lt_prog_compiler_static_F77
='-Bstatic'
15183 case $cc_basename in
15184 f77
* | f90
* | f95
*)
15185 lt_prog_compiler_wl_F77
='-Qoption ld ';;
15187 lt_prog_compiler_wl_F77
='-Wl,';;
15192 lt_prog_compiler_wl_F77
='-Qoption ld '
15193 lt_prog_compiler_pic_F77
='-PIC'
15194 lt_prog_compiler_static_F77
='-Bstatic'
15197 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15198 lt_prog_compiler_wl_F77
='-Wl,'
15199 lt_prog_compiler_pic_F77
='-KPIC'
15200 lt_prog_compiler_static_F77
='-Bstatic'
15204 if test -d /usr
/nec
;then
15205 lt_prog_compiler_pic_F77
='-Kconform_pic'
15206 lt_prog_compiler_static_F77
='-Bstatic'
15210 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15211 lt_prog_compiler_wl_F77
='-Wl,'
15212 lt_prog_compiler_pic_F77
='-KPIC'
15213 lt_prog_compiler_static_F77
='-Bstatic'
15217 lt_prog_compiler_wl_F77
='-Wl,'
15218 lt_prog_compiler_can_build_shared_F77
=no
15222 lt_prog_compiler_pic_F77
='-pic'
15223 lt_prog_compiler_static_F77
='-Bstatic'
15227 lt_prog_compiler_can_build_shared_F77
=no
15232 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15233 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
15236 # Check to make sure the PIC flag actually works.
15238 if test -n "$lt_prog_compiler_pic_F77"; then
15240 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15241 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
15242 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15243 $as_echo_n "(cached) " >&6
15245 lt_prog_compiler_pic_works_F77
=no
15246 ac_outfile
=conftest.
$ac_objext
15247 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15248 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15249 # Insert the option either (1) after the last *FLAGS variable, or
15250 # (2) before a word containing "conftest.", or (3) at the end.
15251 # Note that $ac_compile itself does not contain backslashes and begins
15252 # with a dollar sign (not a hyphen), so the echo should work correctly.
15253 # The option is referenced via a variable to avoid confusing sed.
15254 lt_compile
=`echo "$ac_compile" | $SED \
15255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15257 -e 's:$: $lt_compiler_flag:'`
15258 (eval echo "\"\$as_me:15258: $lt_compile\"" >&5)
15259 (eval "$lt_compile" 2>conftest.err
)
15261 cat conftest.err
>&5
15262 echo "$as_me:15262: \$? = $ac_status" >&5
15263 if (exit $ac_status) && test -s "$ac_outfile"; then
15264 # The compiler can only warn and ignore the option if not recognized
15265 # So say no if there are warnings other than the usual output.
15266 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15267 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15268 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15269 lt_prog_compiler_pic_works_F77
=yes
15275 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15276 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
15278 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
15279 case $lt_prog_compiler_pic_F77 in
15281 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15284 lt_prog_compiler_pic_F77
=
15285 lt_prog_compiler_can_build_shared_F77
=no
15290 # For platforms which do not support PIC, -DPIC is meaningless:
15292 lt_prog_compiler_pic_F77
=
15295 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15300 # Check to make sure the static flag actually works.
15302 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
15303 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15304 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15305 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15306 $as_echo_n "(cached) " >&6
15308 lt_prog_compiler_static_works_F77
=no
15309 save_LDFLAGS
="$LDFLAGS"
15310 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15311 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15312 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15313 # The linker can only warn and ignore the option if not recognized
15314 # So say no if there are warnings
15315 if test -s conftest.err
; then
15316 # Append any errors to the config.log.
15317 cat conftest.err
1>&5
15318 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15319 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15320 if diff conftest.exp conftest.er2
>/dev
/null
; then
15321 lt_prog_compiler_static_works_F77
=yes
15324 lt_prog_compiler_static_works_F77
=yes
15328 LDFLAGS
="$save_LDFLAGS"
15331 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15332 $as_echo "$lt_prog_compiler_static_works_F77" >&6; }
15334 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
15337 lt_prog_compiler_static_F77
=
15341 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15342 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15343 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15344 $as_echo_n "(cached) " >&6
15346 lt_cv_prog_compiler_c_o_F77
=no
15347 $rm -r conftest
2>/dev
/null
15351 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15353 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15354 # Insert the option either (1) after the last *FLAGS variable, or
15355 # (2) before a word containing "conftest.", or (3) at the end.
15356 # Note that $ac_compile itself does not contain backslashes and begins
15357 # with a dollar sign (not a hyphen), so the echo should work correctly.
15358 lt_compile
=`echo "$ac_compile" | $SED \
15359 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15360 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15361 -e 's:$: $lt_compiler_flag:'`
15362 (eval echo "\"\$as_me:15362: $lt_compile\"" >&5)
15363 (eval "$lt_compile" 2>out
/conftest.err
)
15365 cat out
/conftest.err
>&5
15366 echo "$as_me:15366: \$? = $ac_status" >&5
15367 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15369 # The compiler can only warn and ignore the option if not recognized
15370 # So say no if there are warnings
15371 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15372 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15373 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15374 lt_cv_prog_compiler_c_o_F77
=yes
15379 # SGI C++ compiler will create directory out/ii_files/ for
15380 # template instantiation
15381 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15382 $rm out
/* && rmdir out
15388 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15389 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
15392 hard_links
="nottested"
15393 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
15394 # do not overwrite the value of need_locks provided by the user
15395 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15396 $as_echo_n "checking if we can lock with hard links... " >&6; }
15399 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15401 ln conftest.a conftest.b
2>&5 || hard_links
=no
15402 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15403 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
15404 $as_echo "$hard_links" >&6; }
15405 if test "$hard_links" = no
; then
15406 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15407 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15414 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15415 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15418 allow_undefined_flag_F77
=
15419 enable_shared_with_static_runtimes_F77
=no
15421 archive_expsym_cmds_F77
=
15422 old_archive_From_new_cmds_F77
=
15423 old_archive_from_expsyms_cmds_F77
=
15424 export_dynamic_flag_spec_F77
=
15425 whole_archive_flag_spec_F77
=
15426 thread_safe_flag_spec_F77
=
15427 hardcode_libdir_flag_spec_F77
=
15428 hardcode_libdir_flag_spec_ld_F77
=
15429 hardcode_libdir_separator_F77
=
15430 hardcode_direct_F77
=no
15431 hardcode_minus_L_F77
=no
15432 hardcode_shlibpath_var_F77
=unsupported
15433 link_all_deplibs_F77
=unknown
15434 hardcode_automatic_F77
=no
15436 module_expsym_cmds_F77
=
15437 always_export_symbols_F77
=no
15438 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15439 # include_expsyms should be a list of space-separated symbols to be *always*
15440 # included in the symbol list
15441 include_expsyms_F77
=
15442 # exclude_expsyms can be an extended regexp of symbols to exclude
15443 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15444 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15445 # as well as any symbol that contains `d'.
15446 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
15447 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15448 # platforms (ab)use it in PIC code, but their linkers get confused if
15449 # the symbol is explicitly referenced. Since portable code cannot
15450 # rely on this symbol name, it's probably fine to never include it in
15451 # preloaded symbol tables.
15452 extract_expsyms_cmds
=
15453 # Just being paranoid about ensuring that cc_basename is set.
15454 for cc_temp
in $compiler""; do
15456 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15457 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15462 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15465 cygwin
* | mingw
* | pw32
*)
15466 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15467 # When not using gcc, we currently assume that we are using
15468 # Microsoft Visual C++.
15469 if test "$GCC" != yes; then
15474 # we just hope/assume this is gcc and not c89 (= MSVC++)
15483 if test "$with_gnu_ld" = yes; then
15484 # If archive_cmds runs LD, not CC, wlarc should be empty
15487 # Set some defaults for GNU ld with shared library support. These
15488 # are reset later if shared libraries are not supported. Putting them
15489 # here allows them to be overridden if necessary.
15490 runpath_var
=LD_RUN_PATH
15491 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15492 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15493 # ancient GNU ld didn't support --whole-archive et. al.
15494 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15495 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15497 whole_archive_flag_spec_F77
=
15499 supports_anon_versioning
=no
15500 case `$LD -v 2>/dev/null` in
15501 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15502 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15503 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15504 *\
2.11.
*) ;; # other 2.11 versions
15505 *) supports_anon_versioning
=yes ;;
15508 # See if GNU ld supports shared libraries.
15510 aix3
* | aix4
* | aix5
*)
15511 # On AIX/PPC, the GNU linker is very broken
15512 if test "$host_cpu" != ia64
; then
15516 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15517 *** to be unable to reliably create shared libraries on AIX.
15518 *** Therefore, libtool is disabling shared libraries support. If you
15519 *** really care for shared libraries, you may want to modify your PATH
15520 *** so that a non-GNU linker is found, and then restart.
15527 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)'
15528 hardcode_libdir_flag_spec_F77
='-L$libdir'
15529 hardcode_minus_L_F77
=yes
15531 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15532 # that the semantics of dynamic libraries on AmigaOS, at least up
15533 # to version 4, is to share data among multiple programs linked
15534 # with the same dynamic library. Since this doesn't match the
15535 # behavior of shared libraries on other platforms, we can't use
15541 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15542 allow_undefined_flag_F77
=unsupported
15543 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15544 # support --undefined. This deserves some investigation. FIXME
15545 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15551 cygwin
* | mingw
* | pw32
*)
15552 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15553 # as there is no search path for DLLs.
15554 hardcode_libdir_flag_spec_F77
='-L$libdir'
15555 allow_undefined_flag_F77
=unsupported
15556 always_export_symbols_F77
=no
15557 enable_shared_with_static_runtimes_F77
=yes
15558 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15560 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15561 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15562 # If the export-symbols file already is a .def file (1st line
15563 # is EXPORTS), use it as is; otherwise, prepend...
15564 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15565 cp $export_symbols $output_objdir/$soname.def;
15567 echo EXPORTS > $output_objdir/$soname.def;
15568 cat $export_symbols >> $output_objdir/$soname.def;
15570 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15577 hardcode_direct_F77
=no
15578 hardcode_shlibpath_var_F77
=no
15579 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15580 export_dynamic_flag_spec_F77
='${wl}-E'
15581 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15582 # Instead, shared libraries are loaded at an image base (0x10000000 by
15583 # default) and relocated if they conflict, which is a slow very memory
15584 # consuming and fragmenting process. To avoid this, we pick a random,
15585 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15586 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15587 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'
15588 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'
15592 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15594 case $cc_basename,$host_cpu in
15595 pgcc
*) # Portland Group C compiler
15596 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'
15597 tmp_addflag
=' $pic_flag'
15599 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15600 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'
15601 tmp_addflag
=' $pic_flag -Mnomain' ;;
15602 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15603 tmp_addflag
=' -i_dynamic' ;;
15604 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15605 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15606 ifc
* | ifort
*) # Intel Fortran compiler
15607 tmp_addflag
=' -nofor_main' ;;
15609 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15611 if test $supports_anon_versioning = yes; then
15612 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15613 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15614 $echo "local: *; };" >> $output_objdir/$libname.ver~
15615 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15623 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15624 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15627 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15628 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15633 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15637 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15638 *** create shared libraries on Solaris systems. Therefore, libtool
15639 *** is disabling shared libraries support. We urge you to upgrade GNU
15640 *** binutils to release 2.9.1 or newer. Another option is to modify
15641 *** your PATH or compiler configuration so that the native linker is
15642 *** used, and then restart.
15645 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15646 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15647 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15653 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15654 case `$LD -v 2>&1` in
15655 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15659 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15660 *** reliably create shared libraries on SCO systems. Therefore, libtool
15661 *** is disabling shared libraries support. We urge you to upgrade GNU
15662 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15663 *** your PATH or compiler configuration so that the native linker is
15664 *** used, and then restart.
15669 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15670 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15671 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15672 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15681 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15683 hardcode_direct_F77
=yes
15684 hardcode_shlibpath_var_F77
=no
15688 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15689 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15690 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15697 if test "$ld_shlibs_F77" = no
; then
15699 hardcode_libdir_flag_spec_F77
=
15700 export_dynamic_flag_spec_F77
=
15701 whole_archive_flag_spec_F77
=
15704 # PORTME fill in a description of your system's linker (not GNU ld)
15707 allow_undefined_flag_F77
=unsupported
15708 always_export_symbols_F77
=yes
15709 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'
15710 # Note: this linker hardcodes the directories in LIBPATH if there
15711 # are no directories specified by -L.
15712 hardcode_minus_L_F77
=yes
15713 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15714 # Neither direct hardcoding nor static linking is supported with a
15716 hardcode_direct_F77
=unsupported
15721 if test "$host_cpu" = ia64
; then
15722 # On IA64, the linker does run time linking by default, so we don't
15723 # have to do anything special.
15724 aix_use_runtimelinking
=no
15725 exp_sym_flag
='-Bexport'
15728 # If we're using GNU nm, then we don't want the "-C" option.
15729 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15730 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15731 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'
15733 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'
15735 aix_use_runtimelinking
=no
15737 # Test if we are trying to use run time linking or normal
15738 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15739 # need to do runtime linking.
15740 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15741 for ld_flag
in $LDFLAGS; do
15742 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15743 aix_use_runtimelinking
=yes
15750 exp_sym_flag
='-bexport'
15751 no_entry_flag
='-bnoentry'
15754 # When large executables or shared objects are built, AIX ld can
15755 # have problems creating the table of contents. If linking a library
15756 # or program results in "error TOC overflow" add -mminimal-toc to
15757 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15758 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15760 archive_cmds_F77
=''
15761 hardcode_direct_F77
=yes
15762 hardcode_libdir_separator_F77
=':'
15763 link_all_deplibs_F77
=yes
15765 if test "$GCC" = yes; then
15766 case $host_os in aix4.
[012]|aix4.
[012].
*)
15767 # We only want to do this on AIX 4.2 and lower, the check
15768 # below for broken collect2 doesn't work under 4.3+
15769 collect2name
=`${CC} -print-prog-name=collect2`
15770 if test -f "$collect2name" && \
15771 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15773 # We have reworked collect2
15774 hardcode_direct_F77
=yes
15776 # We have old collect2
15777 hardcode_direct_F77
=unsupported
15778 # It fails to find uninstalled libraries when the uninstalled
15779 # path is not listed in the libpath. Setting hardcode_minus_L
15780 # to unsupported forces relinking
15781 hardcode_minus_L_F77
=yes
15782 hardcode_libdir_flag_spec_F77
='-L$libdir'
15783 hardcode_libdir_separator_F77
=
15787 shared_flag
='-shared'
15788 if test "$aix_use_runtimelinking" = yes; then
15789 shared_flag
="$shared_flag "'${wl}-G'
15793 if test "$host_cpu" = ia64
; then
15794 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15795 # chokes on -Wl,-G. The following line is correct:
15798 if test "$aix_use_runtimelinking" = yes; then
15799 shared_flag
='${wl}-G'
15801 shared_flag
='${wl}-bM:SRE'
15806 # It seems that -bexpall does not export symbols beginning with
15807 # underscore (_), so it is better to generate a list of symbols to export.
15808 always_export_symbols_F77
=yes
15809 if test "$aix_use_runtimelinking" = yes; then
15810 # Warning - without using the other runtime loading flags (-brtl),
15811 # -berok will link without error, but may produce a broken library.
15812 allow_undefined_flag_F77
='-berok'
15813 # Determine the default libpath from the value encoded in an empty executable.
15814 cat >conftest.
$ac_ext <<_ACEOF
15819 rm -f conftest.
$ac_objext conftest
$ac_exeext
15820 if { (ac_try
="$ac_link"
15821 case "(($ac_try" in
15822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15823 *) ac_try_echo=$ac_try;;
15825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15826 $as_echo "$ac_try_echo") >&5
15827 (eval "$ac_link") 2>conftest.er1
15829 grep -v '^ *+' conftest.er1 >conftest.err
15831 cat conftest.err >&5
15832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); } && {
15834 test -z "$ac_f77_werror_flag" ||
15835 test ! -s conftest.err
15836 } && test -s conftest$ac_exeext && {
15837 test "$cross_compiling" = yes ||
15838 $as_test_x conftest$ac_exeext
15841 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15843 # Check for a 64-bit object if we didn't find anything.
15844 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; }
15847 $as_echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15853 rm -rf conftest.dSYM
15854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15855 conftest$ac_exeext conftest.$ac_ext
15856 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15858 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15859 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"
15861 if test "$host_cpu" = ia64; then
15862 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15863 allow_undefined_flag_F77="-z nodefs"
15864 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"
15866 # Determine the default libpath from the value encoded in an empty executable.
15867 cat >conftest.$ac_ext <<_ACEOF
15872 rm -f conftest.$ac_objext conftest$ac_exeext
15873 if { (ac_try="$ac_link"
15874 case "(($ac_try" in
15875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15876 *) ac_try_echo
=$ac_try;;
15878 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15879 $as_echo "$ac_try_echo") >&5
15880 (eval "$ac_link") 2>conftest.er1
15882 grep -v '^ *+' conftest.er1
>conftest.err
15884 cat conftest.err
>&5
15885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } && {
15887 test -z "$ac_f77_werror_flag" ||
15888 test ! -s conftest.err
15889 } && test -s conftest
$ac_exeext && {
15890 test "$cross_compiling" = yes ||
15891 $as_test_x conftest
$ac_exeext
15894 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15896 # Check for a 64-bit object if we didn't find anything.
15897 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; }
15900 $as_echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.
$ac_ext >&5
15906 rm -rf conftest.dSYM
15907 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15908 conftest
$ac_exeext conftest.
$ac_ext
15909 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15911 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15912 # Warning - without using the other run time loading flags,
15913 # -berok will link without error, but may produce a broken library.
15914 no_undefined_flag_F77
=' ${wl}-bernotok'
15915 allow_undefined_flag_F77
=' ${wl}-berok'
15916 # Exported symbols can be pulled into shared objects from archives
15917 whole_archive_flag_spec_F77
='$convenience'
15918 archive_cmds_need_lc_F77
=yes
15919 # This is similar to how AIX traditionally builds its shared libraries.
15920 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'
15926 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)'
15927 hardcode_libdir_flag_spec_F77
='-L$libdir'
15928 hardcode_minus_L_F77
=yes
15929 # see comment about different semantics on the GNU ld section
15934 export_dynamic_flag_spec_F77
=-rdynamic
15937 cygwin
* | mingw
* | pw32
*)
15938 # When not using gcc, we currently assume that we are using
15939 # Microsoft Visual C++.
15940 # hardcode_libdir_flag_spec is actually meaningless, as there is
15941 # no search path for DLLs.
15942 hardcode_libdir_flag_spec_F77
=' '
15943 allow_undefined_flag_F77
=unsupported
15944 # Tell ltmain to make .lib files, not .a files.
15946 # Tell ltmain to make .dll files, not .so files.
15948 # FIXME: Setting linknames here is a bad hack.
15949 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15950 # The linker will automatically build a .lib file if we build a DLL.
15951 old_archive_From_new_cmds_F77
='true'
15952 # FIXME: Should let the user specify the lib program.
15953 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15954 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15955 enable_shared_with_static_runtimes_F77
=yes
15958 darwin
* | rhapsody
*)
15960 rhapsody
* | darwin1.
[012])
15961 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15964 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15965 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15967 case ${MACOSX_DEPLOYMENT_TARGET} in
15969 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15972 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15978 archive_cmds_need_lc_F77
=no
15979 hardcode_direct_F77
=no
15980 hardcode_automatic_F77
=yes
15981 hardcode_shlibpath_var_F77
=unsupported
15982 whole_archive_flag_spec_F77
=''
15983 link_all_deplibs_F77
=yes
15984 if test "$GCC" = yes ; then
15985 output_verbose_link_cmd
='echo'
15986 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15987 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15988 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15989 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}'
15990 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}'
15992 case $cc_basename in
15994 output_verbose_link_cmd
='echo'
15995 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15996 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15997 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15998 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}'
15999 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}'
16009 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16010 hardcode_libdir_flag_spec_F77
='-L$libdir'
16011 hardcode_shlibpath_var_F77
=no
16018 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16019 # support. Future versions do this automatically, but an explicit c++rt0.o
16020 # does not break anything, and helps significantly (at the cost of a little
16023 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16024 hardcode_libdir_flag_spec_F77
='-R$libdir'
16025 hardcode_direct_F77
=yes
16026 hardcode_shlibpath_var_F77
=no
16029 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16031 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16032 hardcode_direct_F77
=yes
16033 hardcode_minus_L_F77
=yes
16034 hardcode_shlibpath_var_F77
=no
16037 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16038 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16039 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16040 hardcode_libdir_flag_spec_F77
='-R$libdir'
16041 hardcode_direct_F77
=yes
16042 hardcode_shlibpath_var_F77
=no
16046 if test "$GCC" = yes; then
16047 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'
16049 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'
16051 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16052 hardcode_libdir_separator_F77
=:
16053 hardcode_direct_F77
=yes
16055 # hardcode_minus_L: Not really in the search PATH,
16056 # but as the default location of the library.
16057 hardcode_minus_L_F77
=yes
16058 export_dynamic_flag_spec_F77
='${wl}-E'
16062 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16063 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16065 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16067 if test "$with_gnu_ld" = no
; then
16068 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16069 hardcode_libdir_separator_F77
=:
16071 hardcode_direct_F77
=yes
16072 export_dynamic_flag_spec_F77
='${wl}-E'
16074 # hardcode_minus_L: Not really in the search PATH,
16075 # but as the default location of the library.
16076 hardcode_minus_L_F77
=yes
16081 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16084 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16087 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16090 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16096 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16099 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16102 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16106 if test "$with_gnu_ld" = no
; then
16107 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16108 hardcode_libdir_separator_F77
=:
16112 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
16113 hardcode_direct_F77
=no
16114 hardcode_shlibpath_var_F77
=no
16117 hardcode_direct_F77
=yes
16118 export_dynamic_flag_spec_F77
='${wl}-E'
16120 # hardcode_minus_L: Not really in the search PATH,
16121 # but as the default location of the library.
16122 hardcode_minus_L_F77
=yes
16128 irix5
* | irix6
* | nonstopux
*)
16129 if test "$GCC" = yes; then
16130 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'
16132 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'
16133 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
16135 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16136 hardcode_libdir_separator_F77
=:
16137 link_all_deplibs_F77
=yes
16141 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16142 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16144 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16146 hardcode_libdir_flag_spec_F77
='-R$libdir'
16147 hardcode_direct_F77
=yes
16148 hardcode_shlibpath_var_F77
=no
16152 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16153 hardcode_direct_F77
=yes
16154 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16155 hardcode_libdir_separator_F77
=:
16156 hardcode_shlibpath_var_F77
=no
16160 hardcode_direct_F77
=yes
16161 hardcode_shlibpath_var_F77
=no
16162 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16163 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16164 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16165 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16166 export_dynamic_flag_spec_F77
='${wl}-E'
16169 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16170 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16171 hardcode_libdir_flag_spec_F77
='-R$libdir'
16174 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16175 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16182 hardcode_libdir_flag_spec_F77
='-L$libdir'
16183 hardcode_minus_L_F77
=yes
16184 allow_undefined_flag_F77
=unsupported
16185 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'
16186 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16190 if test "$GCC" = yes; then
16191 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16192 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'
16194 allow_undefined_flag_F77
=' -expect_unresolved \*'
16195 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'
16197 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16198 hardcode_libdir_separator_F77
=:
16201 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16202 if test "$GCC" = yes; then
16203 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16204 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'
16205 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16207 allow_undefined_flag_F77
=' -expect_unresolved \*'
16208 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'
16209 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~
16210 $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'
16212 # Both c and cxx compiler support -rpath directly
16213 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
16215 hardcode_libdir_separator_F77
=:
16219 no_undefined_flag_F77
=' -z text'
16220 if test "$GCC" = yes; then
16222 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16223 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16224 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16227 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16228 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16229 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16231 hardcode_libdir_flag_spec_F77
='-R$libdir'
16232 hardcode_shlibpath_var_F77
=no
16234 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16236 # The compiler driver will combine linker options so we
16237 # cannot just pass the convience library names through
16238 # without $wl, iff we do not link with $LD.
16239 # Luckily, gcc supports the same syntax we need for Sun Studio.
16240 # Supported since Solaris 2.6 (maybe 2.5.1?)
16243 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
16245 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' ;;
16248 link_all_deplibs_F77
=yes
16252 if test "x$host_vendor" = xsequent
; then
16253 # Use $CC to link under sequent, because it throws in some extra .o
16254 # files that make .init and .fini sections work.
16255 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16257 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16259 hardcode_libdir_flag_spec_F77
='-L$libdir'
16260 hardcode_direct_F77
=yes
16261 hardcode_minus_L_F77
=yes
16262 hardcode_shlibpath_var_F77
=no
16266 case $host_vendor in
16268 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16269 hardcode_direct_F77
=yes # is this really true???
16272 ## LD is ld it makes a PLAMLIB
16273 ## CC just makes a GrossModule.
16274 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16275 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16276 hardcode_direct_F77
=no
16279 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16280 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16283 runpath_var
='LD_RUN_PATH'
16284 hardcode_shlibpath_var_F77
=no
16288 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16289 hardcode_shlibpath_var_F77
=no
16290 export_dynamic_flag_spec_F77
='-Bexport'
16294 if test -d /usr
/nec
; then
16295 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16296 hardcode_shlibpath_var_F77
=no
16297 runpath_var
=LD_RUN_PATH
16298 hardcode_runpath_var
=yes
16303 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16304 no_undefined_flag_F77
='${wl}-z,text'
16305 archive_cmds_need_lc_F77
=no
16306 hardcode_shlibpath_var_F77
=no
16307 runpath_var
='LD_RUN_PATH'
16309 if test "$GCC" = yes; then
16310 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16311 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16313 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16314 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16318 sysv5
* | sco3.2v5
* | sco5v6
*)
16319 # Note: We can NOT use -z defs as we might desire, because we do not
16320 # link with -lc, and that would cause any symbols used from libc to
16321 # always be unresolved, which means just about no library would
16322 # ever link correctly. If we're not using GNU ld we use -z text
16323 # though, which does catch some bad symbols but isn't as heavy-handed
16325 no_undefined_flag_F77
='${wl}-z,text'
16326 allow_undefined_flag_F77
='${wl}-z,nodefs'
16327 archive_cmds_need_lc_F77
=no
16328 hardcode_shlibpath_var_F77
=no
16329 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16330 hardcode_libdir_separator_F77
=':'
16331 link_all_deplibs_F77
=yes
16332 export_dynamic_flag_spec_F77
='${wl}-Bexport'
16333 runpath_var
='LD_RUN_PATH'
16335 if test "$GCC" = yes; then
16336 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16337 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16339 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16340 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16345 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16346 hardcode_libdir_flag_spec_F77
='-L$libdir'
16347 hardcode_shlibpath_var_F77
=no
16356 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16357 $as_echo "$ld_shlibs_F77" >&6; }
16358 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16361 # Do we need to explicitly link libc?
16363 case "x$archive_cmds_need_lc_F77" in
16365 # Assume -lc should be added
16366 archive_cmds_need_lc_F77
=yes
16368 if test "$enable_shared" = yes && test "$GCC" = yes; then
16369 case $archive_cmds_F77 in
16371 # FIXME: we may have to deal with multi-command sequences.
16374 # Test whether the compiler implicitly links with -lc since on some
16375 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16376 # to ld, don't add -lc before -lgcc.
16377 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16378 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16380 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16383 (eval $ac_compile) 2>&5
16385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } 2>conftest.err
; then
16389 libobjs
=conftest.
$ac_objext
16391 wl
=$lt_prog_compiler_wl_F77
16392 pic_flag
=$lt_prog_compiler_pic_F77
16398 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
16399 allow_undefined_flag_F77
=
16400 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16401 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); }
16406 archive_cmds_need_lc_F77
=no
16408 archive_cmds_need_lc_F77
=yes
16410 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16412 cat conftest.err
1>&5
16415 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16416 $as_echo "$archive_cmds_need_lc_F77" >&6; }
16423 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16424 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16425 library_names_spec
=
16426 libname_spec
='lib$name'
16430 postuninstall_cmds
=
16434 shlibpath_overrides_runpath
=unknown
16436 dynamic_linker
="$host_os ld.so"
16437 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16438 if test "$GCC" = yes; then
16439 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16440 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16441 # if the path contains ";" then we assume it to be the separator
16442 # otherwise default to the standard path separator (i.e. ":") - it is
16443 # assumed that no part of a normal pathname contains ";" but that should
16444 # okay in the real world where ";" in dirpaths is itself problematic.
16445 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16447 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16450 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16452 need_lib_prefix
=unknown
16453 hardcode_into_libs
=no
16455 # when you set need_version to no, make sure it does not cause -set_version
16456 # flags to be left without arguments
16457 need_version
=unknown
16462 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16463 shlibpath_var
=LIBPATH
16465 # AIX 3 has no versioning support, so we append a major version to the name.
16466 soname_spec
='${libname}${release}${shared_ext}$major'
16473 hardcode_into_libs
=yes
16474 if test "$host_cpu" = ia64
; then
16475 # AIX 5 supports IA64
16476 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16477 shlibpath_var
=LD_LIBRARY_PATH
16479 # With GCC up to 2.95.x, collect2 would create an import file
16480 # for dependence libraries. The import file would start with
16481 # the line `#! .'. This would cause the generated library to
16482 # depend on `.', always an invalid library. This was fixed in
16483 # development snapshots of GCC prior to 3.0.
16485 aix4 | aix4.
[01] | aix4.
[01].
*)
16486 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16488 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16491 can_build_shared
=no
16495 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16496 # soname into executable. Probably we can add versioning support to
16497 # collect2, so additional links can be useful in future.
16498 if test "$aix_use_runtimelinking" = yes; then
16499 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16500 # instead of lib<name>.a to let people know that these are not
16501 # typical AIX shared libraries.
16502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16504 # We preserve .a as extension for shared libraries through AIX4.2
16505 # and later when we are not doing run time linking.
16506 library_names_spec
='${libname}${release}.a $libname.a'
16507 soname_spec
='${libname}${release}${shared_ext}$major'
16509 shlibpath_var
=LIBPATH
16514 library_names_spec
='$libname.ixlibrary $libname.a'
16515 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16516 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'
16520 library_names_spec
='${libname}${shared_ext}'
16521 dynamic_linker
="$host_os ld.so"
16522 shlibpath_var
=LIBRARY_PATH
16528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16529 soname_spec
='${libname}${release}${shared_ext}$major'
16530 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16531 shlibpath_var
=LD_LIBRARY_PATH
16532 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16533 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16534 # the default ld.so.conf also contains /usr/contrib/lib and
16535 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16536 # libtool to hard-code these into programs
16539 cygwin
* | mingw
* | pw32
*)
16540 version_type
=windows
16545 case $GCC,$host_os in
16546 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16547 library_names_spec
='$libname.dll.a'
16548 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16549 postinstall_cmds
='base_file=`basename \${file}`~
16550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16551 dldir=$destdir/`dirname \$dlpath`~
16552 test -d \$dldir || mkdir -p \$dldir~
16553 $install_prog $dir/$dlname \$dldir/$dlname~
16554 chmod a+x \$dldir/$dlname'
16555 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16556 dlpath=$dir/\$dldll~
16558 shlibpath_overrides_runpath
=yes
16562 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16563 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16564 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16567 # MinGW DLLs use traditional 'lib' prefix
16568 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16569 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16570 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16571 # It is most probably a Windows format PATH printed by
16572 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16573 # path with ; separators, and with drive letters. We can handle the
16574 # drive letters (cygwin fileutils understands them), so leave them,
16575 # especially as we might pass files found there to a mingw objdump,
16576 # which wouldn't understand a cygwinified path. Ahh.
16577 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16579 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16583 # pw32 DLLs use 'pw' prefix rather than 'lib'
16584 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16590 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16593 dynamic_linker
='Win32 ld.exe'
16594 # FIXME: first we should search . and the directory the executable is in
16598 darwin
* | rhapsody
*)
16599 dynamic_linker
="$host_os dyld"
16600 version_type
=darwin
16603 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16604 soname_spec
='${libname}${release}${major}$shared_ext'
16605 shlibpath_overrides_runpath
=yes
16606 shlibpath_var
=DYLD_LIBRARY_PATH
16607 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16608 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16609 if test "$GCC" = yes; then
16610 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"`
16612 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16614 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16622 soname_spec
='${libname}${release}${shared_ext}$major'
16623 shlibpath_var
=LD_LIBRARY_PATH
16634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16635 soname_spec
='${libname}${release}${shared_ext}$major'
16636 shlibpath_var
=LD_LIBRARY_PATH
16637 shlibpath_overrides_runpath
=no
16638 hardcode_into_libs
=yes
16639 dynamic_linker
='GNU ld.so'
16642 freebsd
* | dragonfly
*)
16643 # DragonFly does not have aout. When/if they implement a new
16644 # versioning mechanism, adjust this.
16645 if test -x /usr
/bin
/objformat
; then
16646 objformat
=`/usr/bin/objformat`
16649 freebsd
[123]*) objformat
=aout
;;
16650 *) objformat
=elf
;;
16653 version_type
=freebsd-
$objformat
16654 case $version_type in
16656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16661 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16665 shlibpath_var
=LD_LIBRARY_PATH
16668 shlibpath_overrides_runpath
=yes
16670 freebsd3.
[01]* | freebsdelf3.
[01]*)
16671 shlibpath_overrides_runpath
=yes
16672 hardcode_into_libs
=yes
16674 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16675 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16676 shlibpath_overrides_runpath
=no
16677 hardcode_into_libs
=yes
16679 freebsd
*) # from 4.6 on
16680 shlibpath_overrides_runpath
=yes
16681 hardcode_into_libs
=yes
16690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16691 soname_spec
='${libname}${release}${shared_ext}$major'
16692 shlibpath_var
=LD_LIBRARY_PATH
16693 hardcode_into_libs
=yes
16696 hpux9
* | hpux10
* | hpux11
*)
16697 # Give a soname corresponding to the major version so that dld.sl refuses to
16698 # link against other versions.
16705 hardcode_into_libs
=yes
16706 dynamic_linker
="$host_os dld.so"
16707 shlibpath_var
=LD_LIBRARY_PATH
16708 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16710 soname_spec
='${libname}${release}${shared_ext}$major'
16711 if test "X$HPUX_IA64_MODE" = X32
; then
16712 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16714 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16716 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16720 hardcode_into_libs
=yes
16721 dynamic_linker
="$host_os dld.sl"
16722 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16723 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16725 soname_spec
='${libname}${release}${shared_ext}$major'
16726 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16727 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16731 dynamic_linker
="$host_os dld.sl"
16732 shlibpath_var
=SHLIB_PATH
16733 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16735 soname_spec
='${libname}${release}${shared_ext}$major'
16738 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16739 postinstall_cmds
='chmod 555 $lib'
16746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16747 soname_spec
='${libname}${release}${shared_ext}$major'
16748 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16749 shlibpath_var
=LD_LIBRARY_PATH
16750 shlibpath_overrides_runpath
=no
16751 hardcode_into_libs
=yes
16754 irix5
* | irix6
* | nonstopux
*)
16756 nonstopux
*) version_type
=nonstopux
;;
16758 if test "$lt_cv_prog_gnu_ld" = yes; then
16766 soname_spec
='${libname}${release}${shared_ext}$major'
16767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16769 irix5
* | nonstopux
*)
16770 libsuff
= shlibsuff
=
16773 case $LD in # libtool.m4 will add one of these switches to LD
16774 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16775 libsuff
= shlibsuff
= libmagic
=32-bit;;
16776 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16777 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16778 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16779 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16780 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16784 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16785 shlibpath_overrides_runpath
=no
16786 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16787 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16788 hardcode_into_libs
=yes
16791 # No shared lib support for Linux oldld, aout, or coff.
16792 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16796 # This must be Linux ELF.
16801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16802 soname_spec
='${libname}${release}${shared_ext}$major'
16803 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16804 shlibpath_var
=LD_LIBRARY_PATH
16805 shlibpath_overrides_runpath
=no
16806 # This implies no fast_install, which is unacceptable.
16807 # Some rework will be needed to allow for fast_install
16808 # before this can be enabled.
16809 hardcode_into_libs
=yes
16811 # Append ld.so.conf contents to the search path
16812 if test -f /etc
/ld.so.conf
; then
16813 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16814 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16817 # We used to test for /lib/ld.so.1 and disable shared libraries on
16818 # powerpc, because MkLinux only supported shared libraries with the
16819 # GNU dynamic linker. Since this was broken with cross compilers,
16820 # most powerpc-linux boxes support dynamic linking these days and
16821 # people can always --disable-shared, the test was removed, and we
16822 # assume the GNU/Linux dynamic linker is in use.
16823 dynamic_linker
='GNU/Linux ld.so'
16830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16831 soname_spec
='${libname}${release}${shared_ext}$major'
16832 shlibpath_var
=LD_LIBRARY_PATH
16833 shlibpath_overrides_runpath
=no
16834 hardcode_into_libs
=yes
16835 dynamic_linker
='GNU ld.so'
16842 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16844 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16845 dynamic_linker
='NetBSD (a.out) ld.so'
16847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16848 soname_spec
='${libname}${release}${shared_ext}$major'
16849 dynamic_linker
='NetBSD ld.elf_so'
16851 shlibpath_var
=LD_LIBRARY_PATH
16852 shlibpath_overrides_runpath
=yes
16853 hardcode_into_libs
=yes
16858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16859 shlibpath_var
=LD_LIBRARY_PATH
16860 shlibpath_overrides_runpath
=yes
16867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16868 soname_spec
='${libname}${release}${shared_ext}$major'
16869 shlibpath_var
=LD_LIBRARY_PATH
16870 shlibpath_overrides_runpath
=yes
16875 sys_lib_dlsearch_path_spec
="/usr/lib"
16877 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16879 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16880 *) need_version
=no
;;
16882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16883 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16884 shlibpath_var
=LD_LIBRARY_PATH
16885 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16887 openbsd2.
[89] | openbsd2.
[89].
*)
16888 shlibpath_overrides_runpath
=no
16891 shlibpath_overrides_runpath
=yes
16895 shlibpath_overrides_runpath
=yes
16900 libname_spec
='$name'
16903 library_names_spec
='$libname${shared_ext} $libname.a'
16904 dynamic_linker
='OS/2 ld.exe'
16905 shlibpath_var
=LIBPATH
16908 osf3
* | osf4
* | osf5
*)
16912 soname_spec
='${libname}${release}${shared_ext}$major'
16913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16914 shlibpath_var
=LD_LIBRARY_PATH
16915 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16916 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16924 soname_spec
='${libname}${release}${shared_ext}$major'
16925 shlibpath_var
=LD_LIBRARY_PATH
16926 shlibpath_overrides_runpath
=yes
16927 hardcode_into_libs
=yes
16928 # ldd complains unless libraries are executable
16929 postinstall_cmds
='chmod +x $lib'
16934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16935 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16936 shlibpath_var
=LD_LIBRARY_PATH
16937 shlibpath_overrides_runpath
=yes
16938 if test "$with_gnu_ld" = yes; then
16946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16947 soname_spec
='${libname}${release}${shared_ext}$major'
16948 shlibpath_var
=LD_LIBRARY_PATH
16949 case $host_vendor in
16951 shlibpath_overrides_runpath
=no
16953 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16954 runpath_var
=LD_RUN_PATH
16962 shlibpath_overrides_runpath
=no
16963 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16969 if test -d /usr
/nec
;then
16971 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16972 soname_spec
='$libname${shared_ext}.$major'
16973 shlibpath_var
=LD_LIBRARY_PATH
16977 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16978 version_type
=freebsd-elf
16981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16982 soname_spec
='${libname}${release}${shared_ext}$major'
16983 shlibpath_var
=LD_LIBRARY_PATH
16984 hardcode_into_libs
=yes
16985 if test "$with_gnu_ld" = yes; then
16986 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16987 shlibpath_overrides_runpath
=no
16989 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16990 shlibpath_overrides_runpath
=yes
16993 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16997 sys_lib_dlsearch_path_spec
='/usr/lib'
17002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17003 soname_spec
='${libname}${release}${shared_ext}$major'
17004 shlibpath_var
=LD_LIBRARY_PATH
17011 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17012 $as_echo "$dynamic_linker" >&6; }
17013 test "$dynamic_linker" = no
&& can_build_shared
=no
17015 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17016 if test "$GCC" = yes; then
17017 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17020 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17021 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17022 hardcode_action_F77
=
17023 if test -n "$hardcode_libdir_flag_spec_F77" || \
17024 test -n "$runpath_var_F77" || \
17025 test "X$hardcode_automatic_F77" = "Xyes" ; then
17027 # We can hardcode non-existant directories.
17028 if test "$hardcode_direct_F77" != no
&&
17029 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17030 # have to relink, otherwise we might link with an installed library
17031 # when we should be linking with a yet-to-be-installed one
17032 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17033 test "$hardcode_minus_L_F77" != no
; then
17034 # Linking always hardcodes the temporary library directory.
17035 hardcode_action_F77
=relink
17037 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17038 hardcode_action_F77
=immediate
17041 # We cannot hardcode anything, or else we can only hardcode existing
17043 hardcode_action_F77
=unsupported
17045 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17046 $as_echo "$hardcode_action_F77" >&6; }
17048 if test "$hardcode_action_F77" = relink
; then
17049 # Fast installation is not supported
17050 enable_fast_install
=no
17051 elif test "$shlibpath_overrides_runpath" = yes ||
17052 test "$enable_shared" = no
; then
17053 # Fast installation is not necessary
17054 enable_fast_install
=needless
17058 # The else clause should only fire when bootstrapping the
17059 # libtool distribution, otherwise you forgot to ship ltmain.sh
17060 # with your package, and you will get complaints that there are
17061 # no rules to generate ltmain.sh.
17062 if test -f "$ltmain"; then
17063 # See if we are running on zsh, and set the options which allow our commands through
17064 # without removal of \ escapes.
17065 if test -n "${ZSH_VERSION+set}" ; then
17066 setopt NO_GLOB_SUBST
17068 # Now quote all the things that may contain metacharacters while being
17069 # careful not to overquote the AC_SUBSTed values. We take copies of the
17070 # variables and quote the copies for generation of the libtool script.
17071 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17073 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17074 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17075 deplibs_check_method reload_flag reload_cmds need_locks \
17076 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17077 lt_cv_sys_global_symbol_to_c_name_address \
17078 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17079 old_postinstall_cmds old_postuninstall_cmds \
17083 lt_prog_compiler_wl_F77 \
17084 lt_prog_compiler_pic_F77 \
17085 lt_prog_compiler_static_F77 \
17086 lt_prog_compiler_no_builtin_flag_F77 \
17087 export_dynamic_flag_spec_F77 \
17088 thread_safe_flag_spec_F77 \
17089 whole_archive_flag_spec_F77 \
17090 enable_shared_with_static_runtimes_F77 \
17091 old_archive_cmds_F77 \
17092 old_archive_from_new_cmds_F77 \
17093 predep_objects_F77 \
17094 postdep_objects_F77 \
17097 compiler_lib_search_path_F77 \
17099 archive_expsym_cmds_F77 \
17100 postinstall_cmds_F77 \
17101 postuninstall_cmds_F77 \
17102 old_archive_from_expsyms_cmds_F77 \
17103 allow_undefined_flag_F77 \
17104 no_undefined_flag_F77 \
17105 export_symbols_cmds_F77 \
17106 hardcode_libdir_flag_spec_F77 \
17107 hardcode_libdir_flag_spec_ld_F77 \
17108 hardcode_libdir_separator_F77 \
17109 hardcode_automatic_F77 \
17111 module_expsym_cmds_F77 \
17112 lt_cv_prog_compiler_c_o_F77 \
17113 exclude_expsyms_F77 \
17114 include_expsyms_F77
; do
17117 old_archive_cmds_F77 | \
17118 old_archive_from_new_cmds_F77 | \
17119 archive_cmds_F77 | \
17120 archive_expsym_cmds_F77 | \
17121 module_cmds_F77 | \
17122 module_expsym_cmds_F77 | \
17123 old_archive_from_expsyms_cmds_F77 | \
17124 export_symbols_cmds_F77 | \
17125 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17126 postinstall_cmds | postuninstall_cmds | \
17127 old_postinstall_cmds | old_postuninstall_cmds | \
17128 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17129 # Double-quote double-evaled strings.
17130 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17133 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17139 *'\$0 --fallback-echo"')
17140 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17146 cat <<__EOF__ >> "$cfgfile"
17147 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17149 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17151 # Shell to use when invoking shell scripts.
17154 # Whether or not to build shared libraries.
17155 build_libtool_libs=$enable_shared
17157 # Whether or not to build static libraries.
17158 build_old_libs=$enable_static
17160 # Whether or not to add -lc for building shared libraries.
17161 build_libtool_need_lc=$archive_cmds_need_lc_F77
17163 # Whether or not to disallow shared libs when runtime libs are static
17164 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17166 # Whether or not to optimize for fast installation.
17167 fast_install=$enable_fast_install
17170 host_alias=$host_alias
17174 # The build system.
17175 build_alias=$build_alias
17179 # An echo program that does not interpret backslashes.
17184 AR_FLAGS=$lt_AR_FLAGS
17189 # LTCC compiler flags.
17190 LTCFLAGS=$lt_LTCFLAGS
17192 # A language-specific compiler.
17193 CC=$lt_compiler_F77
17195 # Is the compiler the GNU C compiler?
17201 # The linker used to build libraries.
17204 # Whether we need hard or soft links.
17207 # A BSD-compatible nm program.
17210 # A symbol stripping program
17213 # Used to examine libraries when file_magic_cmd begins "file"
17214 MAGIC_CMD=$MAGIC_CMD
17216 # Used on cygwin: DLL creation program.
17219 # Used on cygwin: object dumper.
17222 # Used on cygwin: assembler.
17225 # The name of the directory that contains temporary libtool files.
17228 # How to create reloadable object files.
17229 reload_flag=$lt_reload_flag
17230 reload_cmds=$lt_reload_cmds
17232 # How to pass a linker flag through the compiler.
17233 wl=$lt_lt_prog_compiler_wl_F77
17235 # Object file suffix (normally "o").
17236 objext="$ac_objext"
17238 # Old archive suffix (normally "a").
17241 # Shared library suffix (normally ".so").
17242 shrext_cmds='$shrext_cmds'
17244 # Executable file suffix (normally "").
17247 # Additional compiler flags for building library objects.
17248 pic_flag=$lt_lt_prog_compiler_pic_F77
17251 # What is the maximum length of a command?
17252 max_cmd_len=$lt_cv_sys_max_cmd_len
17254 # Does compiler simultaneously support -c and -o options?
17255 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17257 # Must we lock files when doing compilation?
17258 need_locks=$lt_need_locks
17260 # Do we need the lib prefix for modules?
17261 need_lib_prefix=$need_lib_prefix
17263 # Do we need a version for libraries?
17264 need_version=$need_version
17266 # Whether dlopen is supported.
17267 dlopen_support=$enable_dlopen
17269 # Whether dlopen of programs is supported.
17270 dlopen_self=$enable_dlopen_self
17272 # Whether dlopen of statically linked programs is supported.
17273 dlopen_self_static=$enable_dlopen_self_static
17275 # Compiler flag to prevent dynamic linking.
17276 link_static_flag=$lt_lt_prog_compiler_static_F77
17278 # Compiler flag to turn off builtin functions.
17279 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17281 # Compiler flag to allow reflexive dlopens.
17282 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17284 # Compiler flag to generate shared objects directly from archives.
17285 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17287 # Compiler flag to generate thread-safe objects.
17288 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17290 # Library versioning type.
17291 version_type=$version_type
17293 # Format of library name prefix.
17294 libname_spec=$lt_libname_spec
17296 # List of archive names. First name is the real one, the rest are links.
17297 # The last name is the one that the linker finds with -lNAME.
17298 library_names_spec=$lt_library_names_spec
17300 # The coded name of the library, if different from the real name.
17301 soname_spec=$lt_soname_spec
17303 # Commands used to build and install an old-style archive.
17305 old_archive_cmds=$lt_old_archive_cmds_F77
17306 old_postinstall_cmds=$lt_old_postinstall_cmds
17307 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17309 # Create an old-style archive from a shared archive.
17310 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17312 # Create a temporary old-style archive to link instead of a shared archive.
17313 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17315 # Commands used to build and install a shared archive.
17316 archive_cmds=$lt_archive_cmds_F77
17317 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17318 postinstall_cmds=$lt_postinstall_cmds
17319 postuninstall_cmds=$lt_postuninstall_cmds
17321 # Commands used to build a loadable module (assumed same as above if empty)
17322 module_cmds=$lt_module_cmds_F77
17323 module_expsym_cmds=$lt_module_expsym_cmds_F77
17325 # Commands to strip libraries.
17326 old_striplib=$lt_old_striplib
17327 striplib=$lt_striplib
17329 # Dependencies to place before the objects being linked to create a
17331 predep_objects=$lt_predep_objects_F77
17333 # Dependencies to place after the objects being linked to create a
17335 postdep_objects=$lt_postdep_objects_F77
17337 # Dependencies to place before the objects being linked to create a
17339 predeps=$lt_predeps_F77
17341 # Dependencies to place after the objects being linked to create a
17343 postdeps=$lt_postdeps_F77
17345 # The library search path used internally by the compiler when linking
17346 # a shared library.
17347 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17349 # Method to check whether dependent libraries are shared objects.
17350 deplibs_check_method=$lt_deplibs_check_method
17352 # Command to use when deplibs_check_method == file_magic.
17353 file_magic_cmd=$lt_file_magic_cmd
17355 # Flag that allows shared libraries with undefined symbols to be built.
17356 allow_undefined_flag=$lt_allow_undefined_flag_F77
17358 # Flag that forces no undefined symbols.
17359 no_undefined_flag=$lt_no_undefined_flag_F77
17361 # Commands used to finish a libtool library installation in a directory.
17362 finish_cmds=$lt_finish_cmds
17364 # Same as above, but a single script fragment to be evaled but not shown.
17365 finish_eval=$lt_finish_eval
17367 # Take the output of nm and produce a listing of raw symbols and C names.
17368 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17370 # Transform the output of nm in a proper C declaration
17371 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17373 # Transform the output of nm in a C name address pair
17374 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17376 # This is the shared library runtime path variable.
17377 runpath_var=$runpath_var
17379 # This is the shared library path variable.
17380 shlibpath_var=$shlibpath_var
17382 # Is shlibpath searched before the hard-coded library search path?
17383 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17385 # How to hardcode a shared library path into an executable.
17386 hardcode_action=$hardcode_action_F77
17388 # Whether we should hardcode library paths into libraries.
17389 hardcode_into_libs=$hardcode_into_libs
17391 # Flag to hardcode \$libdir into a binary during linking.
17392 # This must work even if \$libdir does not exist.
17393 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17395 # If ld is used when linking, flag to hardcode \$libdir into
17396 # a binary during linking. This must work even if \$libdir does
17398 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17400 # Whether we need a single -rpath flag with a separated argument.
17401 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17403 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17404 # resulting binary.
17405 hardcode_direct=$hardcode_direct_F77
17407 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17408 # resulting binary.
17409 hardcode_minus_L=$hardcode_minus_L_F77
17411 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17412 # the resulting binary.
17413 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17415 # Set to yes if building a shared library automatically hardcodes DIR into the library
17416 # and all subsequent libraries and executables linked against it.
17417 hardcode_automatic=$hardcode_automatic_F77
17419 # Variables whose values should be saved in libtool wrapper scripts and
17420 # restored at relink time.
17421 variables_saved_for_relink="$variables_saved_for_relink"
17423 # Whether libtool must link a program against all its dependency libraries.
17424 link_all_deplibs=$link_all_deplibs_F77
17426 # Compile-time system search path for libraries
17427 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17429 # Run-time system search path for libraries
17430 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17432 # Fix the shell variable \$srcfile for the compiler.
17433 fix_srcfile_path="$fix_srcfile_path_F77"
17435 # Set to yes if exported symbols are required.
17436 always_export_symbols=$always_export_symbols_F77
17438 # The commands to list exported symbols.
17439 export_symbols_cmds=$lt_export_symbols_cmds_F77
17441 # The commands to extract the exported symbol list from a shared archive.
17442 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17444 # Symbols that should not be listed in the preloaded symbols.
17445 exclude_expsyms=$lt_exclude_expsyms_F77
17447 # Symbols that must always be exported.
17448 include_expsyms=$lt_include_expsyms_F77
17450 # ### END LIBTOOL TAG CONFIG: $tagname
17456 # If there is no Makefile yet, we rely on a make rule to execute
17457 # `config.status --recheck' to rerun these tests and create the
17458 # libtool script then.
17459 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17460 if test -f "$ltmain_in"; then
17461 test -f Makefile
&& make "$ltmain"
17467 ac_cpp
='$CPP $CPPFLAGS'
17468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17480 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17483 # Source file extension for Java test sources.
17486 # Object file extension for compiled Java test sources.
17490 # Code to be used in simple compile tests
17491 lt_simple_compile_test_code
="class foo {}\n"
17493 # Code to be used in simple link tests
17494 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
17496 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17498 # If no C compiler was specified, use CC.
17501 # If no C compiler flags were specified, use CFLAGS.
17502 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17504 # Allow CC to be a program name with arguments.
17508 # save warnings/boilerplate of simple test code
17509 ac_outfile
=conftest.
$ac_objext
17510 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
17511 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17512 _lt_compiler_boilerplate
=`cat conftest.err`
17515 ac_outfile
=conftest.
$ac_objext
17516 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
17517 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17518 _lt_linker_boilerplate
=`cat conftest.err`
17522 # Allow CC to be a program name with arguments.
17527 for cc_temp
in $compiler""; do
17529 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17530 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17535 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17538 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17539 archive_cmds_need_lc_GCJ
=no
17541 old_archive_cmds_GCJ
=$old_archive_cmds
17544 lt_prog_compiler_no_builtin_flag_GCJ
=
17546 if test "$GCC" = yes; then
17547 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17550 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17551 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17552 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17553 $as_echo_n "(cached) " >&6
17555 lt_cv_prog_compiler_rtti_exceptions
=no
17556 ac_outfile
=conftest.
$ac_objext
17557 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17558 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17559 # Insert the option either (1) after the last *FLAGS variable, or
17560 # (2) before a word containing "conftest.", or (3) at the end.
17561 # Note that $ac_compile itself does not contain backslashes and begins
17562 # with a dollar sign (not a hyphen), so the echo should work correctly.
17563 # The option is referenced via a variable to avoid confusing sed.
17564 lt_compile
=`echo "$ac_compile" | $SED \
17565 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17567 -e 's:$: $lt_compiler_flag:'`
17568 (eval echo "\"\$as_me:17568: $lt_compile\"" >&5)
17569 (eval "$lt_compile" 2>conftest.err
)
17571 cat conftest.err
>&5
17572 echo "$as_me:17572: \$? = $ac_status" >&5
17573 if (exit $ac_status) && test -s "$ac_outfile"; then
17574 # The compiler can only warn and ignore the option if not recognized
17575 # So say no if there are warnings other than the usual output.
17576 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17577 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17578 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17579 lt_cv_prog_compiler_rtti_exceptions
=yes
17585 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17586 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17588 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17589 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17596 lt_prog_compiler_wl_GCJ
=
17597 lt_prog_compiler_pic_GCJ
=
17598 lt_prog_compiler_static_GCJ
=
17600 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17601 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17603 if test "$GCC" = yes; then
17604 lt_prog_compiler_wl_GCJ
='-Wl,'
17605 lt_prog_compiler_static_GCJ
='-static'
17609 # All AIX code is PIC.
17610 if test "$host_cpu" = ia64
; then
17611 # AIX 5 now supports IA64 processor
17612 lt_prog_compiler_static_GCJ
='-Bstatic'
17617 # FIXME: we need at least 68020 code to build shared libraries, but
17618 # adding the `-m68020' flag to GCC prevents building anything better,
17620 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17623 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17624 # PIC is the default for these OSes.
17627 mingw
* | pw32
* | os2
*)
17628 # This hack is so that the source file can tell whether it is being
17629 # built for inclusion in a dll (and should export symbols for example).
17630 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17633 darwin
* | rhapsody
*)
17634 # PIC is the default on this platform
17635 # Common symbols not allowed in MH_DYLIB files
17636 lt_prog_compiler_pic_GCJ
='-fno-common'
17640 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17641 # Instead, we relocate shared libraries at runtime.
17645 # Just because we use GCC doesn't mean we suddenly get shared libraries
17646 # on systems that don't support them.
17647 lt_prog_compiler_can_build_shared_GCJ
=no
17652 if test -d /usr
/nec
; then
17653 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17658 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17659 # not for PA HP-UX.
17665 lt_prog_compiler_pic_GCJ
='-fPIC'
17671 lt_prog_compiler_pic_GCJ
='-fPIC'
17675 # PORTME Check for flag to pass linker flags through the system compiler.
17678 lt_prog_compiler_wl_GCJ
='-Wl,'
17679 if test "$host_cpu" = ia64
; then
17680 # AIX 5 now supports IA64 processor
17681 lt_prog_compiler_static_GCJ
='-Bstatic'
17683 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17687 # PIC is the default on this platform
17688 # Common symbols not allowed in MH_DYLIB files
17689 case $cc_basename in
17691 lt_prog_compiler_pic_GCJ
='-qnocommon'
17692 lt_prog_compiler_wl_GCJ
='-Wl,'
17697 mingw
* | pw32
* | os2
*)
17698 # This hack is so that the source file can tell whether it is being
17699 # built for inclusion in a dll (and should export symbols for example).
17700 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17703 hpux9
* | hpux10
* | hpux11
*)
17704 lt_prog_compiler_wl_GCJ
='-Wl,'
17705 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17706 # not for PA HP-UX.
17712 lt_prog_compiler_pic_GCJ
='+Z'
17715 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17716 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17719 irix5
* | irix6
* | nonstopux
*)
17720 lt_prog_compiler_wl_GCJ
='-Wl,'
17721 # PIC (with -KPIC) is the default.
17722 lt_prog_compiler_static_GCJ
='-non_shared'
17726 lt_prog_compiler_pic_GCJ
='-KPIC'
17727 lt_prog_compiler_static_GCJ
='-Bstatic'
17731 case $cc_basename in
17733 lt_prog_compiler_wl_GCJ
='-Wl,'
17734 lt_prog_compiler_pic_GCJ
='-KPIC'
17735 lt_prog_compiler_static_GCJ
='-static'
17737 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17738 # Portland Group compilers (*not* the Pentium gcc compiler,
17739 # which looks to be a dead project)
17740 lt_prog_compiler_wl_GCJ
='-Wl,'
17741 lt_prog_compiler_pic_GCJ
='-fpic'
17742 lt_prog_compiler_static_GCJ
='-Bstatic'
17745 lt_prog_compiler_wl_GCJ
='-Wl,'
17746 # All Alpha code is PIC.
17747 lt_prog_compiler_static_GCJ
='-non_shared'
17752 osf3
* | osf4
* | osf5
*)
17753 lt_prog_compiler_wl_GCJ
='-Wl,'
17754 # All OSF/1 code is PIC.
17755 lt_prog_compiler_static_GCJ
='-non_shared'
17759 lt_prog_compiler_pic_GCJ
='-KPIC'
17760 lt_prog_compiler_static_GCJ
='-Bstatic'
17761 case $cc_basename in
17762 f77
* | f90
* | f95
*)
17763 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17765 lt_prog_compiler_wl_GCJ
='-Wl,';;
17770 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17771 lt_prog_compiler_pic_GCJ
='-PIC'
17772 lt_prog_compiler_static_GCJ
='-Bstatic'
17775 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17776 lt_prog_compiler_wl_GCJ
='-Wl,'
17777 lt_prog_compiler_pic_GCJ
='-KPIC'
17778 lt_prog_compiler_static_GCJ
='-Bstatic'
17782 if test -d /usr
/nec
;then
17783 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17784 lt_prog_compiler_static_GCJ
='-Bstatic'
17788 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17789 lt_prog_compiler_wl_GCJ
='-Wl,'
17790 lt_prog_compiler_pic_GCJ
='-KPIC'
17791 lt_prog_compiler_static_GCJ
='-Bstatic'
17795 lt_prog_compiler_wl_GCJ
='-Wl,'
17796 lt_prog_compiler_can_build_shared_GCJ
=no
17800 lt_prog_compiler_pic_GCJ
='-pic'
17801 lt_prog_compiler_static_GCJ
='-Bstatic'
17805 lt_prog_compiler_can_build_shared_GCJ
=no
17810 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17811 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17814 # Check to make sure the PIC flag actually works.
17816 if test -n "$lt_prog_compiler_pic_GCJ"; then
17818 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17819 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17820 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17821 $as_echo_n "(cached) " >&6
17823 lt_prog_compiler_pic_works_GCJ
=no
17824 ac_outfile
=conftest.
$ac_objext
17825 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17826 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17827 # Insert the option either (1) after the last *FLAGS variable, or
17828 # (2) before a word containing "conftest.", or (3) at the end.
17829 # Note that $ac_compile itself does not contain backslashes and begins
17830 # with a dollar sign (not a hyphen), so the echo should work correctly.
17831 # The option is referenced via a variable to avoid confusing sed.
17832 lt_compile
=`echo "$ac_compile" | $SED \
17833 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17834 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17835 -e 's:$: $lt_compiler_flag:'`
17836 (eval echo "\"\$as_me:17836: $lt_compile\"" >&5)
17837 (eval "$lt_compile" 2>conftest.err
)
17839 cat conftest.err
>&5
17840 echo "$as_me:17840: \$? = $ac_status" >&5
17841 if (exit $ac_status) && test -s "$ac_outfile"; then
17842 # The compiler can only warn and ignore the option if not recognized
17843 # So say no if there are warnings other than the usual output.
17844 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17845 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17846 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17847 lt_prog_compiler_pic_works_GCJ
=yes
17853 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17854 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
17856 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
17857 case $lt_prog_compiler_pic_GCJ in
17859 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17862 lt_prog_compiler_pic_GCJ
=
17863 lt_prog_compiler_can_build_shared_GCJ
=no
17868 # For platforms which do not support PIC, -DPIC is meaningless:
17870 lt_prog_compiler_pic_GCJ
=
17873 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17878 # Check to make sure the static flag actually works.
17880 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17881 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17882 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17883 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17884 $as_echo_n "(cached) " >&6
17886 lt_prog_compiler_static_works_GCJ
=no
17887 save_LDFLAGS
="$LDFLAGS"
17888 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17889 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
17890 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17891 # The linker can only warn and ignore the option if not recognized
17892 # So say no if there are warnings
17893 if test -s conftest.err
; then
17894 # Append any errors to the config.log.
17895 cat conftest.err
1>&5
17896 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17897 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17898 if diff conftest.exp conftest.er2
>/dev
/null
; then
17899 lt_prog_compiler_static_works_GCJ
=yes
17902 lt_prog_compiler_static_works_GCJ
=yes
17906 LDFLAGS
="$save_LDFLAGS"
17909 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17910 $as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }
17912 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
17915 lt_prog_compiler_static_GCJ
=
17919 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17921 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17922 $as_echo_n "(cached) " >&6
17924 lt_cv_prog_compiler_c_o_GCJ
=no
17925 $rm -r conftest
2>/dev
/null
17929 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17931 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17932 # Insert the option either (1) after the last *FLAGS variable, or
17933 # (2) before a word containing "conftest.", or (3) at the end.
17934 # Note that $ac_compile itself does not contain backslashes and begins
17935 # with a dollar sign (not a hyphen), so the echo should work correctly.
17936 lt_compile
=`echo "$ac_compile" | $SED \
17937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17939 -e 's:$: $lt_compiler_flag:'`
17940 (eval echo "\"\$as_me:17940: $lt_compile\"" >&5)
17941 (eval "$lt_compile" 2>out
/conftest.err
)
17943 cat out
/conftest.err
>&5
17944 echo "$as_me:17944: \$? = $ac_status" >&5
17945 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17947 # The compiler can only warn and ignore the option if not recognized
17948 # So say no if there are warnings
17949 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17950 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17951 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17952 lt_cv_prog_compiler_c_o_GCJ
=yes
17957 # SGI C++ compiler will create directory out/ii_files/ for
17958 # template instantiation
17959 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17960 $rm out
/* && rmdir out
17966 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17967 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17970 hard_links
="nottested"
17971 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17972 # do not overwrite the value of need_locks provided by the user
17973 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17974 $as_echo_n "checking if we can lock with hard links... " >&6; }
17977 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17979 ln conftest.a conftest.b
2>&5 || hard_links
=no
17980 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17981 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17982 $as_echo "$hard_links" >&6; }
17983 if test "$hard_links" = no
; then
17984 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17985 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17992 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17993 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17996 allow_undefined_flag_GCJ
=
17997 enable_shared_with_static_runtimes_GCJ
=no
17999 archive_expsym_cmds_GCJ
=
18000 old_archive_From_new_cmds_GCJ
=
18001 old_archive_from_expsyms_cmds_GCJ
=
18002 export_dynamic_flag_spec_GCJ
=
18003 whole_archive_flag_spec_GCJ
=
18004 thread_safe_flag_spec_GCJ
=
18005 hardcode_libdir_flag_spec_GCJ
=
18006 hardcode_libdir_flag_spec_ld_GCJ
=
18007 hardcode_libdir_separator_GCJ
=
18008 hardcode_direct_GCJ
=no
18009 hardcode_minus_L_GCJ
=no
18010 hardcode_shlibpath_var_GCJ
=unsupported
18011 link_all_deplibs_GCJ
=unknown
18012 hardcode_automatic_GCJ
=no
18014 module_expsym_cmds_GCJ
=
18015 always_export_symbols_GCJ
=no
18016 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18017 # include_expsyms should be a list of space-separated symbols to be *always*
18018 # included in the symbol list
18019 include_expsyms_GCJ
=
18020 # exclude_expsyms can be an extended regexp of symbols to exclude
18021 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18022 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18023 # as well as any symbol that contains `d'.
18024 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
18025 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18026 # platforms (ab)use it in PIC code, but their linkers get confused if
18027 # the symbol is explicitly referenced. Since portable code cannot
18028 # rely on this symbol name, it's probably fine to never include it in
18029 # preloaded symbol tables.
18030 extract_expsyms_cmds
=
18031 # Just being paranoid about ensuring that cc_basename is set.
18032 for cc_temp
in $compiler""; do
18034 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18035 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18040 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18043 cygwin
* | mingw
* | pw32
*)
18044 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18045 # When not using gcc, we currently assume that we are using
18046 # Microsoft Visual C++.
18047 if test "$GCC" != yes; then
18052 # we just hope/assume this is gcc and not c89 (= MSVC++)
18061 if test "$with_gnu_ld" = yes; then
18062 # If archive_cmds runs LD, not CC, wlarc should be empty
18065 # Set some defaults for GNU ld with shared library support. These
18066 # are reset later if shared libraries are not supported. Putting them
18067 # here allows them to be overridden if necessary.
18068 runpath_var
=LD_RUN_PATH
18069 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
18070 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
18071 # ancient GNU ld didn't support --whole-archive et. al.
18072 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
18073 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18075 whole_archive_flag_spec_GCJ
=
18077 supports_anon_versioning
=no
18078 case `$LD -v 2>/dev/null` in
18079 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
18080 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
18081 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
18082 *\
2.11.
*) ;; # other 2.11 versions
18083 *) supports_anon_versioning
=yes ;;
18086 # See if GNU ld supports shared libraries.
18088 aix3
* | aix4
* | aix5
*)
18089 # On AIX/PPC, the GNU linker is very broken
18090 if test "$host_cpu" != ia64
; then
18094 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18095 *** to be unable to reliably create shared libraries on AIX.
18096 *** Therefore, libtool is disabling shared libraries support. If you
18097 *** really care for shared libraries, you may want to modify your PATH
18098 *** so that a non-GNU linker is found, and then restart.
18105 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)'
18106 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18107 hardcode_minus_L_GCJ
=yes
18109 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18110 # that the semantics of dynamic libraries on AmigaOS, at least up
18111 # to version 4, is to share data among multiple programs linked
18112 # with the same dynamic library. Since this doesn't match the
18113 # behavior of shared libraries on other platforms, we can't use
18119 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18120 allow_undefined_flag_GCJ
=unsupported
18121 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18122 # support --undefined. This deserves some investigation. FIXME
18123 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18129 cygwin
* | mingw
* | pw32
*)
18130 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18131 # as there is no search path for DLLs.
18132 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18133 allow_undefined_flag_GCJ
=unsupported
18134 always_export_symbols_GCJ
=no
18135 enable_shared_with_static_runtimes_GCJ
=yes
18136 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18138 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
18139 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18140 # If the export-symbols file already is a .def file (1st line
18141 # is EXPORTS), use it as is; otherwise, prepend...
18142 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18143 cp $export_symbols $output_objdir/$soname.def;
18145 echo EXPORTS > $output_objdir/$soname.def;
18146 cat $export_symbols >> $output_objdir/$soname.def;
18148 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18155 hardcode_direct_GCJ
=no
18156 hardcode_shlibpath_var_GCJ
=no
18157 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18158 export_dynamic_flag_spec_GCJ
='${wl}-E'
18159 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18160 # Instead, shared libraries are loaded at an image base (0x10000000 by
18161 # default) and relocated if they conflict, which is a slow very memory
18162 # consuming and fragmenting process. To avoid this, we pick a random,
18163 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18164 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18165 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'
18166 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'
18170 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18172 case $cc_basename,$host_cpu in
18173 pgcc
*) # Portland Group C compiler
18174 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'
18175 tmp_addflag
=' $pic_flag'
18177 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
18178 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'
18179 tmp_addflag
=' $pic_flag -Mnomain' ;;
18180 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18181 tmp_addflag
=' -i_dynamic' ;;
18182 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18183 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18184 ifc
* | ifort
*) # Intel Fortran compiler
18185 tmp_addflag
=' -nofor_main' ;;
18187 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18189 if test $supports_anon_versioning = yes; then
18190 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
18191 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18192 $echo "local: *; };" >> $output_objdir/$libname.ver~
18193 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18201 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18202 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18205 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18206 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18211 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
18215 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18216 *** create shared libraries on Solaris systems. Therefore, libtool
18217 *** is disabling shared libraries support. We urge you to upgrade GNU
18218 *** binutils to release 2.9.1 or newer. Another option is to modify
18219 *** your PATH or compiler configuration so that the native linker is
18220 *** used, and then restart.
18223 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18224 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18225 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18231 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18232 case `$LD -v 2>&1` in
18233 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18237 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18238 *** reliably create shared libraries on SCO systems. Therefore, libtool
18239 *** is disabling shared libraries support. We urge you to upgrade GNU
18240 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18241 *** your PATH or compiler configuration so that the native linker is
18242 *** used, and then restart.
18247 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18248 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18249 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18250 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18259 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18261 hardcode_direct_GCJ
=yes
18262 hardcode_shlibpath_var_GCJ
=no
18266 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18267 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18268 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18275 if test "$ld_shlibs_GCJ" = no
; then
18277 hardcode_libdir_flag_spec_GCJ
=
18278 export_dynamic_flag_spec_GCJ
=
18279 whole_archive_flag_spec_GCJ
=
18282 # PORTME fill in a description of your system's linker (not GNU ld)
18285 allow_undefined_flag_GCJ
=unsupported
18286 always_export_symbols_GCJ
=yes
18287 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'
18288 # Note: this linker hardcodes the directories in LIBPATH if there
18289 # are no directories specified by -L.
18290 hardcode_minus_L_GCJ
=yes
18291 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18292 # Neither direct hardcoding nor static linking is supported with a
18294 hardcode_direct_GCJ
=unsupported
18299 if test "$host_cpu" = ia64
; then
18300 # On IA64, the linker does run time linking by default, so we don't
18301 # have to do anything special.
18302 aix_use_runtimelinking
=no
18303 exp_sym_flag
='-Bexport'
18306 # If we're using GNU nm, then we don't want the "-C" option.
18307 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18308 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
18309 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'
18311 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'
18313 aix_use_runtimelinking
=no
18315 # Test if we are trying to use run time linking or normal
18316 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18317 # need to do runtime linking.
18318 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
18319 for ld_flag
in $LDFLAGS; do
18320 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18321 aix_use_runtimelinking
=yes
18328 exp_sym_flag
='-bexport'
18329 no_entry_flag
='-bnoentry'
18332 # When large executables or shared objects are built, AIX ld can
18333 # have problems creating the table of contents. If linking a library
18334 # or program results in "error TOC overflow" add -mminimal-toc to
18335 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18336 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18338 archive_cmds_GCJ
=''
18339 hardcode_direct_GCJ
=yes
18340 hardcode_libdir_separator_GCJ
=':'
18341 link_all_deplibs_GCJ
=yes
18343 if test "$GCC" = yes; then
18344 case $host_os in aix4.
[012]|aix4.
[012].
*)
18345 # We only want to do this on AIX 4.2 and lower, the check
18346 # below for broken collect2 doesn't work under 4.3+
18347 collect2name
=`${CC} -print-prog-name=collect2`
18348 if test -f "$collect2name" && \
18349 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
18351 # We have reworked collect2
18352 hardcode_direct_GCJ
=yes
18354 # We have old collect2
18355 hardcode_direct_GCJ
=unsupported
18356 # It fails to find uninstalled libraries when the uninstalled
18357 # path is not listed in the libpath. Setting hardcode_minus_L
18358 # to unsupported forces relinking
18359 hardcode_minus_L_GCJ
=yes
18360 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18361 hardcode_libdir_separator_GCJ
=
18365 shared_flag
='-shared'
18366 if test "$aix_use_runtimelinking" = yes; then
18367 shared_flag
="$shared_flag "'${wl}-G'
18371 if test "$host_cpu" = ia64
; then
18372 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18373 # chokes on -Wl,-G. The following line is correct:
18376 if test "$aix_use_runtimelinking" = yes; then
18377 shared_flag
='${wl}-G'
18379 shared_flag
='${wl}-bM:SRE'
18384 # It seems that -bexpall does not export symbols beginning with
18385 # underscore (_), so it is better to generate a list of symbols to export.
18386 always_export_symbols_GCJ
=yes
18387 if test "$aix_use_runtimelinking" = yes; then
18388 # Warning - without using the other runtime loading flags (-brtl),
18389 # -berok will link without error, but may produce a broken library.
18390 allow_undefined_flag_GCJ
='-berok'
18391 # Determine the default libpath from the value encoded in an empty executable.
18392 cat >conftest.
$ac_ext <<_ACEOF
18395 cat confdefs.h
>>conftest.
$ac_ext
18396 cat >>conftest.
$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18407 rm -f conftest.
$ac_objext conftest
$ac_exeext
18408 if { (ac_try
="$ac_link"
18409 case "(($ac_try" in
18410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18411 *) ac_try_echo=$ac_try;;
18413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18414 $as_echo "$ac_try_echo") >&5
18415 (eval "$ac_link") 2>conftest.er1
18417 grep -v '^ *+' conftest.er1 >conftest.err
18419 cat conftest.err >&5
18420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } && {
18422 test -z "$ac_c_werror_flag" ||
18423 test ! -s conftest.err
18424 } && test -s conftest$ac_exeext && {
18425 test "$cross_compiling" = yes ||
18426 $as_test_x conftest$ac_exeext
18429 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18431 # Check for a 64-bit object if we didn't find anything.
18432 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; }
18435 $as_echo "$as_me: failed program was:" >&5
18436 sed 's/^/| /' conftest.$ac_ext >&5
18441 rm -rf conftest.dSYM
18442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18443 conftest$ac_exeext conftest.$ac_ext
18444 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18446 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18447 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"
18449 if test "$host_cpu" = ia64; then
18450 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18451 allow_undefined_flag_GCJ="-z nodefs"
18452 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"
18454 # Determine the default libpath from the value encoded in an empty executable.
18455 cat >conftest.$ac_ext <<_ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18470 rm -f conftest.$ac_objext conftest$ac_exeext
18471 if { (ac_try="$ac_link"
18472 case "(($ac_try" in
18473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18474 *) ac_try_echo
=$ac_try;;
18476 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
18477 $as_echo "$ac_try_echo") >&5
18478 (eval "$ac_link") 2>conftest.er1
18480 grep -v '^ *+' conftest.er1
>conftest.err
18482 cat conftest.err
>&5
18483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); } && {
18485 test -z "$ac_c_werror_flag" ||
18486 test ! -s conftest.err
18487 } && test -s conftest
$ac_exeext && {
18488 test "$cross_compiling" = yes ||
18489 $as_test_x conftest
$ac_exeext
18492 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18494 # Check for a 64-bit object if we didn't find anything.
18495 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; }
18498 $as_echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.
$ac_ext >&5
18504 rm -rf conftest.dSYM
18505 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18506 conftest
$ac_exeext conftest.
$ac_ext
18507 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18509 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18510 # Warning - without using the other run time loading flags,
18511 # -berok will link without error, but may produce a broken library.
18512 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18513 allow_undefined_flag_GCJ
=' ${wl}-berok'
18514 # Exported symbols can be pulled into shared objects from archives
18515 whole_archive_flag_spec_GCJ
='$convenience'
18516 archive_cmds_need_lc_GCJ
=yes
18517 # This is similar to how AIX traditionally builds its shared libraries.
18518 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'
18524 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)'
18525 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18526 hardcode_minus_L_GCJ
=yes
18527 # see comment about different semantics on the GNU ld section
18532 export_dynamic_flag_spec_GCJ
=-rdynamic
18535 cygwin
* | mingw
* | pw32
*)
18536 # When not using gcc, we currently assume that we are using
18537 # Microsoft Visual C++.
18538 # hardcode_libdir_flag_spec is actually meaningless, as there is
18539 # no search path for DLLs.
18540 hardcode_libdir_flag_spec_GCJ
=' '
18541 allow_undefined_flag_GCJ
=unsupported
18542 # Tell ltmain to make .lib files, not .a files.
18544 # Tell ltmain to make .dll files, not .so files.
18546 # FIXME: Setting linknames here is a bad hack.
18547 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18548 # The linker will automatically build a .lib file if we build a DLL.
18549 old_archive_From_new_cmds_GCJ
='true'
18550 # FIXME: Should let the user specify the lib program.
18551 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
18552 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18553 enable_shared_with_static_runtimes_GCJ
=yes
18556 darwin
* | rhapsody
*)
18558 rhapsody
* | darwin1.
[012])
18559 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18562 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18563 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18565 case ${MACOSX_DEPLOYMENT_TARGET} in
18567 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18570 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18576 archive_cmds_need_lc_GCJ
=no
18577 hardcode_direct_GCJ
=no
18578 hardcode_automatic_GCJ
=yes
18579 hardcode_shlibpath_var_GCJ
=unsupported
18580 whole_archive_flag_spec_GCJ
=''
18581 link_all_deplibs_GCJ
=yes
18582 if test "$GCC" = yes ; then
18583 output_verbose_link_cmd
='echo'
18584 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18585 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18586 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18587 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}'
18588 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}'
18590 case $cc_basename in
18592 output_verbose_link_cmd
='echo'
18593 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18594 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18595 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18596 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}'
18597 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}'
18607 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18608 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18609 hardcode_shlibpath_var_GCJ
=no
18616 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18617 # support. Future versions do this automatically, but an explicit c++rt0.o
18618 # does not break anything, and helps significantly (at the cost of a little
18621 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18622 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18623 hardcode_direct_GCJ
=yes
18624 hardcode_shlibpath_var_GCJ
=no
18627 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18629 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18630 hardcode_direct_GCJ
=yes
18631 hardcode_minus_L_GCJ
=yes
18632 hardcode_shlibpath_var_GCJ
=no
18635 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18636 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
18637 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18638 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18639 hardcode_direct_GCJ
=yes
18640 hardcode_shlibpath_var_GCJ
=no
18644 if test "$GCC" = yes; then
18645 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'
18647 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'
18649 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18650 hardcode_libdir_separator_GCJ
=:
18651 hardcode_direct_GCJ
=yes
18653 # hardcode_minus_L: Not really in the search PATH,
18654 # but as the default location of the library.
18655 hardcode_minus_L_GCJ
=yes
18656 export_dynamic_flag_spec_GCJ
='${wl}-E'
18660 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18661 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18663 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18665 if test "$with_gnu_ld" = no
; then
18666 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18667 hardcode_libdir_separator_GCJ
=:
18669 hardcode_direct_GCJ
=yes
18670 export_dynamic_flag_spec_GCJ
='${wl}-E'
18672 # hardcode_minus_L: Not really in the search PATH,
18673 # but as the default location of the library.
18674 hardcode_minus_L_GCJ
=yes
18679 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18682 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18685 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18688 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18694 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18697 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18700 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18704 if test "$with_gnu_ld" = no
; then
18705 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18706 hardcode_libdir_separator_GCJ
=:
18710 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18711 hardcode_direct_GCJ
=no
18712 hardcode_shlibpath_var_GCJ
=no
18715 hardcode_direct_GCJ
=yes
18716 export_dynamic_flag_spec_GCJ
='${wl}-E'
18718 # hardcode_minus_L: Not really in the search PATH,
18719 # but as the default location of the library.
18720 hardcode_minus_L_GCJ
=yes
18726 irix5
* | irix6
* | nonstopux
*)
18727 if test "$GCC" = yes; then
18728 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'
18730 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'
18731 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18733 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18734 hardcode_libdir_separator_GCJ
=:
18735 link_all_deplibs_GCJ
=yes
18739 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18740 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18742 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18744 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18745 hardcode_direct_GCJ
=yes
18746 hardcode_shlibpath_var_GCJ
=no
18750 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18751 hardcode_direct_GCJ
=yes
18752 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18753 hardcode_libdir_separator_GCJ
=:
18754 hardcode_shlibpath_var_GCJ
=no
18758 hardcode_direct_GCJ
=yes
18759 hardcode_shlibpath_var_GCJ
=no
18760 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18761 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18762 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18763 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18764 export_dynamic_flag_spec_GCJ
='${wl}-E'
18767 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18768 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18769 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18772 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18773 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18780 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18781 hardcode_minus_L_GCJ
=yes
18782 allow_undefined_flag_GCJ
=unsupported
18783 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'
18784 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18788 if test "$GCC" = yes; then
18789 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18790 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'
18792 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18793 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'
18795 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18796 hardcode_libdir_separator_GCJ
=:
18799 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18800 if test "$GCC" = yes; then
18801 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18802 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'
18803 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18805 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18806 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'
18807 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~
18808 $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'
18810 # Both c and cxx compiler support -rpath directly
18811 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18813 hardcode_libdir_separator_GCJ
=:
18817 no_undefined_flag_GCJ
=' -z text'
18818 if test "$GCC" = yes; then
18820 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18821 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18822 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18825 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18826 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18827 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18829 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18830 hardcode_shlibpath_var_GCJ
=no
18832 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18834 # The compiler driver will combine linker options so we
18835 # cannot just pass the convience library names through
18836 # without $wl, iff we do not link with $LD.
18837 # Luckily, gcc supports the same syntax we need for Sun Studio.
18838 # Supported since Solaris 2.6 (maybe 2.5.1?)
18841 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
18843 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' ;;
18846 link_all_deplibs_GCJ
=yes
18850 if test "x$host_vendor" = xsequent
; then
18851 # Use $CC to link under sequent, because it throws in some extra .o
18852 # files that make .init and .fini sections work.
18853 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18855 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18857 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18858 hardcode_direct_GCJ
=yes
18859 hardcode_minus_L_GCJ
=yes
18860 hardcode_shlibpath_var_GCJ
=no
18864 case $host_vendor in
18866 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18867 hardcode_direct_GCJ
=yes # is this really true???
18870 ## LD is ld it makes a PLAMLIB
18871 ## CC just makes a GrossModule.
18872 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18873 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18874 hardcode_direct_GCJ
=no
18877 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18878 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18881 runpath_var
='LD_RUN_PATH'
18882 hardcode_shlibpath_var_GCJ
=no
18886 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18887 hardcode_shlibpath_var_GCJ
=no
18888 export_dynamic_flag_spec_GCJ
='-Bexport'
18892 if test -d /usr
/nec
; then
18893 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18894 hardcode_shlibpath_var_GCJ
=no
18895 runpath_var
=LD_RUN_PATH
18896 hardcode_runpath_var
=yes
18901 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
18902 no_undefined_flag_GCJ
='${wl}-z,text'
18903 archive_cmds_need_lc_GCJ
=no
18904 hardcode_shlibpath_var_GCJ
=no
18905 runpath_var
='LD_RUN_PATH'
18907 if test "$GCC" = yes; then
18908 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18909 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18911 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18912 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18916 sysv5
* | sco3.2v5
* | sco5v6
*)
18917 # Note: We can NOT use -z defs as we might desire, because we do not
18918 # link with -lc, and that would cause any symbols used from libc to
18919 # always be unresolved, which means just about no library would
18920 # ever link correctly. If we're not using GNU ld we use -z text
18921 # though, which does catch some bad symbols but isn't as heavy-handed
18923 no_undefined_flag_GCJ
='${wl}-z,text'
18924 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18925 archive_cmds_need_lc_GCJ
=no
18926 hardcode_shlibpath_var_GCJ
=no
18927 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18928 hardcode_libdir_separator_GCJ
=':'
18929 link_all_deplibs_GCJ
=yes
18930 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18931 runpath_var
='LD_RUN_PATH'
18933 if test "$GCC" = yes; then
18934 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18935 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18937 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18938 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18943 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18944 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18945 hardcode_shlibpath_var_GCJ
=no
18954 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18955 $as_echo "$ld_shlibs_GCJ" >&6; }
18956 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18959 # Do we need to explicitly link libc?
18961 case "x$archive_cmds_need_lc_GCJ" in
18963 # Assume -lc should be added
18964 archive_cmds_need_lc_GCJ
=yes
18966 if test "$enable_shared" = yes && test "$GCC" = yes; then
18967 case $archive_cmds_GCJ in
18969 # FIXME: we may have to deal with multi-command sequences.
18972 # Test whether the compiler implicitly links with -lc since on some
18973 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18974 # to ld, don't add -lc before -lgcc.
18975 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18976 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18978 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18981 (eval $ac_compile) 2>&5
18983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); } 2>conftest.err
; then
18987 libobjs
=conftest.
$ac_objext
18989 wl
=$lt_prog_compiler_wl_GCJ
18990 pic_flag
=$lt_prog_compiler_pic_GCJ
18996 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18997 allow_undefined_flag_GCJ
=
18998 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18999 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }
19004 archive_cmds_need_lc_GCJ
=no
19006 archive_cmds_need_lc_GCJ
=yes
19008 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
19010 cat conftest.err
1>&5
19013 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19014 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
19021 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19022 $as_echo_n "checking dynamic linker characteristics... " >&6; }
19023 library_names_spec
=
19024 libname_spec
='lib$name'
19028 postuninstall_cmds
=
19032 shlibpath_overrides_runpath
=unknown
19034 dynamic_linker
="$host_os ld.so"
19035 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19036 if test "$GCC" = yes; then
19037 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19038 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19039 # if the path contains ";" then we assume it to be the separator
19040 # otherwise default to the standard path separator (i.e. ":") - it is
19041 # assumed that no part of a normal pathname contains ";" but that should
19042 # okay in the real world where ";" in dirpaths is itself problematic.
19043 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19045 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19048 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19050 need_lib_prefix
=unknown
19051 hardcode_into_libs
=no
19053 # when you set need_version to no, make sure it does not cause -set_version
19054 # flags to be left without arguments
19055 need_version
=unknown
19060 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19061 shlibpath_var
=LIBPATH
19063 # AIX 3 has no versioning support, so we append a major version to the name.
19064 soname_spec
='${libname}${release}${shared_ext}$major'
19071 hardcode_into_libs
=yes
19072 if test "$host_cpu" = ia64
; then
19073 # AIX 5 supports IA64
19074 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19075 shlibpath_var
=LD_LIBRARY_PATH
19077 # With GCC up to 2.95.x, collect2 would create an import file
19078 # for dependence libraries. The import file would start with
19079 # the line `#! .'. This would cause the generated library to
19080 # depend on `.', always an invalid library. This was fixed in
19081 # development snapshots of GCC prior to 3.0.
19083 aix4 | aix4.
[01] | aix4.
[01].
*)
19084 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19086 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19089 can_build_shared
=no
19093 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19094 # soname into executable. Probably we can add versioning support to
19095 # collect2, so additional links can be useful in future.
19096 if test "$aix_use_runtimelinking" = yes; then
19097 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19098 # instead of lib<name>.a to let people know that these are not
19099 # typical AIX shared libraries.
19100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19102 # We preserve .a as extension for shared libraries through AIX4.2
19103 # and later when we are not doing run time linking.
19104 library_names_spec
='${libname}${release}.a $libname.a'
19105 soname_spec
='${libname}${release}${shared_ext}$major'
19107 shlibpath_var
=LIBPATH
19112 library_names_spec
='$libname.ixlibrary $libname.a'
19113 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19114 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'
19118 library_names_spec
='${libname}${shared_ext}'
19119 dynamic_linker
="$host_os ld.so"
19120 shlibpath_var
=LIBRARY_PATH
19126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19127 soname_spec
='${libname}${release}${shared_ext}$major'
19128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19129 shlibpath_var
=LD_LIBRARY_PATH
19130 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19131 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19132 # the default ld.so.conf also contains /usr/contrib/lib and
19133 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19134 # libtool to hard-code these into programs
19137 cygwin
* | mingw
* | pw32
*)
19138 version_type
=windows
19143 case $GCC,$host_os in
19144 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
19145 library_names_spec
='$libname.dll.a'
19146 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19147 postinstall_cmds
='base_file=`basename \${file}`~
19148 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19149 dldir=$destdir/`dirname \$dlpath`~
19150 test -d \$dldir || mkdir -p \$dldir~
19151 $install_prog $dir/$dlname \$dldir/$dlname~
19152 chmod a+x \$dldir/$dlname'
19153 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19154 dlpath=$dir/\$dldll~
19156 shlibpath_overrides_runpath
=yes
19160 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19161 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19162 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19165 # MinGW DLLs use traditional 'lib' prefix
19166 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19167 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19168 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
19169 # It is most probably a Windows format PATH printed by
19170 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19171 # path with ; separators, and with drive letters. We can handle the
19172 # drive letters (cygwin fileutils understands them), so leave them,
19173 # especially as we might pass files found there to a mingw objdump,
19174 # which wouldn't understand a cygwinified path. Ahh.
19175 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19177 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19181 # pw32 DLLs use 'pw' prefix rather than 'lib'
19182 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19188 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19191 dynamic_linker
='Win32 ld.exe'
19192 # FIXME: first we should search . and the directory the executable is in
19196 darwin
* | rhapsody
*)
19197 dynamic_linker
="$host_os dyld"
19198 version_type
=darwin
19201 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19202 soname_spec
='${libname}${release}${major}$shared_ext'
19203 shlibpath_overrides_runpath
=yes
19204 shlibpath_var
=DYLD_LIBRARY_PATH
19205 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19206 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19207 if test "$GCC" = yes; then
19208 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"`
19210 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19212 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19220 soname_spec
='${libname}${release}${shared_ext}$major'
19221 shlibpath_var
=LD_LIBRARY_PATH
19232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19233 soname_spec
='${libname}${release}${shared_ext}$major'
19234 shlibpath_var
=LD_LIBRARY_PATH
19235 shlibpath_overrides_runpath
=no
19236 hardcode_into_libs
=yes
19237 dynamic_linker
='GNU ld.so'
19240 freebsd
* | dragonfly
*)
19241 # DragonFly does not have aout. When/if they implement a new
19242 # versioning mechanism, adjust this.
19243 if test -x /usr
/bin
/objformat
; then
19244 objformat
=`/usr/bin/objformat`
19247 freebsd
[123]*) objformat
=aout
;;
19248 *) objformat
=elf
;;
19251 version_type
=freebsd-
$objformat
19252 case $version_type in
19254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19259 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19263 shlibpath_var
=LD_LIBRARY_PATH
19266 shlibpath_overrides_runpath
=yes
19268 freebsd3.
[01]* | freebsdelf3.
[01]*)
19269 shlibpath_overrides_runpath
=yes
19270 hardcode_into_libs
=yes
19272 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19273 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19274 shlibpath_overrides_runpath
=no
19275 hardcode_into_libs
=yes
19277 freebsd
*) # from 4.6 on
19278 shlibpath_overrides_runpath
=yes
19279 hardcode_into_libs
=yes
19288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19289 soname_spec
='${libname}${release}${shared_ext}$major'
19290 shlibpath_var
=LD_LIBRARY_PATH
19291 hardcode_into_libs
=yes
19294 hpux9
* | hpux10
* | hpux11
*)
19295 # Give a soname corresponding to the major version so that dld.sl refuses to
19296 # link against other versions.
19303 hardcode_into_libs
=yes
19304 dynamic_linker
="$host_os dld.so"
19305 shlibpath_var
=LD_LIBRARY_PATH
19306 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19308 soname_spec
='${libname}${release}${shared_ext}$major'
19309 if test "X$HPUX_IA64_MODE" = X32
; then
19310 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19312 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19314 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19318 hardcode_into_libs
=yes
19319 dynamic_linker
="$host_os dld.sl"
19320 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19321 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19323 soname_spec
='${libname}${release}${shared_ext}$major'
19324 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19325 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19329 dynamic_linker
="$host_os dld.sl"
19330 shlibpath_var
=SHLIB_PATH
19331 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19333 soname_spec
='${libname}${release}${shared_ext}$major'
19336 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19337 postinstall_cmds
='chmod 555 $lib'
19344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19345 soname_spec
='${libname}${release}${shared_ext}$major'
19346 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19347 shlibpath_var
=LD_LIBRARY_PATH
19348 shlibpath_overrides_runpath
=no
19349 hardcode_into_libs
=yes
19352 irix5
* | irix6
* | nonstopux
*)
19354 nonstopux
*) version_type
=nonstopux
;;
19356 if test "$lt_cv_prog_gnu_ld" = yes; then
19364 soname_spec
='${libname}${release}${shared_ext}$major'
19365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19367 irix5
* | nonstopux
*)
19368 libsuff
= shlibsuff
=
19371 case $LD in # libtool.m4 will add one of these switches to LD
19372 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
19373 libsuff
= shlibsuff
= libmagic
=32-bit;;
19374 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
19375 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19376 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
19377 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19378 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
19382 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19383 shlibpath_overrides_runpath
=no
19384 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19385 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19386 hardcode_into_libs
=yes
19389 # No shared lib support for Linux oldld, aout, or coff.
19390 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19394 # This must be Linux ELF.
19399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19400 soname_spec
='${libname}${release}${shared_ext}$major'
19401 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19402 shlibpath_var
=LD_LIBRARY_PATH
19403 shlibpath_overrides_runpath
=no
19404 # This implies no fast_install, which is unacceptable.
19405 # Some rework will be needed to allow for fast_install
19406 # before this can be enabled.
19407 hardcode_into_libs
=yes
19409 # Append ld.so.conf contents to the search path
19410 if test -f /etc
/ld.so.conf
; then
19411 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19412 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19415 # We used to test for /lib/ld.so.1 and disable shared libraries on
19416 # powerpc, because MkLinux only supported shared libraries with the
19417 # GNU dynamic linker. Since this was broken with cross compilers,
19418 # most powerpc-linux boxes support dynamic linking these days and
19419 # people can always --disable-shared, the test was removed, and we
19420 # assume the GNU/Linux dynamic linker is in use.
19421 dynamic_linker
='GNU/Linux ld.so'
19428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19429 soname_spec
='${libname}${release}${shared_ext}$major'
19430 shlibpath_var
=LD_LIBRARY_PATH
19431 shlibpath_overrides_runpath
=no
19432 hardcode_into_libs
=yes
19433 dynamic_linker
='GNU ld.so'
19440 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19442 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19443 dynamic_linker
='NetBSD (a.out) ld.so'
19445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19446 soname_spec
='${libname}${release}${shared_ext}$major'
19447 dynamic_linker
='NetBSD ld.elf_so'
19449 shlibpath_var
=LD_LIBRARY_PATH
19450 shlibpath_overrides_runpath
=yes
19451 hardcode_into_libs
=yes
19456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19457 shlibpath_var
=LD_LIBRARY_PATH
19458 shlibpath_overrides_runpath
=yes
19465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19466 soname_spec
='${libname}${release}${shared_ext}$major'
19467 shlibpath_var
=LD_LIBRARY_PATH
19468 shlibpath_overrides_runpath
=yes
19473 sys_lib_dlsearch_path_spec
="/usr/lib"
19475 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19477 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19478 *) need_version
=no
;;
19480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19481 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19482 shlibpath_var
=LD_LIBRARY_PATH
19483 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19485 openbsd2.
[89] | openbsd2.
[89].
*)
19486 shlibpath_overrides_runpath
=no
19489 shlibpath_overrides_runpath
=yes
19493 shlibpath_overrides_runpath
=yes
19498 libname_spec
='$name'
19501 library_names_spec
='$libname${shared_ext} $libname.a'
19502 dynamic_linker
='OS/2 ld.exe'
19503 shlibpath_var
=LIBPATH
19506 osf3
* | osf4
* | osf5
*)
19510 soname_spec
='${libname}${release}${shared_ext}$major'
19511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19512 shlibpath_var
=LD_LIBRARY_PATH
19513 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19514 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19522 soname_spec
='${libname}${release}${shared_ext}$major'
19523 shlibpath_var
=LD_LIBRARY_PATH
19524 shlibpath_overrides_runpath
=yes
19525 hardcode_into_libs
=yes
19526 # ldd complains unless libraries are executable
19527 postinstall_cmds
='chmod +x $lib'
19532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19533 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19534 shlibpath_var
=LD_LIBRARY_PATH
19535 shlibpath_overrides_runpath
=yes
19536 if test "$with_gnu_ld" = yes; then
19544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19545 soname_spec
='${libname}${release}${shared_ext}$major'
19546 shlibpath_var
=LD_LIBRARY_PATH
19547 case $host_vendor in
19549 shlibpath_overrides_runpath
=no
19551 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19552 runpath_var
=LD_RUN_PATH
19560 shlibpath_overrides_runpath
=no
19561 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19567 if test -d /usr
/nec
;then
19569 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19570 soname_spec
='$libname${shared_ext}.$major'
19571 shlibpath_var
=LD_LIBRARY_PATH
19575 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19576 version_type
=freebsd-elf
19579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19580 soname_spec
='${libname}${release}${shared_ext}$major'
19581 shlibpath_var
=LD_LIBRARY_PATH
19582 hardcode_into_libs
=yes
19583 if test "$with_gnu_ld" = yes; then
19584 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19585 shlibpath_overrides_runpath
=no
19587 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19588 shlibpath_overrides_runpath
=yes
19591 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19595 sys_lib_dlsearch_path_spec
='/usr/lib'
19600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19601 soname_spec
='${libname}${release}${shared_ext}$major'
19602 shlibpath_var
=LD_LIBRARY_PATH
19609 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19610 $as_echo "$dynamic_linker" >&6; }
19611 test "$dynamic_linker" = no
&& can_build_shared
=no
19613 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19614 if test "$GCC" = yes; then
19615 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19618 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19619 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19620 hardcode_action_GCJ
=
19621 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19622 test -n "$runpath_var_GCJ" || \
19623 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19625 # We can hardcode non-existant directories.
19626 if test "$hardcode_direct_GCJ" != no
&&
19627 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19628 # have to relink, otherwise we might link with an installed library
19629 # when we should be linking with a yet-to-be-installed one
19630 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19631 test "$hardcode_minus_L_GCJ" != no
; then
19632 # Linking always hardcodes the temporary library directory.
19633 hardcode_action_GCJ
=relink
19635 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19636 hardcode_action_GCJ
=immediate
19639 # We cannot hardcode anything, or else we can only hardcode existing
19641 hardcode_action_GCJ
=unsupported
19643 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19644 $as_echo "$hardcode_action_GCJ" >&6; }
19646 if test "$hardcode_action_GCJ" = relink
; then
19647 # Fast installation is not supported
19648 enable_fast_install
=no
19649 elif test "$shlibpath_overrides_runpath" = yes ||
19650 test "$enable_shared" = no
; then
19651 # Fast installation is not necessary
19652 enable_fast_install
=needless
19656 # The else clause should only fire when bootstrapping the
19657 # libtool distribution, otherwise you forgot to ship ltmain.sh
19658 # with your package, and you will get complaints that there are
19659 # no rules to generate ltmain.sh.
19660 if test -f "$ltmain"; then
19661 # See if we are running on zsh, and set the options which allow our commands through
19662 # without removal of \ escapes.
19663 if test -n "${ZSH_VERSION+set}" ; then
19664 setopt NO_GLOB_SUBST
19666 # Now quote all the things that may contain metacharacters while being
19667 # careful not to overquote the AC_SUBSTed values. We take copies of the
19668 # variables and quote the copies for generation of the libtool script.
19669 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19671 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19672 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19673 deplibs_check_method reload_flag reload_cmds need_locks \
19674 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19675 lt_cv_sys_global_symbol_to_c_name_address \
19676 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19677 old_postinstall_cmds old_postuninstall_cmds \
19681 lt_prog_compiler_wl_GCJ \
19682 lt_prog_compiler_pic_GCJ \
19683 lt_prog_compiler_static_GCJ \
19684 lt_prog_compiler_no_builtin_flag_GCJ \
19685 export_dynamic_flag_spec_GCJ \
19686 thread_safe_flag_spec_GCJ \
19687 whole_archive_flag_spec_GCJ \
19688 enable_shared_with_static_runtimes_GCJ \
19689 old_archive_cmds_GCJ \
19690 old_archive_from_new_cmds_GCJ \
19691 predep_objects_GCJ \
19692 postdep_objects_GCJ \
19695 compiler_lib_search_path_GCJ \
19697 archive_expsym_cmds_GCJ \
19698 postinstall_cmds_GCJ \
19699 postuninstall_cmds_GCJ \
19700 old_archive_from_expsyms_cmds_GCJ \
19701 allow_undefined_flag_GCJ \
19702 no_undefined_flag_GCJ \
19703 export_symbols_cmds_GCJ \
19704 hardcode_libdir_flag_spec_GCJ \
19705 hardcode_libdir_flag_spec_ld_GCJ \
19706 hardcode_libdir_separator_GCJ \
19707 hardcode_automatic_GCJ \
19709 module_expsym_cmds_GCJ \
19710 lt_cv_prog_compiler_c_o_GCJ \
19711 exclude_expsyms_GCJ \
19712 include_expsyms_GCJ
; do
19715 old_archive_cmds_GCJ | \
19716 old_archive_from_new_cmds_GCJ | \
19717 archive_cmds_GCJ | \
19718 archive_expsym_cmds_GCJ | \
19719 module_cmds_GCJ | \
19720 module_expsym_cmds_GCJ | \
19721 old_archive_from_expsyms_cmds_GCJ | \
19722 export_symbols_cmds_GCJ | \
19723 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19724 postinstall_cmds | postuninstall_cmds | \
19725 old_postinstall_cmds | old_postuninstall_cmds | \
19726 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19727 # Double-quote double-evaled strings.
19728 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19731 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19737 *'\$0 --fallback-echo"')
19738 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19744 cat <<__EOF__ >> "$cfgfile"
19745 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19747 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19749 # Shell to use when invoking shell scripts.
19752 # Whether or not to build shared libraries.
19753 build_libtool_libs=$enable_shared
19755 # Whether or not to build static libraries.
19756 build_old_libs=$enable_static
19758 # Whether or not to add -lc for building shared libraries.
19759 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19761 # Whether or not to disallow shared libs when runtime libs are static
19762 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19764 # Whether or not to optimize for fast installation.
19765 fast_install=$enable_fast_install
19768 host_alias=$host_alias
19772 # The build system.
19773 build_alias=$build_alias
19777 # An echo program that does not interpret backslashes.
19782 AR_FLAGS=$lt_AR_FLAGS
19787 # LTCC compiler flags.
19788 LTCFLAGS=$lt_LTCFLAGS
19790 # A language-specific compiler.
19791 CC=$lt_compiler_GCJ
19793 # Is the compiler the GNU C compiler?
19799 # The linker used to build libraries.
19802 # Whether we need hard or soft links.
19805 # A BSD-compatible nm program.
19808 # A symbol stripping program
19811 # Used to examine libraries when file_magic_cmd begins "file"
19812 MAGIC_CMD=$MAGIC_CMD
19814 # Used on cygwin: DLL creation program.
19817 # Used on cygwin: object dumper.
19820 # Used on cygwin: assembler.
19823 # The name of the directory that contains temporary libtool files.
19826 # How to create reloadable object files.
19827 reload_flag=$lt_reload_flag
19828 reload_cmds=$lt_reload_cmds
19830 # How to pass a linker flag through the compiler.
19831 wl=$lt_lt_prog_compiler_wl_GCJ
19833 # Object file suffix (normally "o").
19834 objext="$ac_objext"
19836 # Old archive suffix (normally "a").
19839 # Shared library suffix (normally ".so").
19840 shrext_cmds='$shrext_cmds'
19842 # Executable file suffix (normally "").
19845 # Additional compiler flags for building library objects.
19846 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19849 # What is the maximum length of a command?
19850 max_cmd_len=$lt_cv_sys_max_cmd_len
19852 # Does compiler simultaneously support -c and -o options?
19853 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19855 # Must we lock files when doing compilation?
19856 need_locks=$lt_need_locks
19858 # Do we need the lib prefix for modules?
19859 need_lib_prefix=$need_lib_prefix
19861 # Do we need a version for libraries?
19862 need_version=$need_version
19864 # Whether dlopen is supported.
19865 dlopen_support=$enable_dlopen
19867 # Whether dlopen of programs is supported.
19868 dlopen_self=$enable_dlopen_self
19870 # Whether dlopen of statically linked programs is supported.
19871 dlopen_self_static=$enable_dlopen_self_static
19873 # Compiler flag to prevent dynamic linking.
19874 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19876 # Compiler flag to turn off builtin functions.
19877 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19879 # Compiler flag to allow reflexive dlopens.
19880 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19882 # Compiler flag to generate shared objects directly from archives.
19883 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19885 # Compiler flag to generate thread-safe objects.
19886 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19888 # Library versioning type.
19889 version_type=$version_type
19891 # Format of library name prefix.
19892 libname_spec=$lt_libname_spec
19894 # List of archive names. First name is the real one, the rest are links.
19895 # The last name is the one that the linker finds with -lNAME.
19896 library_names_spec=$lt_library_names_spec
19898 # The coded name of the library, if different from the real name.
19899 soname_spec=$lt_soname_spec
19901 # Commands used to build and install an old-style archive.
19903 old_archive_cmds=$lt_old_archive_cmds_GCJ
19904 old_postinstall_cmds=$lt_old_postinstall_cmds
19905 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19907 # Create an old-style archive from a shared archive.
19908 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19910 # Create a temporary old-style archive to link instead of a shared archive.
19911 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19913 # Commands used to build and install a shared archive.
19914 archive_cmds=$lt_archive_cmds_GCJ
19915 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19916 postinstall_cmds=$lt_postinstall_cmds
19917 postuninstall_cmds=$lt_postuninstall_cmds
19919 # Commands used to build a loadable module (assumed same as above if empty)
19920 module_cmds=$lt_module_cmds_GCJ
19921 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19923 # Commands to strip libraries.
19924 old_striplib=$lt_old_striplib
19925 striplib=$lt_striplib
19927 # Dependencies to place before the objects being linked to create a
19929 predep_objects=$lt_predep_objects_GCJ
19931 # Dependencies to place after the objects being linked to create a
19933 postdep_objects=$lt_postdep_objects_GCJ
19935 # Dependencies to place before the objects being linked to create a
19937 predeps=$lt_predeps_GCJ
19939 # Dependencies to place after the objects being linked to create a
19941 postdeps=$lt_postdeps_GCJ
19943 # The library search path used internally by the compiler when linking
19944 # a shared library.
19945 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19947 # Method to check whether dependent libraries are shared objects.
19948 deplibs_check_method=$lt_deplibs_check_method
19950 # Command to use when deplibs_check_method == file_magic.
19951 file_magic_cmd=$lt_file_magic_cmd
19953 # Flag that allows shared libraries with undefined symbols to be built.
19954 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19956 # Flag that forces no undefined symbols.
19957 no_undefined_flag=$lt_no_undefined_flag_GCJ
19959 # Commands used to finish a libtool library installation in a directory.
19960 finish_cmds=$lt_finish_cmds
19962 # Same as above, but a single script fragment to be evaled but not shown.
19963 finish_eval=$lt_finish_eval
19965 # Take the output of nm and produce a listing of raw symbols and C names.
19966 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19968 # Transform the output of nm in a proper C declaration
19969 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19971 # Transform the output of nm in a C name address pair
19972 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19974 # This is the shared library runtime path variable.
19975 runpath_var=$runpath_var
19977 # This is the shared library path variable.
19978 shlibpath_var=$shlibpath_var
19980 # Is shlibpath searched before the hard-coded library search path?
19981 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19983 # How to hardcode a shared library path into an executable.
19984 hardcode_action=$hardcode_action_GCJ
19986 # Whether we should hardcode library paths into libraries.
19987 hardcode_into_libs=$hardcode_into_libs
19989 # Flag to hardcode \$libdir into a binary during linking.
19990 # This must work even if \$libdir does not exist.
19991 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19993 # If ld is used when linking, flag to hardcode \$libdir into
19994 # a binary during linking. This must work even if \$libdir does
19996 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19998 # Whether we need a single -rpath flag with a separated argument.
19999 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20001 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20002 # resulting binary.
20003 hardcode_direct=$hardcode_direct_GCJ
20005 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20006 # resulting binary.
20007 hardcode_minus_L=$hardcode_minus_L_GCJ
20009 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20010 # the resulting binary.
20011 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20013 # Set to yes if building a shared library automatically hardcodes DIR into the library
20014 # and all subsequent libraries and executables linked against it.
20015 hardcode_automatic=$hardcode_automatic_GCJ
20017 # Variables whose values should be saved in libtool wrapper scripts and
20018 # restored at relink time.
20019 variables_saved_for_relink="$variables_saved_for_relink"
20021 # Whether libtool must link a program against all its dependency libraries.
20022 link_all_deplibs=$link_all_deplibs_GCJ
20024 # Compile-time system search path for libraries
20025 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20027 # Run-time system search path for libraries
20028 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20030 # Fix the shell variable \$srcfile for the compiler.
20031 fix_srcfile_path="$fix_srcfile_path_GCJ"
20033 # Set to yes if exported symbols are required.
20034 always_export_symbols=$always_export_symbols_GCJ
20036 # The commands to list exported symbols.
20037 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20039 # The commands to extract the exported symbol list from a shared archive.
20040 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20042 # Symbols that should not be listed in the preloaded symbols.
20043 exclude_expsyms=$lt_exclude_expsyms_GCJ
20045 # Symbols that must always be exported.
20046 include_expsyms=$lt_include_expsyms_GCJ
20048 # ### END LIBTOOL TAG CONFIG: $tagname
20054 # If there is no Makefile yet, we rely on a make rule to execute
20055 # `config.status --recheck' to rerun these tests and create the
20056 # libtool script then.
20057 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20058 if test -f "$ltmain_in"; then
20059 test -f Makefile
&& make "$ltmain"
20065 ac_cpp
='$CPP $CPPFLAGS'
20066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20080 # Source file extension for RC test sources.
20083 # Object file extension for compiled RC test sources.
20087 # Code to be used in simple compile tests
20088 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
20090 # Code to be used in simple link tests
20091 lt_simple_link_test_code
="$lt_simple_compile_test_code"
20093 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20095 # If no C compiler was specified, use CC.
20098 # If no C compiler flags were specified, use CFLAGS.
20099 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20101 # Allow CC to be a program name with arguments.
20105 # save warnings/boilerplate of simple test code
20106 ac_outfile
=conftest.
$ac_objext
20107 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
20108 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20109 _lt_compiler_boilerplate
=`cat conftest.err`
20112 ac_outfile
=conftest.
$ac_objext
20113 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
20114 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20115 _lt_linker_boilerplate
=`cat conftest.err`
20119 # Allow CC to be a program name with arguments.
20124 for cc_temp
in $compiler""; do
20126 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
20127 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
20132 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20134 lt_cv_prog_compiler_c_o_RC
=yes
20136 # The else clause should only fire when bootstrapping the
20137 # libtool distribution, otherwise you forgot to ship ltmain.sh
20138 # with your package, and you will get complaints that there are
20139 # no rules to generate ltmain.sh.
20140 if test -f "$ltmain"; then
20141 # See if we are running on zsh, and set the options which allow our commands through
20142 # without removal of \ escapes.
20143 if test -n "${ZSH_VERSION+set}" ; then
20144 setopt NO_GLOB_SUBST
20146 # Now quote all the things that may contain metacharacters while being
20147 # careful not to overquote the AC_SUBSTed values. We take copies of the
20148 # variables and quote the copies for generation of the libtool script.
20149 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20151 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20152 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20153 deplibs_check_method reload_flag reload_cmds need_locks \
20154 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20155 lt_cv_sys_global_symbol_to_c_name_address \
20156 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20157 old_postinstall_cmds old_postuninstall_cmds \
20161 lt_prog_compiler_wl_RC \
20162 lt_prog_compiler_pic_RC \
20163 lt_prog_compiler_static_RC \
20164 lt_prog_compiler_no_builtin_flag_RC \
20165 export_dynamic_flag_spec_RC \
20166 thread_safe_flag_spec_RC \
20167 whole_archive_flag_spec_RC \
20168 enable_shared_with_static_runtimes_RC \
20169 old_archive_cmds_RC \
20170 old_archive_from_new_cmds_RC \
20171 predep_objects_RC \
20172 postdep_objects_RC \
20175 compiler_lib_search_path_RC \
20177 archive_expsym_cmds_RC \
20178 postinstall_cmds_RC \
20179 postuninstall_cmds_RC \
20180 old_archive_from_expsyms_cmds_RC \
20181 allow_undefined_flag_RC \
20182 no_undefined_flag_RC \
20183 export_symbols_cmds_RC \
20184 hardcode_libdir_flag_spec_RC \
20185 hardcode_libdir_flag_spec_ld_RC \
20186 hardcode_libdir_separator_RC \
20187 hardcode_automatic_RC \
20189 module_expsym_cmds_RC \
20190 lt_cv_prog_compiler_c_o_RC \
20191 exclude_expsyms_RC \
20192 include_expsyms_RC
; do
20195 old_archive_cmds_RC | \
20196 old_archive_from_new_cmds_RC | \
20197 archive_cmds_RC | \
20198 archive_expsym_cmds_RC | \
20200 module_expsym_cmds_RC | \
20201 old_archive_from_expsyms_cmds_RC | \
20202 export_symbols_cmds_RC | \
20203 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20204 postinstall_cmds | postuninstall_cmds | \
20205 old_postinstall_cmds | old_postuninstall_cmds | \
20206 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20207 # Double-quote double-evaled strings.
20208 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20211 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20217 *'\$0 --fallback-echo"')
20218 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20224 cat <<__EOF__ >> "$cfgfile"
20225 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20227 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20229 # Shell to use when invoking shell scripts.
20232 # Whether or not to build shared libraries.
20233 build_libtool_libs=$enable_shared
20235 # Whether or not to build static libraries.
20236 build_old_libs=$enable_static
20238 # Whether or not to add -lc for building shared libraries.
20239 build_libtool_need_lc=$archive_cmds_need_lc_RC
20241 # Whether or not to disallow shared libs when runtime libs are static
20242 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20244 # Whether or not to optimize for fast installation.
20245 fast_install=$enable_fast_install
20248 host_alias=$host_alias
20252 # The build system.
20253 build_alias=$build_alias
20257 # An echo program that does not interpret backslashes.
20262 AR_FLAGS=$lt_AR_FLAGS
20267 # LTCC compiler flags.
20268 LTCFLAGS=$lt_LTCFLAGS
20270 # A language-specific compiler.
20273 # Is the compiler the GNU C compiler?
20279 # The linker used to build libraries.
20282 # Whether we need hard or soft links.
20285 # A BSD-compatible nm program.
20288 # A symbol stripping program
20291 # Used to examine libraries when file_magic_cmd begins "file"
20292 MAGIC_CMD=$MAGIC_CMD
20294 # Used on cygwin: DLL creation program.
20297 # Used on cygwin: object dumper.
20300 # Used on cygwin: assembler.
20303 # The name of the directory that contains temporary libtool files.
20306 # How to create reloadable object files.
20307 reload_flag=$lt_reload_flag
20308 reload_cmds=$lt_reload_cmds
20310 # How to pass a linker flag through the compiler.
20311 wl=$lt_lt_prog_compiler_wl_RC
20313 # Object file suffix (normally "o").
20314 objext="$ac_objext"
20316 # Old archive suffix (normally "a").
20319 # Shared library suffix (normally ".so").
20320 shrext_cmds='$shrext_cmds'
20322 # Executable file suffix (normally "").
20325 # Additional compiler flags for building library objects.
20326 pic_flag=$lt_lt_prog_compiler_pic_RC
20329 # What is the maximum length of a command?
20330 max_cmd_len=$lt_cv_sys_max_cmd_len
20332 # Does compiler simultaneously support -c and -o options?
20333 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20335 # Must we lock files when doing compilation?
20336 need_locks=$lt_need_locks
20338 # Do we need the lib prefix for modules?
20339 need_lib_prefix=$need_lib_prefix
20341 # Do we need a version for libraries?
20342 need_version=$need_version
20344 # Whether dlopen is supported.
20345 dlopen_support=$enable_dlopen
20347 # Whether dlopen of programs is supported.
20348 dlopen_self=$enable_dlopen_self
20350 # Whether dlopen of statically linked programs is supported.
20351 dlopen_self_static=$enable_dlopen_self_static
20353 # Compiler flag to prevent dynamic linking.
20354 link_static_flag=$lt_lt_prog_compiler_static_RC
20356 # Compiler flag to turn off builtin functions.
20357 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20359 # Compiler flag to allow reflexive dlopens.
20360 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20362 # Compiler flag to generate shared objects directly from archives.
20363 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20365 # Compiler flag to generate thread-safe objects.
20366 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20368 # Library versioning type.
20369 version_type=$version_type
20371 # Format of library name prefix.
20372 libname_spec=$lt_libname_spec
20374 # List of archive names. First name is the real one, the rest are links.
20375 # The last name is the one that the linker finds with -lNAME.
20376 library_names_spec=$lt_library_names_spec
20378 # The coded name of the library, if different from the real name.
20379 soname_spec=$lt_soname_spec
20381 # Commands used to build and install an old-style archive.
20383 old_archive_cmds=$lt_old_archive_cmds_RC
20384 old_postinstall_cmds=$lt_old_postinstall_cmds
20385 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20387 # Create an old-style archive from a shared archive.
20388 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20390 # Create a temporary old-style archive to link instead of a shared archive.
20391 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20393 # Commands used to build and install a shared archive.
20394 archive_cmds=$lt_archive_cmds_RC
20395 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20396 postinstall_cmds=$lt_postinstall_cmds
20397 postuninstall_cmds=$lt_postuninstall_cmds
20399 # Commands used to build a loadable module (assumed same as above if empty)
20400 module_cmds=$lt_module_cmds_RC
20401 module_expsym_cmds=$lt_module_expsym_cmds_RC
20403 # Commands to strip libraries.
20404 old_striplib=$lt_old_striplib
20405 striplib=$lt_striplib
20407 # Dependencies to place before the objects being linked to create a
20409 predep_objects=$lt_predep_objects_RC
20411 # Dependencies to place after the objects being linked to create a
20413 postdep_objects=$lt_postdep_objects_RC
20415 # Dependencies to place before the objects being linked to create a
20417 predeps=$lt_predeps_RC
20419 # Dependencies to place after the objects being linked to create a
20421 postdeps=$lt_postdeps_RC
20423 # The library search path used internally by the compiler when linking
20424 # a shared library.
20425 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20427 # Method to check whether dependent libraries are shared objects.
20428 deplibs_check_method=$lt_deplibs_check_method
20430 # Command to use when deplibs_check_method == file_magic.
20431 file_magic_cmd=$lt_file_magic_cmd
20433 # Flag that allows shared libraries with undefined symbols to be built.
20434 allow_undefined_flag=$lt_allow_undefined_flag_RC
20436 # Flag that forces no undefined symbols.
20437 no_undefined_flag=$lt_no_undefined_flag_RC
20439 # Commands used to finish a libtool library installation in a directory.
20440 finish_cmds=$lt_finish_cmds
20442 # Same as above, but a single script fragment to be evaled but not shown.
20443 finish_eval=$lt_finish_eval
20445 # Take the output of nm and produce a listing of raw symbols and C names.
20446 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20448 # Transform the output of nm in a proper C declaration
20449 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20451 # Transform the output of nm in a C name address pair
20452 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20454 # This is the shared library runtime path variable.
20455 runpath_var=$runpath_var
20457 # This is the shared library path variable.
20458 shlibpath_var=$shlibpath_var
20460 # Is shlibpath searched before the hard-coded library search path?
20461 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20463 # How to hardcode a shared library path into an executable.
20464 hardcode_action=$hardcode_action_RC
20466 # Whether we should hardcode library paths into libraries.
20467 hardcode_into_libs=$hardcode_into_libs
20469 # Flag to hardcode \$libdir into a binary during linking.
20470 # This must work even if \$libdir does not exist.
20471 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20473 # If ld is used when linking, flag to hardcode \$libdir into
20474 # a binary during linking. This must work even if \$libdir does
20476 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20478 # Whether we need a single -rpath flag with a separated argument.
20479 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20481 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20482 # resulting binary.
20483 hardcode_direct=$hardcode_direct_RC
20485 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20486 # resulting binary.
20487 hardcode_minus_L=$hardcode_minus_L_RC
20489 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20490 # the resulting binary.
20491 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20493 # Set to yes if building a shared library automatically hardcodes DIR into the library
20494 # and all subsequent libraries and executables linked against it.
20495 hardcode_automatic=$hardcode_automatic_RC
20497 # Variables whose values should be saved in libtool wrapper scripts and
20498 # restored at relink time.
20499 variables_saved_for_relink="$variables_saved_for_relink"
20501 # Whether libtool must link a program against all its dependency libraries.
20502 link_all_deplibs=$link_all_deplibs_RC
20504 # Compile-time system search path for libraries
20505 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20507 # Run-time system search path for libraries
20508 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20510 # Fix the shell variable \$srcfile for the compiler.
20511 fix_srcfile_path="$fix_srcfile_path_RC"
20513 # Set to yes if exported symbols are required.
20514 always_export_symbols=$always_export_symbols_RC
20516 # The commands to list exported symbols.
20517 export_symbols_cmds=$lt_export_symbols_cmds_RC
20519 # The commands to extract the exported symbol list from a shared archive.
20520 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20522 # Symbols that should not be listed in the preloaded symbols.
20523 exclude_expsyms=$lt_exclude_expsyms_RC
20525 # Symbols that must always be exported.
20526 include_expsyms=$lt_include_expsyms_RC
20528 # ### END LIBTOOL TAG CONFIG: $tagname
20534 # If there is no Makefile yet, we rely on a make rule to execute
20535 # `config.status --recheck' to rerun these tests and create the
20536 # libtool script then.
20537 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20538 if test -f "$ltmain_in"; then
20539 test -f Makefile
&& make "$ltmain"
20545 ac_cpp
='$CPP $CPPFLAGS'
20546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20555 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20556 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20557 { (exit 1); exit 1; }; }
20561 # Append the new tag name to the list of available tags.
20562 if test -n "$tagname" ; then
20563 available_tags
="$available_tags $tagname"
20569 # Now substitute the updated list of available tags.
20570 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20571 mv "${ofile}T" "$ofile"
20575 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20576 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20577 { (exit 1); exit 1; }; }
20583 # This can be used to rebuild libtool when needed
20584 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20586 # Always use our own libtool.
20587 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20589 # Prevent multiple expansion
20611 # Check for library functions that SQLite can optionally use.
20617 for ac_func
in fdatasync
usleep fullfsync localtime_r gmtime_r
20619 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20620 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20621 $as_echo_n "checking for $ac_func... " >&6; }
20622 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20623 $as_echo_n "(cached) " >&6
20625 cat >conftest.
$ac_ext <<_ACEOF
20628 cat confdefs.h
>>conftest.
$ac_ext
20629 cat >>conftest.
$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20633 #define $ac_func innocuous_$ac_func
20635 /* System header to define __stub macros and hopefully few prototypes,
20636 which can conflict with char $ac_func (); below.
20637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20638 <limits.h> exists even on freestanding compilers. */
20641 # include <limits.h>
20643 # include <assert.h>
20648 /* Override any GCC internal prototype to avoid an error.
20649 Use char because int might match the return type of a GCC
20650 builtin and then its argument prototype would still apply. */
20655 /* The GNU C library defines this for functions which it implements
20656 to always fail with ENOSYS. Some functions are actually named
20657 something starting with __ and the normal name is an alias. */
20658 #if defined __stub_$ac_func || defined __stub___$ac_func
20665 return $ac_func ();
20670 rm -f conftest.
$ac_objext conftest
$ac_exeext
20671 if { (ac_try
="$ac_link"
20672 case "(($ac_try" in
20673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20674 *) ac_try_echo=$ac_try;;
20676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20677 $as_echo "$ac_try_echo") >&5
20678 (eval "$ac_link") 2>conftest.er1
20680 grep -v '^ *+' conftest.er1 >conftest.err
20682 cat conftest.err >&5
20683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } && {
20685 test -z "$ac_c_werror_flag" ||
20686 test ! -s conftest.err
20687 } && test -s conftest$ac_exeext && {
20688 test "$cross_compiling" = yes ||
20689 $as_test_x conftest$ac_exeext
20691 eval "$as_ac_var=yes"
20693 $as_echo "$as_me: failed program was:" >&5
20694 sed 's/^/| /' conftest.$ac_ext >&5
20696 eval "$as_ac_var=no"
20699 rm -rf conftest.dSYM
20700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20701 conftest$ac_exeext conftest.$ac_ext
20703 ac_res=`eval 'as_val=${'$as_ac_var'}
20704 $as_echo "$as_val"'`
20705 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20706 $as_echo "$ac_res" >&6; }
20707 if test `eval 'as_val=${'$as_ac_var'}
20708 $as_echo "$as_val"'` = yes; then
20709 cat >>confdefs.h <<_ACEOF
20710 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20717 ac_config_files="$ac_config_files Makefile sqlite3.pc"
20721 #-----------------------------------------------------------------------
20722 # --enable-readline
20724 # Check whether --enable-readline was given.
20725 if test "${enable_readline+set}" = set; then
20726 enableval=$enable_readline;
20728 enable_readline=yes
20731 if test x"$enable_readline" != xno ; then
20734 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
20735 $as_echo_n "checking for library containing tgetent... " >&6; }
20736 if test "${ac_cv_search_tgetent+set}" = set; then
20737 $as_echo_n "(cached) " >&6
20739 ac_func_search_save_LIBS=$LIBS
20740 cat >conftest.$ac_ext <<_ACEOF
20743 cat confdefs.h >>conftest.$ac_ext
20744 cat >>conftest.$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20747 /* Override any GCC internal prototype to avoid an error.
20748 Use char because int might match the return type of a GCC
20749 builtin and then its argument prototype would still apply. */
20762 for ac_lib in '' curses; do
20763 if test -z "$ac_lib"; then
20764 ac_res="none required"
20767 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20769 rm -f conftest.$ac_objext conftest$ac_exeext
20770 if { (ac_try="$ac_link"
20771 case "(($ac_try" in
20772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20773 *) ac_try_echo
=$ac_try;;
20775 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20776 $as_echo "$ac_try_echo") >&5
20777 (eval "$ac_link") 2>conftest.er1
20779 grep -v '^ *+' conftest.er1
>conftest.err
20781 cat conftest.err
>&5
20782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); } && {
20784 test -z "$ac_c_werror_flag" ||
20785 test ! -s conftest.err
20786 } && test -s conftest
$ac_exeext && {
20787 test "$cross_compiling" = yes ||
20788 $as_test_x conftest
$ac_exeext
20790 ac_cv_search_tgetent
=$ac_res
20792 $as_echo "$as_me: failed program was:" >&5
20793 sed 's/^/| /' conftest.
$ac_ext >&5
20798 rm -rf conftest.dSYM
20799 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20801 if test "${ac_cv_search_tgetent+set}" = set; then
20805 if test "${ac_cv_search_tgetent+set}" = set; then
20808 ac_cv_search_tgetent
=no
20810 rm conftest.
$ac_ext
20811 LIBS
=$ac_func_search_save_LIBS
20813 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
20814 $as_echo "$ac_cv_search_tgetent" >&6; }
20815 ac_res
=$ac_cv_search_tgetent
20816 if test "$ac_res" != no
; then
20817 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20821 { $as_echo "$as_me:$LINENO: checking for library containing readline" >&5
20822 $as_echo_n "checking for library containing readline... " >&6; }
20823 if test "${ac_cv_search_readline+set}" = set; then
20824 $as_echo_n "(cached) " >&6
20826 ac_func_search_save_LIBS
=$LIBS
20827 cat >conftest.
$ac_ext <<_ACEOF
20830 cat confdefs.h
>>conftest.
$ac_ext
20831 cat >>conftest.
$ac_ext <<_ACEOF
20832 /* end confdefs.h. */
20834 /* Override any GCC internal prototype to avoid an error.
20835 Use char because int might match the return type of a GCC
20836 builtin and then its argument prototype would still apply. */
20844 return readline ();
20849 for ac_lib
in '' readline
; do
20850 if test -z "$ac_lib"; then
20851 ac_res
="none required"
20854 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20856 rm -f conftest.
$ac_objext conftest
$ac_exeext
20857 if { (ac_try
="$ac_link"
20858 case "(($ac_try" in
20859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20860 *) ac_try_echo=$ac_try;;
20862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20863 $as_echo "$ac_try_echo") >&5
20864 (eval "$ac_link") 2>conftest.er1
20866 grep -v '^ *+' conftest.er1 >conftest.err
20868 cat conftest.err >&5
20869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } && {
20871 test -z "$ac_c_werror_flag" ||
20872 test ! -s conftest.err
20873 } && test -s conftest$ac_exeext && {
20874 test "$cross_compiling" = yes ||
20875 $as_test_x conftest$ac_exeext
20877 ac_cv_search_readline=$ac_res
20879 $as_echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20885 rm -rf conftest.dSYM
20886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20888 if test "${ac_cv_search_readline+set}" = set; then
20892 if test "${ac_cv_search_readline+set}" = set; then
20895 ac_cv_search_readline=no
20897 rm conftest.$ac_ext
20898 LIBS=$ac_func_search_save_LIBS
20900 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_readline" >&5
20901 $as_echo "$ac_cv_search_readline" >&6; }
20902 ac_res=$ac_cv_search_readline
20903 if test "$ac_res" != no; then
20904 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20911 for ac_func in readline
20913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20914 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20915 $as_echo_n "checking for $ac_func... " >&6; }
20916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20917 $as_echo_n "(cached) " >&6
20919 cat >conftest.$ac_ext <<_ACEOF
20922 cat confdefs.h >>conftest.$ac_ext
20923 cat >>conftest.$ac_ext <<_ACEOF
20924 /* end confdefs.h. */
20925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20927 #define $ac_func innocuous_$ac_func
20929 /* System header to define __stub macros and hopefully few prototypes,
20930 which can conflict with char $ac_func (); below.
20931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20932 <limits.h> exists even on freestanding compilers. */
20935 # include <limits.h>
20937 # include <assert.h>
20942 /* Override any GCC internal prototype to avoid an error.
20943 Use char because int might match the return type of a GCC
20944 builtin and then its argument prototype would still apply. */
20949 /* The GNU C library defines this for functions which it implements
20950 to always fail with ENOSYS. Some functions are actually named
20951 something starting with __ and the normal name is an alias. */
20952 #if defined __stub_$ac_func || defined __stub___$ac_func
20959 return $ac_func ();
20964 rm -f conftest.$ac_objext conftest$ac_exeext
20965 if { (ac_try="$ac_link"
20966 case "(($ac_try" in
20967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20968 *) ac_try_echo
=$ac_try;;
20970 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20971 $as_echo "$ac_try_echo") >&5
20972 (eval "$ac_link") 2>conftest.er1
20974 grep -v '^ *+' conftest.er1
>conftest.err
20976 cat conftest.err
>&5
20977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest
$ac_exeext && {
20982 test "$cross_compiling" = yes ||
20983 $as_test_x conftest
$ac_exeext
20985 eval "$as_ac_var=yes"
20987 $as_echo "$as_me: failed program was:" >&5
20988 sed 's/^/| /' conftest.
$ac_ext >&5
20990 eval "$as_ac_var=no"
20993 rm -rf conftest.dSYM
20994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20995 conftest
$ac_exeext conftest.
$ac_ext
20997 ac_res
=`eval 'as_val=${'$as_ac_var'}
20998 $as_echo "$as_val"'`
20999 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21000 $as_echo "$ac_res" >&6; }
21001 if test `eval 'as_val=${'$as_ac_var'}
21002 $as_echo "$as_val"'` = yes; then
21003 cat >>confdefs.h
<<_ACEOF
21004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21010 READLINE_LIBS
=$LIBS
21014 #-----------------------------------------------------------------------
21016 #-----------------------------------------------------------------------
21017 # --enable-threadsafe
21019 # Check whether --enable-threadsafe was given.
21020 if test "${enable_threadsafe+set}" = set; then
21021 enableval
=$enable_threadsafe;
21023 enable_threadsafe
=yes
21026 THREADSAFE_FLAGS
=-DSQLITE_THREADSAFE=0
21027 if test x
"$enable_threadsafe" != "xno"; then
21028 THREADSAFE_FLAGS
=-DSQLITE_THREADSAFE=1
21029 { $as_echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
21030 $as_echo_n "checking for library containing pthread_create... " >&6; }
21031 if test "${ac_cv_search_pthread_create+set}" = set; then
21032 $as_echo_n "(cached) " >&6
21034 ac_func_search_save_LIBS
=$LIBS
21035 cat >conftest.
$ac_ext <<_ACEOF
21038 cat confdefs.h
>>conftest.
$ac_ext
21039 cat >>conftest.
$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21042 /* Override any GCC internal prototype to avoid an error.
21043 Use char because int might match the return type of a GCC
21044 builtin and then its argument prototype would still apply. */
21048 char pthread_create ();
21052 return pthread_create ();
21057 for ac_lib
in '' pthread
; do
21058 if test -z "$ac_lib"; then
21059 ac_res
="none required"
21062 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21064 rm -f conftest.
$ac_objext conftest
$ac_exeext
21065 if { (ac_try
="$ac_link"
21066 case "(($ac_try" in
21067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21068 *) ac_try_echo=$ac_try;;
21070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21071 $as_echo "$ac_try_echo") >&5
21072 (eval "$ac_link") 2>conftest.er1
21074 grep -v '^ *+' conftest.er1 >conftest.err
21076 cat conftest.err >&5
21077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } && {
21079 test -z "$ac_c_werror_flag" ||
21080 test ! -s conftest.err
21081 } && test -s conftest$ac_exeext && {
21082 test "$cross_compiling" = yes ||
21083 $as_test_x conftest$ac_exeext
21085 ac_cv_search_pthread_create=$ac_res
21087 $as_echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.$ac_ext >&5
21093 rm -rf conftest.dSYM
21094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21096 if test "${ac_cv_search_pthread_create+set}" = set; then
21100 if test "${ac_cv_search_pthread_create+set}" = set; then
21103 ac_cv_search_pthread_create=no
21105 rm conftest.$ac_ext
21106 LIBS=$ac_func_search_save_LIBS
21108 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
21109 $as_echo "$ac_cv_search_pthread_create" >&6; }
21110 ac_res=$ac_cv_search_pthread_create
21111 if test "$ac_res" != no; then
21112 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21118 #-----------------------------------------------------------------------
21120 #-----------------------------------------------------------------------
21121 # --enable-dynamic-extensions
21123 # Check whether --enable-dynamic-extensions was given.
21124 if test "${enable_dynamic_extensions+set}" = set; then
21125 enableval=$enable_dynamic_extensions;
21127 enable_dynamic_extensions=yes
21130 if test x"$enable_dynamic_extensions" != "xno"; then
21131 { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
21132 $as_echo_n "checking for library containing dlopen... " >&6; }
21133 if test "${ac_cv_search_dlopen+set}" = set; then
21134 $as_echo_n "(cached) " >&6
21136 ac_func_search_save_LIBS=$LIBS
21137 cat >conftest.$ac_ext <<_ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21144 /* Override any GCC internal prototype to avoid an error.
21145 Use char because int might match the return type of a GCC
21146 builtin and then its argument prototype would still apply. */
21159 for ac_lib in '' dl; do
21160 if test -z "$ac_lib"; then
21161 ac_res="none required"
21164 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21166 rm -f conftest.$ac_objext conftest$ac_exeext
21167 if { (ac_try="$ac_link"
21168 case "(($ac_try" in
21169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21170 *) ac_try_echo
=$ac_try;;
21172 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21173 $as_echo "$ac_try_echo") >&5
21174 (eval "$ac_link") 2>conftest.er1
21176 grep -v '^ *+' conftest.er1
>conftest.err
21178 cat conftest.err
>&5
21179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } && {
21181 test -z "$ac_c_werror_flag" ||
21182 test ! -s conftest.err
21183 } && test -s conftest
$ac_exeext && {
21184 test "$cross_compiling" = yes ||
21185 $as_test_x conftest
$ac_exeext
21187 ac_cv_search_dlopen
=$ac_res
21189 $as_echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.
$ac_ext >&5
21195 rm -rf conftest.dSYM
21196 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21198 if test "${ac_cv_search_dlopen+set}" = set; then
21202 if test "${ac_cv_search_dlopen+set}" = set; then
21205 ac_cv_search_dlopen
=no
21207 rm conftest.
$ac_ext
21208 LIBS
=$ac_func_search_save_LIBS
21210 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
21211 $as_echo "$ac_cv_search_dlopen" >&6; }
21212 ac_res
=$ac_cv_search_dlopen
21213 if test "$ac_res" != no
; then
21214 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21219 DYNAMIC_EXTENSION_FLAGS
=-DSQLITE_OMIT_LOAD_EXTENSION=1
21221 { $as_echo "$as_me:$LINENO: checking for whether to support dynamic extensions" >&5
21222 $as_echo_n "checking for whether to support dynamic extensions... " >&6; }
21223 { $as_echo "$as_me:$LINENO: result: $enable_dynamic_extensions" >&5
21224 $as_echo "$enable_dynamic_extensions" >&6; }
21226 #-----------------------------------------------------------------------
21228 #-----------------------------------------------------------------------
21229 # UPDATE: Maybe it's better if users just set CFLAGS before invoking
21230 # configure. This option doesn't really add much...
21232 # --enable-tempstore
21234 # AC_ARG_ENABLE(tempstore, [AS_HELP_STRING(
21235 # [--enable-tempstore],
21236 # [in-memory temporary tables (never, no, yes, always) [default=no]])],
21237 # [], [enable_tempstore=no])
21238 # AC_MSG_CHECKING([for whether or not to store temp tables in-memory])
21239 # case "$enable_tempstore" in
21240 # never ) TEMP_STORE=0 ;;
21241 # no ) TEMP_STORE=1 ;;
21242 # always ) TEMP_STORE=3 ;;
21243 # yes ) TEMP_STORE=3 ;;
21246 # enable_tempstore=yes
21249 # AC_MSG_RESULT($enable_tempstore)
21250 # AC_SUBST(TEMP_STORE)
21251 #-----------------------------------------------------------------------
21253 cat >confcache
<<\_ACEOF
21254 # This file is a shell script that caches the results of configure
21255 # tests run on this system so they can be shared between configure
21256 # scripts and configure runs, see configure's option --config-cache.
21257 # It is not useful on other systems. If it contains results you don't
21258 # want to keep, you may remove or edit it.
21260 # config.status only pays attention to the cache file if you give it
21261 # the --recheck option to rerun configure.
21263 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21265 # following values.
21269 # The following way of writing the cache mishandles newlines in values,
21270 # but we know of no workaround that is simple, portable, and efficient.
21271 # So, we kill variables containing newlines.
21272 # Ultrix sh set writes to stderr and can't be redirected directly,
21273 # and sets the high bit in the cache file unless we assign to the vars.
21275 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21276 eval ac_val
=\$
$ac_var
21280 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21281 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21284 _ | IFS | as_nl
) ;; #(
21285 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21286 *) $as_unset $ac_var ;;
21292 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21293 *${as_nl}ac_space
=\
*)
21294 # `set' does not quote correctly, so add quotes (double-quote
21295 # substitution turns \\\\ into \\, and sed turns \\ into \).
21298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21301 # `set' quotes correctly as required by POSIX, so do not add quotes.
21302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21315 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21316 if test -w "$cache_file"; then
21317 test "x$cache_file" != "x/dev/null" &&
21318 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
21319 $as_echo "$as_me: updating cache $cache_file" >&6;}
21320 cat confcache
>$cache_file
21322 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21323 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21328 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21329 # Let make expand exec_prefix.
21330 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21332 # Transform confdefs.h into DEFS.
21333 # Protect against shell expansion while executing Makefile rules.
21334 # Protect against Makefile macro expansion.
21336 # If the first sed substitution is executed (which looks for macros that
21337 # take arguments), then branch to the quote section. Otherwise,
21338 # look for a macro that doesn't take arguments.
21348 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
21350 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
21354 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
21367 DEFS
=`sed -n "$ac_script" confdefs.h`
21372 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21373 # 1. Remove the extension, and $U if already installed.
21374 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21375 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21376 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21377 # will be set to the directory where LIBOBJS objects are built.
21378 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21379 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21381 LIBOBJS
=$ac_libobjs
21383 LTLIBOBJS
=$ac_ltlibobjs
21386 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21387 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21388 Usually this means the macro was only invoked conditionally." >&5
21389 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
21390 Usually this means the macro was only invoked conditionally." >&2;}
21391 { (exit 1); exit 1; }; }
21393 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21394 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21395 Usually this means the macro was only invoked conditionally." >&5
21396 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21397 Usually this means the macro was only invoked conditionally." >&2;}
21398 { (exit 1); exit 1; }; }
21400 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21401 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21402 Usually this means the macro was only invoked conditionally." >&5
21403 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21404 Usually this means the macro was only invoked conditionally." >&2;}
21405 { (exit 1); exit 1; }; }
21407 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21408 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21409 Usually this means the macro was only invoked conditionally." >&5
21410 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21411 Usually this means the macro was only invoked conditionally." >&2;}
21412 { (exit 1); exit 1; }; }
21415 : ${CONFIG_STATUS=./config.status}
21417 ac_clean_files_save
=$ac_clean_files
21418 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21419 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21420 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21421 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21423 # Generated by $as_me.
21424 # Run this file to recreate the current configuration.
21425 # Compiler output produced by configure, useful for debugging
21426 # configure, is in config.log if it exists.
21429 ac_cs_recheck=false
21431 SHELL=\${CONFIG_SHELL-$SHELL}
21434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21435 ## --------------------- ##
21436 ## M4sh Initialization. ##
21437 ## --------------------- ##
21439 # Be more Bourne compatible
21440 DUALCASE
=1; export DUALCASE
# for MKS sh
21441 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21444 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21445 # is contrary to our usage. Disable this feature.
21446 alias -g '${1+"$@"}'='"$@"'
21447 setopt NO_GLOB_SUBST
21449 case `(set -o) 2>/dev/null` in
21450 *posix
*) set -o posix
;;
21459 # Avoid depending upon Character Ranges.
21460 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21461 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21462 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21463 as_cr_digits
='0123456789'
21464 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21469 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21470 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21472 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21473 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21474 as_echo='printf %s
\n'
21475 as_echo_n='printf %s
'
21477 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21478 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21479 as_echo_n='/usr
/ucb
/echo -n'
21481 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21482 as_echo_n_body='eval
21486 expr "X$arg" : "X\\(.*\\)$as_nl";
21487 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21489 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
21491 export as_echo_n_body
21492 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21494 export as_echo_body
21495 as_echo='sh
-c $as_echo_body as_echo
'
21498 # The user is always right.
21499 if test "${PATH_SEPARATOR+set}" != set; then
21501 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21502 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21507 # Support unset when possible.
21508 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21516 # We need space, tab and new line, in precisely that order. Quoting is
21517 # there to prevent editors from complaining about space-tab.
21518 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21519 # splitting by setting IFS to empty value.)
21522 # Find who we are. Look in the path if we contain no directory separator.
21524 *[\\/]* ) as_myself=$0 ;;
21525 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21526 for as_dir in $PATH
21529 test -z "$as_dir" && as_dir=.
21530 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21536 # We did not find ourselves, most probably we were run as `sh COMMAND'
21537 # in which case we are not to be found in the path.
21538 if test "x$as_myself" = x
; then
21541 if test ! -f "$as_myself"; then
21542 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21543 { (exit 1); exit 1; }
21546 # Work around bugs in pre-3.0 UWIN ksh.
21547 for as_var
in ENV MAIL MAILPATH
21548 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21560 # Required to use basename.
21561 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21562 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21568 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21569 as_basename
=basename
21575 # Name of the executable.
21576 as_me
=`$as_basename -- "$0" ||
21577 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21578 X"$0" : 'X\(//\)$' \| \
21579 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21581 sed '/^.*\/\([^/][^/]*\)\/*$/{
21600 as_lineno_1
=$LINENO
21601 as_lineno_2
=$LINENO
21602 test "x$as_lineno_1" != "x$as_lineno_2" &&
21603 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21605 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21606 # uniformly replaced by the line number. The first 'sed' inserts a
21607 # line-number line after each line using $LINENO; the second 'sed'
21608 # does the real work. The second script uses 'N' to pair each
21609 # line-number line with the line containing $LINENO, and appends
21610 # trailing '-' during substitution so that $LINENO is not a special
21611 # case at line end.
21612 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21613 # scripts with optimization help from Paolo Bonzini. Blame Lee
21614 # E. McMahon (1931-1989) for sed's syntax. :-)
21626 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21629 ' >$as_me.lineno
&&
21630 chmod +x
"$as_me.lineno" ||
21631 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21632 { (exit 1); exit 1; }; }
21634 # Don't try to exec as it changes $[0], causing all sort of problems
21635 # (the dirname of $[0] is not the place where we might find the
21636 # original and so on. Autoconf is especially sensitive to this).
21637 .
"./$as_me.lineno"
21638 # Exit status is that of the last command.
21643 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21649 ECHO_C
= ECHO_N
= ECHO_T
=
21650 case `echo -n x` in
21652 case `echo 'x\c'` in
21653 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21659 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21660 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21666 rm -f conf$$ conf$$.exe conf$$.
file
21667 if test -d conf$$.dir
; then
21668 rm -f conf$$.dir
/conf$$.
file
21671 mkdir conf$$.dir
2>/dev
/null
21673 if (echo >conf$$.
file) 2>/dev
/null
; then
21674 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21676 # ... but there are two gotchas:
21677 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21678 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21679 # In both cases, we have to default to `cp -p'.
21680 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21682 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21690 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21691 rmdir conf$$.dir
2>/dev
/null
21693 if mkdir
-p .
2>/dev
/null
; then
21696 test -d .
/-p && rmdir .
/-p
21700 if test -x / >/dev
/null
2>&1; then
21701 as_test_x
='test -x'
21703 if ls -dL / >/dev
/null
2>&1; then
21710 if test -d "$1"; then
21716 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21717 ???[sx]*):;;*)false;;esac;fi
21721 as_executable_p
=$as_test_x
21723 # Sed expression to map a string onto a valid CPP name.
21724 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21726 # Sed expression to map a string onto a valid variable name.
21727 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21732 # Save the log message, to keep $[0] and so on meaningful, and to
21733 # report actual input values of CONFIG_FILES etc. instead of their
21734 # values after options handling.
21736 This file was extended by sqlite $as_me 3.7.0.1, which was
21737 generated by GNU Autoconf 2.62. Invocation command line was
21739 CONFIG_FILES = $CONFIG_FILES
21740 CONFIG_HEADERS = $CONFIG_HEADERS
21741 CONFIG_LINKS = $CONFIG_LINKS
21742 CONFIG_COMMANDS = $CONFIG_COMMANDS
21745 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21751 # Files that config.status was made for.
21752 config_files="$ac_config_files"
21753 config_commands="$ac_config_commands"
21757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21759 \`$as_me' instantiates files from templates according to the
21760 current configuration.
21762 Usage: $0 [OPTIONS] [FILE]...
21764 -h, --help print this help, then exit
21765 -V, --version print version number and configuration settings, then exit
21766 -q, --quiet do not print progress messages
21767 -d, --debug don't remove temporary files
21768 --recheck update $as_me by reconfiguring in the same conditions
21769 --file=FILE[:TEMPLATE]
21770 instantiate the configuration file FILE
21772 Configuration files:
21775 Configuration commands:
21778 Report bugs to <bug-autoconf@gnu.org>."
21781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21783 sqlite config.status 3.7.0.1
21784 configured by $0, generated by GNU Autoconf 2.62,
21785 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21787 Copyright (C) 2008 Free Software Foundation, Inc.
21788 This config.status script is free software; the Free Software Foundation
21789 gives unlimited permission to copy, distribute and modify it."
21795 test -n "\$AWK" || AWK=awk
21798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21799 # The default lists apply if the user does not specify any file.
21805 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21806 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21817 # Handling of the options.
21818 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21820 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21821 $as_echo "$ac_cs_version"; exit ;;
21822 --debug |
--debu |
--deb |
--de |
--d |
-d )
21824 --file |
--fil |
--fi |
--f )
21827 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21829 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
21830 ac_need_defaults
=false
;;
21831 --he |
--h |
--help |
--hel |
-h )
21832 $as_echo "$ac_cs_usage"; exit ;;
21833 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21834 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21837 # This is an error.
21838 -*) { $as_echo "$as_me: error: unrecognized option: $1
21839 Try \`$0 --help' for more information." >&2
21840 { (exit 1); exit 1; }; } ;;
21842 *) ac_config_targets
="$ac_config_targets $1"
21843 ac_need_defaults
=false
;;
21849 ac_configure_extra_args
=
21851 if $ac_cs_silent; then
21853 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21858 if \$ac_cs_recheck; then
21859 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21861 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21862 CONFIG_SHELL='$SHELL'
21863 export CONFIG_SHELL
21868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21872 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21873 ## Running $as_me. ##
21879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21883 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21889 # Handling of arguments.
21890 for ac_config_target
in $ac_config_targets
21892 case $ac_config_target in
21893 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21894 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21895 "sqlite3.pc") CONFIG_FILES
="$CONFIG_FILES sqlite3.pc" ;;
21897 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21898 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21899 { (exit 1); exit 1; }; };;
21904 # If the user did not use the arguments to specify the items to instantiate,
21905 # then the envvar interface is used. Set only those that are not.
21906 # We use the long form for the default assignment because of an extremely
21907 # bizarre bug on SunOS 4.1.3.
21908 if $ac_need_defaults; then
21909 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21910 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21913 # Have a temporary directory for convenience. Make it in the build tree
21914 # simply because there is no reason against having it here, and in addition,
21915 # creating and moving files from /tmp can sometimes cause problems.
21916 # Hook for its removal unless debugging.
21917 # Note that there is a small window in which the directory will not be cleaned:
21918 # after its creation but before its name has been assigned to `$tmp'.
21922 trap 'exit_status=$?
21923 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21925 trap '{ (exit 1); exit 1; }' 1 2 13 15
21927 # Create a (secure) tmp directory for tmp files.
21930 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21931 test -n "$tmp" && test -d "$tmp"
21934 tmp
=.
/conf$$
-$RANDOM
21935 (umask 077 && mkdir
"$tmp")
21938 $as_echo "$as_me: cannot create a temporary directory in ." >&2
21939 { (exit 1); exit 1; }
21942 # Set up the scripts for CONFIG_FILES section.
21943 # No need to generate them if there are no CONFIG_FILES.
21944 # This happens for instance with `./config.status config.h'.
21945 if test -n "$CONFIG_FILES"; then
21949 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21950 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21953 ac_cs_awk_cr
=$ac_cr
21956 echo 'BEGIN {' >"$tmp/subs1.awk" &&
21961 echo "cat >conf$$subs.awk <<_ACEOF" &&
21962 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21964 } >conf$$subs.sh ||
21965 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
21966 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
21967 { (exit 1); exit 1; }; }
21968 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
21970 for ac_last_try in false false false false false :; do
21971 . ./conf$$subs.sh ||
21972 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
21973 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
21974 { (exit 1); exit 1; }; }
21976 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
21978 elif $ac_last_try; then
21979 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
21980 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
21981 { (exit 1); exit 1; }; }
21983 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21986 rm -f conf$$subs.sh
21988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21989 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
21993 s/^/S["/; s
/!.
*/"]=/
22003 s/\(.\{148\}\).*/\1/
22005 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22010 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22017 s/\(.\{148\}\).*/\1/
22019 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22023 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22028 ' <conf$$subs.awk | sed '
22033 ' >>$CONFIG_STATUS || ac_write_fail=1
22034 rm -f conf$$subs.awk
22035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22037 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
22038 for (key in S) S_is_set[key] = 1
22044 nfields = split(line, field, "@
")
22046 len = length(field[1])
22047 for (i = 2; i < nfields; i++) {
22049 keylen = length(key)
22050 if (S_is_set[key]) {
22052 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22053 len += length(value) + length(field[++i])
22064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22065 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22066 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22069 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
22070 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
22071 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
22072 { (exit 1); exit 1; }; }
22075 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22076 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
22077 # trailing colons and then remove the whole line if VPATH becomes empty
22078 # (actually we leave an empty line to preserve line numbers).
22079 if test "x
$srcdir" = x.; then
22080 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22081 s/:*\$(srcdir):*/:/
22082 s/:*\${srcdir}:*/:/
22084 s/^\([^=]*=[ ]*\):*/\1/
22090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22091 fi # test -n "$CONFIG_FILES"
22094 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
22099 :[FHLC]) ac_mode=$ac_tag; continue;;
22101 case $ac_mode$ac_tag in
22103 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error
: Invalid tag
$ac_tag.
" >&5
22104 $as_echo "$as_me: error
: Invalid tag
$ac_tag.
" >&2;}
22105 { (exit 1); exit 1; }; };;
22106 :[FH]-) ac_tag=-:-;;
22107 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22124 -) ac_f="$tmp/stdin
";;
22125 *) # Look for the file first in the build tree, then in the source tree
22126 # (if the path is not absolute). The absolute path cannot be DOS-style,
22127 # because $ac_f cannot contain `:'.
22131 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22133 { { $as_echo "$as_me:$LINENO: error
: cannot
find input
file: $ac_f" >&5
22134 $as_echo "$as_me: error
: cannot
find input
file: $ac_f" >&2;}
22135 { (exit 1); exit 1; }; };;
22137 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
22138 ac_file_inputs="$ac_file_inputs '$ac_f'"
22141 # Let's still pretend it is `configure' which instantiates (i.e., don't
22142 # use $as_me), people would be surprised to read:
22143 # /* config.h. Generated by config.status. */
22144 configure_input='Generated from '`
22145 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22147 if test x"$ac_file" != x-; then
22148 configure_input="$ac_file.
$configure_input"
22149 { $as_echo "$as_me:$LINENO: creating
$ac_file" >&5
22150 $as_echo "$as_me: creating
$ac_file" >&6;}
22152 # Neutralize special characters interpreted by sed in replacement strings.
22153 case $configure_input in #(
22154 *\&* | *\|* | *\\* )
22155 ac_sed_conf_input=`$as_echo "$configure_input" |
22156 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22157 *) ac_sed_conf_input=$configure_input;;
22161 *:-:* | *:-) cat >"$tmp/stdin
" \
22162 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
22163 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
22164 { (exit 1); exit 1; }; } ;;
22169 ac_dir=`$as_dirname -- "$ac_file" ||
22170 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22171 X"$ac_file" : 'X\(//\)[^/]' \| \
22172 X"$ac_file" : 'X\(//\)$' \| \
22173 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22174 $as_echo X"$ac_file" |
22175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22179 /^X\(\/\/\)[^/].*/{
22194 -*) as_dir=./$as_dir;;
22196 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22200 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
22201 *) as_qdir=$as_dir;;
22203 as_dirs="'$as_qdir' $as_dirs"
22204 as_dir=`$as_dirname -- "$as_dir" ||
22205 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22206 X"$as_dir" : 'X\(//\)[^/]' \| \
22207 X"$as_dir" : 'X\(//\)$' \| \
22208 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22209 $as_echo X"$as_dir" |
22210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22214 /^X\(\/\/\)[^/].*/{
22227 test -d "$as_dir" && break
22229 test -z "$as_dirs" || eval "mkdir
$as_dirs"
22230 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error
: cannot create directory
$as_dir" >&5
22231 $as_echo "$as_me: error
: cannot create directory
$as_dir" >&2;}
22232 { (exit 1); exit 1; }; }; }
22236 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22238 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22239 # A "..
" for each directory in $ac_dir_suffix.
22240 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22241 case $ac_top_builddir_sub in
22242 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22243 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22246 ac_abs_top_builddir=$ac_pwd
22247 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22248 # for backward compatibility:
22249 ac_top_builddir=$ac_top_build_prefix
22252 .) # We are building in place.
22254 ac_top_srcdir=$ac_top_builddir_sub
22255 ac_abs_top_srcdir=$ac_pwd ;;
22256 [\\/]* | ?:[\\/]* ) # Absolute name.
22257 ac_srcdir=$srcdir$ac_dir_suffix;
22258 ac_top_srcdir=$srcdir
22259 ac_abs_top_srcdir=$srcdir ;;
22260 *) # Relative name.
22261 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22262 ac_top_srcdir=$ac_top_build_prefix$srcdir
22263 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22265 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22275 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22276 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22281 # If the template does not know about datarootdir, expand it.
22282 # FIXME: This hack should be removed a few years after 2.60.
22283 ac_datarootdir_hack=; ac_datarootdir_seen=
22296 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
22297 *datarootdir*) ac_datarootdir_seen=yes;;
22298 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22299 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
22300 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
22302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22303 ac_datarootdir_hack='
22304 s&@datadir@&$datadir&g
22305 s&@docdir@&$docdir&g
22306 s&@infodir@&$infodir&g
22307 s&@localedir@&$localedir&g
22308 s&@mandir@&$mandir&g
22309 s&\\\${datarootdir}&$datarootdir&g' ;;
22313 # Neutralize VPATH when `$srcdir' = `.'.
22314 # Shell code in configure.ac might set extrasub.
22315 # FIXME: do we really want to maintain this feature?
22316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22317 ac_sed_extra="$ac_vpsub
22320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22322 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22323 s|@configure_input@|
$ac_sed_conf_input|
;t t
22324 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22325 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22326 s
&@srcdir@
&$ac_srcdir&;t t
22327 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22328 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22329 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22330 s
&@builddir@
&$ac_builddir&;t t
22331 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22332 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22333 s
&@INSTALL@
&$ac_INSTALL&;t t
22334 $ac_datarootdir_hack
22336 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
22337 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
22338 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
22339 { (exit 1); exit 1; }; }
22341 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22342 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22343 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22344 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22345 which seems to be undefined. Please make sure it is defined." >&5
22346 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22347 which seems to be undefined. Please make sure it is defined." >&2;}
22351 -) cat "$tmp/out" && rm -f "$tmp/out";;
22352 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22354 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22355 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22356 { (exit 1); exit 1; }; }
22360 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
22361 $as_echo "$as_me: executing $ac_file commands" >&6;}
22366 case $ac_file$ac_mode in
22367 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22368 # Strip MF so we end up with the name of the file.
22369 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
22370 # Check whether this is an Automake generated Makefile or not.
22371 # We used to match only the files named `Makefile.in', but
22372 # some people rename them; so instead we look at the file content.
22373 # Grep'ing the first line is not enough: some people post-process
22374 # each Makefile.in and add a new line on top of each file to say so.
22375 # So let's grep whole file.
22376 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
22377 dirpart
=`$as_dirname -- "$mf" ||
22378 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22379 X"$mf" : 'X\(//\)[^/]' \| \
22380 X"$mf" : 'X\(//\)$' \| \
22381 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22387 /^X\(\/\/\)[^/].*/{
22403 # Extract the definition of DEPDIR, am__include, and am__quote
22404 # from the Makefile without running `make'.
22405 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22406 test -z "$DEPDIR" && continue
22407 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22408 test -z "am__include" && continue
22409 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22410 # When using ansi2knr, U may be empty or an underscore; expand it
22411 U
=`sed -n 's/^U = //p' < "$mf"`
22412 # Find all dependency output files, they are included files with
22413 # $(DEPDIR) in their names. We invoke sed twice because it is the
22414 # simplest approach to changing $(DEPDIR) to its actual value in the
22416 for file in `sed -n "
22417 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22418 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22419 # Make sure the directory exists.
22420 test -f "$dirpart/$file" && continue
22421 fdir
=`$as_dirname -- "$file" ||
22422 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22423 X"$file" : 'X\(//\)[^/]' \| \
22424 X"$file" : 'X\(//\)$' \| \
22425 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22426 $as_echo X"$file" |
22427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22431 /^X\(\/\/\)[^/].*/{
22444 { as_dir
=$dirpart/$fdir
22446 -*) as_dir
=.
/$as_dir;;
22448 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22452 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22453 *) as_qdir
=$as_dir;;
22455 as_dirs
="'$as_qdir' $as_dirs"
22456 as_dir
=`$as_dirname -- "$as_dir" ||
22457 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22458 X"$as_dir" : 'X\(//\)[^/]' \| \
22459 X"$as_dir" : 'X\(//\)$' \| \
22460 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22461 $as_echo X"$as_dir" |
22462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22466 /^X\(\/\/\)[^/].*/{
22479 test -d "$as_dir" && break
22481 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22482 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22483 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22484 { (exit 1); exit 1; }; }; }
22485 # echo "creating $dirpart/$file"
22486 echo '# dummy' > "$dirpart/$file"
22495 { (exit 0); exit 0; }
22497 chmod +x
$CONFIG_STATUS
22498 ac_clean_files
=$ac_clean_files_save
22500 test $ac_write_fail = 0 ||
22501 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
22502 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
22503 { (exit 1); exit 1; }; }
22506 # configure is writing to config.log, and then calls config.status.
22507 # config.status does its own redirection, appending to config.log.
22508 # Unfortunately, on DOS this fails, as config.log is still kept open
22509 # by configure, so config.status won't be able to write to it; its
22510 # output is simply discarded. So we exec the FD to /dev/null,
22511 # effectively closing config.log, so it can be properly (re)opened and
22512 # appended to by config.status. When coming back to configure, we
22513 # need to make the FD available again.
22514 if test "$no_create" != yes; then
22516 ac_config_status_args
=
22517 test "$silent" = yes &&
22518 ac_config_status_args
="$ac_config_status_args --quiet"
22520 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22522 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22523 # would make configure fail if this is the last instruction.
22524 $ac_cs_success ||
{ (exit 1); exit 1; }
22526 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22527 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
22528 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}