2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libltdl 2.2.4.
5 # Report bugs to <bug-libtool@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo; then
570 # Avoid inline document here, it may be left over
572 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $ECHO works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593 if test -z "$lt_ECHO"; then
594 if test "X${echo_test_string+set}" != Xset; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
599 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
606 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
607 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
608 test "X$echo_testing_string" = "X$echo_test_string"; then
611 # The Solaris, AIX, and Digital Unix default echo programs unquote
612 # backslashes. This makes it impossible to quote backslashes using
613 # echo "$something" | sed 's/\\/\\\\/g'
615 # So, first we look for a working echo in the user's PATH.
617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
618 for dir in $PATH /usr/ucb; do
620 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
621 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
630 if test "X$ECHO" = Xecho; then
631 # We didn't find a better echo, so look for alternatives.
632 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
633 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 # This shell has a builtin print -r that does the trick.
637 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
638 test "X$CONFIG_SHELL" != X/bin/ksh; then
639 # If we have ksh, try running configure again with it.
640 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
641 export ORIGINAL_CONFIG_SHELL
642 CONFIG_SHELL=/bin/ksh
644 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
648 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
649 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
653 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654 test "X$echo_testing_string" = 'X\t' &&
655 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659 SHELL="$CONFIG_SHELL"
661 ECHO="$CONFIG_SHELL $0 --fallback-echo"
662 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663 test "X$echo_testing_string" = 'X\t' &&
664 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665 test "X$echo_testing_string" = "X$echo_test_string"; then
666 ECHO="$CONFIG_SHELL $0 --fallback-echo"
668 # maybe with a smaller string...
671 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
679 if test "$prev" != 'sed 50q "$0"'; then
680 echo_test_string=`eval $prev`
681 export echo_test_string
682 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684 # Oops. We lost completely, so just stick with echo.
693 # Copy echo and quote the copy suitably for passing to libtool from
694 # the Makefile, instead of quoting the original, which is used later.
696 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
703 exec 7<&0 </dev/null 6>&1
706 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
707 # so uname gets run too.
708 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
713 ac_default_prefix=/usr/local
715 ac_config_libobj_dir=.
721 SHELL=${CONFIG_SHELL-/bin/sh}
723 # Identity of this package.
724 PACKAGE_NAME='libltdl'
725 PACKAGE_TARNAME='libltdl'
726 PACKAGE_VERSION='2.2.4'
727 PACKAGE_STRING='libltdl 2.2.4'
728 PACKAGE_BUGREPORT='bug-libtool@gnu.org'
730 ac_unique_file="ltdl.c"
731 # Factoring default headers for most tests.
732 ac_includes_default="\
734 #ifdef HAVE_SYS_TYPES_H
735 # include <sys/types.h>
737 #ifdef HAVE_SYS_STAT_H
738 # include <sys/stat.h>
744 # ifdef HAVE_STDLIB_H
749 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
754 #ifdef HAVE_STRINGS_H
755 # include <strings.h>
757 #ifdef HAVE_INTTYPES_H
758 # include <inttypes.h>
776 program_transform_name
818 INSTALL_STRIP_PROGRAM
878 sys_symbol_underscore
883 CONVENIENCE_LTDL_TRUE
884 CONVENIENCE_LTDL_FALSE
889 ac_precious_vars='build_alias
900 # Initialize some variables set by options.
902 ac_init_version=false
903 # The variables have the same names as the options, with
904 # dashes changed to underlines.
912 program_transform_name=s,x,x,
920 # Installation directory options.
921 # These are left unexpanded so users can "make install exec_prefix=/foo"
922 # and all the variables that are supposed to be based on exec_prefix
923 # by default will actually change.
924 # Use braces instead of parens because sh, perl, etc. also accept them.
925 # (The list follows the same order as the GNU Coding Standards.)
926 bindir='${exec_prefix}/bin'
927 sbindir='${exec_prefix}/sbin'
928 libexecdir='${exec_prefix}/libexec'
929 datarootdir='${prefix}/share'
930 datadir='${datarootdir}'
931 sysconfdir='${prefix}/etc'
932 sharedstatedir='${prefix}/com'
933 localstatedir='${prefix}/var'
934 includedir='${prefix}/include'
935 oldincludedir='/usr/include'
936 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
937 infodir='${datarootdir}/info'
942 libdir='${exec_prefix}/lib'
943 localedir='${datarootdir}/locale'
944 mandir='${datarootdir}/man'
950 # If the previous option needs an argument, assign it.
951 if test -n "$ac_prev"; then
952 eval $ac_prev=\$ac_option
958 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962 # Accept the important Cygnus configure options, so we can diagnose typos.
964 case $ac_dashdash$ac_option in
968 -bindir | --bindir | --bindi | --bind | --bin | --bi)
970 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
973 -build | --build | --buil | --bui | --bu)
974 ac_prev=build_alias ;;
975 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
976 build_alias=$ac_optarg ;;
978 -cache-file | --cache-file | --cache-fil | --cache-fi \
979 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
980 ac_prev=cache_file ;;
981 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
982 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
983 cache_file=$ac_optarg ;;
986 cache_file=config.cache ;;
988 -datadir | --datadir | --datadi | --datad)
990 -datadir=* | --datadir=* | --datadi=* | --datad=*)
991 datadir=$ac_optarg ;;
993 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
994 | --dataroo | --dataro | --datar)
995 ac_prev=datarootdir ;;
996 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
997 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
998 datarootdir=$ac_optarg ;;
1000 -disable-* | --disable-*)
1001 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1004 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1005 { (exit 1); exit 1; }; }
1006 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1007 eval enable_$ac_feature=no ;;
1009 -docdir | --docdir | --docdi | --doc | --do)
1011 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1012 docdir=$ac_optarg ;;
1014 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1016 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1017 dvidir=$ac_optarg ;;
1019 -enable-* | --enable-*)
1020 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1023 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1024 { (exit 1); exit 1; }; }
1025 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1026 eval enable_$ac_feature=\$ac_optarg ;;
1028 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1029 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1030 | --exec | --exe | --ex)
1031 ac_prev=exec_prefix ;;
1032 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1033 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1034 | --exec=* | --exe=* | --ex=*)
1035 exec_prefix=$ac_optarg ;;
1037 -gas | --gas | --ga | --g)
1038 # Obsolete; use --with-gas.
1041 -help | --help | --hel | --he | -h)
1042 ac_init_help=long ;;
1043 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1044 ac_init_help=recursive ;;
1045 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1046 ac_init_help=short ;;
1048 -host | --host | --hos | --ho)
1049 ac_prev=host_alias ;;
1050 -host=* | --host=* | --hos=* | --ho=*)
1051 host_alias=$ac_optarg ;;
1053 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1055 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1057 htmldir=$ac_optarg ;;
1059 -includedir | --includedir | --includedi | --included | --include \
1060 | --includ | --inclu | --incl | --inc)
1061 ac_prev=includedir ;;
1062 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1063 | --includ=* | --inclu=* | --incl=* | --inc=*)
1064 includedir=$ac_optarg ;;
1066 -infodir | --infodir | --infodi | --infod | --info | --inf)
1068 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1069 infodir=$ac_optarg ;;
1071 -libdir | --libdir | --libdi | --libd)
1073 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1074 libdir=$ac_optarg ;;
1076 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1077 | --libexe | --libex | --libe)
1078 ac_prev=libexecdir ;;
1079 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1080 | --libexe=* | --libex=* | --libe=*)
1081 libexecdir=$ac_optarg ;;
1083 -localedir | --localedir | --localedi | --localed | --locale)
1084 ac_prev=localedir ;;
1085 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1086 localedir=$ac_optarg ;;
1088 -localstatedir | --localstatedir | --localstatedi | --localstated \
1089 | --localstate | --localstat | --localsta | --localst | --locals)
1090 ac_prev=localstatedir ;;
1091 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1092 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1093 localstatedir=$ac_optarg ;;
1095 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1097 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1098 mandir=$ac_optarg ;;
1100 -nfp | --nfp | --nf)
1101 # Obsolete; use --without-fp.
1104 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1105 | --no-cr | --no-c | -n)
1108 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1109 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1112 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1113 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1114 | --oldin | --oldi | --old | --ol | --o)
1115 ac_prev=oldincludedir ;;
1116 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1117 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1118 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1119 oldincludedir=$ac_optarg ;;
1121 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1123 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1124 prefix=$ac_optarg ;;
1126 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1127 | --program-pre | --program-pr | --program-p)
1128 ac_prev=program_prefix ;;
1129 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1130 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1131 program_prefix=$ac_optarg ;;
1133 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1134 | --program-suf | --program-su | --program-s)
1135 ac_prev=program_suffix ;;
1136 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1137 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1138 program_suffix=$ac_optarg ;;
1140 -program-transform-name | --program-transform-name \
1141 | --program-transform-nam | --program-transform-na \
1142 | --program-transform-n | --program-transform- \
1143 | --program-transform | --program-transfor \
1144 | --program-transfo | --program-transf \
1145 | --program-trans | --program-tran \
1146 | --progr-tra | --program-tr | --program-t)
1147 ac_prev=program_transform_name ;;
1148 -program-transform-name=* | --program-transform-name=* \
1149 | --program-transform-nam=* | --program-transform-na=* \
1150 | --program-transform-n=* | --program-transform-=* \
1151 | --program-transform=* | --program-transfor=* \
1152 | --program-transfo=* | --program-transf=* \
1153 | --program-trans=* | --program-tran=* \
1154 | --progr-tra=* | --program-tr=* | --program-t=*)
1155 program_transform_name=$ac_optarg ;;
1157 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1159 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1160 pdfdir=$ac_optarg ;;
1162 -psdir | --psdir | --psdi | --psd | --ps)
1164 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1168 | -silent | --silent | --silen | --sile | --sil)
1171 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1173 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1175 sbindir=$ac_optarg ;;
1177 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1178 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1179 | --sharedst | --shareds | --shared | --share | --shar \
1181 ac_prev=sharedstatedir ;;
1182 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1183 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1184 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1186 sharedstatedir=$ac_optarg ;;
1188 -site | --site | --sit)
1190 -site=* | --site=* | --sit=*)
1193 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1195 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1196 srcdir=$ac_optarg ;;
1198 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1199 | --syscon | --sysco | --sysc | --sys | --sy)
1200 ac_prev=sysconfdir ;;
1201 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1202 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1203 sysconfdir=$ac_optarg ;;
1205 -target | --target | --targe | --targ | --tar | --ta | --t)
1206 ac_prev=target_alias ;;
1207 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1208 target_alias=$ac_optarg ;;
1210 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1213 -version | --version | --versio | --versi | --vers | -V)
1214 ac_init_version=: ;;
1217 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1220 { echo "$as_me: error: invalid package name: $ac_package" >&2
1221 { (exit 1); exit 1; }; }
1222 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1223 eval with_$ac_package=\$ac_optarg ;;
1225 -without-* | --without-*)
1226 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1227 # Reject names that are not valid shell variable names.
1228 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1229 { echo "$as_me: error: invalid package name: $ac_package" >&2
1230 { (exit 1); exit 1; }; }
1231 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1232 eval with_$ac_package=no ;;
1235 # Obsolete; use --with-x.
1238 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1239 | --x-incl | --x-inc | --x-in | --x-i)
1240 ac_prev=x_includes ;;
1241 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1242 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1243 x_includes=$ac_optarg ;;
1245 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1246 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1247 ac_prev=x_libraries ;;
1248 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1249 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1250 x_libraries=$ac_optarg ;;
1252 -*) { echo "$as_me: error: unrecognized option: $ac_option
1253 Try \`$0 --help' for more information." >&2
1254 { (exit 1); exit 1; }; }
1258 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1261 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1262 { (exit 1); exit 1; }; }
1263 eval $ac_envvar=\$ac_optarg
1264 export $ac_envvar ;;
1267 # FIXME: should be removed in autoconf 3.0.
1268 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1269 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1270 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1271 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1277 if test -n "$ac_prev"; then
1278 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1279 { echo "$as_me: error: missing argument to $ac_option" >&2
1280 { (exit 1); exit 1; }; }
1283 # Be sure to have absolute directory names.
1284 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1285 datadir sysconfdir sharedstatedir localstatedir includedir \
1286 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1287 libdir localedir mandir
1289 eval ac_val=\$$ac_var
1291 [\\/$]* | ?:[\\/]* ) continue;;
1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1294 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1295 { (exit 1); exit 1; }; }
1298 # There might be people who depend on the old broken behavior: `$host'
1299 # used to hold the argument of --host etc.
1300 # FIXME: To remove some day.
1303 target=$target_alias
1305 # FIXME: To remove some day.
1306 if test "x$host_alias" != x; then
1307 if test "x$build_alias" = x; then
1308 cross_compiling=maybe
1309 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1310 If a cross compiler is detected then cross compile mode will be used." >&2
1311 elif test "x$build_alias" != "x$host_alias"; then
1317 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1319 test "$silent" = yes && exec 6>/dev/null
1322 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1323 ac_ls_di=`ls -di .` &&
1324 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1325 { echo "$as_me: error: Working directory cannot be determined" >&2
1326 { (exit 1); exit 1; }; }
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 { echo "$as_me: error: pwd does not report name of working directory" >&2
1329 { (exit 1); exit 1; }; }
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334 ac_srcdir_defaulted=yes
1335 # Try the directory containing this script, then the parent directory.
1336 ac_confdir=`$as_dirname -- "$0" ||
1337 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338 X"$0" : 'X\(//\)[^/]' \| \
1339 X"$0" : 'X\(//\)$' \| \
1340 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1364 ac_srcdir_defaulted=no
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1368 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1369 { (exit 1); exit 1; }; }
1371 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1373 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1374 { (exit 1); exit 1; }; }
1376 # When building in place, set srcdir=.
1377 if test "$ac_abs_confdir" = "$ac_pwd"; then
1380 # Remove unnecessary trailing slashes from srcdir.
1381 # Double slashes in file names in object file debugging info
1382 # mess up M-x gdb in Emacs.
1384 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1386 for ac_var in $ac_precious_vars; do
1387 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1388 eval ac_env_${ac_var}_value=\$${ac_var}
1389 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1390 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394 # Report the --help message.
1396 if test "$ac_init_help" = "long"; then
1397 # Omit some internal or obsolete options to make the list less imposing.
1398 # This message is too long to be a string in the A/UX 3.1 sh.
1400 \`configure' configures libltdl 2.2.4 to adapt to many kinds of systems.
1402 Usage: $0 [OPTION]... [VAR=VALUE]...
1404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1405 VAR=VALUE. See below for descriptions of some of the useful variables.
1407 Defaults for the options are specified in brackets.
1410 -h, --help display this help and exit
1411 --help=short display options specific to this package
1412 --help=recursive display the short help of all the included packages
1413 -V, --version display version information and exit
1414 -q, --quiet, --silent do not print \`checking...' messages
1415 --cache-file=FILE cache test results in FILE [disabled]
1416 -C, --config-cache alias for \`--cache-file=config.cache'
1417 -n, --no-create do not create output files
1418 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1420 Installation directories:
1421 --prefix=PREFIX install architecture-independent files in PREFIX
1422 [$ac_default_prefix]
1423 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1426 By default, \`make install' will install all the files in
1427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1429 for instance \`--prefix=\$HOME'.
1431 For better control, use the options below.
1433 Fine tuning of the installation directories:
1434 --bindir=DIR user executables [EPREFIX/bin]
1435 --sbindir=DIR system admin executables [EPREFIX/sbin]
1436 --libexecdir=DIR program executables [EPREFIX/libexec]
1437 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1438 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1439 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1440 --libdir=DIR object code libraries [EPREFIX/lib]
1441 --includedir=DIR C header files [PREFIX/include]
1442 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1443 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1444 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1445 --infodir=DIR info documentation [DATAROOTDIR/info]
1446 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1447 --mandir=DIR man documentation [DATAROOTDIR/man]
1448 --docdir=DIR documentation root [DATAROOTDIR/doc/libltdl]
1449 --htmldir=DIR html documentation [DOCDIR]
1450 --dvidir=DIR dvi documentation [DOCDIR]
1451 --pdfdir=DIR pdf documentation [DOCDIR]
1452 --psdir=DIR ps documentation [DOCDIR]
1458 --program-prefix=PREFIX prepend PREFIX to installed program names
1459 --program-suffix=SUFFIX append SUFFIX to installed program names
1460 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1463 --build=BUILD configure for building on BUILD [guessed]
1464 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1468 if test -n "$ac_init_help"; then
1469 case $ac_init_help in
1470 short | recursive ) echo "Configuration of libltdl 2.2.4:";;
1475 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1476 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1477 --enable-shared[=PKGS] build shared libraries [default=yes]
1478 --enable-static[=PKGS] build static libraries [default=yes]
1479 --enable-fast-install[=PKGS]
1480 optimize for fast installation [default=yes]
1481 --disable-dependency-tracking speeds up one-time build
1482 --enable-dependency-tracking do not reject slow dependency extractors
1483 --disable-libtool-lock avoid locking (might break parallel builds)
1484 --enable-ltdl-install install libltdl
1487 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1488 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1489 --with-pic try to use only PIC/non-PIC objects [default=use
1491 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1493 Some influential environment variables:
1494 CC C compiler command
1495 CFLAGS C compiler flags
1496 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1497 nonstandard directory <lib dir>
1498 LIBS libraries to pass to the linker, e.g. -l<library>
1499 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1500 you have headers in a nonstandard directory <include dir>
1503 Use these variables to override the choices made by `configure' or to help
1504 it to find libraries and programs with nonstandard names/locations.
1506 Report bugs to <bug-libtool@gnu.org>.
1511 if test "$ac_init_help" = "recursive"; then
1512 # If there are subdirs, report their specific --help.
1513 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1514 test -d "$ac_dir" || continue
1518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1521 # A ".." for each directory in $ac_dir_suffix.
1522 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1523 case $ac_top_builddir_sub in
1524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1528 ac_abs_top_builddir=$ac_pwd
1529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1530 # for backward compatibility:
1531 ac_top_builddir=$ac_top_build_prefix
1534 .) # We are building in place.
1536 ac_top_srcdir=$ac_top_builddir_sub
1537 ac_abs_top_srcdir=$ac_pwd ;;
1538 [\\/]* | ?:[\\/]* ) # Absolute name.
1539 ac_srcdir=$srcdir$ac_dir_suffix;
1540 ac_top_srcdir=$srcdir
1541 ac_abs_top_srcdir=$srcdir ;;
1543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1544 ac_top_srcdir=$ac_top_build_prefix$srcdir
1545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1549 cd "$ac_dir" || { ac_status=$?; continue; }
1550 # Check for guested configure.
1551 if test -f "$ac_srcdir/configure.gnu"; then
1553 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1554 elif test -f "$ac_srcdir/configure"; then
1556 $SHELL "$ac_srcdir/configure" --help=recursive
1558 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1560 cd "$ac_pwd" || { ac_status=$?; break; }
1564 test -n "$ac_init_help" && exit $ac_status
1565 if $ac_init_version; then
1567 libltdl configure 2.2.4
1568 generated by GNU Autoconf 2.61
1570 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1571 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1572 This configure script is free software; the Free Software Foundation
1573 gives unlimited permission to copy, distribute and modify it.
1577 cat >config.log <<_ACEOF
1578 This file contains any messages produced by compilers while
1579 running configure, to aid debugging if configure makes a mistake.
1581 It was created by libltdl $as_me 2.2.4, which was
1582 generated by GNU Autoconf 2.61. Invocation command line was
1594 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1595 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1596 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1597 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1598 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1600 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1601 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1603 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1604 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1605 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1606 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1607 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1608 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1609 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1617 test -z "$as_dir" && as_dir=.
1618 echo "PATH: $as_dir"
1634 # Keep a trace of the command line.
1635 # Strip out --no-create and --no-recursion so they do not pile up.
1636 # Strip out --silent because we don't want to record it for future runs.
1637 # Also quote any args containing shell meta-characters.
1638 # Make two passes to allow for proper duplicate-argument suppression.
1642 ac_must_keep_next=false
1648 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1649 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1650 | -silent | --silent | --silen | --sile | --sil)
1653 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1656 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1658 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1659 if test $ac_must_keep_next = true; then
1660 ac_must_keep_next=false # Got value, back to normal.
1663 *=* | --config-cache | -C | -disable-* | --disable-* \
1664 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1665 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1666 | -with-* | --with-* | -without-* | --without-* | --x)
1667 case "$ac_configure_args0 " in
1668 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1671 -* ) ac_must_keep_next=true ;;
1674 ac_configure_args="$ac_configure_args '$ac_arg'"
1679 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1680 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1682 # When interrupted or exit'd, cleanup temporary files, and complete
1683 # config.log. We remove comments because anyway the quotes in there
1684 # would cause problems or look ugly.
1685 # WARNING: Use '\'' to represent an apostrophe within the trap.
1686 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1687 trap 'exit_status=$?
1688 # Save into config.log some information that might help in debugging.
1693 ## ---------------- ##
1694 ## Cache variables. ##
1695 ## ---------------- ##
1698 # The following way of writing the cache mishandles newlines in values,
1700 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1701 eval ac_val=\$$ac_var
1705 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1706 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1709 _ | IFS | as_nl) ;; #(
1710 *) $as_unset $ac_var ;;
1715 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1716 *${as_nl}ac_space=\ *)
1718 "s/'\''/'\''\\\\'\'''\''/g;
1719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1722 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1730 ## ----------------- ##
1731 ## Output variables. ##
1732 ## ----------------- ##
1735 for ac_var in $ac_subst_vars
1737 eval ac_val=\$$ac_var
1739 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1741 echo "$ac_var='\''$ac_val'\''"
1745 if test -n "$ac_subst_files"; then
1747 ## ------------------- ##
1748 ## File substitutions. ##
1749 ## ------------------- ##
1752 for ac_var in $ac_subst_files
1754 eval ac_val=\$$ac_var
1756 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1758 echo "$ac_var='\''$ac_val'\''"
1763 if test -s confdefs.h; then
1773 test "$ac_signal" != 0 &&
1774 echo "$as_me: caught signal $ac_signal"
1775 echo "$as_me: exit $exit_status"
1777 rm -f core *.core core.conftest.* &&
1778 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1781 for ac_signal in 1 2 13 15; do
1782 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1786 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1787 rm -f -r conftest* confdefs.h
1789 # Predefined preprocessor variables.
1791 cat >>confdefs.h <<_ACEOF
1792 #define PACKAGE_NAME "$PACKAGE_NAME"
1796 cat >>confdefs.h <<_ACEOF
1797 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1801 cat >>confdefs.h <<_ACEOF
1802 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1806 cat >>confdefs.h <<_ACEOF
1807 #define PACKAGE_STRING "$PACKAGE_STRING"
1811 cat >>confdefs.h <<_ACEOF
1812 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1816 # Let the site file select an alternate cache file if it wants to.
1817 # Prefer explicitly selected file to automatically selected ones.
1818 if test -n "$CONFIG_SITE"; then
1819 set x "$CONFIG_SITE"
1820 elif test "x$prefix" != xNONE; then
1821 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1823 set x "$ac_default_prefix/share/config.site" \
1824 "$ac_default_prefix/etc/config.site"
1829 if test -r "$ac_site_file"; then
1830 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1831 echo "$as_me: loading site script $ac_site_file" >&6;}
1832 sed 's/^/| /' "$ac_site_file" >&5
1837 if test -r "$cache_file"; then
1838 # Some versions of bash will fail to source /dev/null (special
1839 # files actually), so we avoid doing that.
1840 if test -f "$cache_file"; then
1841 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1842 echo "$as_me: loading cache $cache_file" >&6;}
1844 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1845 *) . "./$cache_file";;
1849 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1850 echo "$as_me: creating cache $cache_file" >&6;}
1854 # Check that the precious variables saved in the cache have kept the same
1856 ac_cache_corrupted=false
1857 for ac_var in $ac_precious_vars; do
1858 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1859 eval ac_new_set=\$ac_env_${ac_var}_set
1860 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1861 eval ac_new_val=\$ac_env_${ac_var}_value
1862 case $ac_old_set,$ac_new_set in
1864 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1865 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1866 ac_cache_corrupted=: ;;
1868 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1869 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1870 ac_cache_corrupted=: ;;
1873 if test "x$ac_old_val" != "x$ac_new_val"; then
1874 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1875 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1876 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1877 echo "$as_me: former value: $ac_old_val" >&2;}
1878 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1879 echo "$as_me: current value: $ac_new_val" >&2;}
1880 ac_cache_corrupted=:
1883 # Pass precious variables to config.status.
1884 if test "$ac_new_set" = set; then
1886 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1887 *) ac_arg=$ac_var=$ac_new_val ;;
1889 case " $ac_configure_args " in
1890 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1891 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1895 if $ac_cache_corrupted; then
1896 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1897 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1898 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1899 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1900 { (exit 1); exit 1; }; }
1928 ac_cpp='$CPP $CPPFLAGS'
1929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1934 ac_config_headers="$ac_config_headers config.h:config-h.in"
1938 for ac_dir in config "$srcdir"/config; do
1939 if test -f "$ac_dir/install-sh"; then
1941 ac_install_sh="$ac_aux_dir/install-sh -c"
1943 elif test -f "$ac_dir/install.sh"; then
1945 ac_install_sh="$ac_aux_dir/install.sh -c"
1947 elif test -f "$ac_dir/shtool"; then
1949 ac_install_sh="$ac_aux_dir/shtool install -c"
1953 if test -z "$ac_aux_dir"; then
1954 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1955 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1956 { (exit 1); exit 1; }; }
1959 # These three variables are undocumented and unsupported,
1960 # and are intended to be withdrawn in a future Autoconf release.
1961 # They can cause serious problems if a builder's source tree is in a directory
1962 # whose full name contains unusual characters.
1963 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1964 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1965 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1977 ## ------------------------ ##
1978 ## Automake Initialisation. ##
1979 ## ------------------------ ##
1981 am__api_version='1.10'
1983 # Find a good install program. We prefer a C program (faster),
1984 # so one script is as good as another. But avoid the broken or
1985 # incompatible versions:
1986 # SysV /etc/install, /usr/sbin/install
1987 # SunOS /usr/etc/install
1988 # IRIX /sbin/install
1990 # AmigaOS /C/install, which installs bootblocks on floppy discs
1991 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1992 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1993 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1994 # OS/2's system install, which has a completely different semantic
1995 # ./install, which can be erroneously created by make from ./install.sh.
1996 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1997 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1998 if test -z "$INSTALL"; then
1999 if test "${ac_cv_path_install+set}" = set; then
2000 echo $ECHO_N "(cached) $ECHO_C" >&6
2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir=.
2007 # Account for people who put trailing slashes in PATH elements.
2009 ./ | .// | /cC/* | \
2010 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2011 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2014 # OSF1 and SCO ODT 3.0 have their own names for install.
2015 # Don't use installbsd from OSF since it installs stuff as root
2017 for ac_prog in ginstall scoinst install; do
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2020 if test $ac_prog = install &&
2021 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2022 # AIX install. It has an incompatible calling convention.
2024 elif test $ac_prog = install &&
2025 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2026 # program-specific install script used by HP pwplus--don't use.
2029 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2042 if test "${ac_cv_path_install+set}" = set; then
2043 INSTALL=$ac_cv_path_install
2045 # As a last resort, use the slow shell script. Don't cache a
2046 # value for INSTALL within a source directory, because that will
2047 # break other packages using the cache if that directory is
2048 # removed, or if the value is a relative name.
2049 INSTALL=$ac_install_sh
2052 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2053 echo "${ECHO_T}$INSTALL" >&6; }
2055 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2056 # It thinks the first close brace ends the variable substitution.
2057 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2059 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2061 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2063 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2064 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2067 echo timestamp > conftest.file
2068 # Do `set' in a subshell so we don't clobber the current shell's
2069 # arguments. Must try -L first in case configure is actually a
2070 # symlink; some systems play weird games with the mod time of symlinks
2071 # (eg FreeBSD returns the mod time of the symlink's containing
2074 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2075 if test "$*" = "X"; then
2077 set X `ls -t $srcdir/configure conftest.file`
2080 if test "$*" != "X $srcdir/configure conftest.file" \
2081 && test "$*" != "X conftest.file $srcdir/configure"; then
2083 # If neither matched, then we have a broken ls. This can happen
2084 # if, for instance, CONFIG_SHELL is bash and it inherits a
2085 # broken ls alias from the environment. This has actually
2086 # happened. Such a system could not be considered "sane".
2087 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2088 alias in your environment" >&5
2089 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2090 alias in your environment" >&2;}
2091 { (exit 1); exit 1; }; }
2094 test "$2" = conftest.file
2100 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2101 Check your system clock" >&5
2102 echo "$as_me: error: newly created file is older than distributed files!
2103 Check your system clock" >&2;}
2104 { (exit 1); exit 1; }; }
2106 { echo "$as_me:$LINENO: result: yes" >&5
2107 echo "${ECHO_T}yes" >&6; }
2108 test "$program_prefix" != NONE &&
2109 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2110 # Use a double $ so make ignores it.
2111 test "$program_suffix" != NONE &&
2112 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2113 # Double any \ or $. echo might interpret backslashes.
2114 # By default was `s,x,x', remove it if useless.
2115 cat <<\_ACEOF >conftest.sed
2116 s/[\\$]/&&/g;s/;s,x,x,$//
2118 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2121 # expand $ac_aux_dir to an absolute path
2122 am_aux_dir=`cd $ac_aux_dir && pwd`
2124 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2125 # Use eval to expand $SHELL
2126 if eval "$MISSING --run true"; then
2127 am_missing_run="$MISSING --run "
2130 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2131 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2134 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2135 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2136 if test -z "$MKDIR_P"; then
2137 if test "${ac_cv_path_mkdir+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2144 test -z "$as_dir" && as_dir=.
2145 for ac_prog in mkdir gmkdir; do
2146 for ac_exec_ext in '' $ac_executable_extensions; do
2147 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2148 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2149 'mkdir (GNU coreutils) '* | \
2150 'mkdir (coreutils) '* | \
2151 'mkdir (fileutils) '4.1*)
2152 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2162 if test "${ac_cv_path_mkdir+set}" = set; then
2163 MKDIR_P="$ac_cv_path_mkdir -p"
2165 # As a last resort, use the slow shell script. Don't cache a
2166 # value for MKDIR_P within a source directory, because that will
2167 # break other packages using the cache if that directory is
2168 # removed, or if the value is a relative name.
2169 test -d ./--version && rmdir ./--version
2170 MKDIR_P="$ac_install_sh -d"
2173 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2174 echo "${ECHO_T}$MKDIR_P" >&6; }
2178 [\\/$]* | ?:[\\/]*) ;;
2179 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2182 for ac_prog in gawk mawk nawk awk
2184 # Extract the first word of "$ac_prog", so it can be a program name with args.
2185 set dummy $ac_prog; ac_word=$2
2186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188 if test "${ac_cv_prog_AWK+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test -n "$AWK"; then
2192 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 ac_cv_prog_AWK="$ac_prog"
2202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 if test -n "$AWK"; then
2213 { echo "$as_me:$LINENO: result: $AWK" >&5
2214 echo "${ECHO_T}$AWK" >&6; }
2216 { echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6; }
2221 test -n "$AWK" && break
2224 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2225 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2226 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2227 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 cat >conftest.make <<\_ACEOF
2233 @echo '@@@%%%=$(MAKE)=@@@%%%'
2235 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2236 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2238 eval ac_cv_prog_make_${ac_make}_set=yes;;
2240 eval ac_cv_prog_make_${ac_make}_set=no;;
2244 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2245 { echo "$as_me:$LINENO: result: yes" >&5
2246 echo "${ECHO_T}yes" >&6; }
2249 { echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6; }
2251 SET_MAKE="MAKE=${MAKE-make}"
2254 rm -rf .tst 2>/dev/null
2255 mkdir .tst 2>/dev/null
2256 if test -d .tst; then
2261 rmdir .tst 2>/dev/null
2263 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2264 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2265 # is not polluted with repeated "-I."
2266 am__isrc=' -I$(srcdir)'
2267 # test to see if srcdir already configured
2268 if test -f $srcdir/config.status; then
2269 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2270 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2271 { (exit 1); exit 1; }; }
2275 # test whether we have cygpath
2276 if test -z "$CYGPATH_W"; then
2277 if (cygpath --version) >/dev/null 2>/dev/null; then
2278 CYGPATH_W='cygpath -w'
2285 # Define the identity of the package.
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE "$PACKAGE"
2295 cat >>confdefs.h <<_ACEOF
2296 #define VERSION "$VERSION"
2299 # Some tools Automake needs.
2301 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2304 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2307 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2310 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2313 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2315 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2317 # Installed binaries are usually stripped using `strip' when the user
2318 # run `make install-strip'. However `strip' might not be the right
2319 # tool to use in cross-compilation environments, therefore Automake
2320 # will honor the `STRIP' environment variable to overrule this program.
2321 if test "$cross_compiling" != no; then
2322 if test -n "$ac_tool_prefix"; then
2323 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2324 set dummy ${ac_tool_prefix}strip; ac_word=$2
2325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2327 if test "${ac_cv_prog_STRIP+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2330 if test -n "$STRIP"; then
2331 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 STRIP=$ac_cv_prog_STRIP
2351 if test -n "$STRIP"; then
2352 { echo "$as_me:$LINENO: result: $STRIP" >&5
2353 echo "${ECHO_T}$STRIP" >&6; }
2355 { echo "$as_me:$LINENO: result: no" >&5
2356 echo "${ECHO_T}no" >&6; }
2361 if test -z "$ac_cv_prog_STRIP"; then
2363 # Extract the first word of "strip", so it can be a program name with args.
2364 set dummy strip; ac_word=$2
2365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2367 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 if test -n "$ac_ct_STRIP"; then
2371 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
2379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2380 ac_cv_prog_ac_ct_STRIP="strip"
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2391 if test -n "$ac_ct_STRIP"; then
2392 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2393 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2395 { echo "$as_me:$LINENO: result: no" >&5
2396 echo "${ECHO_T}no" >&6; }
2399 if test "x$ac_ct_STRIP" = x; then
2402 case $cross_compiling:$ac_tool_warned in
2404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2405 whose name does not start with the host triplet. If you think this
2406 configuration is useful to you, please write to autoconf@gnu.org." >&5
2407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2408 whose name does not start with the host triplet. If you think this
2409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2410 ac_tool_warned=yes ;;
2415 STRIP="$ac_cv_prog_STRIP"
2419 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2421 # We need awk for the "check" target. The system "awk" is bad on
2423 # Always define AMTAR for backward compatibility.
2425 AMTAR=${AMTAR-"${am_missing_run}tar"}
2427 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2435 ## ------------------------------- ##
2436 ## Libtool specific configuration. ##
2437 ## ------------------------------- ##
2438 pkgdatadir='${datadir}'"/${PACKAGE}"
2441 ## ----------------------- ##
2442 ## Libtool initialisation. ##
2443 ## ----------------------- ##
2446 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2447 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2452 macro_version='2.2.4'
2453 macro_revision='1.2976'
2467 ltmain="$ac_aux_dir/ltmain.sh"
2469 # Make sure we can run config.sub.
2470 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2471 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2472 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2473 { (exit 1); exit 1; }; }
2475 { echo "$as_me:$LINENO: checking build system type" >&5
2476 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2477 if test "${ac_cv_build+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 ac_build_alias=$build_alias
2481 test "x$ac_build_alias" = x &&
2482 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2483 test "x$ac_build_alias" = x &&
2484 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2485 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2486 { (exit 1); exit 1; }; }
2487 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2488 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2489 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2490 { (exit 1); exit 1; }; }
2493 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2494 echo "${ECHO_T}$ac_cv_build" >&6; }
2495 case $ac_cv_build in
2497 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2498 echo "$as_me: error: invalid value of canonical build" >&2;}
2499 { (exit 1); exit 1; }; };;
2502 ac_save_IFS=$IFS; IFS='-'
2508 # Remember, the first character of IFS is used to create $*,
2509 # except with old shells:
2512 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2515 { echo "$as_me:$LINENO: checking host system type" >&5
2516 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2517 if test "${ac_cv_host+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 if test "x$host_alias" = x; then
2521 ac_cv_host=$ac_cv_build
2523 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2524 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2525 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2526 { (exit 1); exit 1; }; }
2530 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2531 echo "${ECHO_T}$ac_cv_host" >&6; }
2534 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2535 echo "$as_me: error: invalid value of canonical host" >&2;}
2536 { (exit 1); exit 1; }; };;
2539 ac_save_IFS=$IFS; IFS='-'
2545 # Remember, the first character of IFS is used to create $*,
2546 # except with old shells:
2549 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2552 DEPDIR="${am__leading_dot}deps"
2554 ac_config_commands="$ac_config_commands depfiles"
2557 am_make=${MAKE-make}
2558 cat > confinc << 'END'
2563 # If we don't find an include directive, just comment out the code.
2564 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2565 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2569 # First try GNU make style include.
2570 echo "include confinc" > confmf
2571 # We grep out `Entering directory' and `Leaving directory'
2572 # messages which can occur if `w' ends up in MAKEFLAGS.
2573 # In particular we don't look at `^make:' because GNU make might
2574 # be invoked under some other name (usually "gmake"), in which
2575 # case it prints its new name instead of `make'.
2576 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2581 # Now try BSD make style include.
2582 if test "$am__include" = "#"; then
2583 echo '.include "confinc"' > confmf
2584 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2585 am__include=.include
2592 { echo "$as_me:$LINENO: result: $_am_result" >&5
2593 echo "${ECHO_T}$_am_result" >&6; }
2594 rm -f confinc confmf
2596 # Check whether --enable-dependency-tracking was given.
2597 if test "${enable_dependency_tracking+set}" = set; then
2598 enableval=$enable_dependency_tracking;
2601 if test "x$enable_dependency_tracking" != xno; then
2602 am_depcomp="$ac_aux_dir/depcomp"
2605 if test "x$enable_dependency_tracking" != xno; then
2615 ac_cpp='$CPP $CPPFLAGS'
2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2619 if test -n "$ac_tool_prefix"; then
2620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2621 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2624 if test "${ac_cv_prog_CC+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 if test -n "$CC"; then
2628 ac_cv_prog_CC="$CC" # Let the user override the test.
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 if test -n "$CC"; then
2649 { echo "$as_me:$LINENO: result: $CC" >&5
2650 echo "${ECHO_T}$CC" >&6; }
2652 { echo "$as_me:$LINENO: result: no" >&5
2653 echo "${ECHO_T}no" >&6; }
2658 if test -z "$ac_cv_prog_CC"; then
2660 # Extract the first word of "gcc", so it can be a program name with args.
2661 set dummy gcc; ac_word=$2
2662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2664 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 if test -n "$ac_ct_CC"; then
2668 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir=.
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677 ac_cv_prog_ac_ct_CC="gcc"
2678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2688 if test -n "$ac_ct_CC"; then
2689 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2690 echo "${ECHO_T}$ac_ct_CC" >&6; }
2692 { echo "$as_me:$LINENO: result: no" >&5
2693 echo "${ECHO_T}no" >&6; }
2696 if test "x$ac_ct_CC" = x; then
2699 case $cross_compiling:$ac_tool_warned in
2701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2702 whose name does not start with the host triplet. If you think this
2703 configuration is useful to you, please write to autoconf@gnu.org." >&5
2704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2705 whose name does not start with the host triplet. If you think this
2706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2707 ac_tool_warned=yes ;;
2715 if test -z "$CC"; then
2716 if test -n "$ac_tool_prefix"; then
2717 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2718 set dummy ${ac_tool_prefix}cc; ac_word=$2
2719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2721 if test "${ac_cv_prog_CC+set}" = set; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 if test -n "$CC"; then
2725 ac_cv_prog_CC="$CC" # Let the user override the test.
2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir=.
2732 for ac_exec_ext in '' $ac_executable_extensions; do
2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734 ac_cv_prog_CC="${ac_tool_prefix}cc"
2735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 if test -n "$CC"; then
2746 { echo "$as_me:$LINENO: result: $CC" >&5
2747 echo "${ECHO_T}$CC" >&6; }
2749 { echo "$as_me:$LINENO: result: no" >&5
2750 echo "${ECHO_T}no" >&6; }
2756 if test -z "$CC"; then
2757 # Extract the first word of "cc", so it can be a program name with args.
2758 set dummy cc; ac_word=$2
2759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2761 if test "${ac_cv_prog_CC+set}" = set; then
2762 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 if test -n "$CC"; then
2765 ac_cv_prog_CC="$CC" # Let the user override the test.
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2776 ac_prog_rejected=yes
2780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 if test $ac_prog_rejected = yes; then
2788 # We found a bogon in the path, so make sure we never use it.
2789 set dummy $ac_cv_prog_CC
2791 if test $# != 0; then
2792 # We chose a different compiler from the bogus one.
2793 # However, it has the same basename, so the bogon will be chosen
2794 # first if we set CC to just the basename; use the full file name.
2796 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2802 if test -n "$CC"; then
2803 { echo "$as_me:$LINENO: result: $CC" >&5
2804 echo "${ECHO_T}$CC" >&6; }
2806 { echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6; }
2812 if test -z "$CC"; then
2813 if test -n "$ac_tool_prefix"; then
2814 for ac_prog in cl.exe
2816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2820 if test "${ac_cv_prog_CC+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 if test -n "$CC"; then
2824 ac_cv_prog_CC="$CC" # Let the user override the test.
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 if test -n "$CC"; then
2845 { echo "$as_me:$LINENO: result: $CC" >&5
2846 echo "${ECHO_T}$CC" >&6; }
2848 { echo "$as_me:$LINENO: result: no" >&5
2849 echo "${ECHO_T}no" >&6; }
2853 test -n "$CC" && break
2856 if test -z "$CC"; then
2858 for ac_prog in cl.exe
2860 # Extract the first word of "$ac_prog", so it can be a program name with args.
2861 set dummy $ac_prog; ac_word=$2
2862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2864 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 if test -n "$ac_ct_CC"; then
2868 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874 test -z "$as_dir" && as_dir=.
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2877 ac_cv_prog_ac_ct_CC="$ac_prog"
2878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2887 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2888 if test -n "$ac_ct_CC"; then
2889 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2890 echo "${ECHO_T}$ac_ct_CC" >&6; }
2892 { echo "$as_me:$LINENO: result: no" >&5
2893 echo "${ECHO_T}no" >&6; }
2897 test -n "$ac_ct_CC" && break
2900 if test "x$ac_ct_CC" = x; then
2903 case $cross_compiling:$ac_tool_warned in
2905 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2906 whose name does not start with the host triplet. If you think this
2907 configuration is useful to you, please write to autoconf@gnu.org." >&5
2908 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2909 whose name does not start with the host triplet. If you think this
2910 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2911 ac_tool_warned=yes ;;
2920 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2921 See \`config.log' for more details." >&5
2922 echo "$as_me: error: no acceptable C compiler found in \$PATH
2923 See \`config.log' for more details." >&2;}
2924 { (exit 1); exit 1; }; }
2926 # Provide some information about the compiler.
2927 echo "$as_me:$LINENO: checking for C compiler version" >&5
2928 ac_compiler=`set X $ac_compile; echo $2`
2929 { (ac_try="$ac_compiler --version >&5"
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_compiler --version >&5") 2>&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }
2939 { (ac_try="$ac_compiler -v >&5"
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945 (eval "$ac_compiler -v >&5") 2>&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }
2949 { (ac_try="$ac_compiler -V >&5"
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955 (eval "$ac_compiler -V >&5") 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }
2960 cat >conftest.$ac_ext <<_ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2975 ac_clean_files_save=$ac_clean_files
2976 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2977 # Try to create an executable without -o first, disregard a.out.
2978 # It will help us diagnose broken compilers, and finding out an intuition
2980 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2981 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2982 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2984 # List of possible output files, starting from the most likely.
2985 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2986 # only as a last resort. b.out is created by i960 compilers.
2987 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2989 # The IRIX 6 linker writes into existing files which may not be
2990 # executable, retaining their permissions. Remove them first so a
2991 # subsequent execution test works.
2993 for ac_file in $ac_files
2996 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2997 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3002 if { (ac_try="$ac_link_default"
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008 (eval "$ac_link_default") 2>&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; then
3012 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3013 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3014 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3015 # so that the user can short-circuit this test for compilers unknown to
3017 for ac_file in $ac_files ''
3019 test -f "$ac_file" || continue
3021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3024 # We found the default executable, but exeext='' is most
3028 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3030 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3032 # We set ac_cv_exeext here because the later test for it is not
3033 # safe: cross compilers may not add the suffix if given an `-o'
3034 # argument, so we may need to know it at that point already.
3035 # Even if this section looks crufty: it has the advantage of
3042 test "$ac_cv_exeext" = no && ac_cv_exeext=
3048 { echo "$as_me:$LINENO: result: $ac_file" >&5
3049 echo "${ECHO_T}$ac_file" >&6; }
3050 if test -z "$ac_file"; then
3051 echo "$as_me: failed program was:" >&5
3052 sed 's/^/| /' conftest.$ac_ext >&5
3054 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3055 See \`config.log' for more details." >&5
3056 echo "$as_me: error: C compiler cannot create executables
3057 See \`config.log' for more details." >&2;}
3058 { (exit 77); exit 77; }; }
3061 ac_exeext=$ac_cv_exeext
3063 # Check that the compiler produces executables we can run. If not, either
3064 # the compiler is broken, or we cross compile.
3065 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3066 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3067 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3068 # If not cross compiling, check that we can run a simple program.
3069 if test "$cross_compiling" != yes; then
3070 if { ac_try='./$ac_file'
3071 { (case "(($ac_try" in
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3076 (eval "$ac_try") 2>&5
3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); }; }; then
3082 if test "$cross_compiling" = maybe; then
3085 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3086 If you meant to cross compile, use \`--host'.
3087 See \`config.log' for more details." >&5
3088 echo "$as_me: error: cannot run C compiled programs.
3089 If you meant to cross compile, use \`--host'.
3090 See \`config.log' for more details." >&2;}
3091 { (exit 1); exit 1; }; }
3095 { echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6; }
3098 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3099 ac_clean_files=$ac_clean_files_save
3100 # Check that the compiler produces executables we can run. If not, either
3101 # the compiler is broken, or we cross compile.
3102 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3103 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3104 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3105 echo "${ECHO_T}$cross_compiling" >&6; }
3107 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3108 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3109 if { (ac_try="$ac_link"
3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3115 (eval "$ac_link") 2>&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; then
3119 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3120 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3121 # work properly (i.e., refer to `conftest.exe'), while it won't with
3123 for ac_file in conftest.exe conftest conftest.*; do
3124 test -f "$ac_file" || continue
3126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3127 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3133 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3134 See \`config.log' for more details." >&5
3135 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3136 See \`config.log' for more details." >&2;}
3137 { (exit 1); exit 1; }; }
3140 rm -f conftest$ac_cv_exeext
3141 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3142 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3144 rm -f conftest.$ac_ext
3145 EXEEXT=$ac_cv_exeext
3147 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3148 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3149 if test "${ac_cv_objext+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 cat >conftest.$ac_ext <<_ACEOF
3155 cat confdefs.h >>conftest.$ac_ext
3156 cat >>conftest.$ac_ext <<_ACEOF
3157 /* end confdefs.h. */
3167 rm -f conftest.o conftest.obj
3168 if { (ac_try="$ac_compile"
3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3174 (eval "$ac_compile") 2>&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; then
3178 for ac_file in conftest.o conftest.obj conftest.*; do
3179 test -f "$ac_file" || continue;
3181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3182 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3187 echo "$as_me: failed program was:" >&5
3188 sed 's/^/| /' conftest.$ac_ext >&5
3190 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3191 See \`config.log' for more details." >&5
3192 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3193 See \`config.log' for more details." >&2;}
3194 { (exit 1); exit 1; }; }
3197 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3199 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3200 echo "${ECHO_T}$ac_cv_objext" >&6; }
3201 OBJEXT=$ac_cv_objext
3203 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3204 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3205 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3208 cat >conftest.$ac_ext <<_ACEOF
3211 cat confdefs.h >>conftest.$ac_ext
3212 cat >>conftest.$ac_ext <<_ACEOF
3213 /* end confdefs.h. */
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3235 grep -v '^ *+' conftest.er1 >conftest.err
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_c_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3252 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3255 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3256 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3257 GCC=`test $ac_compiler_gnu = yes && echo yes`
3258 ac_test_CFLAGS=${CFLAGS+set}
3259 ac_save_CFLAGS=$CFLAGS
3260 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3261 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3262 if test "${ac_cv_prog_cc_g+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 ac_save_c_werror_flag=$ac_c_werror_flag
3266 ac_c_werror_flag=yes
3269 cat >conftest.$ac_ext <<_ACEOF
3272 cat confdefs.h >>conftest.$ac_ext
3273 cat >>conftest.$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3284 rm -f conftest.$ac_objext
3285 if { (ac_try="$ac_compile"
3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288 *) ac_try_echo=$ac_try;;
3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3291 (eval "$ac_compile") 2>conftest.er1
3293 grep -v '^ *+' conftest.er1 >conftest.err
3295 cat conftest.err >&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); } && {
3298 test -z "$ac_c_werror_flag" ||
3299 test ! -s conftest.err
3300 } && test -s conftest.$ac_objext; then
3303 echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.$ac_ext >&5
3307 cat >conftest.$ac_ext <<_ACEOF
3310 cat confdefs.h >>conftest.$ac_ext
3311 cat >>conftest.$ac_ext <<_ACEOF
3312 /* end confdefs.h. */
3322 rm -f conftest.$ac_objext
3323 if { (ac_try="$ac_compile"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3329 (eval "$ac_compile") 2>conftest.er1
3331 grep -v '^ *+' conftest.er1 >conftest.err
3333 cat conftest.err >&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } && {
3336 test -z "$ac_c_werror_flag" ||
3337 test ! -s conftest.err
3338 } && test -s conftest.$ac_objext; then
3341 echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3344 ac_c_werror_flag=$ac_save_c_werror_flag
3346 cat >conftest.$ac_ext <<_ACEOF
3349 cat confdefs.h >>conftest.$ac_ext
3350 cat >>conftest.$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3361 rm -f conftest.$ac_objext
3362 if { (ac_try="$ac_compile"
3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3368 (eval "$ac_compile") 2>conftest.er1
3370 grep -v '^ *+' conftest.er1 >conftest.err
3372 cat conftest.err >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } && {
3375 test -z "$ac_c_werror_flag" ||
3376 test ! -s conftest.err
3377 } && test -s conftest.$ac_objext; then
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 ac_c_werror_flag=$ac_save_c_werror_flag
3395 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3396 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3397 if test "$ac_test_CFLAGS" = set; then
3398 CFLAGS=$ac_save_CFLAGS
3399 elif test $ac_cv_prog_cc_g = yes; then
3400 if test "$GCC" = yes; then
3406 if test "$GCC" = yes; then
3412 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3413 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3414 if test "${ac_cv_prog_cc_c89+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 ac_cv_prog_cc_c89=no
3419 cat >conftest.$ac_ext <<_ACEOF
3422 cat confdefs.h >>conftest.$ac_ext
3423 cat >>conftest.$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3427 #include <sys/types.h>
3428 #include <sys/stat.h>
3429 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3430 struct buf { int x; };
3431 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3432 static char *e (p, i)
3438 static char *f (char * (*g) (char **, int), char **p, ...)
3443 s = g (p, va_arg (v,int));
3448 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3449 function prototypes and stuff, but not '\xHH' hex character constants.
3450 These don't provoke an error unfortunately, instead are silently treated
3451 as 'x'. The following induces an error, until -std is added to get
3452 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3453 array size at least. It's necessary to write '\x00'==0 to get something
3454 that's true only with -std. */
3455 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3457 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3458 inside strings and character constants. */
3460 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3462 int test (int i, double x);
3463 struct s1 {int (*f) (int a);};
3464 struct s2 {int (*f) (double a);};
3465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3476 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3477 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3479 CC="$ac_save_CC $ac_arg"
3480 rm -f conftest.$ac_objext
3481 if { (ac_try="$ac_compile"
3483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3484 *) ac_try_echo=$ac_try;;
3486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3487 (eval "$ac_compile") 2>conftest.er1
3489 grep -v '^ *+' conftest.er1 >conftest.err
3491 cat conftest.err >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } && {
3494 test -z "$ac_c_werror_flag" ||
3495 test ! -s conftest.err
3496 } && test -s conftest.$ac_objext; then
3497 ac_cv_prog_cc_c89=$ac_arg
3499 echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.$ac_ext >&5
3505 rm -f core conftest.err conftest.$ac_objext
3506 test "x$ac_cv_prog_cc_c89" != "xno" && break
3508 rm -f conftest.$ac_ext
3513 case "x$ac_cv_prog_cc_c89" in
3515 { echo "$as_me:$LINENO: result: none needed" >&5
3516 echo "${ECHO_T}none needed" >&6; } ;;
3518 { echo "$as_me:$LINENO: result: unsupported" >&5
3519 echo "${ECHO_T}unsupported" >&6; } ;;
3521 CC="$CC $ac_cv_prog_cc_c89"
3522 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3523 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3528 ac_cpp='$CPP $CPPFLAGS'
3529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3533 depcc="$CC" am_compiler_list=
3535 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3536 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3537 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3538 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3541 # We make a subdir and do the tests there. Otherwise we can end up
3542 # making bogus files that we don't know about and never remove. For
3543 # instance it was reported that on HP-UX the gcc test will end up
3544 # making a dummy file named `D' -- because `-MD' means `put the output
3547 # Copy depcomp to subdir because otherwise we won't find it if we're
3548 # using a relative directory.
3549 cp "$am_depcomp" conftest.dir
3551 # We will build objects and dependencies in a subdirectory because
3552 # it helps to detect inapplicable dependency modes. For instance
3553 # both Tru64's cc and ICC support -MD to output dependencies as a
3554 # side effect of compilation, but ICC will put the dependencies in
3555 # the current directory while Tru64 will put them in the object
3559 am_cv_CC_dependencies_compiler_type=none
3560 if test "$am_compiler_list" = ""; then
3561 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3563 for depmode in $am_compiler_list; do
3564 # Setup a source with many dependencies, because some compilers
3565 # like to wrap large dependency lists on column 80 (with \), and
3566 # we should not choose a depcomp mode which is confused by this.
3568 # We need to recreate these files for each test, as the compiler may
3569 # overwrite some of them when testing with obscure command lines.
3570 # This happens at least with the AIX C compiler.
3572 for i in 1 2 3 4 5 6; do
3573 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3574 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3575 # Solaris 8's {/usr,}/bin/sh.
3576 touch sub/conftst$i.h
3578 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3582 # after this tag, mechanisms are not by side-effect, so they'll
3583 # only be used when explicitly requested
3584 if test "x$enable_dependency_tracking" = xyes; then
3592 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3593 # mode. It turns out that the SunPro C++ compiler does not properly
3594 # handle `-M -o', and we need to detect this.
3595 if depmode=$depmode \
3596 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3597 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3598 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3599 >/dev/null 2>conftest.err &&
3600 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3601 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3602 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3603 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3604 # icc doesn't choke on unknown options, it will just issue warnings
3605 # or remarks (even with -Werror). So we grep stderr for any message
3606 # that says an option was ignored or not supported.
3607 # When given -MP, icc 7.0 and 7.1 complain thusly:
3608 # icc: Command line warning: ignoring option '-M'; no argument required
3609 # The diagnosis changed in icc 8.0:
3610 # icc: Command line remark: option '-MP' not supported
3611 if (grep 'ignoring option' conftest.err ||
3612 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3613 am_cv_CC_dependencies_compiler_type=$depmode
3622 am_cv_CC_dependencies_compiler_type=none
3626 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3627 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3628 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3631 test "x$enable_dependency_tracking" != xno \
3632 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3634 am__fastdepCC_FALSE='#'
3636 am__fastdepCC_TRUE='#'
3637 am__fastdepCC_FALSE=
3641 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3642 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3643 if test "${ac_cv_path_SED+set}" = set; then
3644 echo $ECHO_N "(cached) $ECHO_C" >&6
3646 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3647 for ac_i in 1 2 3 4 5 6 7; do
3648 ac_script="$ac_script$as_nl$ac_script"
3650 echo "$ac_script" | sed 99q >conftest.sed
3651 $as_unset ac_script || ac_script=
3652 # Extract the first word of "sed gsed" to use in msg output
3653 if test -z "$SED"; then
3654 set dummy sed gsed; ac_prog_name=$2
3655 if test "${ac_cv_path_SED+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3658 ac_path_SED_found=false
3659 # Loop through the user's path and test for each of PROGNAME-LIST
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 test -z "$as_dir" && as_dir=.
3665 for ac_prog in sed gsed; do
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3668 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3669 # Check for GNU ac_path_SED and select it if it is found.
3670 # Check for GNU $ac_path_SED
3671 case `"$ac_path_SED" --version 2>&1` in
3673 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3676 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3679 cat "conftest.in" "conftest.in" >"conftest.tmp"
3680 mv "conftest.tmp" "conftest.in"
3681 cp "conftest.in" "conftest.nl"
3682 echo '' >> "conftest.nl"
3683 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3684 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3685 ac_count=`expr $ac_count + 1`
3686 if test $ac_count -gt ${ac_path_SED_max-0}; then
3687 # Best one so far, save it but keep looking for a better one
3688 ac_cv_path_SED="$ac_path_SED"
3689 ac_path_SED_max=$ac_count
3691 # 10*(2^10) chars as input seems more than enough
3692 test $ac_count -gt 10 && break
3694 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3698 $ac_path_SED_found && break 3
3708 SED="$ac_cv_path_SED"
3709 if test -z "$SED"; then
3710 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
3711 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
3712 { (exit 1); exit 1; }; }
3720 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3721 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
3722 SED="$ac_cv_path_SED"
3725 test -z "$SED" && SED=sed
3726 Xsed="$SED -e 1s/^X//"
3738 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3739 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3740 if test "${ac_cv_path_GREP+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 # Extract the first word of "grep ggrep" to use in msg output
3744 if test -z "$GREP"; then
3745 set dummy grep ggrep; ac_prog_name=$2
3746 if test "${ac_cv_path_GREP+set}" = set; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 ac_path_GREP_found=false
3750 # Loop through the user's path and test for each of PROGNAME-LIST
3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3755 test -z "$as_dir" && as_dir=.
3756 for ac_prog in grep ggrep; do
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3759 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3760 # Check for GNU ac_path_GREP and select it if it is found.
3761 # Check for GNU $ac_path_GREP
3762 case `"$ac_path_GREP" --version 2>&1` in
3764 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3767 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3770 cat "conftest.in" "conftest.in" >"conftest.tmp"
3771 mv "conftest.tmp" "conftest.in"
3772 cp "conftest.in" "conftest.nl"
3773 echo 'GREP' >> "conftest.nl"
3774 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3775 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3776 ac_count=`expr $ac_count + 1`
3777 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3778 # Best one so far, save it but keep looking for a better one
3779 ac_cv_path_GREP="$ac_path_GREP"
3780 ac_path_GREP_max=$ac_count
3782 # 10*(2^10) chars as input seems more than enough
3783 test $ac_count -gt 10 && break
3785 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3789 $ac_path_GREP_found && break 3
3799 GREP="$ac_cv_path_GREP"
3800 if test -z "$GREP"; then
3801 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3802 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3803 { (exit 1); exit 1; }; }
3807 ac_cv_path_GREP=$GREP
3812 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3813 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3814 GREP="$ac_cv_path_GREP"
3817 { echo "$as_me:$LINENO: checking for egrep" >&5
3818 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3819 if test "${ac_cv_path_EGREP+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3823 then ac_cv_path_EGREP="$GREP -E"
3825 # Extract the first word of "egrep" to use in msg output
3826 if test -z "$EGREP"; then
3827 set dummy egrep; ac_prog_name=$2
3828 if test "${ac_cv_path_EGREP+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 ac_path_EGREP_found=false
3832 # Loop through the user's path and test for each of PROGNAME-LIST
3833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3837 test -z "$as_dir" && as_dir=.
3838 for ac_prog in egrep; do
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3841 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3842 # Check for GNU ac_path_EGREP and select it if it is found.
3843 # Check for GNU $ac_path_EGREP
3844 case `"$ac_path_EGREP" --version 2>&1` in
3846 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3849 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3852 cat "conftest.in" "conftest.in" >"conftest.tmp"
3853 mv "conftest.tmp" "conftest.in"
3854 cp "conftest.in" "conftest.nl"
3855 echo 'EGREP' >> "conftest.nl"
3856 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3857 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3858 ac_count=`expr $ac_count + 1`
3859 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3860 # Best one so far, save it but keep looking for a better one
3861 ac_cv_path_EGREP="$ac_path_EGREP"
3862 ac_path_EGREP_max=$ac_count
3864 # 10*(2^10) chars as input seems more than enough
3865 test $ac_count -gt 10 && break
3867 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3871 $ac_path_EGREP_found && break 3
3881 EGREP="$ac_cv_path_EGREP"
3882 if test -z "$EGREP"; then
3883 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3884 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3885 { (exit 1); exit 1; }; }
3889 ac_cv_path_EGREP=$EGREP
3895 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3896 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3897 EGREP="$ac_cv_path_EGREP"
3900 { echo "$as_me:$LINENO: checking for fgrep" >&5
3901 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
3902 if test "${ac_cv_path_FGREP+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3906 then ac_cv_path_FGREP="$GREP -F"
3908 # Extract the first word of "fgrep" to use in msg output
3909 if test -z "$FGREP"; then
3910 set dummy fgrep; ac_prog_name=$2
3911 if test "${ac_cv_path_FGREP+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 ac_path_FGREP_found=false
3915 # Loop through the user's path and test for each of PROGNAME-LIST
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3920 test -z "$as_dir" && as_dir=.
3921 for ac_prog in fgrep; do
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3924 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3925 # Check for GNU ac_path_FGREP and select it if it is found.
3926 # Check for GNU $ac_path_FGREP
3927 case `"$ac_path_FGREP" --version 2>&1` in
3929 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3932 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3935 cat "conftest.in" "conftest.in" >"conftest.tmp"
3936 mv "conftest.tmp" "conftest.in"
3937 cp "conftest.in" "conftest.nl"
3938 echo 'FGREP' >> "conftest.nl"
3939 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3940 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3941 ac_count=`expr $ac_count + 1`
3942 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3943 # Best one so far, save it but keep looking for a better one
3944 ac_cv_path_FGREP="$ac_path_FGREP"
3945 ac_path_FGREP_max=$ac_count
3947 # 10*(2^10) chars as input seems more than enough
3948 test $ac_count -gt 10 && break
3950 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3954 $ac_path_FGREP_found && break 3
3964 FGREP="$ac_cv_path_FGREP"
3965 if test -z "$FGREP"; then
3966 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3967 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3968 { (exit 1); exit 1; }; }
3972 ac_cv_path_FGREP=$FGREP
3978 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
3979 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
3980 FGREP="$ac_cv_path_FGREP"
3983 test -z "$GREP" && GREP=grep
4003 # Check whether --with-gnu-ld was given.
4004 if test "${with_gnu_ld+set}" = set; then
4005 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4011 if test "$GCC" = yes; then
4012 # Check if gcc -print-prog-name=ld gives a path.
4013 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4014 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4017 # gcc leaves a trailing carriage return which upsets mingw
4018 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4020 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4023 # Accept absolute paths.
4025 re_direlt='/[^/][^/]*/\.\./'
4026 # Canonicalize the pathname of ld
4027 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4028 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4029 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4031 test -z "$LD" && LD="$ac_prog"
4034 # If it fails, then pretend we aren't using GCC.
4038 # If it is relative, then search for the first ld in PATH.
4042 elif test "$with_gnu_ld" = yes; then
4043 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4044 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4046 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4047 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4049 if test "${lt_cv_path_LD+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 if test -z "$LD"; then
4053 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4054 for ac_dir in $PATH; do
4056 test -z "$ac_dir" && ac_dir=.
4057 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4058 lt_cv_path_LD="$ac_dir/$ac_prog"
4059 # Check to see if the program is GNU ld. I'd rather use --version,
4060 # but apparently some variants of GNU ld only accept -v.
4061 # Break only if it was the GNU/non-GNU ld that we prefer.
4062 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4063 *GNU* | *'with BFD'*)
4064 test "$with_gnu_ld" != no && break
4067 test "$with_gnu_ld" != yes && break
4074 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4079 if test -n "$LD"; then
4080 { echo "$as_me:$LINENO: result: $LD" >&5
4081 echo "${ECHO_T}$LD" >&6; }
4083 { echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6; }
4086 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4087 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4088 { (exit 1); exit 1; }; }
4089 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4090 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4091 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4095 case `$LD -v 2>&1 </dev/null` in
4096 *GNU* | *'with BFD'*)
4097 lt_cv_prog_gnu_ld=yes
4100 lt_cv_prog_gnu_ld=no
4104 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4105 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4106 with_gnu_ld=$lt_cv_prog_gnu_ld
4116 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4117 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4118 if test "${lt_cv_path_NM+set}" = set; then
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 if test -n "$NM"; then
4122 # Let the user override the test.
4125 lt_nm_to_check="${ac_tool_prefix}nm"
4126 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4127 lt_nm_to_check="$lt_nm_to_check nm"
4129 for lt_tmp_nm in $lt_nm_to_check; do
4130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4131 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4133 test -z "$ac_dir" && ac_dir=.
4134 tmp_nm="$ac_dir/$lt_tmp_nm"
4135 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4136 # Check to see if the nm accepts a BSD-compat flag.
4137 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4138 # nm: unknown option "B" ignored
4139 # Tru64's nm complains that /dev/null is an invalid object file
4140 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4141 */dev/null* | *'Invalid file or object type'*)
4142 lt_cv_path_NM="$tmp_nm -B"
4146 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4148 lt_cv_path_NM="$tmp_nm -p"
4152 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4153 continue # so that we can try to find one that supports BSD flags
4162 : ${lt_cv_path_NM=no}
4165 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4166 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4167 if test "$lt_cv_path_NM" != "no"; then
4170 # Didn't find any BSD compatible name lister, look for dumpbin.
4171 if test -n "$ac_tool_prefix"; then
4172 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4175 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4178 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 if test -n "$DUMPBIN"; then
4182 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir=.
4189 for ac_exec_ext in '' $ac_executable_extensions; do
4190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 DUMPBIN=$ac_cv_prog_DUMPBIN
4202 if test -n "$DUMPBIN"; then
4203 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4204 echo "${ECHO_T}$DUMPBIN" >&6; }
4206 { echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6; }
4211 test -n "$DUMPBIN" && break
4214 if test -z "$DUMPBIN"; then
4215 ac_ct_DUMPBIN=$DUMPBIN
4216 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4218 # Extract the first word of "$ac_prog", so it can be a program name with args.
4219 set dummy $ac_prog; ac_word=$2
4220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4222 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4223 echo $ECHO_N "(cached) $ECHO_C" >&6
4225 if test -n "$ac_ct_DUMPBIN"; then
4226 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4235 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4246 if test -n "$ac_ct_DUMPBIN"; then
4247 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4248 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4250 { echo "$as_me:$LINENO: result: no" >&5
4251 echo "${ECHO_T}no" >&6; }
4255 test -n "$ac_ct_DUMPBIN" && break
4258 if test "x$ac_ct_DUMPBIN" = x; then
4261 case $cross_compiling:$ac_tool_warned in
4263 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4264 whose name does not start with the host triplet. If you think this
4265 configuration is useful to you, please write to autoconf@gnu.org." >&5
4266 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4267 whose name does not start with the host triplet. If you think this
4268 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4269 ac_tool_warned=yes ;;
4271 DUMPBIN=$ac_ct_DUMPBIN
4276 if test "$DUMPBIN" != ":"; then
4280 test -z "$NM" && NM=nm
4287 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4288 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4289 if test "${lt_cv_nm_interface+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4292 lt_cv_nm_interface="BSD nm"
4293 echo "int some_variable = 0;" > conftest.$ac_ext
4294 (eval echo "\"\$as_me:4294: $ac_compile\"" >&5)
4295 (eval "$ac_compile" 2>conftest.err)
4296 cat conftest.err >&5
4297 (eval echo "\"\$as_me:4297: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4298 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4299 cat conftest.err >&5
4300 (eval echo "\"\$as_me:4300: output\"" >&5)
4301 cat conftest.out >&5
4302 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4303 lt_cv_nm_interface="MS dumpbin"
4307 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4308 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4310 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4311 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4313 if test "$LN_S" = "ln -s"; then
4314 { echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6; }
4317 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4318 echo "${ECHO_T}no, using $LN_S" >&6; }
4321 # find the maximum length of command line arguments
4322 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4323 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4324 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 # On DJGPP, this test can blow up pretty badly due to problems in libc
4333 # (any single argument exceeding 2000 bytes causes a buffer overrun
4334 # during glob expansion). Even if it were fixed, the result of this
4335 # check would be larger than it should be.
4336 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4340 # Under GNU Hurd, this test is not required because there is
4341 # no limit to the length of command line arguments.
4342 # Libtool will interpret -1 as no limit whatsoever
4343 lt_cv_sys_max_cmd_len=-1;
4347 # On Win9x/ME, this test blows up -- it succeeds, but takes
4348 # about 5 minutes as the teststring grows exponentially.
4349 # Worse, since 9x/ME are not pre-emptively multitasking,
4350 # you end up with a "frozen" computer, even though with patience
4351 # the test eventually succeeds (with a max line length of 256k).
4352 # Instead, let's just punt: use the minimum linelength reported by
4353 # all of the supported platforms: 8192 (on NT/2K/XP).
4354 lt_cv_sys_max_cmd_len=8192;
4358 # On AmigaOS with pdksh, this test takes hours, literally.
4359 # So we just punt and use a minimum line length of 8192.
4360 lt_cv_sys_max_cmd_len=8192;
4363 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4364 # This has been around since 386BSD, at least. Likely further.
4365 if test -x /sbin/sysctl; then
4366 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4367 elif test -x /usr/sbin/sysctl; then
4368 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4370 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4372 # And add a safety zone
4373 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4374 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4378 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4379 lt_cv_sys_max_cmd_len=196608
4383 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4384 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4385 # nice to cause kernel panics so lets avoid the loop below.
4386 # First set a reasonable default.
4387 lt_cv_sys_max_cmd_len=16384
4389 if test -x /sbin/sysconfig; then
4390 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4391 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4396 lt_cv_sys_max_cmd_len=102400
4398 sysv5* | sco5v6* | sysv4.2uw2*)
4399 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4400 if test -n "$kargmax"; then
4401 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4403 lt_cv_sys_max_cmd_len=32768
4407 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4408 if test -n "$lt_cv_sys_max_cmd_len"; then
4409 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4410 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4412 # Make teststring a little bigger before we do anything with it.
4413 # a 1K string should be a reasonable start.
4414 for i in 1 2 3 4 5 6 7 8 ; do
4415 teststring=$teststring$teststring
4417 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4418 # If test is not a shell built-in, we'll probably end up computing a
4419 # maximum length that is only half of the actual maximum length, but
4421 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4422 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4423 test $i != 17 # 1/2 MB should be enough
4426 teststring=$teststring$teststring
4428 # Only check the string length outside the loop.
4429 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4431 # Add a significant safety factor because C++ compilers can tack on
4432 # massive amounts of additional arguments before passing them to the
4433 # linker. It appears as though 1/2 is a usable value.
4434 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4441 if test -n $lt_cv_sys_max_cmd_len ; then
4442 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4443 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4445 { echo "$as_me:$LINENO: result: none" >&5
4446 echo "${ECHO_T}none" >&6; }
4448 max_cmd_len=$lt_cv_sys_max_cmd_len
4459 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4460 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4461 # Try some XSI features
4464 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4466 && eval 'test $(( 1 + 1 )) -eq 2 \
4467 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4469 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4470 echo "${ECHO_T}$xsi_shell" >&6; }
4473 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4474 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4476 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4478 && lt_shell_append=yes
4479 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4480 echo "${ECHO_T}$lt_shell_append" >&6; }
4483 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4493 # test EBCDIC or ASCII
4494 case `echo X|tr X '\101'` in
4495 A) # ASCII based system
4496 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4497 lt_SP2NL='tr \040 \012'
4498 lt_NL2SP='tr \015\012 \040\040'
4500 *) # EBCDIC based system
4501 lt_SP2NL='tr \100 \n'
4502 lt_NL2SP='tr \r\n \100\100'
4514 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4515 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4516 if test "${lt_cv_ld_reload_flag+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 lt_cv_ld_reload_flag='-r'
4521 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4522 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4523 reload_flag=$lt_cv_ld_reload_flag
4524 case $reload_flag in
4526 *) reload_flag=" $reload_flag" ;;
4528 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4531 if test "$GCC" = yes; then
4532 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4534 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4548 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4549 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4550 if test "${lt_cv_deplibs_check_method+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 lt_cv_file_magic_cmd='$MAGIC_CMD'
4554 lt_cv_file_magic_test_file=
4555 lt_cv_deplibs_check_method='unknown'
4556 # Need to set the preceding variable on all platforms that support
4557 # interlibrary dependencies.
4558 # 'none' -- dependencies not supported.
4559 # `unknown' -- same as none, but documents that we really don't know.
4560 # 'pass_all' -- all dependencies passed with no checks.
4561 # 'test_compile' -- check by making test program.
4562 # 'file_magic [[regex]]' -- check by looking for files in library path
4563 # which responds to the $file_magic_cmd with a given extended regex.
4564 # If you have `file' or equivalent on your system and you're not sure
4565 # whether `pass_all' will *always* work, you probably want this one.
4569 lt_cv_deplibs_check_method=pass_all
4573 lt_cv_deplibs_check_method=pass_all
4577 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4578 lt_cv_file_magic_cmd='/usr/bin/file -L'
4579 lt_cv_file_magic_test_file=/shlib/libc.so
4583 # func_win32_libid is a shell function defined in ltmain.sh
4584 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4585 lt_cv_file_magic_cmd='func_win32_libid'
4589 # Base MSYS/MinGW do not provide the 'file' command needed by
4590 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4591 # unless we find 'file', for example because we are cross-compiling.
4592 if ( file / ) >/dev/null 2>&1; then
4593 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4594 lt_cv_file_magic_cmd='func_win32_libid'
4596 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4597 lt_cv_file_magic_cmd='$OBJDUMP -f'
4601 darwin* | rhapsody*)
4602 lt_cv_deplibs_check_method=pass_all
4605 freebsd* | dragonfly*)
4606 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4609 # Not sure whether the presence of OpenBSD here was a mistake.
4610 # Let's accept both of them until this is cleared up.
4611 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4612 lt_cv_file_magic_cmd=/usr/bin/file
4613 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4617 lt_cv_deplibs_check_method=pass_all
4622 lt_cv_deplibs_check_method=pass_all
4625 hpux10.20* | hpux11*)
4626 lt_cv_file_magic_cmd=/usr/bin/file
4629 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4630 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4633 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]'
4634 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4637 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4638 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4644 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4645 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4648 irix5* | irix6* | nonstopux*)
4650 *-32|*"-32 ") libmagic=32-bit;;
4651 *-n32|*"-n32 ") libmagic=N32;;
4652 *-64|*"-64 ") libmagic=64-bit;;
4653 *) libmagic=never-match;;
4655 lt_cv_deplibs_check_method=pass_all
4658 # This must be Linux ELF.
4659 linux* | k*bsd*-gnu)
4660 lt_cv_deplibs_check_method=pass_all
4664 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4665 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4667 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4672 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4673 lt_cv_file_magic_cmd=/usr/bin/file
4674 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4678 lt_cv_deplibs_check_method=pass_all
4682 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4683 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4685 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4689 osf3* | osf4* | osf5*)
4690 lt_cv_deplibs_check_method=pass_all
4694 lt_cv_deplibs_check_method=pass_all
4698 lt_cv_deplibs_check_method=pass_all
4701 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4702 lt_cv_deplibs_check_method=pass_all
4706 case $host_vendor in
4708 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]'
4709 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4712 lt_cv_deplibs_check_method=pass_all
4715 lt_cv_file_magic_cmd='/bin/file'
4716 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4719 lt_cv_file_magic_cmd='/bin/file'
4720 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4721 lt_cv_file_magic_test_file=/lib/libc.so
4724 lt_cv_deplibs_check_method=pass_all
4727 lt_cv_deplibs_check_method=pass_all
4733 lt_cv_deplibs_check_method=pass_all
4738 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4739 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4740 file_magic_cmd=$lt_cv_file_magic_cmd
4741 deplibs_check_method=$lt_cv_deplibs_check_method
4742 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4755 if test -n "$ac_tool_prefix"; then
4756 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4757 set dummy ${ac_tool_prefix}ar; ac_word=$2
4758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4760 if test "${ac_cv_prog_AR+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 if test -n "$AR"; then
4764 ac_cv_prog_AR="$AR" # Let the user override the test.
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4773 ac_cv_prog_AR="${ac_tool_prefix}ar"
4774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 if test -n "$AR"; then
4785 { echo "$as_me:$LINENO: result: $AR" >&5
4786 echo "${ECHO_T}$AR" >&6; }
4788 { echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6; }
4794 if test -z "$ac_cv_prog_AR"; then
4796 # Extract the first word of "ar", so it can be a program name with args.
4797 set dummy ar; ac_word=$2
4798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4800 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4803 if test -n "$ac_ct_AR"; then
4804 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4810 test -z "$as_dir" && as_dir=.
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4813 ac_cv_prog_ac_ct_AR="ar"
4814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4823 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4824 if test -n "$ac_ct_AR"; then
4825 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4826 echo "${ECHO_T}$ac_ct_AR" >&6; }
4828 { echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6; }
4832 if test "x$ac_ct_AR" = x; then
4835 case $cross_compiling:$ac_tool_warned in
4837 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4838 whose name does not start with the host triplet. If you think this
4839 configuration is useful to you, please write to autoconf@gnu.org." >&5
4840 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4841 whose name does not start with the host triplet. If you think this
4842 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4843 ac_tool_warned=yes ;;
4851 test -z "$AR" && AR=ar
4852 test -z "$AR_FLAGS" && AR_FLAGS=cru
4864 if test -n "$ac_tool_prefix"; then
4865 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4866 set dummy ${ac_tool_prefix}strip; ac_word=$2
4867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4869 if test "${ac_cv_prog_STRIP+set}" = set; then
4870 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 if test -n "$STRIP"; then
4873 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir=.
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4882 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 STRIP=$ac_cv_prog_STRIP
4893 if test -n "$STRIP"; then
4894 { echo "$as_me:$LINENO: result: $STRIP" >&5
4895 echo "${ECHO_T}$STRIP" >&6; }
4897 { echo "$as_me:$LINENO: result: no" >&5
4898 echo "${ECHO_T}no" >&6; }
4903 if test -z "$ac_cv_prog_STRIP"; then
4905 # Extract the first word of "strip", so it can be a program name with args.
4906 set dummy strip; ac_word=$2
4907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4909 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 if test -n "$ac_ct_STRIP"; then
4913 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir=.
4920 for ac_exec_ext in '' $ac_executable_extensions; do
4921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4922 ac_cv_prog_ac_ct_STRIP="strip"
4923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4933 if test -n "$ac_ct_STRIP"; then
4934 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4935 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4937 { echo "$as_me:$LINENO: result: no" >&5
4938 echo "${ECHO_T}no" >&6; }
4941 if test "x$ac_ct_STRIP" = x; then
4944 case $cross_compiling:$ac_tool_warned in
4946 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4947 whose name does not start with the host triplet. If you think this
4948 configuration is useful to you, please write to autoconf@gnu.org." >&5
4949 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4950 whose name does not start with the host triplet. If you think this
4951 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4952 ac_tool_warned=yes ;;
4957 STRIP="$ac_cv_prog_STRIP"
4960 test -z "$STRIP" && STRIP=:
4967 if test -n "$ac_tool_prefix"; then
4968 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4969 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4972 if test "${ac_cv_prog_RANLIB+set}" = set; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4975 if test -n "$RANLIB"; then
4976 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir=.
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 RANLIB=$ac_cv_prog_RANLIB
4996 if test -n "$RANLIB"; then
4997 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4998 echo "${ECHO_T}$RANLIB" >&6; }
5000 { echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6; }
5006 if test -z "$ac_cv_prog_RANLIB"; then
5007 ac_ct_RANLIB=$RANLIB
5008 # Extract the first word of "ranlib", so it can be a program name with args.
5009 set dummy ranlib; ac_word=$2
5010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5012 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 if test -n "$ac_ct_RANLIB"; then
5016 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir=.
5023 for ac_exec_ext in '' $ac_executable_extensions; do
5024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5025 ac_cv_prog_ac_ct_RANLIB="ranlib"
5026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5036 if test -n "$ac_ct_RANLIB"; then
5037 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5038 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5040 { echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6; }
5044 if test "x$ac_ct_RANLIB" = x; then
5047 case $cross_compiling:$ac_tool_warned in
5049 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5050 whose name does not start with the host triplet. If you think this
5051 configuration is useful to you, please write to autoconf@gnu.org." >&5
5052 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5053 whose name does not start with the host triplet. If you think this
5054 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5055 ac_tool_warned=yes ;;
5057 RANLIB=$ac_ct_RANLIB
5060 RANLIB="$ac_cv_prog_RANLIB"
5063 test -z "$RANLIB" && RANLIB=:
5070 # Determine commands to create old-style static archives.
5071 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5072 old_postinstall_cmds='chmod 644 $oldlib'
5073 old_postuninstall_cmds=
5075 if test -n "$RANLIB"; then
5078 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5081 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5084 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5120 # If no C compiler was specified, use CC.
5123 # If no C compiler flags were specified, use CFLAGS.
5124 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5126 # Allow CC to be a program name with arguments.
5130 # Check for command to grab the raw symbol name followed by C symbol from nm.
5131 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5132 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5133 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5134 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 # These are sane defaults that work on at least a few old systems.
5138 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5140 # Character class describing NM global symbol codes.
5141 symcode='[BCDEGRST]'
5143 # Regexp to match symbols that can be accessed directly from C.
5144 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5146 # Define system-specific variables.
5151 cygwin* | mingw* | pw32*)
5152 symcode='[ABCDGISTW]'
5155 if test "$host_cpu" = ia64; then
5156 symcode='[ABCDEGRST]'
5160 symcode='[BCDEGRST]'
5163 symcode='[BCDEGQRST]'
5174 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5182 # If we're using GNU nm, then use its standard symbol codes.
5183 case `$NM -V 2>&1` in
5184 *GNU* | *'with BFD'*)
5185 symcode='[ABCDGIRSTW]' ;;
5188 # Transform an extracted symbol line into a proper C declaration.
5189 # Some systems (esp. on ia64) link data and code symbols differently,
5190 # so use this general approach.
5191 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5193 # Transform an extracted symbol line into symbol name and symbol address
5194 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5195 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5197 # Handle CRLF in mingw tool chain
5201 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5205 # Try without a prefix underscore, then with it.
5206 for ac_symprfx in "" "_"; do
5208 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5209 symxfrm="\\1 $ac_symprfx\\2 \\2"
5211 # Write the raw and C identifiers.
5212 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5213 # Fake it for dumpbin and say T for any non-static function
5214 # and D for any global variable.
5215 # Also find C++ and __fastcall symbols from MSVC++,
5216 # which start with @ or ?.
5217 lt_cv_sys_global_symbol_pipe="$AWK '"\
5218 " {last_section=section; section=\$ 3};"\
5219 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5220 " \$ 0!~/External *\|/{next};"\
5221 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5222 " {if(hide[section]) next};"\
5223 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5224 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5225 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5226 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5227 " ' prfx=^$ac_symprfx"
5229 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5232 # Check to see that the pipe works correctly.
5236 cat > conftest.$ac_ext <<_LT_EOF
5241 void nm_test_func(void);
5242 void nm_test_func(void){}
5246 int main(){nm_test_var='a';nm_test_func();return(0);}
5249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5250 (eval $ac_compile) 2>&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; then
5254 # Now try to grab the symbols.
5256 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5257 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); } && test -s "$nlist"; then
5261 # Try sorting and uniquifying the output.
5262 if sort "$nlist" | uniq > "$nlist"T; then
5263 mv -f "$nlist"T "$nlist"
5268 # Make sure that we snagged all the symbols we need.
5269 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5270 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5271 cat <<_LT_EOF > conftest.$ac_ext
5277 # Now generate the symbol file.
5278 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5280 cat <<_LT_EOF >> conftest.$ac_ext
5282 /* The mapping between symbol names and symbols. */
5287 lt__PROGRAM__LTX_preloaded_symbols[] =
5289 { "@PROGRAM@", (void *) 0 },
5291 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5292 cat <<\_LT_EOF >> conftest.$ac_ext
5296 /* This works around a problem in FreeBSD linker */
5297 #ifdef FREEBSD_WORKAROUND
5298 static const void *lt_preloaded_setup() {
5299 return lt__PROGRAM__LTX_preloaded_symbols;
5307 # Now try linking the two files.
5308 mv conftest.$ac_objext conftstm.$ac_objext
5309 lt_save_LIBS="$LIBS"
5310 lt_save_CFLAGS="$CFLAGS"
5311 LIBS="conftstm.$ac_objext"
5312 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5314 (eval $ac_link) 2>&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5320 LIBS="$lt_save_LIBS"
5321 CFLAGS="$lt_save_CFLAGS"
5323 echo "cannot find nm_test_func in $nlist" >&5
5326 echo "cannot find nm_test_var in $nlist" >&5
5329 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5332 echo "$progname: failed program was:" >&5
5333 cat conftest.$ac_ext >&5
5335 rm -rf conftest* conftst*
5337 # Do not use the global_symbol_pipe unless it works.
5338 if test "$pipe_works" = yes; then
5341 lt_cv_sys_global_symbol_pipe=
5347 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5348 lt_cv_sys_global_symbol_to_cdecl=
5350 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5351 { echo "$as_me:$LINENO: result: failed" >&5
5352 echo "${ECHO_T}failed" >&6; }
5354 { echo "$as_me:$LINENO: result: ok" >&5
5355 echo "${ECHO_T}ok" >&6; }
5380 # Check whether --enable-libtool-lock was given.
5381 if test "${enable_libtool_lock+set}" = set; then
5382 enableval=$enable_libtool_lock;
5385 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5387 # Some flags need to be propagated to the compiler or linker for good
5391 # Find out which ABI we are using.
5392 echo 'int i;' > conftest.$ac_ext
5393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5394 (eval $ac_compile) 2>&5
5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397 (exit $ac_status); }; then
5398 case `/usr/bin/file conftest.$ac_objext` in
5410 # Find out which ABI we are using.
5411 echo '#line 5411 "configure"' > conftest.$ac_ext
5412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5413 (eval $ac_compile) 2>&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); }; then
5417 if test "$lt_cv_prog_gnu_ld" = yes; then
5418 case `/usr/bin/file conftest.$ac_objext` in
5420 LD="${LD-ld} -melf32bsmip"
5423 LD="${LD-ld} -melf32bmipn32"
5426 LD="${LD-ld} -melf64bmip"
5430 case `/usr/bin/file conftest.$ac_objext` in
5446 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5447 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5448 # Find out which ABI we are using.
5449 echo 'int i;' > conftest.$ac_ext
5450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5451 (eval $ac_compile) 2>&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); }; then
5455 case `/usr/bin/file conftest.o` in
5458 x86_64-*kfreebsd*-gnu)
5459 LD="${LD-ld} -m elf_i386_fbsd"
5462 LD="${LD-ld} -m elf_i386"
5464 ppc64-*linux*|powerpc64-*linux*)
5465 LD="${LD-ld} -m elf32ppclinux"
5468 LD="${LD-ld} -m elf_s390"
5471 LD="${LD-ld} -m elf32_sparc"
5477 x86_64-*kfreebsd*-gnu)
5478 LD="${LD-ld} -m elf_x86_64_fbsd"
5481 LD="${LD-ld} -m elf_x86_64"
5483 ppc*-*linux*|powerpc*-*linux*)
5484 LD="${LD-ld} -m elf64ppc"
5486 s390*-*linux*|s390*-*tpf*)
5487 LD="${LD-ld} -m elf64_s390"
5490 LD="${LD-ld} -m elf64_sparc"
5500 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5501 SAVE_CFLAGS="$CFLAGS"
5502 CFLAGS="$CFLAGS -belf"
5503 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5504 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5505 if test "${lt_cv_cc_needs_belf+set}" = set; then
5506 echo $ECHO_N "(cached) $ECHO_C" >&6
5509 ac_cpp='$CPP $CPPFLAGS'
5510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5514 cat >conftest.$ac_ext <<_ACEOF
5517 cat confdefs.h >>conftest.$ac_ext
5518 cat >>conftest.$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5529 rm -f conftest.$ac_objext conftest$ac_exeext
5530 if { (ac_try="$ac_link"
5532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5533 *) ac_try_echo=$ac_try;;
5535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5536 (eval "$ac_link") 2>conftest.er1
5538 grep -v '^ *+' conftest.er1 >conftest.err
5540 cat conftest.err >&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } && {
5543 test -z "$ac_c_werror_flag" ||
5544 test ! -s conftest.err
5545 } && test -s conftest$ac_exeext &&
5546 $as_test_x conftest$ac_exeext; then
5547 lt_cv_cc_needs_belf=yes
5549 echo "$as_me: failed program was:" >&5
5550 sed 's/^/| /' conftest.$ac_ext >&5
5552 lt_cv_cc_needs_belf=no
5555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5556 conftest$ac_exeext conftest.$ac_ext
5558 ac_cpp='$CPP $CPPFLAGS'
5559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5564 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5565 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5566 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5567 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5568 CFLAGS="$SAVE_CFLAGS"
5572 # Find out which ABI we are using.
5573 echo 'int i;' > conftest.$ac_ext
5574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5575 (eval $ac_compile) 2>&5
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; then
5579 case `/usr/bin/file conftest.o` in
5581 case $lt_cv_prog_gnu_ld in
5582 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5584 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5596 need_locks="$enable_libtool_lock"
5600 rhapsody* | darwin*)
5601 if test -n "$ac_tool_prefix"; then
5602 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5603 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5606 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 if test -n "$DSYMUTIL"; then
5610 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 test -z "$as_dir" && as_dir=.
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5619 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5630 if test -n "$DSYMUTIL"; then
5631 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5632 echo "${ECHO_T}$DSYMUTIL" >&6; }
5634 { echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6; }
5640 if test -z "$ac_cv_prog_DSYMUTIL"; then
5641 ac_ct_DSYMUTIL=$DSYMUTIL
5642 # Extract the first word of "dsymutil", so it can be a program name with args.
5643 set dummy dsymutil; ac_word=$2
5644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5646 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5649 if test -n "$ac_ct_DSYMUTIL"; then
5650 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 test -z "$as_dir" && as_dir=.
5657 for ac_exec_ext in '' $ac_executable_extensions; do
5658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5659 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5670 if test -n "$ac_ct_DSYMUTIL"; then
5671 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5672 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
5674 { echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6; }
5678 if test "x$ac_ct_DSYMUTIL" = x; then
5681 case $cross_compiling:$ac_tool_warned in
5683 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5684 whose name does not start with the host triplet. If you think this
5685 configuration is useful to you, please write to autoconf@gnu.org." >&5
5686 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5687 whose name does not start with the host triplet. If you think this
5688 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5689 ac_tool_warned=yes ;;
5691 DSYMUTIL=$ac_ct_DSYMUTIL
5694 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5697 if test -n "$ac_tool_prefix"; then
5698 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5699 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5702 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 if test -n "$NMEDIT"; then
5706 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir=.
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5715 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 NMEDIT=$ac_cv_prog_NMEDIT
5726 if test -n "$NMEDIT"; then
5727 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
5728 echo "${ECHO_T}$NMEDIT" >&6; }
5730 { echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6; }
5736 if test -z "$ac_cv_prog_NMEDIT"; then
5737 ac_ct_NMEDIT=$NMEDIT
5738 # Extract the first word of "nmedit", so it can be a program name with args.
5739 set dummy nmedit; ac_word=$2
5740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5742 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5743 echo $ECHO_N "(cached) $ECHO_C" >&6
5745 if test -n "$ac_ct_NMEDIT"; then
5746 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5755 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5766 if test -n "$ac_ct_NMEDIT"; then
5767 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5768 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
5770 { echo "$as_me:$LINENO: result: no" >&5
5771 echo "${ECHO_T}no" >&6; }
5774 if test "x$ac_ct_NMEDIT" = x; then
5777 case $cross_compiling:$ac_tool_warned in
5779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5780 whose name does not start with the host triplet. If you think this
5781 configuration is useful to you, please write to autoconf@gnu.org." >&5
5782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5783 whose name does not start with the host triplet. If you think this
5784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5785 ac_tool_warned=yes ;;
5787 NMEDIT=$ac_ct_NMEDIT
5790 NMEDIT="$ac_cv_prog_NMEDIT"
5793 if test -n "$ac_tool_prefix"; then
5794 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5795 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5798 if test "${ac_cv_prog_LIPO+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 if test -n "$LIPO"; then
5802 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 LIPO=$ac_cv_prog_LIPO
5822 if test -n "$LIPO"; then
5823 { echo "$as_me:$LINENO: result: $LIPO" >&5
5824 echo "${ECHO_T}$LIPO" >&6; }
5826 { echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6; }
5832 if test -z "$ac_cv_prog_LIPO"; then
5834 # Extract the first word of "lipo", so it can be a program name with args.
5835 set dummy lipo; ac_word=$2
5836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5838 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 if test -n "$ac_ct_LIPO"; then
5842 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5851 ac_cv_prog_ac_ct_LIPO="lipo"
5852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5862 if test -n "$ac_ct_LIPO"; then
5863 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5864 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
5866 { echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6; }
5870 if test "x$ac_ct_LIPO" = x; then
5873 case $cross_compiling:$ac_tool_warned in
5875 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5876 whose name does not start with the host triplet. If you think this
5877 configuration is useful to you, please write to autoconf@gnu.org." >&5
5878 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5879 whose name does not start with the host triplet. If you think this
5880 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5881 ac_tool_warned=yes ;;
5886 LIPO="$ac_cv_prog_LIPO"
5889 if test -n "$ac_tool_prefix"; then
5890 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5891 set dummy ${ac_tool_prefix}otool; ac_word=$2
5892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5894 if test "${ac_cv_prog_OTOOL+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 if test -n "$OTOOL"; then
5898 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 OTOOL=$ac_cv_prog_OTOOL
5918 if test -n "$OTOOL"; then
5919 { echo "$as_me:$LINENO: result: $OTOOL" >&5
5920 echo "${ECHO_T}$OTOOL" >&6; }
5922 { echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6; }
5928 if test -z "$ac_cv_prog_OTOOL"; then
5930 # Extract the first word of "otool", so it can be a program name with args.
5931 set dummy otool; ac_word=$2
5932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5934 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5935 echo $ECHO_N "(cached) $ECHO_C" >&6
5937 if test -n "$ac_ct_OTOOL"; then
5938 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947 ac_cv_prog_ac_ct_OTOOL="otool"
5948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5957 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5958 if test -n "$ac_ct_OTOOL"; then
5959 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
5960 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
5962 { echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6; }
5966 if test "x$ac_ct_OTOOL" = x; then
5969 case $cross_compiling:$ac_tool_warned in
5971 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5972 whose name does not start with the host triplet. If you think this
5973 configuration is useful to you, please write to autoconf@gnu.org." >&5
5974 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5975 whose name does not start with the host triplet. If you think this
5976 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5977 ac_tool_warned=yes ;;
5982 OTOOL="$ac_cv_prog_OTOOL"
5985 if test -n "$ac_tool_prefix"; then
5986 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5987 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5990 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5993 if test -n "$OTOOL64"; then
5994 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000 test -z "$as_dir" && as_dir=.
6001 for ac_exec_ext in '' $ac_executable_extensions; do
6002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6003 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6013 OTOOL64=$ac_cv_prog_OTOOL64
6014 if test -n "$OTOOL64"; then
6015 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6016 echo "${ECHO_T}$OTOOL64" >&6; }
6018 { echo "$as_me:$LINENO: result: no" >&5
6019 echo "${ECHO_T}no" >&6; }
6024 if test -z "$ac_cv_prog_OTOOL64"; then
6025 ac_ct_OTOOL64=$OTOOL64
6026 # Extract the first word of "otool64", so it can be a program name with args.
6027 set dummy otool64; ac_word=$2
6028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6030 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6031 echo $ECHO_N "(cached) $ECHO_C" >&6
6033 if test -n "$ac_ct_OTOOL64"; then
6034 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 test -z "$as_dir" && as_dir=.
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6043 ac_cv_prog_ac_ct_OTOOL64="otool64"
6044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6054 if test -n "$ac_ct_OTOOL64"; then
6055 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6056 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6058 { echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6; }
6062 if test "x$ac_ct_OTOOL64" = x; then
6065 case $cross_compiling:$ac_tool_warned in
6067 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6068 whose name does not start with the host triplet. If you think this
6069 configuration is useful to you, please write to autoconf@gnu.org." >&5
6070 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6071 whose name does not start with the host triplet. If you think this
6072 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6073 ac_tool_warned=yes ;;
6075 OTOOL64=$ac_ct_OTOOL64
6078 OTOOL64="$ac_cv_prog_OTOOL64"
6107 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6108 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6109 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6112 lt_cv_apple_cc_single_mod=no
6113 if test -z "${LT_MULTI_MODULE}"; then
6114 # By default we will add the -single_module flag. You can override
6115 # by either setting the environment variable LT_MULTI_MODULE
6116 # non-empty at configure time, or by adding -multi_module to the
6118 rm -rf libconftest.dylib*
6119 echo "int foo(void){return 1;}" > conftest.c
6120 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6121 -dynamiclib -Wl,-single_module conftest.c" >&5
6122 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6123 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6125 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6126 lt_cv_apple_cc_single_mod=yes
6128 cat conftest.err >&5
6130 rm -rf libconftest.dylib*
6134 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6135 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6136 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6137 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6138 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 lt_cv_ld_exported_symbols_list=no
6142 save_LDFLAGS=$LDFLAGS
6143 echo "_main" > conftest.sym
6144 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6145 cat >conftest.$ac_ext <<_ACEOF
6148 cat confdefs.h >>conftest.$ac_ext
6149 cat >>conftest.$ac_ext <<_ACEOF
6150 /* end confdefs.h. */
6160 rm -f conftest.$ac_objext conftest$ac_exeext
6161 if { (ac_try="$ac_link"
6163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6164 *) ac_try_echo=$ac_try;;
6166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6167 (eval "$ac_link") 2>conftest.er1
6169 grep -v '^ *+' conftest.er1 >conftest.err
6171 cat conftest.err >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); } && {
6174 test -z "$ac_c_werror_flag" ||
6175 test ! -s conftest.err
6176 } && test -s conftest$ac_exeext &&
6177 $as_test_x conftest$ac_exeext; then
6178 lt_cv_ld_exported_symbols_list=yes
6180 echo "$as_me: failed program was:" >&5
6181 sed 's/^/| /' conftest.$ac_ext >&5
6183 lt_cv_ld_exported_symbols_list=no
6186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6187 conftest$ac_exeext conftest.$ac_ext
6188 LDFLAGS="$save_LDFLAGS"
6191 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6192 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6194 rhapsody* | darwin1.[012])
6195 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6197 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6198 darwin*) # darwin 5.x on
6199 # if running on 10.5 or later, the deployment target defaults
6200 # to the OS version, if on x86, and 10.4, the deployment
6201 # target defaults to 10.4. Don't you love it?
6202 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6203 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6204 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6206 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6208 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6212 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6213 _lt_dar_single_mod='$single_module'
6215 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6216 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6218 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6220 if test "$DSYMUTIL" != ":"; then
6221 _lt_dsymutil='~$DSYMUTIL $lib || :'
6229 ac_cpp='$CPP $CPPFLAGS'
6230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6233 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6234 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6235 # On Suns, sometimes $CPP names a directory.
6236 if test -n "$CPP" && test -d "$CPP"; then
6239 if test -z "$CPP"; then
6240 if test "${ac_cv_prog_CPP+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 # Double quotes because CPP needs to be expanded
6244 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6247 for ac_c_preproc_warn_flag in '' yes
6249 # Use a header file that comes with gcc, so configuring glibc
6250 # with a fresh cross-compiler works.
6251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6252 # <limits.h> exists even on freestanding compilers.
6253 # On the NeXT, cc -E runs the code through the compiler's parser,
6254 # not just through cpp. "Syntax error" is here to catch this case.
6255 cat >conftest.$ac_ext <<_ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 # include <limits.h>
6264 # include <assert.h>
6268 if { (ac_try="$ac_cpp conftest.$ac_ext"
6270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6271 *) ac_try_echo=$ac_try;;
6273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6276 grep -v '^ *+' conftest.er1 >conftest.err
6278 cat conftest.err >&5
6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); } >/dev/null && {
6281 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6282 test ! -s conftest.err
6286 echo "$as_me: failed program was:" >&5
6287 sed 's/^/| /' conftest.$ac_ext >&5
6289 # Broken: fails on valid input.
6293 rm -f conftest.err conftest.$ac_ext
6295 # OK, works on sane cases. Now check whether nonexistent headers
6296 # can be detected and how.
6297 cat >conftest.$ac_ext <<_ACEOF
6300 cat confdefs.h >>conftest.$ac_ext
6301 cat >>conftest.$ac_ext <<_ACEOF
6302 /* end confdefs.h. */
6303 #include <ac_nonexistent.h>
6305 if { (ac_try="$ac_cpp conftest.$ac_ext"
6307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6308 *) ac_try_echo=$ac_try;;
6310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6311 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6313 grep -v '^ *+' conftest.er1 >conftest.err
6315 cat conftest.err >&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); } >/dev/null && {
6318 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6319 test ! -s conftest.err
6321 # Broken: success on invalid input.
6324 echo "$as_me: failed program was:" >&5
6325 sed 's/^/| /' conftest.$ac_ext >&5
6327 # Passes both tests.
6332 rm -f conftest.err conftest.$ac_ext
6335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6336 rm -f conftest.err conftest.$ac_ext
6337 if $ac_preproc_ok; then
6349 { echo "$as_me:$LINENO: result: $CPP" >&5
6350 echo "${ECHO_T}$CPP" >&6; }
6352 for ac_c_preproc_warn_flag in '' yes
6354 # Use a header file that comes with gcc, so configuring glibc
6355 # with a fresh cross-compiler works.
6356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6357 # <limits.h> exists even on freestanding compilers.
6358 # On the NeXT, cc -E runs the code through the compiler's parser,
6359 # not just through cpp. "Syntax error" is here to catch this case.
6360 cat >conftest.$ac_ext <<_ACEOF
6363 cat confdefs.h >>conftest.$ac_ext
6364 cat >>conftest.$ac_ext <<_ACEOF
6365 /* end confdefs.h. */
6367 # include <limits.h>
6369 # include <assert.h>
6373 if { (ac_try="$ac_cpp conftest.$ac_ext"
6375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6376 *) ac_try_echo=$ac_try;;
6378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6381 grep -v '^ *+' conftest.er1 >conftest.err
6383 cat conftest.err >&5
6384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385 (exit $ac_status); } >/dev/null && {
6386 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6387 test ! -s conftest.err
6391 echo "$as_me: failed program was:" >&5
6392 sed 's/^/| /' conftest.$ac_ext >&5
6394 # Broken: fails on valid input.
6398 rm -f conftest.err conftest.$ac_ext
6400 # OK, works on sane cases. Now check whether nonexistent headers
6401 # can be detected and how.
6402 cat >conftest.$ac_ext <<_ACEOF
6405 cat confdefs.h >>conftest.$ac_ext
6406 cat >>conftest.$ac_ext <<_ACEOF
6407 /* end confdefs.h. */
6408 #include <ac_nonexistent.h>
6410 if { (ac_try="$ac_cpp conftest.$ac_ext"
6412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6413 *) ac_try_echo=$ac_try;;
6415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6418 grep -v '^ *+' conftest.er1 >conftest.err
6420 cat conftest.err >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); } >/dev/null && {
6423 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6424 test ! -s conftest.err
6426 # Broken: success on invalid input.
6429 echo "$as_me: failed program was:" >&5
6430 sed 's/^/| /' conftest.$ac_ext >&5
6432 # Passes both tests.
6437 rm -f conftest.err conftest.$ac_ext
6440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6441 rm -f conftest.err conftest.$ac_ext
6442 if $ac_preproc_ok; then
6445 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6446 See \`config.log' for more details." >&5
6447 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6448 See \`config.log' for more details." >&2;}
6449 { (exit 1); exit 1; }; }
6453 ac_cpp='$CPP $CPPFLAGS'
6454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6459 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6460 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6461 if test "${ac_cv_header_stdc+set}" = set; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 cat >conftest.$ac_ext <<_ACEOF
6467 cat confdefs.h >>conftest.$ac_ext
6468 cat >>conftest.$ac_ext <<_ACEOF
6469 /* end confdefs.h. */
6483 rm -f conftest.$ac_objext
6484 if { (ac_try="$ac_compile"
6486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6487 *) ac_try_echo=$ac_try;;
6489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6490 (eval "$ac_compile") 2>conftest.er1
6492 grep -v '^ *+' conftest.er1 >conftest.err
6494 cat conftest.err >&5
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); } && {
6497 test -z "$ac_c_werror_flag" ||
6498 test ! -s conftest.err
6499 } && test -s conftest.$ac_objext; then
6500 ac_cv_header_stdc=yes
6502 echo "$as_me: failed program was:" >&5
6503 sed 's/^/| /' conftest.$ac_ext >&5
6505 ac_cv_header_stdc=no
6508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6510 if test $ac_cv_header_stdc = yes; then
6511 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6512 cat >conftest.$ac_ext <<_ACEOF
6515 cat confdefs.h >>conftest.$ac_ext
6516 cat >>conftest.$ac_ext <<_ACEOF
6517 /* end confdefs.h. */
6521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6522 $EGREP "memchr" >/dev/null 2>&1; then
6525 ac_cv_header_stdc=no
6531 if test $ac_cv_header_stdc = yes; then
6532 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6533 cat >conftest.$ac_ext <<_ACEOF
6536 cat confdefs.h >>conftest.$ac_ext
6537 cat >>conftest.$ac_ext <<_ACEOF
6538 /* end confdefs.h. */
6542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6543 $EGREP "free" >/dev/null 2>&1; then
6546 ac_cv_header_stdc=no
6552 if test $ac_cv_header_stdc = yes; then
6553 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6554 if test "$cross_compiling" = yes; then
6557 cat >conftest.$ac_ext <<_ACEOF
6560 cat confdefs.h >>conftest.$ac_ext
6561 cat >>conftest.$ac_ext <<_ACEOF
6562 /* end confdefs.h. */
6565 #if ((' ' & 0x0FF) == 0x020)
6566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6569 # define ISLOWER(c) \
6570 (('a' <= (c) && (c) <= 'i') \
6571 || ('j' <= (c) && (c) <= 'r') \
6572 || ('s' <= (c) && (c) <= 'z'))
6573 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6576 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6581 for (i = 0; i < 256; i++)
6582 if (XOR (islower (i), ISLOWER (i))
6583 || toupper (i) != TOUPPER (i))
6588 rm -f conftest$ac_exeext
6589 if { (ac_try="$ac_link"
6591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6592 *) ac_try_echo=$ac_try;;
6594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6595 (eval "$ac_link") 2>&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6599 { (case "(($ac_try" in
6600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6601 *) ac_try_echo=$ac_try;;
6603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6604 (eval "$ac_try") 2>&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); }; }; then
6610 echo "$as_me: program exited with status $ac_status" >&5
6611 echo "$as_me: failed program was:" >&5
6612 sed 's/^/| /' conftest.$ac_ext >&5
6615 ac_cv_header_stdc=no
6617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6623 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6624 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6625 if test $ac_cv_header_stdc = yes; then
6627 cat >>confdefs.h <<\_ACEOF
6628 #define STDC_HEADERS 1
6633 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6643 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6644 inttypes.h stdint.h unistd.h
6646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6650 echo $ECHO_N "(cached) $ECHO_C" >&6
6652 cat >conftest.$ac_ext <<_ACEOF
6655 cat confdefs.h >>conftest.$ac_ext
6656 cat >>conftest.$ac_ext <<_ACEOF
6657 /* end confdefs.h. */
6658 $ac_includes_default
6660 #include <$ac_header>
6662 rm -f conftest.$ac_objext
6663 if { (ac_try="$ac_compile"
6665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6666 *) ac_try_echo=$ac_try;;
6668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6669 (eval "$ac_compile") 2>conftest.er1
6671 grep -v '^ *+' conftest.er1 >conftest.err
6673 cat conftest.err >&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } && {
6676 test -z "$ac_c_werror_flag" ||
6677 test ! -s conftest.err
6678 } && test -s conftest.$ac_objext; then
6679 eval "$as_ac_Header=yes"
6681 echo "$as_me: failed program was:" >&5
6682 sed 's/^/| /' conftest.$ac_ext >&5
6684 eval "$as_ac_Header=no"
6687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6689 ac_res=`eval echo '${'$as_ac_Header'}'`
6690 { echo "$as_me:$LINENO: result: $ac_res" >&5
6691 echo "${ECHO_T}$ac_res" >&6; }
6692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6693 cat >>confdefs.h <<_ACEOF
6694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6703 for ac_header in dlfcn.h
6705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6706 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 cat >conftest.$ac_ext <<_ACEOF
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6717 $ac_includes_default
6719 #include <$ac_header>
6721 rm -f conftest.$ac_objext
6722 if { (ac_try="$ac_compile"
6724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6725 *) ac_try_echo=$ac_try;;
6727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6728 (eval "$ac_compile") 2>conftest.er1
6730 grep -v '^ *+' conftest.er1 >conftest.err
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } && {
6735 test -z "$ac_c_werror_flag" ||
6736 test ! -s conftest.err
6737 } && test -s conftest.$ac_objext; then
6738 eval "$as_ac_Header=yes"
6740 echo "$as_me: failed program was:" >&5
6741 sed 's/^/| /' conftest.$ac_ext >&5
6743 eval "$as_ac_Header=no"
6746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6748 ac_res=`eval echo '${'$as_ac_Header'}'`
6749 { echo "$as_me:$LINENO: result: $ac_res" >&5
6750 echo "${ECHO_T}$ac_res" >&6; }
6751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6752 cat >>confdefs.h <<_ACEOF
6753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6764 enable_win32_dll=yes
6767 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
6768 if test -n "$ac_tool_prefix"; then
6769 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6770 set dummy ${ac_tool_prefix}as; ac_word=$2
6771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6773 if test "${ac_cv_prog_AS+set}" = set; then
6774 echo $ECHO_N "(cached) $ECHO_C" >&6
6776 if test -n "$AS"; then
6777 ac_cv_prog_AS="$AS" # Let the user override the test.
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 test -z "$as_dir" && as_dir=.
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6786 ac_cv_prog_AS="${ac_tool_prefix}as"
6787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6797 if test -n "$AS"; then
6798 { echo "$as_me:$LINENO: result: $AS" >&5
6799 echo "${ECHO_T}$AS" >&6; }
6801 { echo "$as_me:$LINENO: result: no" >&5
6802 echo "${ECHO_T}no" >&6; }
6807 if test -z "$ac_cv_prog_AS"; then
6809 # Extract the first word of "as", so it can be a program name with args.
6810 set dummy as; ac_word=$2
6811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6813 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6816 if test -n "$ac_ct_AS"; then
6817 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir=.
6824 for ac_exec_ext in '' $ac_executable_extensions; do
6825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6826 ac_cv_prog_ac_ct_AS="as"
6827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6836 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6837 if test -n "$ac_ct_AS"; then
6838 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
6839 echo "${ECHO_T}$ac_ct_AS" >&6; }
6841 { echo "$as_me:$LINENO: result: no" >&5
6842 echo "${ECHO_T}no" >&6; }
6845 if test "x$ac_ct_AS" = x; then
6848 case $cross_compiling:$ac_tool_warned in
6850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6851 whose name does not start with the host triplet. If you think this
6852 configuration is useful to you, please write to autoconf@gnu.org." >&5
6853 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6854 whose name does not start with the host triplet. If you think this
6855 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6856 ac_tool_warned=yes ;;
6864 if test -n "$ac_tool_prefix"; then
6865 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6866 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6869 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6870 echo $ECHO_N "(cached) $ECHO_C" >&6
6872 if test -n "$DLLTOOL"; then
6873 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 test -z "$as_dir" && as_dir=.
6880 for ac_exec_ext in '' $ac_executable_extensions; do
6881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6882 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6892 DLLTOOL=$ac_cv_prog_DLLTOOL
6893 if test -n "$DLLTOOL"; then
6894 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
6895 echo "${ECHO_T}$DLLTOOL" >&6; }
6897 { echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6; }
6903 if test -z "$ac_cv_prog_DLLTOOL"; then
6904 ac_ct_DLLTOOL=$DLLTOOL
6905 # Extract the first word of "dlltool", so it can be a program name with args.
6906 set dummy dlltool; ac_word=$2
6907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6909 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
6910 echo $ECHO_N "(cached) $ECHO_C" >&6
6912 if test -n "$ac_ct_DLLTOOL"; then
6913 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6922 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6932 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6933 if test -n "$ac_ct_DLLTOOL"; then
6934 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
6935 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
6937 { echo "$as_me:$LINENO: result: no" >&5
6938 echo "${ECHO_T}no" >&6; }
6941 if test "x$ac_ct_DLLTOOL" = x; then
6944 case $cross_compiling:$ac_tool_warned in
6946 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6947 whose name does not start with the host triplet. If you think this
6948 configuration is useful to you, please write to autoconf@gnu.org." >&5
6949 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6950 whose name does not start with the host triplet. If you think this
6951 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6952 ac_tool_warned=yes ;;
6954 DLLTOOL=$ac_ct_DLLTOOL
6957 DLLTOOL="$ac_cv_prog_DLLTOOL"
6960 if test -n "$ac_tool_prefix"; then
6961 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6962 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6965 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6966 echo $ECHO_N "(cached) $ECHO_C" >&6
6968 if test -n "$OBJDUMP"; then
6969 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir=.
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6978 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6988 OBJDUMP=$ac_cv_prog_OBJDUMP
6989 if test -n "$OBJDUMP"; then
6990 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6991 echo "${ECHO_T}$OBJDUMP" >&6; }
6993 { echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6; }
6999 if test -z "$ac_cv_prog_OBJDUMP"; then
7000 ac_ct_OBJDUMP=$OBJDUMP
7001 # Extract the first word of "objdump", so it can be a program name with args.
7002 set dummy objdump; ac_word=$2
7003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7005 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7008 if test -n "$ac_ct_OBJDUMP"; then
7009 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7018 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7029 if test -n "$ac_ct_OBJDUMP"; then
7030 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7031 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
7033 { echo "$as_me:$LINENO: result: no" >&5
7034 echo "${ECHO_T}no" >&6; }
7037 if test "x$ac_ct_OBJDUMP" = x; then
7040 case $cross_compiling:$ac_tool_warned in
7042 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7043 whose name does not start with the host triplet. If you think this
7044 configuration is useful to you, please write to autoconf@gnu.org." >&5
7045 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7046 whose name does not start with the host triplet. If you think this
7047 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7048 ac_tool_warned=yes ;;
7050 OBJDUMP=$ac_ct_OBJDUMP
7053 OBJDUMP="$ac_cv_prog_OBJDUMP"
7059 test -z "$AS" && AS=as
7065 test -z "$DLLTOOL" && DLLTOOL=dlltool
7071 test -z "$OBJDUMP" && OBJDUMP=objdump
7081 # Check whether --enable-shared was given.
7082 if test "${enable_shared+set}" = set; then
7083 enableval=$enable_shared; p=${PACKAGE-default}
7085 yes) enable_shared=yes ;;
7086 no) enable_shared=no ;;
7089 # Look at the argument we got. We use all the common list separators.
7090 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7091 for pkg in $enableval; do
7093 if test "X$pkg" = "X$p"; then
7112 # Check whether --enable-static was given.
7113 if test "${enable_static+set}" = set; then
7114 enableval=$enable_static; p=${PACKAGE-default}
7116 yes) enable_static=yes ;;
7117 no) enable_static=no ;;
7120 # Look at the argument we got. We use all the common list separators.
7121 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7122 for pkg in $enableval; do
7124 if test "X$pkg" = "X$p"; then
7144 # Check whether --with-pic was given.
7145 if test "${with_pic+set}" = set; then
7146 withval=$with_pic; pic_mode="$withval"
7152 test -z "$pic_mode" && pic_mode=default
7160 # Check whether --enable-fast-install was given.
7161 if test "${enable_fast_install+set}" = set; then
7162 enableval=$enable_fast_install; p=${PACKAGE-default}
7164 yes) enable_fast_install=yes ;;
7165 no) enable_fast_install=no ;;
7167 enable_fast_install=no
7168 # Look at the argument we got. We use all the common list separators.
7169 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7170 for pkg in $enableval; do
7172 if test "X$pkg" = "X$p"; then
7173 enable_fast_install=yes
7180 enable_fast_install=yes
7193 # This can be used to rebuild libtool when needed
7194 LIBTOOL_DEPS="$ltmain"
7196 # Always use our own libtool.
7197 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7223 test -z "$LN_S" && LN_S="ln -s"
7238 if test -n "${ZSH_VERSION+set}" ; then
7239 setopt NO_GLOB_SUBST
7242 { echo "$as_me:$LINENO: checking for objdir" >&5
7243 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7244 if test "${lt_cv_objdir+set}" = set; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7247 rm -f .libs 2>/dev/null
7248 mkdir .libs 2>/dev/null
7249 if test -d .libs; then
7252 # MS-DOS does not allow filenames that begin with a dot.
7255 rmdir .libs 2>/dev/null
7257 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7258 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7259 objdir=$lt_cv_objdir
7265 cat >>confdefs.h <<_ACEOF
7266 #define LT_OBJDIR "$lt_cv_objdir/"
7287 # AIX sometimes has problems with the GCC collect2 program. For some
7288 # reason, if we set the COLLECT_NAMES environment variable, the problems
7289 # vanish in a puff of smoke.
7290 if test "X${COLLECT_NAMES+set}" != Xset; then
7292 export COLLECT_NAMES
7297 # Sed substitution that helps us do robust quoting. It backslashifies
7298 # metacharacters that are still active within double-quoted strings.
7299 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7301 # Same as above, but do not quote variable references.
7302 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7304 # Sed substitution to delay expansion of an escaped shell variable in a
7305 # double_quote_subst'ed string.
7306 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7308 # Sed substitution to delay expansion of an escaped single quote.
7309 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7311 # Sed substitution to avoid accidental globbing in evaled expressions
7312 no_glob_subst='s/\*/\\\*/g'
7316 can_build_shared=yes
7318 # All known linkers require a `.a' archive for static linking (except MSVC,
7319 # which needs '.lib').
7322 with_gnu_ld="$lt_cv_prog_gnu_ld"
7325 old_CFLAGS="$CFLAGS"
7327 # Set sane defaults for various variables
7328 test -z "$CC" && CC=cc
7329 test -z "$LTCC" && LTCC=$CC
7330 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7331 test -z "$LD" && LD=ld
7332 test -z "$ac_objext" && ac_objext=o
7334 for cc_temp in $compiler""; do
7336 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7337 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7342 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7345 # Only perform the check for file, if the check method requires it
7346 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7347 case $deplibs_check_method in
7349 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7350 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7351 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7352 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7357 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7360 lt_save_MAGIC_CMD="$MAGIC_CMD"
7361 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7362 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7363 for ac_dir in $ac_dummy; do
7365 test -z "$ac_dir" && ac_dir=.
7366 if test -f $ac_dir/${ac_tool_prefix}file; then
7367 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7368 if test -n "$file_magic_test_file"; then
7369 case $deplibs_check_method in
7371 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7372 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7373 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7374 $EGREP "$file_magic_regex" > /dev/null; then
7379 *** Warning: the command libtool uses to detect shared libraries,
7380 *** $file_magic_cmd, produces output that libtool cannot recognize.
7381 *** The result is that libtool may fail to recognize shared libraries
7382 *** as such. This will affect the creation of libtool libraries that
7383 *** depend on shared libraries, but programs linked with such libtool
7384 *** libraries will work regardless of this problem. Nevertheless, you
7385 *** may want to report the problem to your system manager and/or to
7386 *** bug-libtool@gnu.org
7396 MAGIC_CMD="$lt_save_MAGIC_CMD"
7401 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7402 if test -n "$MAGIC_CMD"; then
7403 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7404 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7406 { echo "$as_me:$LINENO: result: no" >&5
7407 echo "${ECHO_T}no" >&6; }
7414 if test -z "$lt_cv_path_MAGIC_CMD"; then
7415 if test -n "$ac_tool_prefix"; then
7416 { echo "$as_me:$LINENO: checking for file" >&5
7417 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7418 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7423 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7426 lt_save_MAGIC_CMD="$MAGIC_CMD"
7427 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7428 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7429 for ac_dir in $ac_dummy; do
7431 test -z "$ac_dir" && ac_dir=.
7432 if test -f $ac_dir/file; then
7433 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7434 if test -n "$file_magic_test_file"; then
7435 case $deplibs_check_method in
7437 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7438 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7439 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7440 $EGREP "$file_magic_regex" > /dev/null; then
7445 *** Warning: the command libtool uses to detect shared libraries,
7446 *** $file_magic_cmd, produces output that libtool cannot recognize.
7447 *** The result is that libtool may fail to recognize shared libraries
7448 *** as such. This will affect the creation of libtool libraries that
7449 *** depend on shared libraries, but programs linked with such libtool
7450 *** libraries will work regardless of this problem. Nevertheless, you
7451 *** may want to report the problem to your system manager and/or to
7452 *** bug-libtool@gnu.org
7462 MAGIC_CMD="$lt_save_MAGIC_CMD"
7467 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7468 if test -n "$MAGIC_CMD"; then
7469 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7470 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7472 { echo "$as_me:$LINENO: result: no" >&5
7473 echo "${ECHO_T}no" >&6; }
7486 # Use C for the default configuration in the libtool script
7490 ac_cpp='$CPP $CPPFLAGS'
7491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7496 # Source file extension for C test sources.
7499 # Object file extension for compiled C test sources.
7503 # Code to be used in simple compile tests
7504 lt_simple_compile_test_code="int some_variable = 0;"
7506 # Code to be used in simple link tests
7507 lt_simple_link_test_code='int main(){return(0);}'
7515 # If no C compiler was specified, use CC.
7518 # If no C compiler flags were specified, use CFLAGS.
7519 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7521 # Allow CC to be a program name with arguments.
7524 # Save the default compiler, since it gets overwritten when the other
7525 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7526 compiler_DEFAULT=$CC
7528 # save warnings/boilerplate of simple test code
7529 ac_outfile=conftest.$ac_objext
7530 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7531 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7532 _lt_compiler_boilerplate=`cat conftest.err`
7535 ac_outfile=conftest.$ac_objext
7536 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7537 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7538 _lt_linker_boilerplate=`cat conftest.err`
7543 ## There is no encapsulation within the following macros, do not change
7544 ## the running order or otherwise move them around unless you know exactly
7545 ## what you are doing...
7546 if test -n "$compiler"; then
7548 lt_prog_compiler_no_builtin_flag=
7550 if test "$GCC" = yes; then
7551 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7553 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7554 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7555 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 lt_cv_prog_compiler_rtti_exceptions=no
7559 ac_outfile=conftest.$ac_objext
7560 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7561 lt_compiler_flag="-fno-rtti -fno-exceptions"
7562 # Insert the option either (1) after the last *FLAGS variable, or
7563 # (2) before a word containing "conftest.", or (3) at the end.
7564 # Note that $ac_compile itself does not contain backslashes and begins
7565 # with a dollar sign (not a hyphen), so the echo should work correctly.
7566 # The option is referenced via a variable to avoid confusing sed.
7567 lt_compile=`echo "$ac_compile" | $SED \
7568 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7569 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7570 -e 's:$: $lt_compiler_flag:'`
7571 (eval echo "\"\$as_me:7571: $lt_compile\"" >&5)
7572 (eval "$lt_compile" 2>conftest.err)
7574 cat conftest.err >&5
7575 echo "$as_me:7575: \$? = $ac_status" >&5
7576 if (exit $ac_status) && test -s "$ac_outfile"; then
7577 # The compiler can only warn and ignore the option if not recognized
7578 # So say no if there are warnings other than the usual output.
7579 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7580 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7581 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7582 lt_cv_prog_compiler_rtti_exceptions=yes
7588 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7589 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7591 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7592 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7604 lt_prog_compiler_wl=
7605 lt_prog_compiler_pic=
7606 lt_prog_compiler_static=
7608 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7609 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7611 if test "$GCC" = yes; then
7612 lt_prog_compiler_wl='-Wl,'
7613 lt_prog_compiler_static='-static'
7617 # All AIX code is PIC.
7618 if test "$host_cpu" = ia64; then
7619 # AIX 5 now supports IA64 processor
7620 lt_prog_compiler_static='-Bstatic'
7627 # see comment about AmigaOS4 .so support
7628 lt_prog_compiler_pic='-fPIC'
7631 # FIXME: we need at least 68020 code to build shared libraries, but
7632 # adding the `-m68020' flag to GCC prevents building anything better,
7634 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7639 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7640 # PIC is the default for these OSes.
7643 mingw* | cygwin* | pw32* | os2*)
7644 # This hack is so that the source file can tell whether it is being
7645 # built for inclusion in a dll (and should export symbols for example).
7646 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7647 # (--disable-auto-import) libraries
7648 lt_prog_compiler_pic='-DDLL_EXPORT'
7651 darwin* | rhapsody*)
7652 # PIC is the default on this platform
7653 # Common symbols not allowed in MH_DYLIB files
7654 lt_prog_compiler_pic='-fno-common'
7658 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7665 lt_prog_compiler_pic='-fPIC'
7671 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7672 # Instead, we relocate shared libraries at runtime.
7676 # Just because we use GCC doesn't mean we suddenly get shared libraries
7677 # on systems that don't support them.
7678 lt_prog_compiler_can_build_shared=no
7683 # QNX uses GNU C++, but need to define -shared option too, otherwise
7685 lt_prog_compiler_pic='-fPIC -shared'
7689 if test -d /usr/nec; then
7690 lt_prog_compiler_pic=-Kconform_pic
7695 lt_prog_compiler_pic='-fPIC'
7699 # PORTME Check for flag to pass linker flags through the system compiler.
7702 lt_prog_compiler_wl='-Wl,'
7703 if test "$host_cpu" = ia64; then
7704 # AIX 5 now supports IA64 processor
7705 lt_prog_compiler_static='-Bstatic'
7707 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7711 mingw* | cygwin* | pw32* | os2*)
7712 # This hack is so that the source file can tell whether it is being
7713 # built for inclusion in a dll (and should export symbols for example).
7714 lt_prog_compiler_pic='-DDLL_EXPORT'
7717 hpux9* | hpux10* | hpux11*)
7718 lt_prog_compiler_wl='-Wl,'
7719 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7726 lt_prog_compiler_pic='+Z'
7729 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7730 lt_prog_compiler_static='${wl}-a ${wl}archive'
7733 irix5* | irix6* | nonstopux*)
7734 lt_prog_compiler_wl='-Wl,'
7735 # PIC (with -KPIC) is the default.
7736 lt_prog_compiler_static='-non_shared'
7739 linux* | k*bsd*-gnu)
7740 case $cc_basename in
7741 icc* | ecc* | ifort*)
7742 lt_prog_compiler_wl='-Wl,'
7743 lt_prog_compiler_pic='-KPIC'
7744 lt_prog_compiler_static='-static'
7746 pgcc* | pgf77* | pgf90* | pgf95*)
7747 # Portland Group compilers (*not* the Pentium gcc compiler,
7748 # which looks to be a dead project)
7749 lt_prog_compiler_wl='-Wl,'
7750 lt_prog_compiler_pic='-fpic'
7751 lt_prog_compiler_static='-Bstatic'
7754 lt_prog_compiler_wl='-Wl,'
7755 # All Alpha code is PIC.
7756 lt_prog_compiler_static='-non_shared'
7759 # IBM XL C 8.0/Fortran 10.1 on PPC
7760 lt_prog_compiler_wl='-Wl,'
7761 lt_prog_compiler_pic='-qpic'
7762 lt_prog_compiler_static='-qstaticlink'
7765 case `$CC -V 2>&1 | sed 5q` in
7768 lt_prog_compiler_pic='-KPIC'
7769 lt_prog_compiler_static='-Bstatic'
7770 lt_prog_compiler_wl='-Wl,'
7773 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7774 lt_prog_compiler_pic='-KPIC'
7775 lt_prog_compiler_static='-Bstatic'
7776 lt_prog_compiler_wl=''
7784 lt_prog_compiler_pic='-KPIC'
7785 lt_prog_compiler_static='-Bstatic'
7789 # QNX uses GNU C++, but need to define -shared option too, otherwise
7791 lt_prog_compiler_pic='-fPIC -shared'
7794 osf3* | osf4* | osf5*)
7795 lt_prog_compiler_wl='-Wl,'
7796 # All OSF/1 code is PIC.
7797 lt_prog_compiler_static='-non_shared'
7801 lt_prog_compiler_static='-non_shared'
7805 lt_prog_compiler_pic='-KPIC'
7806 lt_prog_compiler_static='-Bstatic'
7807 case $cc_basename in
7809 lt_prog_compiler_wl='-Qoption ld ';;
7811 lt_prog_compiler_wl='-Wl,';;
7816 lt_prog_compiler_wl='-Qoption ld '
7817 lt_prog_compiler_pic='-PIC'
7818 lt_prog_compiler_static='-Bstatic'
7821 sysv4 | sysv4.2uw2* | sysv4.3*)
7822 lt_prog_compiler_wl='-Wl,'
7823 lt_prog_compiler_pic='-KPIC'
7824 lt_prog_compiler_static='-Bstatic'
7828 if test -d /usr/nec ;then
7829 lt_prog_compiler_pic='-Kconform_pic'
7830 lt_prog_compiler_static='-Bstatic'
7834 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7835 lt_prog_compiler_wl='-Wl,'
7836 lt_prog_compiler_pic='-KPIC'
7837 lt_prog_compiler_static='-Bstatic'
7841 lt_prog_compiler_wl='-Wl,'
7842 lt_prog_compiler_can_build_shared=no
7846 lt_prog_compiler_pic='-pic'
7847 lt_prog_compiler_static='-Bstatic'
7851 lt_prog_compiler_can_build_shared=no
7857 # For platforms which do not support PIC, -DPIC is meaningless:
7859 lt_prog_compiler_pic=
7862 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7865 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7866 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7874 # Check to make sure the PIC flag actually works.
7876 if test -n "$lt_prog_compiler_pic"; then
7877 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7878 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7879 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6
7882 lt_cv_prog_compiler_pic_works=no
7883 ac_outfile=conftest.$ac_objext
7884 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7885 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7886 # Insert the option either (1) after the last *FLAGS variable, or
7887 # (2) before a word containing "conftest.", or (3) at the end.
7888 # Note that $ac_compile itself does not contain backslashes and begins
7889 # with a dollar sign (not a hyphen), so the echo should work correctly.
7890 # The option is referenced via a variable to avoid confusing sed.
7891 lt_compile=`echo "$ac_compile" | $SED \
7892 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7893 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7894 -e 's:$: $lt_compiler_flag:'`
7895 (eval echo "\"\$as_me:7895: $lt_compile\"" >&5)
7896 (eval "$lt_compile" 2>conftest.err)
7898 cat conftest.err >&5
7899 echo "$as_me:7899: \$? = $ac_status" >&5
7900 if (exit $ac_status) && test -s "$ac_outfile"; then
7901 # The compiler can only warn and ignore the option if not recognized
7902 # So say no if there are warnings other than the usual output.
7903 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7904 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7905 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7906 lt_cv_prog_compiler_pic_works=yes
7912 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7913 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7915 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7916 case $lt_prog_compiler_pic in
7918 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7921 lt_prog_compiler_pic=
7922 lt_prog_compiler_can_build_shared=no
7933 # Check to make sure the static flag actually works.
7935 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7936 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7937 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7938 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7939 echo $ECHO_N "(cached) $ECHO_C" >&6
7941 lt_cv_prog_compiler_static_works=no
7942 save_LDFLAGS="$LDFLAGS"
7943 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7944 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7945 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7946 # The linker can only warn and ignore the option if not recognized
7947 # So say no if there are warnings
7948 if test -s conftest.err; then
7949 # Append any errors to the config.log.
7950 cat conftest.err 1>&5
7951 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7952 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7953 if diff conftest.exp conftest.er2 >/dev/null; then
7954 lt_cv_prog_compiler_static_works=yes
7957 lt_cv_prog_compiler_static_works=yes
7961 LDFLAGS="$save_LDFLAGS"
7964 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7965 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7967 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7970 lt_prog_compiler_static=
7979 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7980 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7981 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7982 echo $ECHO_N "(cached) $ECHO_C" >&6
7984 lt_cv_prog_compiler_c_o=no
7985 $RM -r conftest 2>/dev/null
7989 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7991 lt_compiler_flag="-o out/conftest2.$ac_objext"
7992 # Insert the option either (1) after the last *FLAGS variable, or
7993 # (2) before a word containing "conftest.", or (3) at the end.
7994 # Note that $ac_compile itself does not contain backslashes and begins
7995 # with a dollar sign (not a hyphen), so the echo should work correctly.
7996 lt_compile=`echo "$ac_compile" | $SED \
7997 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7998 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7999 -e 's:$: $lt_compiler_flag:'`
8000 (eval echo "\"\$as_me:8000: $lt_compile\"" >&5)
8001 (eval "$lt_compile" 2>out/conftest.err)
8003 cat out/conftest.err >&5
8004 echo "$as_me:8004: \$? = $ac_status" >&5
8005 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8007 # The compiler can only warn and ignore the option if not recognized
8008 # So say no if there are warnings
8009 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8010 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8011 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8012 lt_cv_prog_compiler_c_o=yes
8017 # SGI C++ compiler will create directory out/ii_files/ for
8018 # template instantiation
8019 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8020 $RM out/* && rmdir out
8026 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8027 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8034 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8035 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8036 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8037 echo $ECHO_N "(cached) $ECHO_C" >&6
8039 lt_cv_prog_compiler_c_o=no
8040 $RM -r conftest 2>/dev/null
8044 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8046 lt_compiler_flag="-o out/conftest2.$ac_objext"
8047 # Insert the option either (1) after the last *FLAGS variable, or
8048 # (2) before a word containing "conftest.", or (3) at the end.
8049 # Note that $ac_compile itself does not contain backslashes and begins
8050 # with a dollar sign (not a hyphen), so the echo should work correctly.
8051 lt_compile=`echo "$ac_compile" | $SED \
8052 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8053 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8054 -e 's:$: $lt_compiler_flag:'`
8055 (eval echo "\"\$as_me:8055: $lt_compile\"" >&5)
8056 (eval "$lt_compile" 2>out/conftest.err)
8058 cat out/conftest.err >&5
8059 echo "$as_me:8059: \$? = $ac_status" >&5
8060 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8062 # The compiler can only warn and ignore the option if not recognized
8063 # So say no if there are warnings
8064 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8065 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8066 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8067 lt_cv_prog_compiler_c_o=yes
8072 # SGI C++ compiler will create directory out/ii_files/ for
8073 # template instantiation
8074 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8075 $RM out/* && rmdir out
8081 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8082 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8087 hard_links="nottested"
8088 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8089 # do not overwrite the value of need_locks provided by the user
8090 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8091 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8094 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8096 ln conftest.a conftest.b 2>&5 || hard_links=no
8097 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8098 { echo "$as_me:$LINENO: result: $hard_links" >&5
8099 echo "${ECHO_T}$hard_links" >&6; }
8100 if test "$hard_links" = no; then
8101 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8102 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8114 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8115 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8118 allow_undefined_flag=
8119 always_export_symbols=no
8121 archive_expsym_cmds=
8122 compiler_needs_object=no
8123 enable_shared_with_static_runtimes=no
8124 export_dynamic_flag_spec=
8125 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8126 hardcode_automatic=no
8128 hardcode_direct_absolute=no
8129 hardcode_libdir_flag_spec=
8130 hardcode_libdir_flag_spec_ld=
8131 hardcode_libdir_separator=
8133 hardcode_shlibpath_var=unsupported
8135 link_all_deplibs=unknown
8138 old_archive_from_new_cmds=
8139 old_archive_from_expsyms_cmds=
8140 thread_safe_flag_spec=
8141 whole_archive_flag_spec=
8142 # include_expsyms should be a list of space-separated symbols to be *always*
8143 # included in the symbol list
8145 # exclude_expsyms can be an extended regexp of symbols to exclude
8146 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8147 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8148 # as well as any symbol that contains `d'.
8149 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8150 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8151 # platforms (ab)use it in PIC code, but their linkers get confused if
8152 # the symbol is explicitly referenced. Since portable code cannot
8153 # rely on this symbol name, it's probably fine to never include it in
8154 # preloaded symbol tables.
8155 # Exclude shared library initialization/finalization symbols.
8156 extract_expsyms_cmds=
8159 cygwin* | mingw* | pw32*)
8160 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8161 # When not using gcc, we currently assume that we are using
8162 # Microsoft Visual C++.
8163 if test "$GCC" != yes; then
8168 # we just hope/assume this is gcc and not c89 (= MSVC++)
8177 if test "$with_gnu_ld" = yes; then
8178 # If archive_cmds runs LD, not CC, wlarc should be empty
8181 # Set some defaults for GNU ld with shared library support. These
8182 # are reset later if shared libraries are not supported. Putting them
8183 # here allows them to be overridden if necessary.
8184 runpath_var=LD_RUN_PATH
8185 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8186 export_dynamic_flag_spec='${wl}--export-dynamic'
8187 # ancient GNU ld didn't support --whole-archive et. al.
8188 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8189 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8191 whole_archive_flag_spec=
8193 supports_anon_versioning=no
8194 case `$LD -v 2>&1` in
8195 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8196 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8197 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8198 *\ 2.11.*) ;; # other 2.11 versions
8199 *) supports_anon_versioning=yes ;;
8202 # See if GNU ld supports shared libraries.
8205 # On AIX/PPC, the GNU linker is very broken
8206 if test "$host_cpu" != ia64; then
8210 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8211 *** to be unable to reliably create shared libraries on AIX.
8212 *** Therefore, libtool is disabling shared libraries support. If you
8213 *** really care for shared libraries, you may want to modify your PATH
8214 *** so that a non-GNU linker is found, and then restart.
8223 # see comment about AmigaOS4 .so support
8224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8225 archive_expsym_cmds=''
8228 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)'
8229 hardcode_libdir_flag_spec='-L$libdir'
8230 hardcode_minus_L=yes
8236 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8237 allow_undefined_flag=unsupported
8238 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8239 # support --undefined. This deserves some investigation. FIXME
8240 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8246 cygwin* | mingw* | pw32*)
8247 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8248 # as there is no search path for DLLs.
8249 hardcode_libdir_flag_spec='-L$libdir'
8250 allow_undefined_flag=unsupported
8251 always_export_symbols=no
8252 enable_shared_with_static_runtimes=yes
8253 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8255 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8256 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8257 # If the export-symbols file already is a .def file (1st line
8258 # is EXPORTS), use it as is; otherwise, prepend...
8259 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8260 cp $export_symbols $output_objdir/$soname.def;
8262 echo EXPORTS > $output_objdir/$soname.def;
8263 cat $export_symbols >> $output_objdir/$soname.def;
8265 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8273 hardcode_shlibpath_var=no
8274 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8275 export_dynamic_flag_spec='${wl}-E'
8276 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8277 # Instead, shared libraries are loaded at an image base (0x10000000 by
8278 # default) and relocated if they conflict, which is a slow very memory
8279 # consuming and fragmenting process. To avoid this, we pick a random,
8280 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8281 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8282 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8283 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'
8286 gnu* | linux* | tpf* | k*bsd*-gnu)
8288 if test "$host_os" = linux-dietlibc; then
8289 case $cc_basename in
8290 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8293 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8294 && test "$tmp_diet" = no
8297 tmp_sharedflag='-shared'
8298 case $cc_basename,$host_cpu in
8299 pgcc*) # Portland Group C compiler
8300 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'
8301 tmp_addflag=' $pic_flag'
8303 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8304 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'
8305 tmp_addflag=' $pic_flag -Mnomain' ;;
8306 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8307 tmp_addflag=' -i_dynamic' ;;
8308 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8309 tmp_addflag=' -i_dynamic -nofor_main' ;;
8310 ifc* | ifort*) # Intel Fortran compiler
8311 tmp_addflag=' -nofor_main' ;;
8312 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8313 tmp_sharedflag='-qmkshrobj'
8316 case `$CC -V 2>&1 | sed 5q` in
8317 *Sun\ C*) # Sun C 5.9
8318 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8319 compiler_needs_object=yes
8320 tmp_sharedflag='-G' ;;
8321 *Sun\ F*) # Sun Fortran 8.3
8322 tmp_sharedflag='-G' ;;
8324 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8326 if test "x$supports_anon_versioning" = xyes; then
8327 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8328 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8329 echo "local: *; };" >> $output_objdir/$libname.ver~
8330 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8333 case $cc_basename in
8335 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8336 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8337 hardcode_libdir_flag_spec=
8338 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8339 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8340 if test "x$supports_anon_versioning" = xyes; then
8341 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8342 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8343 echo "local: *; };" >> $output_objdir/$libname.ver~
8344 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8354 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8355 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8358 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8359 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8364 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8368 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8369 *** create shared libraries on Solaris systems. Therefore, libtool
8370 *** is disabling shared libraries support. We urge you to upgrade GNU
8371 *** binutils to release 2.9.1 or newer. Another option is to modify
8372 *** your PATH or compiler configuration so that the native linker is
8373 *** used, and then restart.
8376 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8377 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8378 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8384 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8385 case `$LD -v 2>&1` in
8386 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8390 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8391 *** reliably create shared libraries on SCO systems. Therefore, libtool
8392 *** is disabling shared libraries support. We urge you to upgrade GNU
8393 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8394 *** your PATH or compiler configuration so that the native linker is
8395 *** used, and then restart.
8400 # For security reasons, it is highly recommended that you always
8401 # use absolute paths for naming shared libraries, and exclude the
8402 # DT_RUNPATH tag from executables and libraries. But doing so
8403 # requires that you compile everything twice, which is a pain.
8404 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8405 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8406 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8407 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8416 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8419 hardcode_shlibpath_var=no
8423 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8424 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8425 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8432 if test "$ld_shlibs" = no; then
8434 hardcode_libdir_flag_spec=
8435 export_dynamic_flag_spec=
8436 whole_archive_flag_spec=
8439 # PORTME fill in a description of your system's linker (not GNU ld)
8442 allow_undefined_flag=unsupported
8443 always_export_symbols=yes
8444 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'
8445 # Note: this linker hardcodes the directories in LIBPATH if there
8446 # are no directories specified by -L.
8447 hardcode_minus_L=yes
8448 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8449 # Neither direct hardcoding nor static linking is supported with a
8451 hardcode_direct=unsupported
8456 if test "$host_cpu" = ia64; then
8457 # On IA64, the linker does run time linking by default, so we don't
8458 # have to do anything special.
8459 aix_use_runtimelinking=no
8460 exp_sym_flag='-Bexport'
8463 # If we're using GNU nm, then we don't want the "-C" option.
8464 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8465 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8466 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'
8468 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'
8470 aix_use_runtimelinking=no
8472 # Test if we are trying to use run time linking or normal
8473 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8474 # need to do runtime linking.
8475 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8476 for ld_flag in $LDFLAGS; do
8477 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8478 aix_use_runtimelinking=yes
8485 exp_sym_flag='-bexport'
8486 no_entry_flag='-bnoentry'
8489 # When large executables or shared objects are built, AIX ld can
8490 # have problems creating the table of contents. If linking a library
8491 # or program results in "error TOC overflow" add -mminimal-toc to
8492 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8493 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8497 hardcode_direct_absolute=yes
8498 hardcode_libdir_separator=':'
8499 link_all_deplibs=yes
8500 file_list_spec='${wl}-f,'
8502 if test "$GCC" = yes; then
8503 case $host_os in aix4.[012]|aix4.[012].*)
8504 # We only want to do this on AIX 4.2 and lower, the check
8505 # below for broken collect2 doesn't work under 4.3+
8506 collect2name=`${CC} -print-prog-name=collect2`
8507 if test -f "$collect2name" &&
8508 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8510 # We have reworked collect2
8513 # We have old collect2
8514 hardcode_direct=unsupported
8515 # It fails to find uninstalled libraries when the uninstalled
8516 # path is not listed in the libpath. Setting hardcode_minus_L
8517 # to unsupported forces relinking
8518 hardcode_minus_L=yes
8519 hardcode_libdir_flag_spec='-L$libdir'
8520 hardcode_libdir_separator=
8524 shared_flag='-shared'
8525 if test "$aix_use_runtimelinking" = yes; then
8526 shared_flag="$shared_flag "'${wl}-G'
8530 if test "$host_cpu" = ia64; then
8531 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8532 # chokes on -Wl,-G. The following line is correct:
8535 if test "$aix_use_runtimelinking" = yes; then
8536 shared_flag='${wl}-G'
8538 shared_flag='${wl}-bM:SRE'
8543 # It seems that -bexpall does not export symbols beginning with
8544 # underscore (_), so it is better to generate a list of symbols to export.
8545 always_export_symbols=yes
8546 if test "$aix_use_runtimelinking" = yes; then
8547 # Warning - without using the other runtime loading flags (-brtl),
8548 # -berok will link without error, but may produce a broken library.
8549 allow_undefined_flag='-berok'
8550 # Determine the default libpath from the value encoded in an
8552 cat >conftest.$ac_ext <<_ACEOF
8555 cat confdefs.h >>conftest.$ac_ext
8556 cat >>conftest.$ac_ext <<_ACEOF
8557 /* end confdefs.h. */
8567 rm -f conftest.$ac_objext conftest$ac_exeext
8568 if { (ac_try="$ac_link"
8570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8571 *) ac_try_echo=$ac_try;;
8573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8574 (eval "$ac_link") 2>conftest.er1
8576 grep -v '^ *+' conftest.er1 >conftest.err
8578 cat conftest.err >&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); } && {
8581 test -z "$ac_c_werror_flag" ||
8582 test ! -s conftest.err
8583 } && test -s conftest$ac_exeext &&
8584 $as_test_x conftest$ac_exeext; then
8586 lt_aix_libpath_sed='
8587 /Import File Strings/,/^$/ {
8593 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8594 # Check for a 64-bit object if we didn't find anything.
8595 if test -z "$aix_libpath"; then
8596 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8599 echo "$as_me: failed program was:" >&5
8600 sed 's/^/| /' conftest.$ac_ext >&5
8605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8606 conftest$ac_exeext conftest.$ac_ext
8607 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8609 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8610 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8612 if test "$host_cpu" = ia64; then
8613 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8614 allow_undefined_flag="-z nodefs"
8615 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"
8617 # Determine the default libpath from the value encoded in an
8619 cat >conftest.$ac_ext <<_ACEOF
8622 cat confdefs.h >>conftest.$ac_ext
8623 cat >>conftest.$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8634 rm -f conftest.$ac_objext conftest$ac_exeext
8635 if { (ac_try="$ac_link"
8637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8638 *) ac_try_echo=$ac_try;;
8640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8641 (eval "$ac_link") 2>conftest.er1
8643 grep -v '^ *+' conftest.er1 >conftest.err
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } && {
8648 test -z "$ac_c_werror_flag" ||
8649 test ! -s conftest.err
8650 } && test -s conftest$ac_exeext &&
8651 $as_test_x conftest$ac_exeext; then
8653 lt_aix_libpath_sed='
8654 /Import File Strings/,/^$/ {
8660 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8661 # Check for a 64-bit object if we didn't find anything.
8662 if test -z "$aix_libpath"; then
8663 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8666 echo "$as_me: failed program was:" >&5
8667 sed 's/^/| /' conftest.$ac_ext >&5
8672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8673 conftest$ac_exeext conftest.$ac_ext
8674 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8676 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8677 # Warning - without using the other run time loading flags,
8678 # -berok will link without error, but may produce a broken library.
8679 no_undefined_flag=' ${wl}-bernotok'
8680 allow_undefined_flag=' ${wl}-berok'
8681 # Exported symbols can be pulled into shared objects from archives
8682 whole_archive_flag_spec='$convenience'
8683 archive_cmds_need_lc=yes
8684 # This is similar to how AIX traditionally builds its shared libraries.
8685 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'
8693 # see comment about AmigaOS4 .so support
8694 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8695 archive_expsym_cmds=''
8698 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)'
8699 hardcode_libdir_flag_spec='-L$libdir'
8700 hardcode_minus_L=yes
8706 export_dynamic_flag_spec=-rdynamic
8709 cygwin* | mingw* | pw32*)
8710 # When not using gcc, we currently assume that we are using
8711 # Microsoft Visual C++.
8712 # hardcode_libdir_flag_spec is actually meaningless, as there is
8713 # no search path for DLLs.
8714 hardcode_libdir_flag_spec=' '
8715 allow_undefined_flag=unsupported
8716 # Tell ltmain to make .lib files, not .a files.
8718 # Tell ltmain to make .dll files, not .so files.
8720 # FIXME: Setting linknames here is a bad hack.
8721 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8722 # The linker will automatically build a .lib file if we build a DLL.
8723 old_archive_from_new_cmds='true'
8724 # FIXME: Should let the user specify the lib program.
8725 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8726 fix_srcfile_path='`cygpath -w "$srcfile"`'
8727 enable_shared_with_static_runtimes=yes
8730 darwin* | rhapsody*)
8733 archive_cmds_need_lc=no
8735 hardcode_automatic=yes
8736 hardcode_shlibpath_var=unsupported
8737 whole_archive_flag_spec=''
8738 link_all_deplibs=yes
8739 allow_undefined_flag="$_lt_dar_allow_undefined"
8740 if test "$GCC" = "yes"; then
8741 output_verbose_link_cmd=echo
8742 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8743 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8744 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8745 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8754 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8755 hardcode_libdir_flag_spec='-L$libdir'
8756 hardcode_shlibpath_var=no
8763 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8764 # support. Future versions do this automatically, but an explicit c++rt0.o
8765 # does not break anything, and helps significantly (at the cost of a little
8768 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8769 hardcode_libdir_flag_spec='-R$libdir'
8771 hardcode_shlibpath_var=no
8774 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8776 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8778 hardcode_minus_L=yes
8779 hardcode_shlibpath_var=no
8782 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8783 freebsd* | dragonfly*)
8784 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8785 hardcode_libdir_flag_spec='-R$libdir'
8787 hardcode_shlibpath_var=no
8791 if test "$GCC" = yes; then
8792 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'
8794 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'
8796 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8797 hardcode_libdir_separator=:
8800 # hardcode_minus_L: Not really in the search PATH,
8801 # but as the default location of the library.
8802 hardcode_minus_L=yes
8803 export_dynamic_flag_spec='${wl}-E'
8807 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8808 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8810 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8812 if test "$with_gnu_ld" = no; then
8813 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8814 hardcode_libdir_flag_spec_ld='+b $libdir'
8815 hardcode_libdir_separator=:
8817 hardcode_direct_absolute=yes
8818 export_dynamic_flag_spec='${wl}-E'
8819 # hardcode_minus_L: Not really in the search PATH,
8820 # but as the default location of the library.
8821 hardcode_minus_L=yes
8826 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8829 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8832 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8835 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8841 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8844 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8847 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8851 if test "$with_gnu_ld" = no; then
8852 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8853 hardcode_libdir_separator=:
8858 hardcode_shlibpath_var=no
8862 hardcode_direct_absolute=yes
8863 export_dynamic_flag_spec='${wl}-E'
8865 # hardcode_minus_L: Not really in the search PATH,
8866 # but as the default location of the library.
8867 hardcode_minus_L=yes
8873 irix5* | irix6* | nonstopux*)
8874 if test "$GCC" = yes; then
8875 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8876 # Try to use the -exported_symbol ld option, if it does not
8877 # work, assume that -exports_file does not work either and
8878 # implicitly export all symbols.
8879 save_LDFLAGS="$LDFLAGS"
8880 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8881 cat >conftest.$ac_ext <<_ACEOF
8884 rm -f conftest.$ac_objext conftest$ac_exeext
8885 if { (ac_try="$ac_link"
8887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8888 *) ac_try_echo=$ac_try;;
8890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8891 (eval "$ac_link") 2>conftest.er1
8893 grep -v '^ *+' conftest.er1 >conftest.err
8895 cat conftest.err >&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); } && {
8898 test -z "$ac_c_werror_flag" ||
8899 test ! -s conftest.err
8900 } && test -s conftest$ac_exeext &&
8901 $as_test_x conftest$ac_exeext; then
8902 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8905 echo "$as_me: failed program was:" >&5
8906 sed 's/^/| /' conftest.$ac_ext >&5
8911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8912 conftest$ac_exeext conftest.$ac_ext
8913 LDFLAGS="$save_LDFLAGS"
8915 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8916 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8918 archive_cmds_need_lc='no'
8919 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8920 hardcode_libdir_separator=:
8922 link_all_deplibs=yes
8926 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8927 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8929 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8931 hardcode_libdir_flag_spec='-R$libdir'
8933 hardcode_shlibpath_var=no
8937 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8939 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8940 hardcode_libdir_separator=:
8941 hardcode_shlibpath_var=no
8948 if test -f /usr/libexec/ld.so; then
8950 hardcode_shlibpath_var=no
8951 hardcode_direct_absolute=yes
8952 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8953 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8954 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8955 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8956 export_dynamic_flag_spec='${wl}-E'
8959 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8960 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8961 hardcode_libdir_flag_spec='-R$libdir'
8964 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8965 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8975 hardcode_libdir_flag_spec='-L$libdir'
8976 hardcode_minus_L=yes
8977 allow_undefined_flag=unsupported
8978 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'
8979 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8983 if test "$GCC" = yes; then
8984 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8985 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8987 allow_undefined_flag=' -expect_unresolved \*'
8988 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8990 archive_cmds_need_lc='no'
8991 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8992 hardcode_libdir_separator=:
8995 osf4* | osf5*) # as osf3* with the addition of -msym flag
8996 if test "$GCC" = yes; then
8997 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8998 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8999 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9001 allow_undefined_flag=' -expect_unresolved \*'
9002 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9003 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9004 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9006 # Both c and cxx compiler support -rpath directly
9007 hardcode_libdir_flag_spec='-rpath $libdir'
9009 archive_cmds_need_lc='no'
9010 hardcode_libdir_separator=:
9014 no_undefined_flag=' -z defs'
9015 if test "$GCC" = yes; then
9017 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9018 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9019 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9021 case `$CC -V 2>&1` in
9024 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9025 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9026 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9030 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9031 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9032 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9036 hardcode_libdir_flag_spec='-R$libdir'
9037 hardcode_shlibpath_var=no
9039 solaris2.[0-5] | solaris2.[0-5].*) ;;
9041 # The compiler driver will combine and reorder linker options,
9042 # but understands `-z linker_flag'. GCC discards it without `$wl',
9043 # but is careful enough not to reorder.
9044 # Supported since Solaris 2.6 (maybe 2.5.1?)
9045 if test "$GCC" = yes; then
9046 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9048 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9052 link_all_deplibs=yes
9056 if test "x$host_vendor" = xsequent; then
9057 # Use $CC to link under sequent, because it throws in some extra .o
9058 # files that make .init and .fini sections work.
9059 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9061 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9063 hardcode_libdir_flag_spec='-L$libdir'
9065 hardcode_minus_L=yes
9066 hardcode_shlibpath_var=no
9070 case $host_vendor in
9072 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9073 hardcode_direct=yes # is this really true???
9076 ## LD is ld it makes a PLAMLIB
9077 ## CC just makes a GrossModule.
9078 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9079 reload_cmds='$CC -r -o $output$reload_objs'
9083 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9084 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9087 runpath_var='LD_RUN_PATH'
9088 hardcode_shlibpath_var=no
9092 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9093 hardcode_shlibpath_var=no
9094 export_dynamic_flag_spec='-Bexport'
9098 if test -d /usr/nec; then
9099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9100 hardcode_shlibpath_var=no
9101 runpath_var=LD_RUN_PATH
9102 hardcode_runpath_var=yes
9107 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9108 no_undefined_flag='${wl}-z,text'
9109 archive_cmds_need_lc=no
9110 hardcode_shlibpath_var=no
9111 runpath_var='LD_RUN_PATH'
9113 if test "$GCC" = yes; then
9114 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9115 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9118 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9122 sysv5* | sco3.2v5* | sco5v6*)
9123 # Note: We can NOT use -z defs as we might desire, because we do not
9124 # link with -lc, and that would cause any symbols used from libc to
9125 # always be unresolved, which means just about no library would
9126 # ever link correctly. If we're not using GNU ld we use -z text
9127 # though, which does catch some bad symbols but isn't as heavy-handed
9129 no_undefined_flag='${wl}-z,text'
9130 allow_undefined_flag='${wl}-z,nodefs'
9131 archive_cmds_need_lc=no
9132 hardcode_shlibpath_var=no
9133 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9134 hardcode_libdir_separator=':'
9135 link_all_deplibs=yes
9136 export_dynamic_flag_spec='${wl}-Bexport'
9137 runpath_var='LD_RUN_PATH'
9139 if test "$GCC" = yes; then
9140 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9141 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9143 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9144 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9149 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9150 hardcode_libdir_flag_spec='-L$libdir'
9151 hardcode_shlibpath_var=no
9159 if test x$host_vendor = xsni; then
9161 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9162 export_dynamic_flag_spec='${wl}-Blargedynsym'
9168 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9169 echo "${ECHO_T}$ld_shlibs" >&6; }
9170 test "$ld_shlibs" = no && can_build_shared=no
9172 with_gnu_ld=$with_gnu_ld
9189 # Do we need to explicitly link libc?
9191 case "x$archive_cmds_need_lc" in
9193 # Assume -lc should be added
9194 archive_cmds_need_lc=yes
9196 if test "$enable_shared" = yes && test "$GCC" = yes; then
9197 case $archive_cmds in
9199 # FIXME: we may have to deal with multi-command sequences.
9202 # Test whether the compiler implicitly links with -lc since on some
9203 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9204 # to ld, don't add -lc before -lgcc.
9205 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9206 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9208 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9211 (eval $ac_compile) 2>&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); } 2>conftest.err; then
9217 libobjs=conftest.$ac_objext
9219 wl=$lt_prog_compiler_wl
9220 pic_flag=$lt_prog_compiler_pic
9226 lt_save_allow_undefined_flag=$allow_undefined_flag
9227 allow_undefined_flag=
9228 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9229 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); }
9234 archive_cmds_need_lc=no
9236 archive_cmds_need_lc=yes
9238 allow_undefined_flag=$lt_save_allow_undefined_flag
9240 cat conftest.err 1>&5
9243 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9244 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9407 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9408 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9410 if test "$GCC" = yes; then
9412 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9413 *) lt_awk_arg="/^libraries:/" ;;
9415 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9416 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9417 # if the path contains ";" then we assume it to be the separator
9418 # otherwise default to the standard path separator (i.e. ":") - it is
9419 # assumed that no part of a normal pathname contains ";" but that should
9420 # okay in the real world where ";" in dirpaths is itself problematic.
9421 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9423 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9425 # Ok, now we have the path, separated by spaces, we can step through it
9426 # and add multilib dir if necessary.
9427 lt_tmp_lt_search_path_spec=
9428 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9429 for lt_sys_path in $lt_search_path_spec; do
9430 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9431 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9433 test -d "$lt_sys_path" && \
9434 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9437 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9438 BEGIN {RS=" "; FS="/|\n";} {
9441 for (lt_i = NF; lt_i > 0; lt_i--) {
9442 if ($lt_i != "" && $lt_i != ".") {
9443 if ($lt_i == "..") {
9446 if (lt_count == 0) {
9447 lt_foo="/" $lt_i lt_foo;
9454 if (lt_foo != "") { lt_freq[lt_foo]++; }
9455 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9457 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9459 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9462 libname_spec='lib$name'
9470 shlibpath_overrides_runpath=unknown
9472 dynamic_linker="$host_os ld.so"
9473 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9474 need_lib_prefix=unknown
9475 hardcode_into_libs=no
9477 # when you set need_version to no, make sure it does not cause -set_version
9478 # flags to be left without arguments
9479 need_version=unknown
9484 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9485 shlibpath_var=LIBPATH
9487 # AIX 3 has no versioning support, so we append a major version to the name.
9488 soname_spec='${libname}${release}${shared_ext}$major'
9495 hardcode_into_libs=yes
9496 if test "$host_cpu" = ia64; then
9497 # AIX 5 supports IA64
9498 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9499 shlibpath_var=LD_LIBRARY_PATH
9501 # With GCC up to 2.95.x, collect2 would create an import file
9502 # for dependence libraries. The import file would start with
9503 # the line `#! .'. This would cause the generated library to
9504 # depend on `.', always an invalid library. This was fixed in
9505 # development snapshots of GCC prior to 3.0.
9507 aix4 | aix4.[01] | aix4.[01].*)
9508 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9510 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9517 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9518 # soname into executable. Probably we can add versioning support to
9519 # collect2, so additional links can be useful in future.
9520 if test "$aix_use_runtimelinking" = yes; then
9521 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9522 # instead of lib<name>.a to let people know that these are not
9523 # typical AIX shared libraries.
9524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9526 # We preserve .a as extension for shared libraries through AIX4.2
9527 # and later when we are not doing run time linking.
9528 library_names_spec='${libname}${release}.a $libname.a'
9529 soname_spec='${libname}${release}${shared_ext}$major'
9531 shlibpath_var=LIBPATH
9538 # Since July 2007 AmigaOS4 officially supports .so libraries.
9539 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9543 library_names_spec='$libname.ixlibrary $libname.a'
9544 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9545 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'
9551 library_names_spec='${libname}${shared_ext}'
9552 dynamic_linker="$host_os ld.so"
9553 shlibpath_var=LIBRARY_PATH
9559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9560 soname_spec='${libname}${release}${shared_ext}$major'
9561 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9562 shlibpath_var=LD_LIBRARY_PATH
9563 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9564 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9565 # the default ld.so.conf also contains /usr/contrib/lib and
9566 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9567 # libtool to hard-code these into programs
9570 cygwin* | mingw* | pw32*)
9571 version_type=windows
9576 case $GCC,$host_os in
9577 yes,cygwin* | yes,mingw* | yes,pw32*)
9578 library_names_spec='$libname.dll.a'
9579 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9580 postinstall_cmds='base_file=`basename \${file}`~
9581 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9582 dldir=$destdir/`dirname \$dlpath`~
9583 test -d \$dldir || mkdir -p \$dldir~
9584 $install_prog $dir/$dlname \$dldir/$dlname~
9585 chmod a+x \$dldir/$dlname~
9586 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9587 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9589 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9590 dlpath=$dir/\$dldll~
9592 shlibpath_overrides_runpath=yes
9596 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9597 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9598 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9601 # MinGW DLLs use traditional 'lib' prefix
9602 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9603 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9604 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9605 # It is most probably a Windows format PATH printed by
9606 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9607 # path with ; separators, and with drive letters. We can handle the
9608 # drive letters (cygwin fileutils understands them), so leave them,
9609 # especially as we might pass files found there to a mingw objdump,
9610 # which wouldn't understand a cygwinified path. Ahh.
9611 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9613 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9617 # pw32 DLLs use 'pw' prefix rather than 'lib'
9618 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9624 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9627 dynamic_linker='Win32 ld.exe'
9628 # FIXME: first we should search . and the directory the executable is in
9632 darwin* | rhapsody*)
9633 dynamic_linker="$host_os dyld"
9637 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9638 soname_spec='${libname}${release}${major}$shared_ext'
9639 shlibpath_overrides_runpath=yes
9640 shlibpath_var=DYLD_LIBRARY_PATH
9641 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9643 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9644 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9652 soname_spec='${libname}${release}${shared_ext}$major'
9653 shlibpath_var=LD_LIBRARY_PATH
9660 freebsd* | dragonfly*)
9661 # DragonFly does not have aout. When/if they implement a new
9662 # versioning mechanism, adjust this.
9663 if test -x /usr/bin/objformat; then
9664 objformat=`/usr/bin/objformat`
9667 freebsd[123]*) objformat=aout ;;
9671 version_type=freebsd-$objformat
9672 case $version_type in
9674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9679 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9683 shlibpath_var=LD_LIBRARY_PATH
9686 shlibpath_overrides_runpath=yes
9688 freebsd3.[01]* | freebsdelf3.[01]*)
9689 shlibpath_overrides_runpath=yes
9690 hardcode_into_libs=yes
9692 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9693 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9694 shlibpath_overrides_runpath=no
9695 hardcode_into_libs=yes
9697 *) # from 4.6 on, and DragonFly
9698 shlibpath_overrides_runpath=yes
9699 hardcode_into_libs=yes
9708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9709 soname_spec='${libname}${release}${shared_ext}$major'
9710 shlibpath_var=LD_LIBRARY_PATH
9711 hardcode_into_libs=yes
9714 hpux9* | hpux10* | hpux11*)
9715 # Give a soname corresponding to the major version so that dld.sl refuses to
9716 # link against other versions.
9723 hardcode_into_libs=yes
9724 dynamic_linker="$host_os dld.so"
9725 shlibpath_var=LD_LIBRARY_PATH
9726 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9728 soname_spec='${libname}${release}${shared_ext}$major'
9729 if test "X$HPUX_IA64_MODE" = X32; then
9730 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9732 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9734 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9738 hardcode_into_libs=yes
9739 dynamic_linker="$host_os dld.sl"
9740 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9741 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9743 soname_spec='${libname}${release}${shared_ext}$major'
9744 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9745 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9749 dynamic_linker="$host_os dld.sl"
9750 shlibpath_var=SHLIB_PATH
9751 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9753 soname_spec='${libname}${release}${shared_ext}$major'
9756 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9757 postinstall_cmds='chmod 555 $lib'
9764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9765 soname_spec='${libname}${release}${shared_ext}$major'
9766 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9767 shlibpath_var=LD_LIBRARY_PATH
9768 shlibpath_overrides_runpath=no
9769 hardcode_into_libs=yes
9772 irix5* | irix6* | nonstopux*)
9774 nonstopux*) version_type=nonstopux ;;
9776 if test "$lt_cv_prog_gnu_ld" = yes; then
9784 soname_spec='${libname}${release}${shared_ext}$major'
9785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9787 irix5* | nonstopux*)
9791 case $LD in # libtool.m4 will add one of these switches to LD
9792 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9793 libsuff= shlibsuff= libmagic=32-bit;;
9794 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9795 libsuff=32 shlibsuff=N32 libmagic=N32;;
9796 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9797 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9798 *) libsuff= shlibsuff= libmagic=never-match;;
9802 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9803 shlibpath_overrides_runpath=no
9804 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9805 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9806 hardcode_into_libs=yes
9809 # No shared lib support for Linux oldld, aout, or coff.
9810 linux*oldld* | linux*aout* | linux*coff*)
9814 # This must be Linux ELF.
9815 linux* | k*bsd*-gnu)
9819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9820 soname_spec='${libname}${release}${shared_ext}$major'
9821 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9822 shlibpath_var=LD_LIBRARY_PATH
9823 shlibpath_overrides_runpath=no
9824 # Some binutils ld are patched to set DT_RUNPATH
9825 save_LDFLAGS=$LDFLAGS
9827 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9828 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9829 cat >conftest.$ac_ext <<_ACEOF
9832 cat confdefs.h >>conftest.$ac_ext
9833 cat >>conftest.$ac_ext <<_ACEOF
9834 /* end confdefs.h. */
9844 rm -f conftest.$ac_objext conftest$ac_exeext
9845 if { (ac_try="$ac_link"
9847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9848 *) ac_try_echo=$ac_try;;
9850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9851 (eval "$ac_link") 2>conftest.er1
9853 grep -v '^ *+' conftest.er1 >conftest.err
9855 cat conftest.err >&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); } && {
9858 test -z "$ac_c_werror_flag" ||
9859 test ! -s conftest.err
9860 } && test -s conftest$ac_exeext &&
9861 $as_test_x conftest$ac_exeext; then
9862 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9863 shlibpath_overrides_runpath=yes
9867 echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.$ac_ext >&5
9873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9874 conftest$ac_exeext conftest.$ac_ext
9875 LDFLAGS=$save_LDFLAGS
9878 # This implies no fast_install, which is unacceptable.
9879 # Some rework will be needed to allow for fast_install
9880 # before this can be enabled.
9881 hardcode_into_libs=yes
9883 # Append ld.so.conf contents to the search path
9884 if test -f /etc/ld.so.conf; then
9885 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9886 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9889 # We used to test for /lib/ld.so.1 and disable shared libraries on
9890 # powerpc, because MkLinux only supported shared libraries with the
9891 # GNU dynamic linker. Since this was broken with cross compilers,
9892 # most powerpc-linux boxes support dynamic linking these days and
9893 # people can always --disable-shared, the test was removed, and we
9894 # assume the GNU/Linux dynamic linker is in use.
9895 dynamic_linker='GNU/Linux ld.so'
9902 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9904 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9905 dynamic_linker='NetBSD (a.out) ld.so'
9907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9908 soname_spec='${libname}${release}${shared_ext}$major'
9909 dynamic_linker='NetBSD ld.elf_so'
9911 shlibpath_var=LD_LIBRARY_PATH
9912 shlibpath_overrides_runpath=yes
9913 hardcode_into_libs=yes
9918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9919 shlibpath_var=LD_LIBRARY_PATH
9920 shlibpath_overrides_runpath=yes
9927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9928 soname_spec='${libname}${release}${shared_ext}$major'
9929 shlibpath_var=LD_LIBRARY_PATH
9930 shlibpath_overrides_runpath=no
9931 hardcode_into_libs=yes
9932 dynamic_linker='ldqnx.so'
9937 sys_lib_dlsearch_path_spec="/usr/lib"
9939 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9941 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9942 *) need_version=no ;;
9944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9945 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9946 shlibpath_var=LD_LIBRARY_PATH
9947 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9949 openbsd2.[89] | openbsd2.[89].*)
9950 shlibpath_overrides_runpath=no
9953 shlibpath_overrides_runpath=yes
9957 shlibpath_overrides_runpath=yes
9962 libname_spec='$name'
9965 library_names_spec='$libname${shared_ext} $libname.a'
9966 dynamic_linker='OS/2 ld.exe'
9967 shlibpath_var=LIBPATH
9970 osf3* | osf4* | osf5*)
9974 soname_spec='${libname}${release}${shared_ext}$major'
9975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9976 shlibpath_var=LD_LIBRARY_PATH
9977 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9978 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9990 soname_spec='${libname}${release}${shared_ext}$major'
9991 shlibpath_var=LD_LIBRARY_PATH
9992 shlibpath_overrides_runpath=yes
9993 hardcode_into_libs=yes
9994 # ldd complains unless libraries are executable
9995 postinstall_cmds='chmod +x $lib'
10000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10001 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10002 shlibpath_var=LD_LIBRARY_PATH
10003 shlibpath_overrides_runpath=yes
10004 if test "$with_gnu_ld" = yes; then
10012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10013 soname_spec='${libname}${release}${shared_ext}$major'
10014 shlibpath_var=LD_LIBRARY_PATH
10015 case $host_vendor in
10017 shlibpath_overrides_runpath=no
10019 runpath_var=LD_RUN_PATH
10027 shlibpath_overrides_runpath=no
10028 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10034 if test -d /usr/nec ;then
10036 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10037 soname_spec='$libname${shared_ext}.$major'
10038 shlibpath_var=LD_LIBRARY_PATH
10042 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10043 version_type=freebsd-elf
10046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10047 soname_spec='${libname}${release}${shared_ext}$major'
10048 shlibpath_var=LD_LIBRARY_PATH
10049 shlibpath_overrides_runpath=yes
10050 hardcode_into_libs=yes
10051 if test "$with_gnu_ld" = yes; then
10052 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10054 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10057 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10061 sys_lib_dlsearch_path_spec='/usr/lib'
10065 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10069 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10070 shlibpath_var=LD_LIBRARY_PATH
10071 shlibpath_overrides_runpath=no
10072 hardcode_into_libs=yes
10077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10078 soname_spec='${libname}${release}${shared_ext}$major'
10079 shlibpath_var=LD_LIBRARY_PATH
10086 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10087 echo "${ECHO_T}$dynamic_linker" >&6; }
10088 test "$dynamic_linker" = no && can_build_shared=no
10090 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10091 if test "$GCC" = yes; then
10092 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10095 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10096 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10098 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10099 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10188 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10189 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10191 if test -n "$hardcode_libdir_flag_spec" ||
10192 test -n "$runpath_var" ||
10193 test "X$hardcode_automatic" = "Xyes" ; then
10195 # We can hardcode non-existent directories.
10196 if test "$hardcode_direct" != no &&
10197 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10198 # have to relink, otherwise we might link with an installed library
10199 # when we should be linking with a yet-to-be-installed one
10200 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10201 test "$hardcode_minus_L" != no; then
10202 # Linking always hardcodes the temporary library directory.
10203 hardcode_action=relink
10205 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10206 hardcode_action=immediate
10209 # We cannot hardcode anything, or else we can only hardcode existing
10211 hardcode_action=unsupported
10213 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10214 echo "${ECHO_T}$hardcode_action" >&6; }
10216 if test "$hardcode_action" = relink ||
10217 test "$inherit_rpath" = yes; then
10218 # Fast installation is not supported
10219 enable_fast_install=no
10220 elif test "$shlibpath_overrides_runpath" = yes ||
10221 test "$enable_shared" = no; then
10222 # Fast installation is not necessary
10223 enable_fast_install=needless
10231 if test "x$enable_dlopen" != xyes; then
10232 enable_dlopen=unknown
10233 enable_dlopen_self=unknown
10234 enable_dlopen_self_static=unknown
10241 lt_cv_dlopen="load_add_on"
10243 lt_cv_dlopen_self=yes
10247 lt_cv_dlopen="LoadLibrary"
10252 lt_cv_dlopen="dlopen"
10257 # if libdl is installed we need to link against it
10258 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10259 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10260 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10261 echo $ECHO_N "(cached) $ECHO_C" >&6
10263 ac_check_lib_save_LIBS=$LIBS
10265 cat >conftest.$ac_ext <<_ACEOF
10268 cat confdefs.h >>conftest.$ac_ext
10269 cat >>conftest.$ac_ext <<_ACEOF
10270 /* end confdefs.h. */
10272 /* Override any GCC internal prototype to avoid an error.
10273 Use char because int might match the return type of a GCC
10274 builtin and then its argument prototype would still apply. */
10287 rm -f conftest.$ac_objext conftest$ac_exeext
10288 if { (ac_try="$ac_link"
10289 case "(($ac_try" in
10290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10291 *) ac_try_echo=$ac_try;;
10293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10294 (eval "$ac_link") 2>conftest.er1
10296 grep -v '^ *+' conftest.er1 >conftest.err
10298 cat conftest.err >&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); } && {
10301 test -z "$ac_c_werror_flag" ||
10302 test ! -s conftest.err
10303 } && test -s conftest$ac_exeext &&
10304 $as_test_x conftest$ac_exeext; then
10305 ac_cv_lib_dl_dlopen=yes
10307 echo "$as_me: failed program was:" >&5
10308 sed 's/^/| /' conftest.$ac_ext >&5
10310 ac_cv_lib_dl_dlopen=no
10313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10314 conftest$ac_exeext conftest.$ac_ext
10315 LIBS=$ac_check_lib_save_LIBS
10317 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10318 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10319 if test $ac_cv_lib_dl_dlopen = yes; then
10320 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10323 lt_cv_dlopen="dyld"
10325 lt_cv_dlopen_self=yes
10332 { echo "$as_me:$LINENO: checking for shl_load" >&5
10333 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10334 if test "${ac_cv_func_shl_load+set}" = set; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10337 cat >conftest.$ac_ext <<_ACEOF
10340 cat confdefs.h >>conftest.$ac_ext
10341 cat >>conftest.$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10343 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10345 #define shl_load innocuous_shl_load
10347 /* System header to define __stub macros and hopefully few prototypes,
10348 which can conflict with char shl_load (); below.
10349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10350 <limits.h> exists even on freestanding compilers. */
10353 # include <limits.h>
10355 # include <assert.h>
10360 /* Override any GCC internal prototype to avoid an error.
10361 Use char because int might match the return type of a GCC
10362 builtin and then its argument prototype would still apply. */
10367 /* The GNU C library defines this for functions which it implements
10368 to always fail with ENOSYS. Some functions are actually named
10369 something starting with __ and the normal name is an alias. */
10370 #if defined __stub_shl_load || defined __stub___shl_load
10377 return shl_load ();
10382 rm -f conftest.$ac_objext conftest$ac_exeext
10383 if { (ac_try="$ac_link"
10384 case "(($ac_try" in
10385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10386 *) ac_try_echo=$ac_try;;
10388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10389 (eval "$ac_link") 2>conftest.er1
10391 grep -v '^ *+' conftest.er1 >conftest.err
10393 cat conftest.err >&5
10394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395 (exit $ac_status); } && {
10396 test -z "$ac_c_werror_flag" ||
10397 test ! -s conftest.err
10398 } && test -s conftest$ac_exeext &&
10399 $as_test_x conftest$ac_exeext; then
10400 ac_cv_func_shl_load=yes
10402 echo "$as_me: failed program was:" >&5
10403 sed 's/^/| /' conftest.$ac_ext >&5
10405 ac_cv_func_shl_load=no
10408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10409 conftest$ac_exeext conftest.$ac_ext
10411 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10412 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10413 if test $ac_cv_func_shl_load = yes; then
10414 lt_cv_dlopen="shl_load"
10416 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10417 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10418 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10419 echo $ECHO_N "(cached) $ECHO_C" >&6
10421 ac_check_lib_save_LIBS=$LIBS
10423 cat >conftest.$ac_ext <<_ACEOF
10426 cat confdefs.h >>conftest.$ac_ext
10427 cat >>conftest.$ac_ext <<_ACEOF
10428 /* end confdefs.h. */
10430 /* Override any GCC internal prototype to avoid an error.
10431 Use char because int might match the return type of a GCC
10432 builtin and then its argument prototype would still apply. */
10440 return shl_load ();
10445 rm -f conftest.$ac_objext conftest$ac_exeext
10446 if { (ac_try="$ac_link"
10447 case "(($ac_try" in
10448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10449 *) ac_try_echo=$ac_try;;
10451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10452 (eval "$ac_link") 2>conftest.er1
10454 grep -v '^ *+' conftest.er1 >conftest.err
10456 cat conftest.err >&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); } && {
10459 test -z "$ac_c_werror_flag" ||
10460 test ! -s conftest.err
10461 } && test -s conftest$ac_exeext &&
10462 $as_test_x conftest$ac_exeext; then
10463 ac_cv_lib_dld_shl_load=yes
10465 echo "$as_me: failed program was:" >&5
10466 sed 's/^/| /' conftest.$ac_ext >&5
10468 ac_cv_lib_dld_shl_load=no
10471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10472 conftest$ac_exeext conftest.$ac_ext
10473 LIBS=$ac_check_lib_save_LIBS
10475 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10476 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10477 if test $ac_cv_lib_dld_shl_load = yes; then
10478 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10480 { echo "$as_me:$LINENO: checking for dlopen" >&5
10481 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10482 if test "${ac_cv_func_dlopen+set}" = set; then
10483 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 cat >conftest.$ac_ext <<_ACEOF
10488 cat confdefs.h >>conftest.$ac_ext
10489 cat >>conftest.$ac_ext <<_ACEOF
10490 /* end confdefs.h. */
10491 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10493 #define dlopen innocuous_dlopen
10495 /* System header to define __stub macros and hopefully few prototypes,
10496 which can conflict with char dlopen (); below.
10497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10498 <limits.h> exists even on freestanding compilers. */
10501 # include <limits.h>
10503 # include <assert.h>
10508 /* Override any GCC internal prototype to avoid an error.
10509 Use char because int might match the return type of a GCC
10510 builtin and then its argument prototype would still apply. */
10515 /* The GNU C library defines this for functions which it implements
10516 to always fail with ENOSYS. Some functions are actually named
10517 something starting with __ and the normal name is an alias. */
10518 #if defined __stub_dlopen || defined __stub___dlopen
10530 rm -f conftest.$ac_objext conftest$ac_exeext
10531 if { (ac_try="$ac_link"
10532 case "(($ac_try" in
10533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10534 *) ac_try_echo=$ac_try;;
10536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10537 (eval "$ac_link") 2>conftest.er1
10539 grep -v '^ *+' conftest.er1 >conftest.err
10541 cat conftest.err >&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); } && {
10544 test -z "$ac_c_werror_flag" ||
10545 test ! -s conftest.err
10546 } && test -s conftest$ac_exeext &&
10547 $as_test_x conftest$ac_exeext; then
10548 ac_cv_func_dlopen=yes
10550 echo "$as_me: failed program was:" >&5
10551 sed 's/^/| /' conftest.$ac_ext >&5
10553 ac_cv_func_dlopen=no
10556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10557 conftest$ac_exeext conftest.$ac_ext
10559 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10560 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10561 if test $ac_cv_func_dlopen = yes; then
10562 lt_cv_dlopen="dlopen"
10564 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10565 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10566 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10567 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 ac_check_lib_save_LIBS=$LIBS
10571 cat >conftest.$ac_ext <<_ACEOF
10574 cat confdefs.h >>conftest.$ac_ext
10575 cat >>conftest.$ac_ext <<_ACEOF
10576 /* end confdefs.h. */
10578 /* Override any GCC internal prototype to avoid an error.
10579 Use char because int might match the return type of a GCC
10580 builtin and then its argument prototype would still apply. */
10593 rm -f conftest.$ac_objext conftest$ac_exeext
10594 if { (ac_try="$ac_link"
10595 case "(($ac_try" in
10596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10597 *) ac_try_echo=$ac_try;;
10599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10600 (eval "$ac_link") 2>conftest.er1
10602 grep -v '^ *+' conftest.er1 >conftest.err
10604 cat conftest.err >&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); } && {
10607 test -z "$ac_c_werror_flag" ||
10608 test ! -s conftest.err
10609 } && test -s conftest$ac_exeext &&
10610 $as_test_x conftest$ac_exeext; then
10611 ac_cv_lib_dl_dlopen=yes
10613 echo "$as_me: failed program was:" >&5
10614 sed 's/^/| /' conftest.$ac_ext >&5
10616 ac_cv_lib_dl_dlopen=no
10619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10620 conftest$ac_exeext conftest.$ac_ext
10621 LIBS=$ac_check_lib_save_LIBS
10623 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10624 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10625 if test $ac_cv_lib_dl_dlopen = yes; then
10626 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10628 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10629 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10630 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10631 echo $ECHO_N "(cached) $ECHO_C" >&6
10633 ac_check_lib_save_LIBS=$LIBS
10634 LIBS="-lsvld $LIBS"
10635 cat >conftest.$ac_ext <<_ACEOF
10638 cat confdefs.h >>conftest.$ac_ext
10639 cat >>conftest.$ac_ext <<_ACEOF
10640 /* end confdefs.h. */
10642 /* Override any GCC internal prototype to avoid an error.
10643 Use char because int might match the return type of a GCC
10644 builtin and then its argument prototype would still apply. */
10657 rm -f conftest.$ac_objext conftest$ac_exeext
10658 if { (ac_try="$ac_link"
10659 case "(($ac_try" in
10660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10661 *) ac_try_echo=$ac_try;;
10663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10664 (eval "$ac_link") 2>conftest.er1
10666 grep -v '^ *+' conftest.er1 >conftest.err
10668 cat conftest.err >&5
10669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670 (exit $ac_status); } && {
10671 test -z "$ac_c_werror_flag" ||
10672 test ! -s conftest.err
10673 } && test -s conftest$ac_exeext &&
10674 $as_test_x conftest$ac_exeext; then
10675 ac_cv_lib_svld_dlopen=yes
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.$ac_ext >&5
10680 ac_cv_lib_svld_dlopen=no
10683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10684 conftest$ac_exeext conftest.$ac_ext
10685 LIBS=$ac_check_lib_save_LIBS
10687 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10688 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10689 if test $ac_cv_lib_svld_dlopen = yes; then
10690 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10692 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10693 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10694 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10695 echo $ECHO_N "(cached) $ECHO_C" >&6
10697 ac_check_lib_save_LIBS=$LIBS
10699 cat >conftest.$ac_ext <<_ACEOF
10702 cat confdefs.h >>conftest.$ac_ext
10703 cat >>conftest.$ac_ext <<_ACEOF
10704 /* end confdefs.h. */
10706 /* Override any GCC internal prototype to avoid an error.
10707 Use char because int might match the return type of a GCC
10708 builtin and then its argument prototype would still apply. */
10716 return dld_link ();
10721 rm -f conftest.$ac_objext conftest$ac_exeext
10722 if { (ac_try="$ac_link"
10723 case "(($ac_try" in
10724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10725 *) ac_try_echo=$ac_try;;
10727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10728 (eval "$ac_link") 2>conftest.er1
10730 grep -v '^ *+' conftest.er1 >conftest.err
10732 cat conftest.err >&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); } && {
10735 test -z "$ac_c_werror_flag" ||
10736 test ! -s conftest.err
10737 } && test -s conftest$ac_exeext &&
10738 $as_test_x conftest$ac_exeext; then
10739 ac_cv_lib_dld_dld_link=yes
10741 echo "$as_me: failed program was:" >&5
10742 sed 's/^/| /' conftest.$ac_ext >&5
10744 ac_cv_lib_dld_dld_link=no
10747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10748 conftest$ac_exeext conftest.$ac_ext
10749 LIBS=$ac_check_lib_save_LIBS
10751 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10752 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10753 if test $ac_cv_lib_dld_dld_link = yes; then
10754 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10775 if test "x$lt_cv_dlopen" != xno; then
10781 case $lt_cv_dlopen in
10783 save_CPPFLAGS="$CPPFLAGS"
10784 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10786 save_LDFLAGS="$LDFLAGS"
10787 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10790 LIBS="$lt_cv_dlopen_libs $LIBS"
10792 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10793 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10794 if test "${lt_cv_dlopen_self+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 if test "$cross_compiling" = yes; then :
10798 lt_cv_dlopen_self=cross
10800 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10801 lt_status=$lt_dlunknown
10802 cat > conftest.$ac_ext <<_LT_EOF
10803 #line 10803 "configure"
10804 #include "confdefs.h"
10813 # define LT_DLGLOBAL RTLD_GLOBAL
10816 # define LT_DLGLOBAL DL_GLOBAL
10818 # define LT_DLGLOBAL 0
10822 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10823 find out it does not work in some platform. */
10824 #ifndef LT_DLLAZY_OR_NOW
10826 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10829 # define LT_DLLAZY_OR_NOW DL_LAZY
10832 # define LT_DLLAZY_OR_NOW RTLD_NOW
10835 # define LT_DLLAZY_OR_NOW DL_NOW
10837 # define LT_DLLAZY_OR_NOW 0
10845 extern "C" void exit (int);
10848 void fnord() { int i=42;}
10851 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10852 int status = $lt_dlunknown;
10856 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10857 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10858 /* dlclose (self); */
10866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10867 (eval $ac_link) 2>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10871 (./conftest; exit; ) >&5 2>/dev/null
10873 case x$lt_status in
10874 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10875 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10876 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10879 # compilation failed
10880 lt_cv_dlopen_self=no
10887 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10888 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10890 if test "x$lt_cv_dlopen_self" = xyes; then
10891 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10892 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10893 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10894 if test "${lt_cv_dlopen_self_static+set}" = set; then
10895 echo $ECHO_N "(cached) $ECHO_C" >&6
10897 if test "$cross_compiling" = yes; then :
10898 lt_cv_dlopen_self_static=cross
10900 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10901 lt_status=$lt_dlunknown
10902 cat > conftest.$ac_ext <<_LT_EOF
10903 #line 10903 "configure"
10904 #include "confdefs.h"
10913 # define LT_DLGLOBAL RTLD_GLOBAL
10916 # define LT_DLGLOBAL DL_GLOBAL
10918 # define LT_DLGLOBAL 0
10922 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10923 find out it does not work in some platform. */
10924 #ifndef LT_DLLAZY_OR_NOW
10926 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10929 # define LT_DLLAZY_OR_NOW DL_LAZY
10932 # define LT_DLLAZY_OR_NOW RTLD_NOW
10935 # define LT_DLLAZY_OR_NOW DL_NOW
10937 # define LT_DLLAZY_OR_NOW 0
10945 extern "C" void exit (int);
10948 void fnord() { int i=42;}
10951 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10952 int status = $lt_dlunknown;
10956 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10957 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10958 /* dlclose (self); */
10966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10967 (eval $ac_link) 2>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10971 (./conftest; exit; ) >&5 2>/dev/null
10973 case x$lt_status in
10974 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10975 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10976 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10979 # compilation failed
10980 lt_cv_dlopen_self_static=no
10987 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10988 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10991 CPPFLAGS="$save_CPPFLAGS"
10992 LDFLAGS="$save_LDFLAGS"
10997 case $lt_cv_dlopen_self in
10998 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10999 *) enable_dlopen_self=unknown ;;
11002 case $lt_cv_dlopen_self_static in
11003 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11004 *) enable_dlopen_self_static=unknown ;;
11026 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11027 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11028 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11029 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11030 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11031 { echo "$as_me:$LINENO: result: yes" >&5
11032 echo "${ECHO_T}yes" >&6; }
11034 # FIXME - insert some real tests, host_os isn't really good enough
11037 if test -n "$STRIP" ; then
11038 striplib="$STRIP -x"
11039 old_striplib="$STRIP -S"
11040 { echo "$as_me:$LINENO: result: yes" >&5
11041 echo "${ECHO_T}yes" >&6; }
11043 { echo "$as_me:$LINENO: result: no" >&5
11044 echo "${ECHO_T}no" >&6; }
11048 { echo "$as_me:$LINENO: result: no" >&5
11049 echo "${ECHO_T}no" >&6; }
11065 # Report which library types will actually be built
11066 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11067 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11068 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11069 echo "${ECHO_T}$can_build_shared" >&6; }
11071 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11072 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11073 test "$can_build_shared" = "no" && enable_shared=no
11075 # On AIX, shared libraries and static libraries use the same namespace, and
11076 # are all built from PIC.
11079 test "$enable_shared" = yes && enable_static=no
11080 if test -n "$RANLIB"; then
11081 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11082 postinstall_cmds='$RANLIB $lib'
11087 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11088 test "$enable_shared" = yes && enable_static=no
11092 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11093 echo "${ECHO_T}$enable_shared" >&6; }
11095 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11096 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11097 # Make sure either enable_shared or enable_static is yes.
11098 test "$enable_shared" = yes || enable_static=yes
11099 { echo "$as_me:$LINENO: result: $enable_static" >&5
11100 echo "${ECHO_T}$enable_static" >&6; }
11107 ac_cpp='$CPP $CPPFLAGS'
11108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11126 ac_config_commands="$ac_config_commands libtool"
11131 # Only expand once:
11134 { echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
11135 echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6; }
11136 if test "${libltdl_cv_shlibext+set}" = set; then
11137 echo $ECHO_N "(cached) $ECHO_C" >&6
11141 eval libltdl_cv_shlibext=$shrext_cmds
11144 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
11145 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
11146 if test -n "$libltdl_cv_shlibext"; then
11148 cat >>confdefs.h <<_ACEOF
11149 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
11154 { echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
11155 echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6; }
11156 if test "${lt_cv_module_path_var+set}" = set; then
11157 echo $ECHO_N "(cached) $ECHO_C" >&6
11159 lt_cv_module_path_var="$shlibpath_var"
11161 { echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
11162 echo "${ECHO_T}$lt_cv_module_path_var" >&6; }
11163 if test -n "$lt_cv_module_path_var"; then
11165 cat >>confdefs.h <<_ACEOF
11166 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
11171 { echo "$as_me:$LINENO: checking for the default library search path" >&5
11172 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
11173 if test "${lt_cv_sys_dlsearch_path+set}" = set; then
11174 echo $ECHO_N "(cached) $ECHO_C" >&6
11176 lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
11178 { echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
11179 echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6; }
11180 if test -n "$lt_cv_sys_dlsearch_path"; then
11182 for dir in $lt_cv_sys_dlsearch_path; do
11183 if test -z "$sys_dlsearch_path"; then
11184 sys_dlsearch_path="$dir"
11186 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
11190 cat >>confdefs.h <<_ACEOF
11191 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
11201 ac_cpp='$CPP $CPPFLAGS'
11202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11208 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
11209 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
11210 if test "${ac_cv_search_dlopen+set}" = set; then
11211 echo $ECHO_N "(cached) $ECHO_C" >&6
11213 ac_func_search_save_LIBS=$LIBS
11214 cat >conftest.$ac_ext <<_ACEOF
11217 cat confdefs.h >>conftest.$ac_ext
11218 cat >>conftest.$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11236 for ac_lib in '' dl; do
11237 if test -z "$ac_lib"; then
11238 ac_res="none required"
11241 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11243 rm -f conftest.$ac_objext conftest$ac_exeext
11244 if { (ac_try="$ac_link"
11245 case "(($ac_try" in
11246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11247 *) ac_try_echo=$ac_try;;
11249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11250 (eval "$ac_link") 2>conftest.er1
11252 grep -v '^ *+' conftest.er1 >conftest.err
11254 cat conftest.err >&5
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256 (exit $ac_status); } && {
11257 test -z "$ac_c_werror_flag" ||
11258 test ! -s conftest.err
11259 } && test -s conftest$ac_exeext &&
11260 $as_test_x conftest$ac_exeext; then
11261 ac_cv_search_dlopen=$ac_res
11263 echo "$as_me: failed program was:" >&5
11264 sed 's/^/| /' conftest.$ac_ext >&5
11269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11271 if test "${ac_cv_search_dlopen+set}" = set; then
11275 if test "${ac_cv_search_dlopen+set}" = set; then
11278 ac_cv_search_dlopen=no
11280 rm conftest.$ac_ext
11281 LIBS=$ac_func_search_save_LIBS
11283 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
11284 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
11285 ac_res=$ac_cv_search_dlopen
11286 if test "$ac_res" != no; then
11287 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11289 cat >>confdefs.h <<\_ACEOF
11290 #define HAVE_LIBDL 1
11293 if test "$ac_cv_search_dlopen" != "none required" ; then
11294 LIBADD_DLOPEN="-ldl"
11296 libltdl_cv_lib_dl_dlopen="yes"
11297 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11299 cat >conftest.$ac_ext <<_ACEOF
11302 cat confdefs.h >>conftest.$ac_ext
11303 cat >>conftest.$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11306 # include <dlfcn.h>
11317 rm -f conftest.$ac_objext conftest$ac_exeext
11318 if { (ac_try="$ac_link"
11319 case "(($ac_try" in
11320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11321 *) ac_try_echo=$ac_try;;
11323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11324 (eval "$ac_link") 2>conftest.er1
11326 grep -v '^ *+' conftest.er1 >conftest.err
11328 cat conftest.err >&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } && {
11331 test -z "$ac_c_werror_flag" ||
11332 test ! -s conftest.err
11333 } && test -s conftest$ac_exeext &&
11334 $as_test_x conftest$ac_exeext; then
11336 cat >>confdefs.h <<\_ACEOF
11337 #define HAVE_LIBDL 1
11340 libltdl_cv_func_dlopen="yes"
11341 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.$ac_ext >&5
11346 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11347 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11348 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11351 ac_check_lib_save_LIBS=$LIBS
11352 LIBS="-lsvld $LIBS"
11353 cat >conftest.$ac_ext <<_ACEOF
11356 cat confdefs.h >>conftest.$ac_ext
11357 cat >>conftest.$ac_ext <<_ACEOF
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11375 rm -f conftest.$ac_objext conftest$ac_exeext
11376 if { (ac_try="$ac_link"
11377 case "(($ac_try" in
11378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11379 *) ac_try_echo=$ac_try;;
11381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11382 (eval "$ac_link") 2>conftest.er1
11384 grep -v '^ *+' conftest.er1 >conftest.err
11386 cat conftest.err >&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); } && {
11389 test -z "$ac_c_werror_flag" ||
11390 test ! -s conftest.err
11391 } && test -s conftest$ac_exeext &&
11392 $as_test_x conftest$ac_exeext; then
11393 ac_cv_lib_svld_dlopen=yes
11395 echo "$as_me: failed program was:" >&5
11396 sed 's/^/| /' conftest.$ac_ext >&5
11398 ac_cv_lib_svld_dlopen=no
11401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11402 conftest$ac_exeext conftest.$ac_ext
11403 LIBS=$ac_check_lib_save_LIBS
11405 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11406 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11407 if test $ac_cv_lib_svld_dlopen = yes; then
11409 cat >>confdefs.h <<\_ACEOF
11410 #define HAVE_LIBDL 1
11413 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
11414 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11420 conftest$ac_exeext conftest.$ac_ext
11423 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
11425 lt_save_LIBS="$LIBS"
11426 LIBS="$LIBS $LIBADD_DLOPEN"
11428 for ac_func in dlerror
11430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11434 echo $ECHO_N "(cached) $ECHO_C" >&6
11436 cat >conftest.$ac_ext <<_ACEOF
11439 cat confdefs.h >>conftest.$ac_ext
11440 cat >>conftest.$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11444 #define $ac_func innocuous_$ac_func
11446 /* System header to define __stub macros and hopefully few prototypes,
11447 which can conflict with char $ac_func (); below.
11448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11449 <limits.h> exists even on freestanding compilers. */
11452 # include <limits.h>
11454 # include <assert.h>
11459 /* Override any GCC internal prototype to avoid an error.
11460 Use char because int might match the return type of a GCC
11461 builtin and then its argument prototype would still apply. */
11466 /* The GNU C library defines this for functions which it implements
11467 to always fail with ENOSYS. Some functions are actually named
11468 something starting with __ and the normal name is an alias. */
11469 #if defined __stub_$ac_func || defined __stub___$ac_func
11476 return $ac_func ();
11481 rm -f conftest.$ac_objext conftest$ac_exeext
11482 if { (ac_try="$ac_link"
11483 case "(($ac_try" in
11484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11485 *) ac_try_echo=$ac_try;;
11487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11488 (eval "$ac_link") 2>conftest.er1
11490 grep -v '^ *+' conftest.er1 >conftest.err
11492 cat conftest.err >&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); } && {
11495 test -z "$ac_c_werror_flag" ||
11496 test ! -s conftest.err
11497 } && test -s conftest$ac_exeext &&
11498 $as_test_x conftest$ac_exeext; then
11499 eval "$as_ac_var=yes"
11501 echo "$as_me: failed program was:" >&5
11502 sed 's/^/| /' conftest.$ac_ext >&5
11504 eval "$as_ac_var=no"
11507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11508 conftest$ac_exeext conftest.$ac_ext
11510 ac_res=`eval echo '${'$as_ac_var'}'`
11511 { echo "$as_me:$LINENO: result: $ac_res" >&5
11512 echo "${ECHO_T}$ac_res" >&6; }
11513 if test `eval echo '${'$as_ac_var'}'` = yes; then
11514 cat >>confdefs.h <<_ACEOF
11515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11521 LIBS="$lt_save_LIBS"
11526 { echo "$as_me:$LINENO: checking for shl_load" >&5
11527 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11528 if test "${ac_cv_func_shl_load+set}" = set; then
11529 echo $ECHO_N "(cached) $ECHO_C" >&6
11531 cat >conftest.$ac_ext <<_ACEOF
11534 cat confdefs.h >>conftest.$ac_ext
11535 cat >>conftest.$ac_ext <<_ACEOF
11536 /* end confdefs.h. */
11537 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11539 #define shl_load innocuous_shl_load
11541 /* System header to define __stub macros and hopefully few prototypes,
11542 which can conflict with char shl_load (); below.
11543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11544 <limits.h> exists even on freestanding compilers. */
11547 # include <limits.h>
11549 # include <assert.h>
11554 /* Override any GCC internal prototype to avoid an error.
11555 Use char because int might match the return type of a GCC
11556 builtin and then its argument prototype would still apply. */
11561 /* The GNU C library defines this for functions which it implements
11562 to always fail with ENOSYS. Some functions are actually named
11563 something starting with __ and the normal name is an alias. */
11564 #if defined __stub_shl_load || defined __stub___shl_load
11571 return shl_load ();
11576 rm -f conftest.$ac_objext conftest$ac_exeext
11577 if { (ac_try="$ac_link"
11578 case "(($ac_try" in
11579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11580 *) ac_try_echo=$ac_try;;
11582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11583 (eval "$ac_link") 2>conftest.er1
11585 grep -v '^ *+' conftest.er1 >conftest.err
11587 cat conftest.err >&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } && {
11590 test -z "$ac_c_werror_flag" ||
11591 test ! -s conftest.err
11592 } && test -s conftest$ac_exeext &&
11593 $as_test_x conftest$ac_exeext; then
11594 ac_cv_func_shl_load=yes
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.$ac_ext >&5
11599 ac_cv_func_shl_load=no
11602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11603 conftest$ac_exeext conftest.$ac_ext
11605 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11606 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11607 if test $ac_cv_func_shl_load = yes; then
11609 cat >>confdefs.h <<\_ACEOF
11610 #define HAVE_SHL_LOAD 1
11613 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11615 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11616 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11617 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 ac_check_lib_save_LIBS=$LIBS
11622 cat >conftest.$ac_ext <<_ACEOF
11625 cat confdefs.h >>conftest.$ac_ext
11626 cat >>conftest.$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11629 /* Override any GCC internal prototype to avoid an error.
11630 Use char because int might match the return type of a GCC
11631 builtin and then its argument prototype would still apply. */
11639 return shl_load ();
11644 rm -f conftest.$ac_objext conftest$ac_exeext
11645 if { (ac_try="$ac_link"
11646 case "(($ac_try" in
11647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11648 *) ac_try_echo=$ac_try;;
11650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11651 (eval "$ac_link") 2>conftest.er1
11653 grep -v '^ *+' conftest.er1 >conftest.err
11655 cat conftest.err >&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } && {
11658 test -z "$ac_c_werror_flag" ||
11659 test ! -s conftest.err
11660 } && test -s conftest$ac_exeext &&
11661 $as_test_x conftest$ac_exeext; then
11662 ac_cv_lib_dld_shl_load=yes
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.$ac_ext >&5
11667 ac_cv_lib_dld_shl_load=no
11670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11671 conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_lib_save_LIBS
11674 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11675 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11676 if test $ac_cv_lib_dld_shl_load = yes; then
11678 cat >>confdefs.h <<\_ACEOF
11679 #define HAVE_SHL_LOAD 1
11682 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11683 LIBADD_SHL_LOAD="-ldld"
11692 # We only want this for pre-Mac OS X 10.4.
11693 { echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
11694 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6; }
11695 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 cat >conftest.$ac_ext <<_ACEOF
11701 cat confdefs.h >>conftest.$ac_ext
11702 cat >>conftest.$ac_ext <<_ACEOF
11703 /* end confdefs.h. */
11704 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
11705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11706 #define _dyld_func_lookup innocuous__dyld_func_lookup
11708 /* System header to define __stub macros and hopefully few prototypes,
11709 which can conflict with char _dyld_func_lookup (); below.
11710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11711 <limits.h> exists even on freestanding compilers. */
11714 # include <limits.h>
11716 # include <assert.h>
11719 #undef _dyld_func_lookup
11721 /* Override any GCC internal prototype to avoid an error.
11722 Use char because int might match the return type of a GCC
11723 builtin and then its argument prototype would still apply. */
11727 char _dyld_func_lookup ();
11728 /* The GNU C library defines this for functions which it implements
11729 to always fail with ENOSYS. Some functions are actually named
11730 something starting with __ and the normal name is an alias. */
11731 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
11738 return _dyld_func_lookup ();
11743 rm -f conftest.$ac_objext conftest$ac_exeext
11744 if { (ac_try="$ac_link"
11745 case "(($ac_try" in
11746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11747 *) ac_try_echo=$ac_try;;
11749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11750 (eval "$ac_link") 2>conftest.er1
11752 grep -v '^ *+' conftest.er1 >conftest.err
11754 cat conftest.err >&5
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); } && {
11757 test -z "$ac_c_werror_flag" ||
11758 test ! -s conftest.err
11759 } && test -s conftest$ac_exeext &&
11760 $as_test_x conftest$ac_exeext; then
11761 ac_cv_func__dyld_func_lookup=yes
11763 echo "$as_me: failed program was:" >&5
11764 sed 's/^/| /' conftest.$ac_ext >&5
11766 ac_cv_func__dyld_func_lookup=no
11769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11770 conftest$ac_exeext conftest.$ac_ext
11772 { echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
11773 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
11774 if test $ac_cv_func__dyld_func_lookup = yes; then
11776 cat >>confdefs.h <<\_ACEOF
11777 #define HAVE_DYLD 1
11780 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
11785 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
11787 cygwin* | mingw* | os2* | pw32*)
11788 { echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
11789 echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6; }
11790 if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11793 cat >conftest.$ac_ext <<_ACEOF
11796 cat confdefs.h >>conftest.$ac_ext
11797 cat >>conftest.$ac_ext <<_ACEOF
11798 /* end confdefs.h. */
11799 #include <sys/cygwin.h>
11804 #ifndef cygwin_conv_path
11805 (void) cygwin_conv_path;
11812 rm -f conftest.$ac_objext
11813 if { (ac_try="$ac_compile"
11814 case "(($ac_try" in
11815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11816 *) ac_try_echo=$ac_try;;
11818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11819 (eval "$ac_compile") 2>conftest.er1
11821 grep -v '^ *+' conftest.er1 >conftest.err
11823 cat conftest.err >&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } && {
11826 test -z "$ac_c_werror_flag" ||
11827 test ! -s conftest.err
11828 } && test -s conftest.$ac_objext; then
11829 ac_cv_have_decl_cygwin_conv_path=yes
11831 echo "$as_me: failed program was:" >&5
11832 sed 's/^/| /' conftest.$ac_ext >&5
11834 ac_cv_have_decl_cygwin_conv_path=no
11837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11839 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
11840 echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6; }
11841 if test $ac_cv_have_decl_cygwin_conv_path = yes; then
11843 cat >>confdefs.h <<_ACEOF
11844 #define HAVE_DECL_CYGWIN_CONV_PATH 1
11849 cat >>confdefs.h <<_ACEOF
11850 #define HAVE_DECL_CYGWIN_CONV_PATH 0
11857 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
11861 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11862 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11863 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11864 echo $ECHO_N "(cached) $ECHO_C" >&6
11866 ac_check_lib_save_LIBS=$LIBS
11868 cat >conftest.$ac_ext <<_ACEOF
11871 cat confdefs.h >>conftest.$ac_ext
11872 cat >>conftest.$ac_ext <<_ACEOF
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11885 return dld_link ();
11890 rm -f conftest.$ac_objext conftest$ac_exeext
11891 if { (ac_try="$ac_link"
11892 case "(($ac_try" in
11893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11894 *) ac_try_echo=$ac_try;;
11896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11897 (eval "$ac_link") 2>conftest.er1
11899 grep -v '^ *+' conftest.er1 >conftest.err
11901 cat conftest.err >&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); } && {
11904 test -z "$ac_c_werror_flag" ||
11905 test ! -s conftest.err
11906 } && test -s conftest$ac_exeext &&
11907 $as_test_x conftest$ac_exeext; then
11908 ac_cv_lib_dld_dld_link=yes
11910 echo "$as_me: failed program was:" >&5
11911 sed 's/^/| /' conftest.$ac_ext >&5
11913 ac_cv_lib_dld_dld_link=no
11916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11917 conftest$ac_exeext conftest.$ac_ext
11918 LIBS=$ac_check_lib_save_LIBS
11920 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11921 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11922 if test $ac_cv_lib_dld_dld_link = yes; then
11924 cat >>confdefs.h <<\_ACEOF
11928 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
11935 if test -n "$LT_DLLOADERS"
11937 for lt_loader in $LT_DLLOADERS; do
11938 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
11941 cat >>confdefs.h <<\_ACEOF
11942 #define HAVE_LIBDLLOADER 1
11948 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
11952 ac_cpp='$CPP $CPPFLAGS'
11953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11958 { echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
11959 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
11960 if test "${lt_cv_sys_symbol_underscore+set}" = set; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 lt_cv_sys_symbol_underscore=no
11964 cat > conftest.$ac_ext <<_LT_EOF
11965 void nm_test_func(){}
11966 int main(){nm_test_func;return 0;}
11968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11969 (eval $ac_compile) 2>&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); }; then
11973 # Now try to grab the symbols.
11974 ac_nlist=conftest.nm
11975 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
11976 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } && test -s "$ac_nlist"; then
11980 # See whether the symbols have a leading underscore.
11981 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
11982 lt_cv_sys_symbol_underscore=yes
11984 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
11987 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
11991 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
11994 echo "configure: failed program was:" >&5
12000 { echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
12001 echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6; }
12002 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12005 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12006 if test x"$libltdl_cv_func_dlopen" = xyes ||
12007 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12008 { echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
12009 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6; }
12010 if test "${libltdl_cv_need_uscore+set}" = set; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12013 libltdl_cv_need_uscore=unknown
12015 LIBS="$LIBS $LIBADD_DLOPEN"
12016 if test "$cross_compiling" = yes; then :
12017 libltdl_cv_need_uscore=cross
12019 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12020 lt_status=$lt_dlunknown
12021 cat > conftest.$ac_ext <<_LT_EOF
12022 #line 12022 "configure"
12023 #include "confdefs.h"
12032 # define LT_DLGLOBAL RTLD_GLOBAL
12035 # define LT_DLGLOBAL DL_GLOBAL
12037 # define LT_DLGLOBAL 0
12041 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12042 find out it does not work in some platform. */
12043 #ifndef LT_DLLAZY_OR_NOW
12045 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12048 # define LT_DLLAZY_OR_NOW DL_LAZY
12051 # define LT_DLLAZY_OR_NOW RTLD_NOW
12054 # define LT_DLLAZY_OR_NOW DL_NOW
12056 # define LT_DLLAZY_OR_NOW 0
12064 extern "C" void exit (int);
12067 void fnord() { int i=42;}
12070 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12071 int status = $lt_dlunknown;
12075 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12076 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12077 /* dlclose (self); */
12085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12086 (eval $ac_link) 2>&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12090 (./conftest; exit; ) >&5 2>/dev/null
12092 case x$lt_status in
12093 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
12094 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
12095 x$lt_dlunknown|x*) ;;
12098 # compilation failed
12107 { echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
12108 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
12112 if test x"$libltdl_cv_need_uscore" = xyes; then
12114 cat >>confdefs.h <<\_ACEOF
12115 #define NEED_USCORE 1
12120 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
12121 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6; }
12122 if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12125 # PORTME does your system automatically load deplibs for dlopen?
12126 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12127 # For now, we just catch OSes we know something about -- in the
12128 # future, we'll try test this programmatically.
12129 lt_cv_sys_dlopen_deplibs=unknown
12131 aix3*|aix4.1.*|aix4.2.*)
12132 # Unknown whether this is true for these versions of AIX, but
12133 # we want this `case' here to explicitly catch those versions.
12134 lt_cv_sys_dlopen_deplibs=unknown
12137 lt_cv_sys_dlopen_deplibs=yes
12142 lt_cv_sys_dlopen_deplibs=no
12147 # Assuming the user has installed a libdl from somewhere, this is true
12148 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12149 lt_cv_sys_dlopen_deplibs=yes
12151 freebsd* | dragonfly*)
12152 lt_cv_sys_dlopen_deplibs=yes
12154 gnu* | linux* | k*bsd*-gnu)
12155 # GNU and its variants, using gnu ld.so (Glibc)
12156 lt_cv_sys_dlopen_deplibs=yes
12159 lt_cv_sys_dlopen_deplibs=yes
12162 lt_cv_sys_dlopen_deplibs=yes
12164 irix[12345]*|irix6.[01]*)
12165 # Catch all versions of IRIX before 6.2, and indicate that we don't
12166 # know how it worked for any of those versions.
12167 lt_cv_sys_dlopen_deplibs=unknown
12170 # The case above catches anything before 6.2, and it's known that
12171 # at 6.2 and later dlopen does load deplibs.
12172 lt_cv_sys_dlopen_deplibs=yes
12175 lt_cv_sys_dlopen_deplibs=yes
12178 lt_cv_sys_dlopen_deplibs=yes
12181 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12182 # it did *not* use an RPATH in a shared library to find objects the
12183 # library depends on, so we explicitly say `no'.
12184 lt_cv_sys_dlopen_deplibs=no
12186 osf5.0|osf5.0a|osf5.1)
12187 # dlopen *does* load deplibs and with the right loader patch applied
12188 # it even uses RPATH in a shared library to search for shared objects
12189 # that the library depends on, but there's no easy way to know if that
12190 # patch is installed. Since this is the case, all we can really
12191 # say is unknown -- it depends on the patch being installed. If
12192 # it is, this changes to `yes'. Without it, it would be `no'.
12193 lt_cv_sys_dlopen_deplibs=unknown
12196 # the two cases above should catch all versions of osf <= 5.1. Read
12197 # the comments above for what we know about them.
12198 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12199 # is used to find them so we can finally say `yes'.
12200 lt_cv_sys_dlopen_deplibs=yes
12203 lt_cv_sys_dlopen_deplibs=yes
12206 lt_cv_sys_dlopen_deplibs=yes
12208 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12209 libltdl_cv_sys_dlopen_deplibs=yes
12214 { echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
12215 echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6; }
12216 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12218 cat >>confdefs.h <<\_ACEOF
12219 #define LTDL_DLOPEN_DEPLIBS 1
12227 for ac_header in argz.h
12229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12230 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 cat >conftest.$ac_ext <<_ACEOF
12238 cat confdefs.h >>conftest.$ac_ext
12239 cat >>conftest.$ac_ext <<_ACEOF
12240 /* end confdefs.h. */
12241 $ac_includes_default
12243 #include <$ac_header>
12245 rm -f conftest.$ac_objext
12246 if { (ac_try="$ac_compile"
12247 case "(($ac_try" in
12248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12249 *) ac_try_echo=$ac_try;;
12251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12252 (eval "$ac_compile") 2>conftest.er1
12254 grep -v '^ *+' conftest.er1 >conftest.err
12256 cat conftest.err >&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } && {
12259 test -z "$ac_c_werror_flag" ||
12260 test ! -s conftest.err
12261 } && test -s conftest.$ac_objext; then
12262 eval "$as_ac_Header=yes"
12264 echo "$as_me: failed program was:" >&5
12265 sed 's/^/| /' conftest.$ac_ext >&5
12267 eval "$as_ac_Header=no"
12270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12272 ac_res=`eval echo '${'$as_ac_Header'}'`
12273 { echo "$as_me:$LINENO: result: $ac_res" >&5
12274 echo "${ECHO_T}$ac_res" >&6; }
12275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12276 cat >>confdefs.h <<_ACEOF
12277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12285 { echo "$as_me:$LINENO: checking for error_t" >&5
12286 echo $ECHO_N "checking for error_t... $ECHO_C" >&6; }
12287 if test "${ac_cv_type_error_t+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 cat >conftest.$ac_ext <<_ACEOF
12293 cat confdefs.h >>conftest.$ac_ext
12294 cat >>conftest.$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12296 #if defined(HAVE_ARGZ_H)
12300 typedef error_t ac__type_new_;
12304 if ((ac__type_new_ *) 0)
12306 if (sizeof (ac__type_new_))
12312 rm -f conftest.$ac_objext
12313 if { (ac_try="$ac_compile"
12314 case "(($ac_try" in
12315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12316 *) ac_try_echo=$ac_try;;
12318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12319 (eval "$ac_compile") 2>conftest.er1
12321 grep -v '^ *+' conftest.er1 >conftest.err
12323 cat conftest.err >&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } && {
12326 test -z "$ac_c_werror_flag" ||
12327 test ! -s conftest.err
12328 } && test -s conftest.$ac_objext; then
12329 ac_cv_type_error_t=yes
12331 echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.$ac_ext >&5
12334 ac_cv_type_error_t=no
12337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12339 { echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
12340 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
12341 if test $ac_cv_type_error_t = yes; then
12343 cat >>confdefs.h <<_ACEOF
12344 #define HAVE_ERROR_T 1
12350 cat >>confdefs.h <<\_ACEOF
12351 #define error_t int
12355 cat >>confdefs.h <<\_ACEOF
12356 #define __error_t_defined 1
12370 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
12371 argz_next argz_stringify
12373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12374 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12376 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12379 cat >conftest.$ac_ext <<_ACEOF
12382 cat confdefs.h >>conftest.$ac_ext
12383 cat >>conftest.$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12387 #define $ac_func innocuous_$ac_func
12389 /* System header to define __stub macros and hopefully few prototypes,
12390 which can conflict with char $ac_func (); below.
12391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12392 <limits.h> exists even on freestanding compilers. */
12395 # include <limits.h>
12397 # include <assert.h>
12402 /* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12409 /* The GNU C library defines this for functions which it implements
12410 to always fail with ENOSYS. Some functions are actually named
12411 something starting with __ and the normal name is an alias. */
12412 #if defined __stub_$ac_func || defined __stub___$ac_func
12419 return $ac_func ();
12424 rm -f conftest.$ac_objext conftest$ac_exeext
12425 if { (ac_try="$ac_link"
12426 case "(($ac_try" in
12427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12428 *) ac_try_echo=$ac_try;;
12430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12431 (eval "$ac_link") 2>conftest.er1
12433 grep -v '^ *+' conftest.er1 >conftest.err
12435 cat conftest.err >&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); } && {
12438 test -z "$ac_c_werror_flag" ||
12439 test ! -s conftest.err
12440 } && test -s conftest$ac_exeext &&
12441 $as_test_x conftest$ac_exeext; then
12442 eval "$as_ac_var=yes"
12444 echo "$as_me: failed program was:" >&5
12445 sed 's/^/| /' conftest.$ac_ext >&5
12447 eval "$as_ac_var=no"
12450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12451 conftest$ac_exeext conftest.$ac_ext
12453 ac_res=`eval echo '${'$as_ac_var'}'`
12454 { echo "$as_me:$LINENO: result: $ac_res" >&5
12455 echo "${ECHO_T}$ac_res" >&6; }
12456 if test `eval echo '${'$as_ac_var'}'` = yes; then
12457 cat >>confdefs.h <<_ACEOF
12458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12462 ARGZ_H=argz.h; case " $LIBOBJS " in
12463 *" argz.$ac_objext "* ) ;;
12464 *) LIBOBJS="$LIBOBJS argz.$ac_objext"
12472 if test -z "$ARGZ_H"; then
12473 { echo "$as_me:$LINENO: checking if argz actually works" >&5
12474 echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6; }
12475 if test "${lt_cv_sys_argz_works+set}" = set; then
12476 echo $ECHO_N "(cached) $ECHO_C" >&6
12478 case $host_os in #(
12480 lt_cv_sys_argz_works=no
12481 if test "$cross_compiling" != no; then
12482 lt_cv_sys_argz_works="guessing no"
12484 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
12487 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
12492 if test "$lt_os_major" -gt 1 \
12493 || { test "$lt_os_major" -eq 1 \
12494 && { test "$lt_os_minor" -gt 5 \
12495 || { test "$lt_os_minor" -eq 5 \
12496 && test "$lt_os_micro" -gt 24; }; }; }; then
12497 lt_cv_sys_argz_works=yes
12501 *) lt_cv_sys_argz_works=yes ;;
12504 { echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
12505 echo "${ECHO_T}$lt_cv_sys_argz_works" >&6; }
12506 if test $lt_cv_sys_argz_works = yes; then
12508 cat >>confdefs.h <<\_ACEOF
12509 #define HAVE_WORKING_ARGZ 1
12514 case " $LIBOBJS " in
12515 *" argz.$ac_objext "* ) ;;
12516 *) LIBOBJS="$LIBOBJS argz.$ac_objext"
12527 { echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
12528 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6; }
12529 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
12530 echo $ECHO_N "(cached) $ECHO_C" >&6
12532 if test -n "$lt_cv_sys_global_symbol_pipe"; then
12533 libltdl_cv_preloaded_symbols=yes
12535 libltdl_cv_preloaded_symbols=no
12539 { echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
12540 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
12541 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
12543 cat >>confdefs.h <<\_ACEOF
12544 #define HAVE_PRELOADED_SYMBOLS 1
12551 # lt_cv_dlopen_self gets defined by LT_SYS_DLOPEN_SELF, called by LT_INIT
12552 if test "$lt_cv_dlopen_self" = yes; then
12554 cat >>confdefs.h <<\_ACEOF
12555 #define LTDL_DLOPEN_SELF_WORKS 1
12560 # Check whether --enable-ltdl-install was given.
12561 if test "${enable_ltdl_install+set}" = set; then
12562 enableval=$enable_ltdl_install;
12566 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
12568 *) enable_ltdl_convenience=yes ;;
12571 if test x"${enable_ltdl_install-no}" != xno; then
12573 INSTALL_LTDL_FALSE='#'
12575 INSTALL_LTDL_TRUE='#'
12576 INSTALL_LTDL_FALSE=
12579 if test x"${enable_ltdl_convenience-no}" != xno; then
12580 CONVENIENCE_LTDL_TRUE=
12581 CONVENIENCE_LTDL_FALSE='#'
12583 CONVENIENCE_LTDL_TRUE='#'
12584 CONVENIENCE_LTDL_FALSE=
12592 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
12593 # the user used. This is so that ltdl.h can pick up the parent projects
12594 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
12595 # definitions required by ltdl.c.
12596 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
12606 for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
12608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 cat >conftest.$ac_ext <<_ACEOF
12617 cat confdefs.h >>conftest.$ac_ext
12618 cat >>conftest.$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12620 $ac_includes_default
12622 #include <$ac_header>
12624 rm -f conftest.$ac_objext
12625 if { (ac_try="$ac_compile"
12626 case "(($ac_try" in
12627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12628 *) ac_try_echo=$ac_try;;
12630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12631 (eval "$ac_compile") 2>conftest.er1
12633 grep -v '^ *+' conftest.er1 >conftest.err
12635 cat conftest.err >&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); } && {
12638 test -z "$ac_c_werror_flag" ||
12639 test ! -s conftest.err
12640 } && test -s conftest.$ac_objext; then
12641 eval "$as_ac_Header=yes"
12643 echo "$as_me: failed program was:" >&5
12644 sed 's/^/| /' conftest.$ac_ext >&5
12646 eval "$as_ac_Header=no"
12649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12651 ac_res=`eval echo '${'$as_ac_Header'}'`
12652 { echo "$as_me:$LINENO: result: $ac_res" >&5
12653 echo "${ECHO_T}$ac_res" >&6; }
12654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12655 cat >>confdefs.h <<_ACEOF
12656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12667 for ac_func in closedir opendir readdir
12669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12670 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12673 echo $ECHO_N "(cached) $ECHO_C" >&6
12675 cat >conftest.$ac_ext <<_ACEOF
12678 cat confdefs.h >>conftest.$ac_ext
12679 cat >>conftest.$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12683 #define $ac_func innocuous_$ac_func
12685 /* System header to define __stub macros and hopefully few prototypes,
12686 which can conflict with char $ac_func (); below.
12687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12688 <limits.h> exists even on freestanding compilers. */
12691 # include <limits.h>
12693 # include <assert.h>
12698 /* Override any GCC internal prototype to avoid an error.
12699 Use char because int might match the return type of a GCC
12700 builtin and then its argument prototype would still apply. */
12705 /* The GNU C library defines this for functions which it implements
12706 to always fail with ENOSYS. Some functions are actually named
12707 something starting with __ and the normal name is an alias. */
12708 #if defined __stub_$ac_func || defined __stub___$ac_func
12715 return $ac_func ();
12720 rm -f conftest.$ac_objext conftest$ac_exeext
12721 if { (ac_try="$ac_link"
12722 case "(($ac_try" in
12723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12724 *) ac_try_echo=$ac_try;;
12726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12727 (eval "$ac_link") 2>conftest.er1
12729 grep -v '^ *+' conftest.er1 >conftest.err
12731 cat conftest.err >&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); } && {
12734 test -z "$ac_c_werror_flag" ||
12735 test ! -s conftest.err
12736 } && test -s conftest$ac_exeext &&
12737 $as_test_x conftest$ac_exeext; then
12738 eval "$as_ac_var=yes"
12740 echo "$as_me: failed program was:" >&5
12741 sed 's/^/| /' conftest.$ac_ext >&5
12743 eval "$as_ac_var=no"
12746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12747 conftest$ac_exeext conftest.$ac_ext
12749 ac_res=`eval echo '${'$as_ac_var'}'`
12750 { echo "$as_me:$LINENO: result: $ac_res" >&5
12751 echo "${ECHO_T}$ac_res" >&6; }
12752 if test `eval echo '${'$as_ac_var'}'` = yes; then
12753 cat >>confdefs.h <<_ACEOF
12754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12758 case " $LIBOBJS " in
12759 *" lt__dirent.$ac_objext "* ) ;;
12760 *) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
12769 for ac_func in strlcat strlcpy
12771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12774 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12775 echo $ECHO_N "(cached) $ECHO_C" >&6
12777 cat >conftest.$ac_ext <<_ACEOF
12780 cat confdefs.h >>conftest.$ac_ext
12781 cat >>conftest.$ac_ext <<_ACEOF
12782 /* end confdefs.h. */
12783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12785 #define $ac_func innocuous_$ac_func
12787 /* System header to define __stub macros and hopefully few prototypes,
12788 which can conflict with char $ac_func (); below.
12789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12790 <limits.h> exists even on freestanding compilers. */
12793 # include <limits.h>
12795 # include <assert.h>
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12807 /* The GNU C library defines this for functions which it implements
12808 to always fail with ENOSYS. Some functions are actually named
12809 something starting with __ and the normal name is an alias. */
12810 #if defined __stub_$ac_func || defined __stub___$ac_func
12817 return $ac_func ();
12822 rm -f conftest.$ac_objext conftest$ac_exeext
12823 if { (ac_try="$ac_link"
12824 case "(($ac_try" in
12825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12826 *) ac_try_echo=$ac_try;;
12828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12829 (eval "$ac_link") 2>conftest.er1
12831 grep -v '^ *+' conftest.er1 >conftest.err
12833 cat conftest.err >&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } && {
12836 test -z "$ac_c_werror_flag" ||
12837 test ! -s conftest.err
12838 } && test -s conftest$ac_exeext &&
12839 $as_test_x conftest$ac_exeext; then
12840 eval "$as_ac_var=yes"
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12845 eval "$as_ac_var=no"
12848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12849 conftest$ac_exeext conftest.$ac_ext
12851 ac_res=`eval echo '${'$as_ac_var'}'`
12852 { echo "$as_me:$LINENO: result: $ac_res" >&5
12853 echo "${ECHO_T}$ac_res" >&6; }
12854 if test `eval echo '${'$as_ac_var'}'` = yes; then
12855 cat >>confdefs.h <<_ACEOF
12856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12860 case " $LIBOBJS " in
12861 *" lt__strl.$ac_objext "* ) ;;
12862 *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
12871 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
12879 ac_config_files="$ac_config_files Makefile"
12881 cat >confcache <<\_ACEOF
12882 # This file is a shell script that caches the results of configure
12883 # tests run on this system so they can be shared between configure
12884 # scripts and configure runs, see configure's option --config-cache.
12885 # It is not useful on other systems. If it contains results you don't
12886 # want to keep, you may remove or edit it.
12888 # config.status only pays attention to the cache file if you give it
12889 # the --recheck option to rerun configure.
12891 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12892 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12893 # following values.
12897 # The following way of writing the cache mishandles newlines in values,
12898 # but we know of no workaround that is simple, portable, and efficient.
12899 # So, we kill variables containing newlines.
12900 # Ultrix sh set writes to stderr and can't be redirected directly,
12901 # and sets the high bit in the cache file unless we assign to the vars.
12903 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12904 eval ac_val=\$$ac_var
12908 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12909 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12912 _ | IFS | as_nl) ;; #(
12913 *) $as_unset $ac_var ;;
12919 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12920 *${as_nl}ac_space=\ *)
12921 # `set' does not quote correctly, so add quotes (double-quote
12922 # substitution turns \\\\ into \\, and sed turns \\ into \).
12925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12928 # `set' quotes correctly as required by POSIX, so do not add quotes.
12929 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12938 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12940 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12942 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12943 if test -w "$cache_file"; then
12944 test "x$cache_file" != "x/dev/null" &&
12945 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12946 echo "$as_me: updating cache $cache_file" >&6;}
12947 cat confcache >$cache_file
12949 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12950 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12955 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12956 # Let make expand exec_prefix.
12957 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12959 DEFS=-DHAVE_CONFIG_H
12963 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12964 # 1. Remove the extension, and $U if already installed.
12965 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12966 ac_i=`echo "$ac_i" | sed "$ac_script"`
12967 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12968 # will be set to the directory where LIBOBJS objects are built.
12969 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12970 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12972 LIBOBJS=$ac_libobjs
12974 LTLIBOBJS=$ac_ltlibobjs
12977 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12978 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12979 Usually this means the macro was only invoked conditionally." >&5
12980 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12981 Usually this means the macro was only invoked conditionally." >&2;}
12982 { (exit 1); exit 1; }; }
12984 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12985 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12986 Usually this means the macro was only invoked conditionally." >&5
12987 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12988 Usually this means the macro was only invoked conditionally." >&2;}
12989 { (exit 1); exit 1; }; }
12991 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
12992 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
12993 Usually this means the macro was only invoked conditionally." >&5
12994 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
12995 Usually this means the macro was only invoked conditionally." >&2;}
12996 { (exit 1); exit 1; }; }
12998 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
12999 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
13000 Usually this means the macro was only invoked conditionally." >&5
13001 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
13002 Usually this means the macro was only invoked conditionally." >&2;}
13003 { (exit 1); exit 1; }; }
13005 LT_CONFIG_H=config.h
13007 : ${CONFIG_STATUS=./config.status}
13008 ac_clean_files_save=$ac_clean_files
13009 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13010 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13011 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13012 cat >$CONFIG_STATUS <<_ACEOF
13014 # Generated by $as_me.
13015 # Run this file to recreate the current configuration.
13016 # Compiler output produced by configure, useful for debugging
13017 # configure, is in config.log if it exists.
13020 ac_cs_recheck=false
13022 SHELL=\${CONFIG_SHELL-$SHELL}
13025 cat >>$CONFIG_STATUS <<\_ACEOF
13026 ## --------------------- ##
13027 ## M4sh Initialization. ##
13028 ## --------------------- ##
13030 # Be more Bourne compatible
13031 DUALCASE=1; export DUALCASE # for MKS sh
13032 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13035 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13036 # is contrary to our usage. Disable this feature.
13037 alias -g '${1+"$@"}'='"$@"'
13038 setopt NO_GLOB_SUBST
13040 case `(set -o) 2>/dev/null` in
13041 *posix*) set -o posix ;;
13050 # Avoid depending upon Character Ranges.
13051 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13052 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13053 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13054 as_cr_digits='0123456789'
13055 as_cr_alnum=$as_cr_Letters$as_cr_digits
13057 # The user is always right.
13058 if test "${PATH_SEPARATOR+set}" != set; then
13059 echo "#! /bin/sh" >conf$$.sh
13060 echo "exit 0" >>conf$$.sh
13062 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13070 # Support unset when possible.
13071 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13079 # We need space, tab and new line, in precisely that order. Quoting is
13080 # there to prevent editors from complaining about space-tab.
13081 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13082 # splitting by setting IFS to empty value.)
13087 # Find who we are. Look in the path if we contain no directory separator.
13089 *[\\/]* ) as_myself=$0 ;;
13090 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13091 for as_dir in $PATH
13094 test -z "$as_dir" && as_dir=.
13095 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13101 # We did not find ourselves, most probably we were run as `sh COMMAND'
13102 # in which case we are not to be found in the path.
13103 if test "x$as_myself" = x; then
13106 if test ! -f "$as_myself"; then
13107 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13108 { (exit 1); exit 1; }
13111 # Work around bugs in pre-3.0 UWIN ksh.
13112 for as_var in ENV MAIL MAILPATH
13113 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13121 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13122 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13123 LC_TELEPHONE LC_TIME
13125 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13126 eval $as_var=C; export $as_var
13128 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13132 # Required to use basename.
13133 if expr a : '\(a\)' >/dev/null 2>&1 &&
13134 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13140 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13141 as_basename=basename
13147 # Name of the executable.
13148 as_me=`$as_basename -- "$0" ||
13149 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13150 X"$0" : 'X\(//\)$' \| \
13151 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13153 sed '/^.*\/\([^/][^/]*\)\/*$/{
13172 as_lineno_1=$LINENO
13173 as_lineno_2=$LINENO
13174 test "x$as_lineno_1" != "x$as_lineno_2" &&
13175 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13177 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13178 # uniformly replaced by the line number. The first 'sed' inserts a
13179 # line-number line after each line using $LINENO; the second 'sed'
13180 # does the real work. The second script uses 'N' to pair each
13181 # line-number line with the line containing $LINENO, and appends
13182 # trailing '-' during substitution so that $LINENO is not a special
13183 # case at line end.
13184 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13185 # scripts with optimization help from Paolo Bonzini. Blame Lee
13186 # E. McMahon (1931-1989) for sed's syntax. :-)
13198 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13201 ' >$as_me.lineno &&
13202 chmod +x "$as_me.lineno" ||
13203 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13204 { (exit 1); exit 1; }; }
13206 # Don't try to exec as it changes $[0], causing all sort of problems
13207 # (the dirname of $[0] is not the place where we might find the
13208 # original and so on. Autoconf is especially sensitive to this).
13209 . "./$as_me.lineno"
13210 # Exit status is that of the last command.
13215 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13221 ECHO_C= ECHO_N= ECHO_T=
13222 case `echo -n x` in
13224 case `echo 'x\c'` in
13225 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13232 if expr a : '\(a\)' >/dev/null 2>&1 &&
13233 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13239 rm -f conf$$ conf$$.exe conf$$.file
13240 if test -d conf$$.dir; then
13241 rm -f conf$$.dir/conf$$.file
13247 if ln -s conf$$.file conf$$ 2>/dev/null; then
13249 # ... but there are two gotchas:
13250 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13251 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13252 # In both cases, we have to default to `cp -p'.
13253 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13255 elif ln conf$$.file conf$$ 2>/dev/null; then
13260 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13261 rmdir conf$$.dir 2>/dev/null
13263 if mkdir -p . 2>/dev/null; then
13266 test -d ./-p && rmdir ./-p
13270 if test -x / >/dev/null 2>&1; then
13271 as_test_x='test -x'
13273 if ls -dL / >/dev/null 2>&1; then
13280 if test -d "$1"; then
13286 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13287 ???[sx]*):;;*)false;;esac;fi
13291 as_executable_p=$as_test_x
13293 # Sed expression to map a string onto a valid CPP name.
13294 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13296 # Sed expression to map a string onto a valid variable name.
13297 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13302 # Save the log message, to keep $[0] and so on meaningful, and to
13303 # report actual input values of CONFIG_FILES etc. instead of their
13304 # values after options handling.
13306 This file was extended by libltdl $as_me 2.2.4, which was
13307 generated by GNU Autoconf 2.61. Invocation command line was
13309 CONFIG_FILES = $CONFIG_FILES
13310 CONFIG_HEADERS = $CONFIG_HEADERS
13311 CONFIG_LINKS = $CONFIG_LINKS
13312 CONFIG_COMMANDS = $CONFIG_COMMANDS
13315 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13320 cat >>$CONFIG_STATUS <<_ACEOF
13321 # Files that config.status was made for.
13322 config_files="$ac_config_files"
13323 config_headers="$ac_config_headers"
13324 config_commands="$ac_config_commands"
13328 cat >>$CONFIG_STATUS <<\_ACEOF
13330 \`$as_me' instantiates files from templates according to the
13331 current configuration.
13333 Usage: $0 [OPTIONS] [FILE]...
13335 -h, --help print this help, then exit
13336 -V, --version print version number and configuration settings, then exit
13337 -q, --quiet do not print progress messages
13338 -d, --debug don't remove temporary files
13339 --recheck update $as_me by reconfiguring in the same conditions
13340 --file=FILE[:TEMPLATE]
13341 instantiate the configuration file FILE
13342 --header=FILE[:TEMPLATE]
13343 instantiate the configuration header FILE
13345 Configuration files:
13348 Configuration headers:
13351 Configuration commands:
13354 Report bugs to <bug-autoconf@gnu.org>."
13357 cat >>$CONFIG_STATUS <<_ACEOF
13359 libltdl config.status 2.2.4
13360 configured by $0, generated by GNU Autoconf 2.61,
13361 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13363 Copyright (C) 2006 Free Software Foundation, Inc.
13364 This config.status script is free software; the Free Software Foundation
13365 gives unlimited permission to copy, distribute and modify it."
13373 cat >>$CONFIG_STATUS <<\_ACEOF
13374 # If no file are specified by the user, then we need to provide default
13375 # value. By we need to know if files were specified by the user.
13381 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13382 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13393 # Handling of the options.
13394 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13396 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13397 echo "$ac_cs_version"; exit ;;
13398 --debug | --debu | --deb | --de | --d | -d )
13400 --file | --fil | --fi | --f )
13402 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13403 ac_need_defaults=false;;
13404 --header | --heade | --head | --hea )
13406 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13407 ac_need_defaults=false;;
13409 # Conflict between --help and --header
13410 { echo "$as_me: error: ambiguous option: $1
13411 Try \`$0 --help' for more information." >&2
13412 { (exit 1); exit 1; }; };;
13413 --help | --hel | -h )
13414 echo "$ac_cs_usage"; exit ;;
13415 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13416 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13419 # This is an error.
13420 -*) { echo "$as_me: error: unrecognized option: $1
13421 Try \`$0 --help' for more information." >&2
13422 { (exit 1); exit 1; }; } ;;
13424 *) ac_config_targets="$ac_config_targets $1"
13425 ac_need_defaults=false ;;
13431 ac_configure_extra_args=
13433 if $ac_cs_silent; then
13435 ac_configure_extra_args="$ac_configure_extra_args --silent"
13439 cat >>$CONFIG_STATUS <<_ACEOF
13440 if \$ac_cs_recheck; then
13441 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13442 CONFIG_SHELL=$SHELL
13443 export CONFIG_SHELL
13444 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13448 cat >>$CONFIG_STATUS <<\_ACEOF
13452 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13453 ## Running $as_me. ##
13459 cat >>$CONFIG_STATUS <<_ACEOF
13463 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13466 # The HP-UX ksh and POSIX shell print the target directory to stdout
13467 # if CDPATH is set.
13468 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13470 sed_quote_subst='$sed_quote_subst'
13471 double_quote_subst='$double_quote_subst'
13472 delay_variable_subst='$delay_variable_subst'
13473 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13474 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13475 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13476 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13477 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13478 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13479 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13480 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13481 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13482 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13483 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13484 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13485 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13486 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13487 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13488 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13489 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13490 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13491 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13492 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13493 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13494 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13495 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13496 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13497 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13498 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13499 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13500 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13501 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13502 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13503 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13504 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13505 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13506 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13507 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13508 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13509 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13510 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13511 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13512 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13513 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13514 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13515 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13516 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13517 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13518 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13519 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13520 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13521 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13522 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13523 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13524 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13525 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13526 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13527 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13528 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13529 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13530 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13531 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13532 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13533 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13534 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13535 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13536 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13537 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13538 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13539 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13540 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13541 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13542 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13543 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13544 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13545 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13546 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13547 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13548 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13549 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13550 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13551 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13552 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13553 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13554 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13555 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13556 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13557 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13558 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13559 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13560 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13561 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13562 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13563 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13564 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13565 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13566 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13567 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13568 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13569 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13570 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13571 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13572 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13573 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13574 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13575 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13576 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13577 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13578 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13579 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13580 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13581 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13582 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13583 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13584 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13585 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13586 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13587 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13588 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13589 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13590 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13591 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13592 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13595 LTCFLAGS='$LTCFLAGS'
13596 compiler='$compiler_DEFAULT'
13598 # Quote evaled strings.
13609 deplibs_check_method \
13618 lt_cv_sys_global_symbol_pipe \
13619 lt_cv_sys_global_symbol_to_cdecl \
13620 lt_cv_sys_global_symbol_to_c_name_address \
13621 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13624 lt_prog_compiler_no_builtin_flag \
13625 lt_prog_compiler_wl \
13626 lt_prog_compiler_pic \
13627 lt_prog_compiler_static \
13628 lt_cv_prog_compiler_c_o \
13636 export_dynamic_flag_spec \
13637 whole_archive_flag_spec \
13638 compiler_needs_object \
13640 allow_undefined_flag \
13641 no_undefined_flag \
13642 hardcode_libdir_flag_spec \
13643 hardcode_libdir_flag_spec_ld \
13644 hardcode_libdir_separator \
13649 variables_saved_for_relink \
13651 library_names_spec \
13656 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13657 *[\\\\\\\`\\"\\\$]*)
13658 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13661 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13666 # Double-quote double-evaled strings.
13667 for var in reload_cmds \
13668 old_postinstall_cmds \
13669 old_postuninstall_cmds \
13671 extract_expsyms_cmds \
13672 old_archive_from_new_cmds \
13673 old_archive_from_expsyms_cmds \
13675 archive_expsym_cmds \
13677 module_expsym_cmds \
13678 export_symbols_cmds \
13681 postuninstall_cmds \
13683 sys_lib_search_path_spec \
13684 sys_lib_dlsearch_path_spec; do
13685 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13686 *[\\\\\\\`\\"\\\$]*)
13687 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13690 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13695 # Fix-up fallback echo if it was mangled by the above quoting rules.
13697 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13701 ac_aux_dir='$ac_aux_dir'
13702 xsi_shell='$xsi_shell'
13703 lt_shell_append='$lt_shell_append'
13705 # See if we are running on zsh, and set the options which allow our
13706 # commands through without removal of \ escapes INIT.
13707 if test -n "\${ZSH_VERSION+set}" ; then
13708 setopt NO_GLOB_SUBST
13714 TIMESTAMP='$TIMESTAMP'
13723 cat >>$CONFIG_STATUS <<\_ACEOF
13725 # Handling of arguments.
13726 for ac_config_target in $ac_config_targets
13728 case $ac_config_target in
13729 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
13730 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13731 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13732 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13734 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13735 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13736 { (exit 1); exit 1; }; };;
13741 # If the user did not use the arguments to specify the items to instantiate,
13742 # then the envvar interface is used. Set only those that are not.
13743 # We use the long form for the default assignment because of an extremely
13744 # bizarre bug on SunOS 4.1.3.
13745 if $ac_need_defaults; then
13746 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13747 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13748 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13751 # Have a temporary directory for convenience. Make it in the build tree
13752 # simply because there is no reason against having it here, and in addition,
13753 # creating and moving files from /tmp can sometimes cause problems.
13754 # Hook for its removal unless debugging.
13755 # Note that there is a small window in which the directory will not be cleaned:
13756 # after its creation but before its name has been assigned to `$tmp'.
13760 trap 'exit_status=$?
13761 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13763 trap '{ (exit 1); exit 1; }' 1 2 13 15
13765 # Create a (secure) tmp directory for tmp files.
13768 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13769 test -n "$tmp" && test -d "$tmp"
13772 tmp=./conf$$-$RANDOM
13773 (umask 077 && mkdir "$tmp")
13776 echo "$me: cannot create a temporary directory in ." >&2
13777 { (exit 1); exit 1; }
13781 # Set up the sed scripts for CONFIG_FILES section.
13784 # No need to generate the scripts if there are no CONFIG_FILES.
13785 # This happens for instance when ./config.status config.h
13786 if test -n "$CONFIG_FILES"; then
13793 for ac_last_try in false false false false false :; do
13794 cat >conf$$subs.sed <<_ACEOF
13795 SHELL!$SHELL$ac_delim
13796 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13797 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13798 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13799 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13800 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13801 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13802 exec_prefix!$exec_prefix$ac_delim
13803 prefix!$prefix$ac_delim
13804 program_transform_name!$program_transform_name$ac_delim
13805 bindir!$bindir$ac_delim
13806 sbindir!$sbindir$ac_delim
13807 libexecdir!$libexecdir$ac_delim
13808 datarootdir!$datarootdir$ac_delim
13809 datadir!$datadir$ac_delim
13810 sysconfdir!$sysconfdir$ac_delim
13811 sharedstatedir!$sharedstatedir$ac_delim
13812 localstatedir!$localstatedir$ac_delim
13813 includedir!$includedir$ac_delim
13814 oldincludedir!$oldincludedir$ac_delim
13815 docdir!$docdir$ac_delim
13816 infodir!$infodir$ac_delim
13817 htmldir!$htmldir$ac_delim
13818 dvidir!$dvidir$ac_delim
13819 pdfdir!$pdfdir$ac_delim
13820 psdir!$psdir$ac_delim
13821 libdir!$libdir$ac_delim
13822 localedir!$localedir$ac_delim
13823 mandir!$mandir$ac_delim
13824 DEFS!$DEFS$ac_delim
13825 ECHO_C!$ECHO_C$ac_delim
13826 ECHO_N!$ECHO_N$ac_delim
13827 ECHO_T!$ECHO_T$ac_delim
13828 LIBS!$LIBS$ac_delim
13829 build_alias!$build_alias$ac_delim
13830 host_alias!$host_alias$ac_delim
13831 target_alias!$target_alias$ac_delim
13832 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13833 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13834 INSTALL_DATA!$INSTALL_DATA$ac_delim
13835 am__isrc!$am__isrc$ac_delim
13836 CYGPATH_W!$CYGPATH_W$ac_delim
13837 PACKAGE!$PACKAGE$ac_delim
13838 VERSION!$VERSION$ac_delim
13839 ACLOCAL!$ACLOCAL$ac_delim
13840 AUTOCONF!$AUTOCONF$ac_delim
13841 AUTOMAKE!$AUTOMAKE$ac_delim
13842 AUTOHEADER!$AUTOHEADER$ac_delim
13843 MAKEINFO!$MAKEINFO$ac_delim
13844 install_sh!$install_sh$ac_delim
13845 STRIP!$STRIP$ac_delim
13846 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13847 mkdir_p!$mkdir_p$ac_delim
13849 SET_MAKE!$SET_MAKE$ac_delim
13850 am__leading_dot!$am__leading_dot$ac_delim
13851 AMTAR!$AMTAR$ac_delim
13852 am__tar!$am__tar$ac_delim
13853 am__untar!$am__untar$ac_delim
13855 DLLTOOL!$DLLTOOL$ac_delim
13856 OBJDUMP!$OBJDUMP$ac_delim
13857 LIBTOOL!$LIBTOOL$ac_delim
13858 build!$build$ac_delim
13859 build_cpu!$build_cpu$ac_delim
13860 build_vendor!$build_vendor$ac_delim
13861 build_os!$build_os$ac_delim
13862 host!$host$ac_delim
13863 host_cpu!$host_cpu$ac_delim
13864 host_vendor!$host_vendor$ac_delim
13865 host_os!$host_os$ac_delim
13867 CFLAGS!$CFLAGS$ac_delim
13868 LDFLAGS!$LDFLAGS$ac_delim
13869 CPPFLAGS!$CPPFLAGS$ac_delim
13870 ac_ct_CC!$ac_ct_CC$ac_delim
13871 EXEEXT!$EXEEXT$ac_delim
13872 OBJEXT!$OBJEXT$ac_delim
13873 DEPDIR!$DEPDIR$ac_delim
13874 am__include!$am__include$ac_delim
13875 am__quote!$am__quote$ac_delim
13876 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
13877 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
13878 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
13879 CCDEPMODE!$CCDEPMODE$ac_delim
13880 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
13881 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
13883 GREP!$GREP$ac_delim
13884 EGREP!$EGREP$ac_delim
13885 FGREP!$FGREP$ac_delim
13887 DUMPBIN!$DUMPBIN$ac_delim
13888 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
13890 LN_S!$LN_S$ac_delim
13894 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13896 elif $ac_last_try; then
13897 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13898 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13899 { (exit 1); exit 1; }; }
13901 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13905 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13906 if test -n "$ac_eof"; then
13907 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13908 ac_eof=`expr $ac_eof + 1`
13911 cat >>$CONFIG_STATUS <<_ACEOF
13912 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13916 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13917 s/^/s,@/; s/!/@,|#_!!_#|/
13920 s/'"$ac_delim"'$/,g/; t
13922 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13923 ' >>$CONFIG_STATUS <conf$$subs.sed
13924 rm -f conf$$subs.sed
13925 cat >>$CONFIG_STATUS <<_ACEOF
13931 for ac_last_try in false false false false false :; do
13932 cat >conf$$subs.sed <<_ACEOF
13933 RANLIB!$RANLIB$ac_delim
13934 lt_ECHO!$lt_ECHO$ac_delim
13935 DSYMUTIL!$DSYMUTIL$ac_delim
13936 NMEDIT!$NMEDIT$ac_delim
13937 LIPO!$LIPO$ac_delim
13938 OTOOL!$OTOOL$ac_delim
13939 OTOOL64!$OTOOL64$ac_delim
13941 LT_DLLOADERS!$LT_DLLOADERS$ac_delim
13942 LIBADD_DLOPEN!$LIBADD_DLOPEN$ac_delim
13943 LIBADD_SHL_LOAD!$LIBADD_SHL_LOAD$ac_delim
13944 LIBADD_DLD_LINK!$LIBADD_DLD_LINK$ac_delim
13945 LT_DLPREOPEN!$LT_DLPREOPEN$ac_delim
13946 LIBADD_DL!$LIBADD_DL$ac_delim
13947 sys_symbol_underscore!$sys_symbol_underscore$ac_delim
13948 LIBOBJS!$LIBOBJS$ac_delim
13949 ARGZ_H!$ARGZ_H$ac_delim
13950 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
13951 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
13952 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
13953 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
13954 LT_CONFIG_H!$LT_CONFIG_H$ac_delim
13955 LTDLOPEN!$LTDLOPEN$ac_delim
13956 LTLIBOBJS!$LTLIBOBJS$ac_delim
13959 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
13961 elif $ac_last_try; then
13962 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13963 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13964 { (exit 1); exit 1; }; }
13966 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13970 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13971 if test -n "$ac_eof"; then
13972 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13973 ac_eof=`expr $ac_eof + 1`
13976 cat >>$CONFIG_STATUS <<_ACEOF
13977 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13981 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13982 s/^/s,@/; s/!/@,|#_!!_#|/
13985 s/'"$ac_delim"'$/,g/; t
13987 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13988 ' >>$CONFIG_STATUS <conf$$subs.sed
13989 rm -f conf$$subs.sed
13990 cat >>$CONFIG_STATUS <<_ACEOF
13997 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13998 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13999 # trailing colons and then remove the whole line if VPATH becomes empty
14000 # (actually we leave an empty line to preserve line numbers).
14001 if test "x$srcdir" = x.; then
14002 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14003 s/:*\$(srcdir):*/:/
14004 s/:*\${srcdir}:*/:/
14006 s/^\([^=]*=[ ]*\):*/\1/
14012 cat >>$CONFIG_STATUS <<\_ACEOF
14013 fi # test -n "$CONFIG_FILES"
14016 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
14019 :[FHLC]) ac_mode=$ac_tag; continue;;
14021 case $ac_mode$ac_tag in
14023 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14024 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14025 { (exit 1); exit 1; }; };;
14026 :[FH]-) ac_tag=-:-;;
14027 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14044 -) ac_f="$tmp/stdin";;
14045 *) # Look for the file first in the build tree, then in the source tree
14046 # (if the path is not absolute). The absolute path cannot be DOS-style,
14047 # because $ac_f cannot contain `:'.
14051 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14053 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14054 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14055 { (exit 1); exit 1; }; };;
14057 ac_file_inputs="$ac_file_inputs $ac_f"
14060 # Let's still pretend it is `configure' which instantiates (i.e., don't
14061 # use $as_me), people would be surprised to read:
14062 # /* config.h. Generated by config.status. */
14063 configure_input="Generated from "`IFS=:
14064 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14065 if test x"$ac_file" != x-; then
14066 configure_input="$ac_file. $configure_input"
14067 { echo "$as_me:$LINENO: creating $ac_file" >&5
14068 echo "$as_me: creating $ac_file" >&6;}
14072 *:-:* | *:-) cat >"$tmp/stdin";;
14077 ac_dir=`$as_dirname -- "$ac_file" ||
14078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14079 X"$ac_file" : 'X\(//\)[^/]' \| \
14080 X"$ac_file" : 'X\(//\)$' \| \
14081 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14087 /^X\(\/\/\)[^/].*/{
14102 -*) as_dir=./$as_dir;;
14104 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14108 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14109 *) as_qdir=$as_dir;;
14111 as_dirs="'$as_qdir' $as_dirs"
14112 as_dir=`$as_dirname -- "$as_dir" ||
14113 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14114 X"$as_dir" : 'X\(//\)[^/]' \| \
14115 X"$as_dir" : 'X\(//\)$' \| \
14116 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14122 /^X\(\/\/\)[^/].*/{
14135 test -d "$as_dir" && break
14137 test -z "$as_dirs" || eval "mkdir $as_dirs"
14138 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14139 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14140 { (exit 1); exit 1; }; }; }
14144 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14146 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14147 # A ".." for each directory in $ac_dir_suffix.
14148 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14149 case $ac_top_builddir_sub in
14150 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14151 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14154 ac_abs_top_builddir=$ac_pwd
14155 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14156 # for backward compatibility:
14157 ac_top_builddir=$ac_top_build_prefix
14160 .) # We are building in place.
14162 ac_top_srcdir=$ac_top_builddir_sub
14163 ac_abs_top_srcdir=$ac_pwd ;;
14164 [\\/]* | ?:[\\/]* ) # Absolute name.
14165 ac_srcdir=$srcdir$ac_dir_suffix;
14166 ac_top_srcdir=$srcdir
14167 ac_abs_top_srcdir=$srcdir ;;
14168 *) # Relative name.
14169 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14170 ac_top_srcdir=$ac_top_build_prefix$srcdir
14171 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14173 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14183 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14184 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14186 ac_MKDIR_P=$MKDIR_P
14188 [\\/$]* | ?:[\\/]* ) ;;
14189 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14193 cat >>$CONFIG_STATUS <<\_ACEOF
14194 # If the template does not know about datarootdir, expand it.
14195 # FIXME: This hack should be removed a few years after 2.60.
14196 ac_datarootdir_hack=; ac_datarootdir_seen=
14198 case `sed -n '/datarootdir/ {
14207 ' $ac_file_inputs` in
14208 *datarootdir*) ac_datarootdir_seen=yes;;
14209 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14210 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14211 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14213 cat >>$CONFIG_STATUS <<_ACEOF
14214 ac_datarootdir_hack='
14215 s&@datadir@&$datadir&g
14216 s&@docdir@&$docdir&g
14217 s&@infodir@&$infodir&g
14218 s&@localedir@&$localedir&g
14219 s&@mandir@&$mandir&g
14220 s&\\\${datarootdir}&$datarootdir&g' ;;
14224 # Neutralize VPATH when `$srcdir' = `.'.
14225 # Shell code in configure.ac might set extrasub.
14226 # FIXME: do we really want to maintain this feature?
14227 cat >>$CONFIG_STATUS <<_ACEOF
14231 cat >>$CONFIG_STATUS <<\_ACEOF
14233 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14234 s&@configure_input@&$configure_input&;t t
14235 s&@top_builddir@&$ac_top_builddir_sub&;t t
14236 s&@srcdir@&$ac_srcdir&;t t
14237 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14238 s&@top_srcdir@&$ac_top_srcdir&;t t
14239 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14240 s&@builddir@&$ac_builddir&;t t
14241 s&@abs_builddir@&$ac_abs_builddir&;t t
14242 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14243 s&@INSTALL@&$ac_INSTALL&;t t
14244 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14245 $ac_datarootdir_hack
14246 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
14248 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14249 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14250 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14251 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14252 which seems to be undefined. Please make sure it is defined." >&5
14253 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14254 which seems to be undefined. Please make sure it is defined." >&2;}
14258 -) cat "$tmp/out"; rm -f "$tmp/out";;
14259 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14268 # Transform confdefs.h into a sed script `conftest.defines', that
14269 # substitutes the proper values into config.h.in to produce config.h.
14270 rm -f conftest.defines conftest.tail
14271 # First, append a space to every undef/define line, to ease matching.
14272 echo 's/$/ /' >conftest.defines
14273 # Then, protect against being on the right side of a sed subst, or in
14274 # an unquoted here document, in config.status. If some macros were
14275 # called several times there might be several #defines for the same
14276 # symbol, which is useless. But do not sort them, since the last
14277 # AC_DEFINE must be honored.
14278 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14279 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14280 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14281 # PARAMS is the parameter list in the macro definition--in most cases, it's
14282 # just an empty string.
14283 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14284 ac_dB='\\)[ (].*,\\1define\\2'
14292 s/^[ ]*#[ ]*define[ ][ ]*//
14297 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14298 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14299 ' >>conftest.defines
14301 # Remove the space that was appended to ease matching.
14302 # Then replace #undef with comments. This is necessary, for
14303 # example, in the case of _POSIX_SOURCE, which is predefined and required
14304 # on some systems where configure will not decide to define it.
14305 # (The regexp can be short, since the line contains either #define or #undef.)
14307 s,^[ #]*u.*,/* & */,' >>conftest.defines
14309 # Break up conftest.defines:
14310 ac_max_sed_lines=50
14312 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14313 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14314 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14316 ac_in='$ac_file_inputs'
14317 ac_out='"$tmp/out1"'
14318 ac_nxt='"$tmp/out2"'
14322 # Write a here document:
14323 cat >>$CONFIG_STATUS <<_ACEOF
14324 # First, check the format of the line:
14325 cat >"\$tmp/defines.sed" <<\\CEOF
14326 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14327 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14331 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14333 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14334 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14335 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14336 grep . conftest.tail >/dev/null || break
14337 rm -f conftest.defines
14338 mv conftest.tail conftest.defines
14340 rm -f conftest.defines conftest.tail
14342 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14343 cat >>$CONFIG_STATUS <<\_ACEOF
14344 if test x"$ac_file" != x-; then
14345 echo "/* $configure_input */" >"$tmp/config.h"
14346 cat "$ac_result" >>"$tmp/config.h"
14347 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14348 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14349 echo "$as_me: $ac_file is unchanged" >&6;}
14352 mv "$tmp/config.h" $ac_file
14355 echo "/* $configure_input */"
14359 # Compute $ac_file's index in $config_headers.
14362 for _am_header in $config_headers :; do
14363 case $_am_header in
14364 $_am_arg | $_am_arg:* )
14367 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14370 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14371 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14372 X"$_am_arg" : 'X\(//\)[^/]' \| \
14373 X"$_am_arg" : 'X\(//\)$' \| \
14374 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14380 /^X\(\/\/\)[^/].*/{
14392 s/.*/./; q'`/stamp-h$_am_stamp_count
14395 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14396 echo "$as_me: executing $ac_file commands" >&6;}
14401 case $ac_file$ac_mode in
14402 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14403 # Strip MF so we end up with the name of the file.
14404 mf=`echo "$mf" | sed -e 's/:.*$//'`
14405 # Check whether this is an Automake generated Makefile or not.
14406 # We used to match only the files named `Makefile.in', but
14407 # some people rename them; so instead we look at the file content.
14408 # Grep'ing the first line is not enough: some people post-process
14409 # each Makefile.in and add a new line on top of each file to say so.
14410 # Grep'ing the whole file is not good either: AIX grep has a line
14411 # limit of 2048, but all sed's we know have understand at least 4000.
14412 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14413 dirpart=`$as_dirname -- "$mf" ||
14414 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14415 X"$mf" : 'X\(//\)[^/]' \| \
14416 X"$mf" : 'X\(//\)$' \| \
14417 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14423 /^X\(\/\/\)[^/].*/{
14439 # Extract the definition of DEPDIR, am__include, and am__quote
14440 # from the Makefile without running `make'.
14441 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14442 test -z "$DEPDIR" && continue
14443 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14444 test -z "am__include" && continue
14445 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14446 # When using ansi2knr, U may be empty or an underscore; expand it
14447 U=`sed -n 's/^U = //p' < "$mf"`
14448 # Find all dependency output files, they are included files with
14449 # $(DEPDIR) in their names. We invoke sed twice because it is the
14450 # simplest approach to changing $(DEPDIR) to its actual value in the
14452 for file in `sed -n "
14453 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14454 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14455 # Make sure the directory exists.
14456 test -f "$dirpart/$file" && continue
14457 fdir=`$as_dirname -- "$file" ||
14458 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14459 X"$file" : 'X\(//\)[^/]' \| \
14460 X"$file" : 'X\(//\)$' \| \
14461 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14467 /^X\(\/\/\)[^/].*/{
14480 { as_dir=$dirpart/$fdir
14482 -*) as_dir=./$as_dir;;
14484 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14488 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14489 *) as_qdir=$as_dir;;
14491 as_dirs="'$as_qdir' $as_dirs"
14492 as_dir=`$as_dirname -- "$as_dir" ||
14493 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14494 X"$as_dir" : 'X\(//\)[^/]' \| \
14495 X"$as_dir" : 'X\(//\)$' \| \
14496 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14502 /^X\(\/\/\)[^/].*/{
14515 test -d "$as_dir" && break
14517 test -z "$as_dirs" || eval "mkdir $as_dirs"
14518 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14519 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14520 { (exit 1); exit 1; }; }; }
14521 # echo "creating $dirpart/$file"
14522 echo '# dummy' > "$dirpart/$file"
14528 # See if we are running on zsh, and set the options which allow our
14529 # commands through without removal of \ escapes.
14530 if test -n "${ZSH_VERSION+set}" ; then
14531 setopt NO_GLOB_SUBST
14534 cfgfile="${ofile}T"
14535 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14538 cat <<_LT_EOF >> "$cfgfile"
14541 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14542 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14543 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14544 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14546 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14547 # 2006, 2007, 2008 Free Software Foundation, Inc.
14548 # Written by Gordon Matzigkeit, 1996
14550 # This file is part of GNU Libtool.
14552 # GNU Libtool is free software; you can redistribute it and/or
14553 # modify it under the terms of the GNU General Public License as
14554 # published by the Free Software Foundation; either version 2 of
14555 # the License, or (at your option) any later version.
14557 # As a special exception to the GNU General Public License,
14558 # if you distribute this file as part of a program or library that
14559 # is built using GNU Libtool, you may include this file under the
14560 # same distribution terms that you use for the rest of that program.
14562 # GNU Libtool is distributed in the hope that it will be useful,
14563 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14564 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14565 # GNU General Public License for more details.
14567 # You should have received a copy of the GNU General Public License
14568 # along with GNU Libtool; see the file COPYING. If not, a copy
14569 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14570 # obtained by writing to the Free Software Foundation, Inc.,
14571 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14574 # The names of the tagged configurations supported by this script.
14577 # ### BEGIN LIBTOOL CONFIG
14579 # Which release of libtool.m4 was used?
14580 macro_version=$macro_version
14581 macro_revision=$macro_revision
14583 # Assembler program.
14586 # DLL creation program.
14589 # Object dumper program.
14592 # Whether or not to build shared libraries.
14593 build_libtool_libs=$enable_shared
14595 # Whether or not to build static libraries.
14596 build_old_libs=$enable_static
14598 # What type of objects to build.
14601 # Whether or not to optimize for fast installation.
14602 fast_install=$enable_fast_install
14605 host_alias=$host_alias
14609 # The build system.
14610 build_alias=$build_alias
14614 # A sed program that does not truncate output.
14617 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14618 Xsed="\$SED -e 1s/^X//"
14620 # A grep program that handles long lines.
14626 # A literal string matcher.
14629 # A BSD- or MS-compatible name lister.
14632 # Whether we need soft or hard links.
14635 # What is the maximum length of a command?
14636 max_cmd_len=$max_cmd_len
14638 # Object file suffix (normally "o").
14641 # Executable file suffix (normally "").
14644 # whether the shell understands "unset".
14647 # turn spaces into newlines.
14650 # turn newlines into spaces.
14653 # How to create reloadable object files.
14654 reload_flag=$lt_reload_flag
14655 reload_cmds=$lt_reload_cmds
14657 # Method to check whether dependent libraries are shared objects.
14658 deplibs_check_method=$lt_deplibs_check_method
14660 # Command to use when deplibs_check_method == "file_magic".
14661 file_magic_cmd=$lt_file_magic_cmd
14665 AR_FLAGS=$lt_AR_FLAGS
14667 # A symbol stripping program.
14670 # Commands used to install an old-style archive.
14672 old_postinstall_cmds=$lt_old_postinstall_cmds
14673 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14678 # LTCC compiler flags.
14679 LTCFLAGS=$lt_CFLAGS
14681 # Take the output of nm and produce a listing of raw symbols and C names.
14682 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14684 # Transform the output of nm in a proper C declaration.
14685 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14687 # Transform the output of nm in a C name address pair.
14688 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14690 # Transform the output of nm in a C name address pair when lib prefix is needed.
14691 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14693 # The name of the directory that contains temporary libtool files.
14696 # Shell to use when invoking shell scripts.
14699 # An echo program that does not interpret backslashes.
14702 # Used to examine libraries when file_magic_cmd begins with "file".
14703 MAGIC_CMD=$MAGIC_CMD
14705 # Must we lock files when doing compilation?
14706 need_locks=$lt_need_locks
14708 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14709 DSYMUTIL=$lt_DSYMUTIL
14711 # Tool to change global to local symbols on Mac OS X.
14714 # Tool to manipulate fat objects and archives on Mac OS X.
14717 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14720 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14721 OTOOL64=$lt_OTOOL64
14723 # Old archive suffix (normally "a").
14726 # Shared library suffix (normally ".so").
14727 shrext_cmds=$lt_shrext_cmds
14729 # The commands to extract the exported symbol list from a shared archive.
14730 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14732 # Variables whose values should be saved in libtool wrapper scripts and
14733 # restored at link time.
14734 variables_saved_for_relink=$lt_variables_saved_for_relink
14736 # Do we need the "lib" prefix for modules?
14737 need_lib_prefix=$need_lib_prefix
14739 # Do we need a version for libraries?
14740 need_version=$need_version
14742 # Library versioning type.
14743 version_type=$version_type
14745 # Shared library runtime path variable.
14746 runpath_var=$runpath_var
14748 # Shared library path variable.
14749 shlibpath_var=$shlibpath_var
14751 # Is shlibpath searched before the hard-coded library search path?
14752 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14754 # Format of library name prefix.
14755 libname_spec=$lt_libname_spec
14757 # List of archive names. First name is the real one, the rest are links.
14758 # The last name is the one that the linker finds with -lNAME
14759 library_names_spec=$lt_library_names_spec
14761 # The coded name of the library, if different from the real name.
14762 soname_spec=$lt_soname_spec
14764 # Command to use after installation of a shared archive.
14765 postinstall_cmds=$lt_postinstall_cmds
14767 # Command to use after uninstallation of a shared archive.
14768 postuninstall_cmds=$lt_postuninstall_cmds
14770 # Commands used to finish a libtool library installation in a directory.
14771 finish_cmds=$lt_finish_cmds
14773 # As "finish_cmds", except a single script fragment to be evaled but
14775 finish_eval=$lt_finish_eval
14777 # Whether we should hardcode library paths into libraries.
14778 hardcode_into_libs=$hardcode_into_libs
14780 # Compile-time system search path for libraries.
14781 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14783 # Run-time system search path for libraries.
14784 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14786 # Whether dlopen is supported.
14787 dlopen_support=$enable_dlopen
14789 # Whether dlopen of programs is supported.
14790 dlopen_self=$enable_dlopen_self
14792 # Whether dlopen of statically linked programs is supported.
14793 dlopen_self_static=$enable_dlopen_self_static
14795 # Commands to strip libraries.
14796 old_striplib=$lt_old_striplib
14797 striplib=$lt_striplib
14800 # The linker used to build libraries.
14803 # Commands used to build an old-style archive.
14804 old_archive_cmds=$lt_old_archive_cmds
14806 # A language specific compiler.
14809 # Is the compiler the GNU compiler?
14812 # Compiler flag to turn off builtin functions.
14813 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14815 # How to pass a linker flag through the compiler.
14816 wl=$lt_lt_prog_compiler_wl
14818 # Additional compiler flags for building library objects.
14819 pic_flag=$lt_lt_prog_compiler_pic
14821 # Compiler flag to prevent dynamic linking.
14822 link_static_flag=$lt_lt_prog_compiler_static
14824 # Does compiler simultaneously support -c and -o options?
14825 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14827 # Whether or not to add -lc for building shared libraries.
14828 build_libtool_need_lc=$archive_cmds_need_lc
14830 # Whether or not to disallow shared libs when runtime libs are static.
14831 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14833 # Compiler flag to allow reflexive dlopens.
14834 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14836 # Compiler flag to generate shared objects directly from archives.
14837 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14839 # Whether the compiler copes with passing no objects directly.
14840 compiler_needs_object=$lt_compiler_needs_object
14842 # Create an old-style archive from a shared archive.
14843 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14845 # Create a temporary old-style archive to link instead of a shared archive.
14846 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14848 # Commands used to build a shared archive.
14849 archive_cmds=$lt_archive_cmds
14850 archive_expsym_cmds=$lt_archive_expsym_cmds
14852 # Commands used to build a loadable module if different from building
14853 # a shared archive.
14854 module_cmds=$lt_module_cmds
14855 module_expsym_cmds=$lt_module_expsym_cmds
14857 # Whether we are building with GNU ld or not.
14858 with_gnu_ld=$lt_with_gnu_ld
14860 # Flag that allows shared libraries with undefined symbols to be built.
14861 allow_undefined_flag=$lt_allow_undefined_flag
14863 # Flag that enforces no undefined symbols.
14864 no_undefined_flag=$lt_no_undefined_flag
14866 # Flag to hardcode \$libdir into a binary during linking.
14867 # This must work even if \$libdir does not exist
14868 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14870 # If ld is used when linking, flag to hardcode \$libdir into a binary
14871 # during linking. This must work even if \$libdir does not exist.
14872 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14874 # Whether we need a single "-rpath" flag with a separated argument.
14875 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14877 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14878 # DIR into the resulting binary.
14879 hardcode_direct=$hardcode_direct
14881 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14882 # DIR into the resulting binary and the resulting library dependency is
14883 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14884 # library is relocated.
14885 hardcode_direct_absolute=$hardcode_direct_absolute
14887 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14888 # into the resulting binary.
14889 hardcode_minus_L=$hardcode_minus_L
14891 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14892 # into the resulting binary.
14893 hardcode_shlibpath_var=$hardcode_shlibpath_var
14895 # Set to "yes" if building a shared library automatically hardcodes DIR
14896 # into the library and all subsequent libraries and executables linked
14898 hardcode_automatic=$hardcode_automatic
14900 # Set to yes if linker adds runtime paths of dependent libraries
14901 # to runtime path list.
14902 inherit_rpath=$inherit_rpath
14904 # Whether libtool must link a program against all its dependency libraries.
14905 link_all_deplibs=$link_all_deplibs
14907 # Fix the shell variable \$srcfile for the compiler.
14908 fix_srcfile_path=$lt_fix_srcfile_path
14910 # Set to "yes" if exported symbols are required.
14911 always_export_symbols=$always_export_symbols
14913 # The commands to list exported symbols.
14914 export_symbols_cmds=$lt_export_symbols_cmds
14916 # Symbols that should not be listed in the preloaded symbols.
14917 exclude_expsyms=$lt_exclude_expsyms
14919 # Symbols that must always be exported.
14920 include_expsyms=$lt_include_expsyms
14922 # Commands necessary for linking programs (against libraries) with templates.
14923 prelink_cmds=$lt_prelink_cmds
14925 # Specify filename containing input files.
14926 file_list_spec=$lt_file_list_spec
14928 # How to hardcode a shared library path into an executable.
14929 hardcode_action=$hardcode_action
14931 # ### END LIBTOOL CONFIG
14937 cat <<\_LT_EOF >> "$cfgfile"
14938 # AIX sometimes has problems with the GCC collect2 program. For some
14939 # reason, if we set the COLLECT_NAMES environment variable, the problems
14940 # vanish in a puff of smoke.
14941 if test "X${COLLECT_NAMES+set}" != Xset; then
14943 export COLLECT_NAMES
14950 ltmain="$ac_aux_dir/ltmain.sh"
14953 # We use sed instead of cat because bash on DJGPP gets confused if
14954 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14955 # text mode, it properly converts lines to CR/LF. This bash problem
14956 # is reportedly fixed, but why not run on old versions too?
14957 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14958 || (rm -f "$cfgfile"; exit 1)
14962 cat << \_LT_EOF >> "$cfgfile"
14964 # func_dirname file append nondir_replacement
14965 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14966 # otherwise set result to NONDIR_REPLACEMENT.
14970 */*) func_dirname_result="${1%/*}${2}" ;;
14971 * ) func_dirname_result="${3}" ;;
14975 # func_basename file
14978 func_basename_result="${1##*/}"
14981 # func_dirname_and_basename file append nondir_replacement
14982 # perform func_basename and func_dirname in a single function
14984 # dirname: Compute the dirname of FILE. If nonempty,
14985 # add APPEND to the result, otherwise set result
14986 # to NONDIR_REPLACEMENT.
14987 # value returned in "$func_dirname_result"
14988 # basename: Compute filename of FILE.
14989 # value retuned in "$func_basename_result"
14990 # Implementation must be kept synchronized with func_dirname
14991 # and func_basename. For efficiency, we do not delegate to
14992 # those functions but instead duplicate the functionality here.
14993 func_dirname_and_basename ()
14996 */*) func_dirname_result="${1%/*}${2}" ;;
14997 * ) func_dirname_result="${3}" ;;
14999 func_basename_result="${1##*/}"
15002 # func_stripname prefix suffix name
15003 # strip PREFIX and SUFFIX off of NAME.
15004 # PREFIX and SUFFIX must not contain globbing or regex special
15005 # characters, hashes, percent signs, but SUFFIX may contain a leading
15006 # dot (in which case that matches only a dot).
15009 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15010 # positional parameters, so assign one to ordinary parameter first.
15011 func_stripname_result=${3}
15012 func_stripname_result=${func_stripname_result#"${1}"}
15013 func_stripname_result=${func_stripname_result%"${2}"}
15019 func_opt_split_opt=${1%%=*}
15020 func_opt_split_arg=${1#*=}
15027 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15028 *) func_lo2o_result=${1} ;;
15032 # func_xform libobj-or-source
15035 func_xform_result=${1%.*}.lo
15038 # func_arith arithmetic-term...
15041 func_arith_result=$(( $* ))
15045 # STRING may not start with a hyphen.
15048 func_len_result=${#1}
15053 *) # Bourne compatible functions.
15054 cat << \_LT_EOF >> "$cfgfile"
15056 # func_dirname file append nondir_replacement
15057 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15058 # otherwise set result to NONDIR_REPLACEMENT.
15061 # Extract subdirectory from the argument.
15062 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15063 if test "X$func_dirname_result" = "X${1}"; then
15064 func_dirname_result="${3}"
15066 func_dirname_result="$func_dirname_result${2}"
15070 # func_basename file
15073 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15077 # func_stripname prefix suffix name
15078 # strip PREFIX and SUFFIX off of NAME.
15079 # PREFIX and SUFFIX must not contain globbing or regex special
15080 # characters, hashes, percent signs, but SUFFIX may contain a leading
15081 # dot (in which case that matches only a dot).
15082 # func_strip_suffix prefix name
15086 .*) func_stripname_result=`$ECHO "X${3}" \
15087 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15088 *) func_stripname_result=`$ECHO "X${3}" \
15089 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15094 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15095 my_sed_long_arg='1s/^-[^=]*=//'
15100 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15101 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15107 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15110 # func_xform libobj-or-source
15113 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15116 # func_arith arithmetic-term...
15119 func_arith_result=`expr "$@"`
15123 # STRING may not start with a hyphen.
15126 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15132 case $lt_shell_append in
15134 cat << \_LT_EOF >> "$cfgfile"
15136 # func_append var value
15137 # Append VALUE to the end of shell variable VAR.
15145 cat << \_LT_EOF >> "$cfgfile"
15147 # func_append var value
15148 # Append VALUE to the end of shell variable VAR.
15159 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15160 || (rm -f "$cfgfile"; exit 1)
15162 mv -f "$cfgfile" "$ofile" ||
15163 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15172 { (exit 0); exit 0; }
15174 chmod +x $CONFIG_STATUS
15175 ac_clean_files=$ac_clean_files_save
15178 # configure is writing to config.log, and then calls config.status.
15179 # config.status does its own redirection, appending to config.log.
15180 # Unfortunately, on DOS this fails, as config.log is still kept open
15181 # by configure, so config.status won't be able to write to it; its
15182 # output is simply discarded. So we exec the FD to /dev/null,
15183 # effectively closing config.log, so it can be properly (re)opened and
15184 # appended to by config.status. When coming back to configure, we
15185 # need to make the FD available again.
15186 if test "$no_create" != yes; then
15188 ac_config_status_args=
15189 test "$silent" = yes &&
15190 ac_config_status_args="$ac_config_status_args --quiet"
15192 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15194 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15195 # would make configure fail if this is the last instruction.
15196 $ac_cs_success || { (exit 1); exit 1; }