2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for newlib 1.17.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo; then
590 # Avoid inline document here, it may be left over
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $ECHO works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
613 if test -z "$lt_ECHO"; then
614 if test "X${echo_test_string+set}" != Xset; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # The Solaris, AIX, and Digital Unix default echo programs unquote
632 # backslashes. This makes it impossible to quote backslashes using
633 # echo "$something" | sed 's/\\/\\\\/g'
635 # So, first we look for a working echo in the user's PATH.
637 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638 for dir in $PATH /usr/ucb; do
640 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
650 if test "X$ECHO" = Xecho; then
651 # We didn't find a better echo, so look for alternatives.
652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 # This shell has a builtin print -r that does the trick.
657 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658 test "X$CONFIG_SHELL" != X/bin/ksh; then
659 # If we have ksh, try running configure again with it.
660 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661 export ORIGINAL_CONFIG_SHELL
662 CONFIG_SHELL=/bin/ksh
664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
673 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 test "X$echo_testing_string" = 'X\t' &&
675 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
679 SHELL="$CONFIG_SHELL"
681 ECHO="$CONFIG_SHELL $0 --fallback-echo"
682 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 test "X$echo_testing_string" = 'X\t' &&
684 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 test "X$echo_testing_string" = "X$echo_test_string"; then
686 ECHO="$CONFIG_SHELL $0 --fallback-echo"
688 # maybe with a smaller string...
691 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
699 if test "$prev" != 'sed 50q "$0"'; then
700 echo_test_string=`eval $prev`
701 export echo_test_string
702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704 # Oops. We lost completely, so just stick with echo.
713 # Copy echo and quote the copy suitably for passing to libtool from
714 # the Makefile, instead of quoting the original, which is used later.
716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723 exec 7<&0 </dev/null 6>&1
726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727 # so uname gets run too.
728 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
733 ac_default_prefix=/usr/local
735 ac_config_libobj_dir=.
741 SHELL=${CONFIG_SHELL-/bin/sh}
743 # Identity of this package.
744 PACKAGE_NAME='newlib'
745 PACKAGE_TARNAME='newlib'
746 PACKAGE_VERSION='1.17.0'
747 PACKAGE_STRING='newlib 1.17.0'
750 ac_unique_file="i386"
751 # Factoring default headers for most tests.
752 ac_includes_default="\
754 #ifdef HAVE_SYS_TYPES_H
755 # include <sys/types.h>
757 #ifdef HAVE_SYS_STAT_H
758 # include <sys/stat.h>
764 # ifdef HAVE_STDLIB_H
769 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
774 #ifdef HAVE_STRINGS_H
775 # include <strings.h>
777 #ifdef HAVE_INTTYPES_H
778 # include <inttypes.h>
787 enable_option_checking=no
788 ac_subst_vars='am__EXEEXT_FALSE
792 HAVE_MACHINE_DIR_FALSE
793 HAVE_MACHINE_DIR_TRUE
843 MAINTAINER_MODE_FALSE
867 INSTALL_STRIP_PROGRAM
891 MAY_SUPPLY_SYSCALLS_FALSE
892 MAY_SUPPLY_SYSCALLS_TRUE
920 program_transform_name
932 enable_option_checking
934 enable_target_optspace
935 enable_malloc_debugging
936 enable_newlib_multithread
938 enable_newlib_elix_level
939 enable_newlib_io_float
940 enable_newlib_supplied_syscalls
941 enable_dependency_tracking
942 enable_maintainer_mode
950 ac_precious_vars='build_alias
961 ac_subdirs_all='i386'
963 # Initialize some variables set by options.
965 ac_init_version=false
966 ac_unrecognized_opts=
968 # The variables have the same names as the options, with
969 # dashes changed to underlines.
977 program_transform_name=s,x,x,
985 # Installation directory options.
986 # These are left unexpanded so users can "make install exec_prefix=/foo"
987 # and all the variables that are supposed to be based on exec_prefix
988 # by default will actually change.
989 # Use braces instead of parens because sh, perl, etc. also accept them.
990 # (The list follows the same order as the GNU Coding Standards.)
991 bindir='${exec_prefix}/bin'
992 sbindir='${exec_prefix}/sbin'
993 libexecdir='${exec_prefix}/libexec'
994 datarootdir='${prefix}/share'
995 datadir='${datarootdir}'
996 sysconfdir='${prefix}/etc'
997 sharedstatedir='${prefix}/com'
998 localstatedir='${prefix}/var'
999 includedir='${prefix}/include'
1000 oldincludedir='/usr/include'
1001 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1002 infodir='${datarootdir}/info'
1007 libdir='${exec_prefix}/lib'
1008 localedir='${datarootdir}/locale'
1009 mandir='${datarootdir}/man'
1015 # If the previous option needs an argument, assign it.
1016 if test -n "$ac_prev"; then
1017 eval $ac_prev=\$ac_option
1023 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1027 # Accept the important Cygnus configure options, so we can diagnose typos.
1029 case $ac_dashdash$ac_option in
1033 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1035 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1036 bindir=$ac_optarg ;;
1038 -build | --build | --buil | --bui | --bu)
1039 ac_prev=build_alias ;;
1040 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1041 build_alias=$ac_optarg ;;
1043 -cache-file | --cache-file | --cache-fil | --cache-fi \
1044 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1045 ac_prev=cache_file ;;
1046 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1047 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1048 cache_file=$ac_optarg ;;
1050 --config-cache | -C)
1051 cache_file=config.cache ;;
1053 -datadir | --datadir | --datadi | --datad)
1055 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1056 datadir=$ac_optarg ;;
1058 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1059 | --dataroo | --dataro | --datar)
1060 ac_prev=datarootdir ;;
1061 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1062 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1063 datarootdir=$ac_optarg ;;
1065 -disable-* | --disable-*)
1066 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_useropt_orig=$ac_useropt
1072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_$ac_useropt"
1077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1078 ac_unrecognized_sep=', ';;
1080 eval enable_$ac_useropt=no ;;
1082 -docdir | --docdir | --docdi | --doc | --do)
1084 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1085 docdir=$ac_optarg ;;
1087 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1089 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1090 dvidir=$ac_optarg ;;
1092 -enable-* | --enable-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1097 { (exit 1); exit 1; }; }
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1102 "enable_$ac_useropt"
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1107 eval enable_$ac_useropt=\$ac_optarg ;;
1109 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1110 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1111 | --exec | --exe | --ex)
1112 ac_prev=exec_prefix ;;
1113 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1114 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1115 | --exec=* | --exe=* | --ex=*)
1116 exec_prefix=$ac_optarg ;;
1118 -gas | --gas | --ga | --g)
1119 # Obsolete; use --with-gas.
1122 -help | --help | --hel | --he | -h)
1123 ac_init_help=long ;;
1124 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1125 ac_init_help=recursive ;;
1126 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1127 ac_init_help=short ;;
1129 -host | --host | --hos | --ho)
1130 ac_prev=host_alias ;;
1131 -host=* | --host=* | --hos=* | --ho=*)
1132 host_alias=$ac_optarg ;;
1134 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1136 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1138 htmldir=$ac_optarg ;;
1140 -includedir | --includedir | --includedi | --included | --include \
1141 | --includ | --inclu | --incl | --inc)
1142 ac_prev=includedir ;;
1143 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1144 | --includ=* | --inclu=* | --incl=* | --inc=*)
1145 includedir=$ac_optarg ;;
1147 -infodir | --infodir | --infodi | --infod | --info | --inf)
1149 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1150 infodir=$ac_optarg ;;
1152 -libdir | --libdir | --libdi | --libd)
1154 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1155 libdir=$ac_optarg ;;
1157 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1158 | --libexe | --libex | --libe)
1159 ac_prev=libexecdir ;;
1160 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1161 | --libexe=* | --libex=* | --libe=*)
1162 libexecdir=$ac_optarg ;;
1164 -localedir | --localedir | --localedi | --localed | --locale)
1165 ac_prev=localedir ;;
1166 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1167 localedir=$ac_optarg ;;
1169 -localstatedir | --localstatedir | --localstatedi | --localstated \
1170 | --localstate | --localstat | --localsta | --localst | --locals)
1171 ac_prev=localstatedir ;;
1172 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1173 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1174 localstatedir=$ac_optarg ;;
1176 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1178 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1179 mandir=$ac_optarg ;;
1181 -nfp | --nfp | --nf)
1182 # Obsolete; use --without-fp.
1185 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1186 | --no-cr | --no-c | -n)
1189 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1190 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1193 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1194 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1195 | --oldin | --oldi | --old | --ol | --o)
1196 ac_prev=oldincludedir ;;
1197 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1198 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1199 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1200 oldincludedir=$ac_optarg ;;
1202 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1204 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1205 prefix=$ac_optarg ;;
1207 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1208 | --program-pre | --program-pr | --program-p)
1209 ac_prev=program_prefix ;;
1210 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1211 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1212 program_prefix=$ac_optarg ;;
1214 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1215 | --program-suf | --program-su | --program-s)
1216 ac_prev=program_suffix ;;
1217 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1218 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1219 program_suffix=$ac_optarg ;;
1221 -program-transform-name | --program-transform-name \
1222 | --program-transform-nam | --program-transform-na \
1223 | --program-transform-n | --program-transform- \
1224 | --program-transform | --program-transfor \
1225 | --program-transfo | --program-transf \
1226 | --program-trans | --program-tran \
1227 | --progr-tra | --program-tr | --program-t)
1228 ac_prev=program_transform_name ;;
1229 -program-transform-name=* | --program-transform-name=* \
1230 | --program-transform-nam=* | --program-transform-na=* \
1231 | --program-transform-n=* | --program-transform-=* \
1232 | --program-transform=* | --program-transfor=* \
1233 | --program-transfo=* | --program-transf=* \
1234 | --program-trans=* | --program-tran=* \
1235 | --progr-tra=* | --program-tr=* | --program-t=*)
1236 program_transform_name=$ac_optarg ;;
1238 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1240 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1241 pdfdir=$ac_optarg ;;
1243 -psdir | --psdir | --psdi | --psd | --ps)
1245 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1248 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1249 | -silent | --silent | --silen | --sile | --sil)
1252 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1254 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1256 sbindir=$ac_optarg ;;
1258 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1259 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1260 | --sharedst | --shareds | --shared | --share | --shar \
1262 ac_prev=sharedstatedir ;;
1263 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1264 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1265 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1267 sharedstatedir=$ac_optarg ;;
1269 -site | --site | --sit)
1271 -site=* | --site=* | --sit=*)
1274 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1276 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1277 srcdir=$ac_optarg ;;
1279 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1280 | --syscon | --sysco | --sysc | --sys | --sy)
1281 ac_prev=sysconfdir ;;
1282 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1283 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1284 sysconfdir=$ac_optarg ;;
1286 -target | --target | --targe | --targ | --tar | --ta | --t)
1287 ac_prev=target_alias ;;
1288 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1289 target_alias=$ac_optarg ;;
1291 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1294 -version | --version | --versio | --versi | --vers | -V)
1295 ac_init_version=: ;;
1298 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1299 # Reject names that are not valid shell variable names.
1300 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1301 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1302 { (exit 1); exit 1; }; }
1303 ac_useropt_orig=$ac_useropt
1304 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1305 case $ac_user_opts in
1309 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1310 ac_unrecognized_sep=', ';;
1312 eval with_$ac_useropt=\$ac_optarg ;;
1314 -without-* | --without-*)
1315 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1316 # Reject names that are not valid shell variable names.
1317 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1318 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1319 { (exit 1); exit 1; }; }
1320 ac_useropt_orig=$ac_useropt
1321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 case $ac_user_opts in
1326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1327 ac_unrecognized_sep=', ';;
1329 eval with_$ac_useropt=no ;;
1332 # Obsolete; use --with-x.
1335 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1336 | --x-incl | --x-inc | --x-in | --x-i)
1337 ac_prev=x_includes ;;
1338 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1339 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1340 x_includes=$ac_optarg ;;
1342 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1343 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1344 ac_prev=x_libraries ;;
1345 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1346 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1347 x_libraries=$ac_optarg ;;
1349 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1350 Try \`$0 --help' for more information." >&2
1351 { (exit 1); exit 1; }; }
1355 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1356 # Reject names that are not valid shell variable names.
1357 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1358 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1359 { (exit 1); exit 1; }; }
1360 eval $ac_envvar=\$ac_optarg
1361 export $ac_envvar ;;
1364 # FIXME: should be removed in autoconf 3.0.
1365 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1366 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1367 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1368 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1374 if test -n "$ac_prev"; then
1375 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1376 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1377 { (exit 1); exit 1; }; }
1380 if test -n "$ac_unrecognized_opts"; then
1381 case $enable_option_checking in
1383 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1384 { (exit 1); exit 1; }; } ;;
1385 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1389 # Check all directory arguments for consistency.
1390 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1391 datadir sysconfdir sharedstatedir localstatedir includedir \
1392 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1393 libdir localedir mandir
1395 eval ac_val=\$$ac_var
1396 # Remove trailing slashes.
1399 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1400 eval $ac_var=\$ac_val;;
1402 # Be sure to have absolute directory names.
1404 [\\/$]* | ?:[\\/]* ) continue;;
1405 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1407 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1408 { (exit 1); exit 1; }; }
1411 # There might be people who depend on the old broken behavior: `$host'
1412 # used to hold the argument of --host etc.
1413 # FIXME: To remove some day.
1416 target=$target_alias
1418 # FIXME: To remove some day.
1419 if test "x$host_alias" != x; then
1420 if test "x$build_alias" = x; then
1421 cross_compiling=maybe
1422 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1423 If a cross compiler is detected then cross compile mode will be used." >&2
1424 elif test "x$build_alias" != "x$host_alias"; then
1430 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1432 test "$silent" = yes && exec 6>/dev/null
1435 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1436 ac_ls_di=`ls -di .` &&
1437 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1438 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1439 { (exit 1); exit 1; }; }
1440 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1441 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1442 { (exit 1); exit 1; }; }
1445 # Find the source files, if location was not specified.
1446 if test -z "$srcdir"; then
1447 ac_srcdir_defaulted=yes
1448 # Try the directory containing this script, then the parent directory.
1449 ac_confdir=`$as_dirname -- "$as_myself" ||
1450 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1451 X"$as_myself" : 'X\(//\)[^/]' \| \
1452 X"$as_myself" : 'X\(//\)$' \| \
1453 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1454 $as_echo X"$as_myself" |
1455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1473 if test ! -r "$srcdir/$ac_unique_file"; then
1477 ac_srcdir_defaulted=no
1479 if test ! -r "$srcdir/$ac_unique_file"; then
1480 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1481 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1482 { (exit 1); exit 1; }; }
1484 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1486 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1487 { (exit 1); exit 1; }; }
1489 # When building in place, set srcdir=.
1490 if test "$ac_abs_confdir" = "$ac_pwd"; then
1493 # Remove unnecessary trailing slashes from srcdir.
1494 # Double slashes in file names in object file debugging info
1495 # mess up M-x gdb in Emacs.
1497 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1499 for ac_var in $ac_precious_vars; do
1500 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1501 eval ac_env_${ac_var}_value=\$${ac_var}
1502 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1503 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1507 # Report the --help message.
1509 if test "$ac_init_help" = "long"; then
1510 # Omit some internal or obsolete options to make the list less imposing.
1511 # This message is too long to be a string in the A/UX 3.1 sh.
1513 \`configure' configures newlib 1.17.0 to adapt to many kinds of systems.
1515 Usage: $0 [OPTION]... [VAR=VALUE]...
1517 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1518 VAR=VALUE. See below for descriptions of some of the useful variables.
1520 Defaults for the options are specified in brackets.
1523 -h, --help display this help and exit
1524 --help=short display options specific to this package
1525 --help=recursive display the short help of all the included packages
1526 -V, --version display version information and exit
1527 -q, --quiet, --silent do not print \`checking...' messages
1528 --cache-file=FILE cache test results in FILE [disabled]
1529 -C, --config-cache alias for \`--cache-file=config.cache'
1530 -n, --no-create do not create output files
1531 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1533 Installation directories:
1534 --prefix=PREFIX install architecture-independent files in PREFIX
1535 [$ac_default_prefix]
1536 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1539 By default, \`make install' will install all the files in
1540 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1541 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1542 for instance \`--prefix=\$HOME'.
1544 For better control, use the options below.
1546 Fine tuning of the installation directories:
1547 --bindir=DIR user executables [EPREFIX/bin]
1548 --sbindir=DIR system admin executables [EPREFIX/sbin]
1549 --libexecdir=DIR program executables [EPREFIX/libexec]
1550 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1551 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1552 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1553 --libdir=DIR object code libraries [EPREFIX/lib]
1554 --includedir=DIR C header files [PREFIX/include]
1555 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1556 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1557 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1558 --infodir=DIR info documentation [DATAROOTDIR/info]
1559 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1560 --mandir=DIR man documentation [DATAROOTDIR/man]
1561 --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
1562 --htmldir=DIR html documentation [DOCDIR]
1563 --dvidir=DIR dvi documentation [DOCDIR]
1564 --pdfdir=DIR pdf documentation [DOCDIR]
1565 --psdir=DIR ps documentation [DOCDIR]
1571 --program-prefix=PREFIX prepend PREFIX to installed program names
1572 --program-suffix=SUFFIX append SUFFIX to installed program names
1573 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1576 --build=BUILD configure for building on BUILD [guessed]
1577 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1581 if test -n "$ac_init_help"; then
1582 case $ac_init_help in
1583 short | recursive ) echo "Configuration of newlib 1.17.0:";;
1588 --disable-option-checking ignore unrecognized --enable/--with options
1589 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1590 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1591 --enable-multilib build many library versions (default)
1592 --enable-target-optspace optimize for space
1593 --enable-malloc-debugging indicate malloc debugging requested
1594 --enable-newlib-multithread enable support for multiple threads
1595 --enable-newlib-iconv enable iconv library support
1596 --enable-newlib-elix-level supply desired elix library level (1-4)
1597 --disable-newlib-io-float disable printf/scanf family float support
1598 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1599 --disable-dependency-tracking speeds up one-time build
1600 --enable-dependency-tracking do not reject slow dependency extractors
1601 --enable-maintainer-mode enable make rules and dependencies not useful
1602 (and sometimes confusing) to the casual installer
1603 --enable-shared[=PKGS] build shared libraries [default=yes]
1604 --enable-static[=PKGS] build static libraries [default=yes]
1605 --enable-fast-install[=PKGS]
1606 optimize for fast installation [default=yes]
1607 --disable-libtool-lock avoid locking (might break parallel builds)
1610 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1611 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1612 --with-pic try to use only PIC/non-PIC objects [default=use
1614 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1616 Some influential environment variables:
1617 CCAS assembler compiler command (defaults to CC)
1618 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1619 CC C compiler command
1620 CFLAGS C compiler flags
1621 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1622 nonstandard directory <lib dir>
1623 LIBS libraries to pass to the linker, e.g. -l<library>
1624 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1625 you have headers in a nonstandard directory <include dir>
1628 Use these variables to override the choices made by `configure' or to help
1629 it to find libraries and programs with nonstandard names/locations.
1635 if test "$ac_init_help" = "recursive"; then
1636 # If there are subdirs, report their specific --help.
1637 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1638 test -d "$ac_dir" ||
1639 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1646 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1647 # A ".." for each directory in $ac_dir_suffix.
1648 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1649 case $ac_top_builddir_sub in
1650 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1654 ac_abs_top_builddir=$ac_pwd
1655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1656 # for backward compatibility:
1657 ac_top_builddir=$ac_top_build_prefix
1660 .) # We are building in place.
1662 ac_top_srcdir=$ac_top_builddir_sub
1663 ac_abs_top_srcdir=$ac_pwd ;;
1664 [\\/]* | ?:[\\/]* ) # Absolute name.
1665 ac_srcdir=$srcdir$ac_dir_suffix;
1666 ac_top_srcdir=$srcdir
1667 ac_abs_top_srcdir=$srcdir ;;
1669 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1670 ac_top_srcdir=$ac_top_build_prefix$srcdir
1671 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1675 cd "$ac_dir" || { ac_status=$?; continue; }
1676 # Check for guested configure.
1677 if test -f "$ac_srcdir/configure.gnu"; then
1679 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1680 elif test -f "$ac_srcdir/configure"; then
1682 $SHELL "$ac_srcdir/configure" --help=recursive
1684 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1686 cd "$ac_pwd" || { ac_status=$?; break; }
1690 test -n "$ac_init_help" && exit $ac_status
1691 if $ac_init_version; then
1693 newlib configure 1.17.0
1694 generated by GNU Autoconf 2.63
1696 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1697 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1698 This configure script is free software; the Free Software Foundation
1699 gives unlimited permission to copy, distribute and modify it.
1703 cat >config.log <<_ACEOF
1704 This file contains any messages produced by compilers while
1705 running configure, to aid debugging if configure makes a mistake.
1707 It was created by newlib $as_me 1.17.0, which was
1708 generated by GNU Autoconf 2.63. Invocation command line was
1720 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1721 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1722 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1723 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1724 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1726 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1727 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1729 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1730 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1731 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1732 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1733 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1734 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1735 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir=.
1744 $as_echo "PATH: $as_dir"
1760 # Keep a trace of the command line.
1761 # Strip out --no-create and --no-recursion so they do not pile up.
1762 # Strip out --silent because we don't want to record it for future runs.
1763 # Also quote any args containing shell meta-characters.
1764 # Make two passes to allow for proper duplicate-argument suppression.
1768 ac_must_keep_next=false
1774 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1775 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1776 | -silent | --silent | --silen | --sile | --sil)
1779 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1782 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1784 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1785 if test $ac_must_keep_next = true; then
1786 ac_must_keep_next=false # Got value, back to normal.
1789 *=* | --config-cache | -C | -disable-* | --disable-* \
1790 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1791 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1792 | -with-* | --with-* | -without-* | --without-* | --x)
1793 case "$ac_configure_args0 " in
1794 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1797 -* ) ac_must_keep_next=true ;;
1800 ac_configure_args="$ac_configure_args '$ac_arg'"
1805 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1806 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1808 # When interrupted or exit'd, cleanup temporary files, and complete
1809 # config.log. We remove comments because anyway the quotes in there
1810 # would cause problems or look ugly.
1811 # WARNING: Use '\'' to represent an apostrophe within the trap.
1812 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1813 trap 'exit_status=$?
1814 # Save into config.log some information that might help in debugging.
1819 ## ---------------- ##
1820 ## Cache variables. ##
1821 ## ---------------- ##
1824 # The following way of writing the cache mishandles newlines in values,
1826 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1827 eval ac_val=\$$ac_var
1831 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1832 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1835 _ | IFS | as_nl) ;; #(
1836 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1837 *) $as_unset $ac_var ;;
1842 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1843 *${as_nl}ac_space=\ *)
1845 "s/'\''/'\''\\\\'\'''\''/g;
1846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1857 ## ----------------- ##
1858 ## Output variables. ##
1859 ## ----------------- ##
1862 for ac_var in $ac_subst_vars
1864 eval ac_val=\$$ac_var
1866 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1868 $as_echo "$ac_var='\''$ac_val'\''"
1872 if test -n "$ac_subst_files"; then
1874 ## ------------------- ##
1875 ## File substitutions. ##
1876 ## ------------------- ##
1879 for ac_var in $ac_subst_files
1881 eval ac_val=\$$ac_var
1883 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1885 $as_echo "$ac_var='\''$ac_val'\''"
1890 if test -s confdefs.h; then
1900 test "$ac_signal" != 0 &&
1901 $as_echo "$as_me: caught signal $ac_signal"
1902 $as_echo "$as_me: exit $exit_status"
1904 rm -f core *.core core.conftest.* &&
1905 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1908 for ac_signal in 1 2 13 15; do
1909 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1913 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1914 rm -f -r conftest* confdefs.h
1916 # Predefined preprocessor variables.
1918 cat >>confdefs.h <<_ACEOF
1919 #define PACKAGE_NAME "$PACKAGE_NAME"
1923 cat >>confdefs.h <<_ACEOF
1924 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1928 cat >>confdefs.h <<_ACEOF
1929 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1933 cat >>confdefs.h <<_ACEOF
1934 #define PACKAGE_STRING "$PACKAGE_STRING"
1938 cat >>confdefs.h <<_ACEOF
1939 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1943 # Let the site file select an alternate cache file if it wants to.
1944 # Prefer an explicitly selected file to automatically selected ones.
1947 if test -n "$CONFIG_SITE"; then
1948 ac_site_file1=$CONFIG_SITE
1949 elif test "x$prefix" != xNONE; then
1950 ac_site_file1=$prefix/share/config.site
1951 ac_site_file2=$prefix/etc/config.site
1953 ac_site_file1=$ac_default_prefix/share/config.site
1954 ac_site_file2=$ac_default_prefix/etc/config.site
1956 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1958 test "x$ac_site_file" = xNONE && continue
1959 if test -r "$ac_site_file"; then
1960 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1961 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1962 sed 's/^/| /' "$ac_site_file" >&5
1967 if test -r "$cache_file"; then
1968 # Some versions of bash will fail to source /dev/null (special
1969 # files actually), so we avoid doing that.
1970 if test -f "$cache_file"; then
1971 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1972 $as_echo "$as_me: loading cache $cache_file" >&6;}
1974 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1975 *) . "./$cache_file";;
1979 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1980 $as_echo "$as_me: creating cache $cache_file" >&6;}
1984 # Check that the precious variables saved in the cache have kept the same
1986 ac_cache_corrupted=false
1987 for ac_var in $ac_precious_vars; do
1988 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1989 eval ac_new_set=\$ac_env_${ac_var}_set
1990 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1991 eval ac_new_val=\$ac_env_${ac_var}_value
1992 case $ac_old_set,$ac_new_set in
1994 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1995 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1996 ac_cache_corrupted=: ;;
1998 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1999 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2000 ac_cache_corrupted=: ;;
2003 if test "x$ac_old_val" != "x$ac_new_val"; then
2004 # differences in whitespace do not lead to failure.
2005 ac_old_val_w=`echo x $ac_old_val`
2006 ac_new_val_w=`echo x $ac_new_val`
2007 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2008 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2009 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2010 ac_cache_corrupted=:
2012 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2013 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2014 eval $ac_var=\$ac_old_val
2016 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2017 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2018 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2019 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2022 # Pass precious variables to config.status.
2023 if test "$ac_new_set" = set; then
2025 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2026 *) ac_arg=$ac_var=$ac_new_val ;;
2028 case " $ac_configure_args " in
2029 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2030 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2034 if $ac_cache_corrupted; then
2035 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2037 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2038 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2039 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2040 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2041 { (exit 1); exit 1; }; }
2069 ac_cpp='$CPP $CPPFLAGS'
2070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2078 for ac_dir in ../../../../.. "$srcdir"/../../../../..; do
2079 if test -f "$ac_dir/install-sh"; then
2081 ac_install_sh="$ac_aux_dir/install-sh -c"
2083 elif test -f "$ac_dir/install.sh"; then
2085 ac_install_sh="$ac_aux_dir/install.sh -c"
2087 elif test -f "$ac_dir/shtool"; then
2089 ac_install_sh="$ac_aux_dir/shtool install -c"
2093 if test -z "$ac_aux_dir"; then
2094 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../../.. \"$srcdir\"/../../../../.." >&5
2095 $as_echo "$as_me: error: cannot find install-sh or install.sh in ../../../../.. \"$srcdir\"/../../../../.." >&2;}
2096 { (exit 1); exit 1; }; }
2099 # These three variables are undocumented and unsupported,
2100 # and are intended to be withdrawn in a future Autoconf release.
2101 # They can cause serious problems if a builder's source tree is in a directory
2102 # whose full name contains unusual characters.
2103 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2104 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2105 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2110 # Make sure we can run config.sub.
2111 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2112 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2113 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2114 { (exit 1); exit 1; }; }
2116 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2117 $as_echo_n "checking build system type... " >&6; }
2118 if test "${ac_cv_build+set}" = set; then
2119 $as_echo_n "(cached) " >&6
2121 ac_build_alias=$build_alias
2122 test "x$ac_build_alias" = x &&
2123 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2124 test "x$ac_build_alias" = x &&
2125 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2126 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2127 { (exit 1); exit 1; }; }
2128 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2129 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2130 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2131 { (exit 1); exit 1; }; }
2134 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2135 $as_echo "$ac_cv_build" >&6; }
2136 case $ac_cv_build in
2138 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2139 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2140 { (exit 1); exit 1; }; };;
2143 ac_save_IFS=$IFS; IFS='-'
2149 # Remember, the first character of IFS is used to create $*,
2150 # except with old shells:
2153 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2156 am__api_version='1.11'
2158 # Find a good install program. We prefer a C program (faster),
2159 # so one script is as good as another. But avoid the broken or
2160 # incompatible versions:
2161 # SysV /etc/install, /usr/sbin/install
2162 # SunOS /usr/etc/install
2163 # IRIX /sbin/install
2165 # AmigaOS /C/install, which installs bootblocks on floppy discs
2166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2169 # OS/2's system install, which has a completely different semantic
2170 # ./install, which can be erroneously created by make from ./install.sh.
2171 # Reject install programs that cannot install multiple files.
2172 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2173 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2174 if test -z "$INSTALL"; then
2175 if test "${ac_cv_path_install+set}" = set; then
2176 $as_echo_n "(cached) " >&6
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir=.
2183 # Account for people who put trailing slashes in PATH elements.
2185 ./ | .// | /cC/* | \
2186 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2187 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2190 # OSF1 and SCO ODT 3.0 have their own names for install.
2191 # Don't use installbsd from OSF since it installs stuff as root
2193 for ac_prog in ginstall scoinst install; do
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2196 if test $ac_prog = install &&
2197 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2198 # AIX install. It has an incompatible calling convention.
2200 elif test $ac_prog = install &&
2201 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2202 # program-specific install script used by HP pwplus--don't use.
2205 rm -rf conftest.one conftest.two conftest.dir
2206 echo one > conftest.one
2207 echo two > conftest.two
2209 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2210 test -s conftest.one && test -s conftest.two &&
2211 test -s conftest.dir/conftest.one &&
2212 test -s conftest.dir/conftest.two
2214 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2227 rm -rf conftest.one conftest.two conftest.dir
2230 if test "${ac_cv_path_install+set}" = set; then
2231 INSTALL=$ac_cv_path_install
2233 # As a last resort, use the slow shell script. Don't cache a
2234 # value for INSTALL within a source directory, because that will
2235 # break other packages using the cache if that directory is
2236 # removed, or if the value is a relative name.
2237 INSTALL=$ac_install_sh
2240 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2241 $as_echo "$INSTALL" >&6; }
2243 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2244 # It thinks the first close brace ends the variable substitution.
2245 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2247 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2249 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2251 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2252 $as_echo_n "checking whether build environment is sane... " >&6; }
2255 echo timestamp > conftest.file
2256 # Reject unsafe characters in $srcdir or the absolute working directory
2257 # name. Accept space and tab only in the latter.
2261 *[\\\"\#\$\&\'\`$am_lf]*)
2262 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2263 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2264 { (exit 1); exit 1; }; };;
2267 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2268 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2269 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2270 { (exit 1); exit 1; }; };;
2273 # Do `set' in a subshell so we don't clobber the current shell's
2274 # arguments. Must try -L first in case configure is actually a
2275 # symlink; some systems play weird games with the mod time of symlinks
2276 # (eg FreeBSD returns the mod time of the symlink's containing
2279 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2280 if test "$*" = "X"; then
2282 set X `ls -t "$srcdir/configure" conftest.file`
2285 if test "$*" != "X $srcdir/configure conftest.file" \
2286 && test "$*" != "X conftest.file $srcdir/configure"; then
2288 # If neither matched, then we have a broken ls. This can happen
2289 # if, for instance, CONFIG_SHELL is bash and it inherits a
2290 # broken ls alias from the environment. This has actually
2291 # happened. Such a system could not be considered "sane".
2292 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2293 alias in your environment" >&5
2294 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2295 alias in your environment" >&2;}
2296 { (exit 1); exit 1; }; }
2299 test "$2" = conftest.file
2305 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2306 Check your system clock" >&5
2307 $as_echo "$as_me: error: newly created file is older than distributed files!
2308 Check your system clock" >&2;}
2309 { (exit 1); exit 1; }; }
2311 { $as_echo "$as_me:$LINENO: result: yes" >&5
2312 $as_echo "yes" >&6; }
2313 test "$program_prefix" != NONE &&
2314 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2315 # Use a double $ so make ignores it.
2316 test "$program_suffix" != NONE &&
2317 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2318 # Double any \ or $.
2319 # By default was `s,x,x', remove it if useless.
2320 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2321 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2323 # expand $ac_aux_dir to an absolute path
2324 am_aux_dir=`cd $ac_aux_dir && pwd`
2326 if test x"${MISSING+set}" != xset; then
2329 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2331 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2334 # Use eval to expand $SHELL
2335 if eval "$MISSING --run true"; then
2336 am_missing_run="$MISSING --run "
2339 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2340 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2343 if test x"${install_sh}" != xset; then
2346 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2348 install_sh="\${SHELL} $am_aux_dir/install-sh"
2352 # Installed binaries are usually stripped using `strip' when the user
2353 # run `make install-strip'. However `strip' might not be the right
2354 # tool to use in cross-compilation environments, therefore Automake
2355 # will honor the `STRIP' environment variable to overrule this program.
2356 if test "$cross_compiling" != no; then
2357 if test -n "$ac_tool_prefix"; then
2358 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2359 set dummy ${ac_tool_prefix}strip; ac_word=$2
2360 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 $as_echo_n "checking for $ac_word... " >&6; }
2362 if test "${ac_cv_prog_STRIP+set}" = set; then
2363 $as_echo_n "(cached) " >&6
2365 if test -n "$STRIP"; then
2366 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2376 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 STRIP=$ac_cv_prog_STRIP
2386 if test -n "$STRIP"; then
2387 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2388 $as_echo "$STRIP" >&6; }
2390 { $as_echo "$as_me:$LINENO: result: no" >&5
2391 $as_echo "no" >&6; }
2396 if test -z "$ac_cv_prog_STRIP"; then
2398 # Extract the first word of "strip", so it can be a program name with args.
2399 set dummy strip; ac_word=$2
2400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2401 $as_echo_n "checking for $ac_word... " >&6; }
2402 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2403 $as_echo_n "(cached) " >&6
2405 if test -n "$ac_ct_STRIP"; then
2406 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 test -z "$as_dir" && as_dir=.
2413 for ac_exec_ext in '' $ac_executable_extensions; do
2414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2415 ac_cv_prog_ac_ct_STRIP="strip"
2416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2426 if test -n "$ac_ct_STRIP"; then
2427 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2428 $as_echo "$ac_ct_STRIP" >&6; }
2430 { $as_echo "$as_me:$LINENO: result: no" >&5
2431 $as_echo "no" >&6; }
2434 if test "x$ac_ct_STRIP" = x; then
2437 case $cross_compiling:$ac_tool_warned in
2439 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2441 ac_tool_warned=yes ;;
2446 STRIP="$ac_cv_prog_STRIP"
2450 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2452 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2453 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2454 if test -z "$MKDIR_P"; then
2455 if test "${ac_cv_path_mkdir+set}" = set; then
2456 $as_echo_n "(cached) " >&6
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2462 test -z "$as_dir" && as_dir=.
2463 for ac_prog in mkdir gmkdir; do
2464 for ac_exec_ext in '' $ac_executable_extensions; do
2465 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2466 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2467 'mkdir (GNU coreutils) '* | \
2468 'mkdir (coreutils) '* | \
2469 'mkdir (fileutils) '4.1*)
2470 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2480 if test "${ac_cv_path_mkdir+set}" = set; then
2481 MKDIR_P="$ac_cv_path_mkdir -p"
2483 # As a last resort, use the slow shell script. Don't cache a
2484 # value for MKDIR_P within a source directory, because that will
2485 # break other packages using the cache if that directory is
2486 # removed, or if the value is a relative name.
2487 test -d ./--version && rmdir ./--version
2488 MKDIR_P="$ac_install_sh -d"
2491 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2492 $as_echo "$MKDIR_P" >&6; }
2496 [\\/$]* | ?:[\\/]*) ;;
2497 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2500 for ac_prog in gawk mawk nawk awk
2502 # Extract the first word of "$ac_prog", so it can be a program name with args.
2503 set dummy $ac_prog; ac_word=$2
2504 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
2506 if test "${ac_cv_prog_AWK+set}" = set; then
2507 $as_echo_n "(cached) " >&6
2509 if test -n "$AWK"; then
2510 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519 ac_cv_prog_AWK="$ac_prog"
2520 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2530 if test -n "$AWK"; then
2531 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2532 $as_echo "$AWK" >&6; }
2534 { $as_echo "$as_me:$LINENO: result: no" >&5
2535 $as_echo "no" >&6; }
2539 test -n "$AWK" && break
2542 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2543 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2545 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2546 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2547 $as_echo_n "(cached) " >&6
2549 cat >conftest.make <<\_ACEOF
2552 @echo '@@@%%%=$(MAKE)=@@@%%%'
2554 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2555 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2557 eval ac_cv_prog_make_${ac_make}_set=yes;;
2559 eval ac_cv_prog_make_${ac_make}_set=no;;
2563 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2564 { $as_echo "$as_me:$LINENO: result: yes" >&5
2565 $as_echo "yes" >&6; }
2568 { $as_echo "$as_me:$LINENO: result: no" >&5
2569 $as_echo "no" >&6; }
2570 SET_MAKE="MAKE=${MAKE-make}"
2573 rm -rf .tst 2>/dev/null
2574 mkdir .tst 2>/dev/null
2575 if test -d .tst; then
2580 rmdir .tst 2>/dev/null
2582 DEPDIR="${am__leading_dot}deps"
2584 ac_config_commands="$ac_config_commands depfiles"
2587 am_make=${MAKE-make}
2588 cat > confinc << 'END'
2590 @echo this is the am__doit target
2593 # If we don't find an include directive, just comment out the code.
2594 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2595 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2599 # First try GNU make style include.
2600 echo "include confinc" > confmf
2601 # Ignore all kinds of additional output from `make'.
2602 case `$am_make -s -f confmf 2> /dev/null` in #(
2603 *the\ am__doit\ target*)
2609 # Now try BSD make style include.
2610 if test "$am__include" = "#"; then
2611 echo '.include "confinc"' > confmf
2612 case `$am_make -s -f confmf 2> /dev/null` in #(
2613 *the\ am__doit\ target*)
2614 am__include=.include
2622 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2623 $as_echo "$_am_result" >&6; }
2624 rm -f confinc confmf
2626 # Check whether --enable-dependency-tracking was given.
2627 if test "${enable_dependency_tracking+set}" = set; then
2628 enableval=$enable_dependency_tracking;
2631 if test "x$enable_dependency_tracking" != xno; then
2632 am_depcomp="$ac_aux_dir/depcomp"
2635 if test "x$enable_dependency_tracking" != xno; then
2645 # Check whether --enable-multilib was given.
2646 if test "${enable_multilib+set}" = set; then
2647 enableval=$enable_multilib; case "${enableval}" in
2648 yes) multilib=yes ;;
2650 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2651 $as_echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2652 { (exit 1); exit 1; }; } ;;
2658 # Check whether --enable-target-optspace was given.
2659 if test "${enable_target_optspace+set}" = set; then
2660 enableval=$enable_target_optspace; case "${enableval}" in
2661 yes) target_optspace=yes ;;
2662 no) target_optspace=no ;;
2663 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
2664 $as_echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
2665 { (exit 1); exit 1; }; } ;;
2671 # Check whether --enable-malloc-debugging was given.
2672 if test "${enable_malloc_debugging+set}" = set; then
2673 enableval=$enable_malloc_debugging; case "${enableval}" in
2674 yes) malloc_debugging=yes ;;
2675 no) malloc_debugging=no ;;
2676 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
2677 $as_echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
2678 { (exit 1); exit 1; }; } ;;
2684 # Check whether --enable-newlib-multithread was given.
2685 if test "${enable_newlib_multithread+set}" = set; then
2686 enableval=$enable_newlib_multithread; case "${enableval}" in
2687 yes) newlib_multithread=yes ;;
2688 no) newlib_multithread=no ;;
2689 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
2690 $as_echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
2691 { (exit 1); exit 1; }; } ;;
2694 newlib_multithread=yes
2697 # Check whether --enable-newlib-iconv was given.
2698 if test "${enable_newlib_iconv+set}" = set; then
2699 enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2700 case "${enableval}" in
2701 yes) newlib_iconv=yes ;;
2702 no) newlib_iconv=no ;;
2703 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
2704 $as_echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
2705 { (exit 1); exit 1; }; } ;;
2709 newlib_iconv=${newlib_iconv}
2712 # Check whether --enable-newlib-elix-level was given.
2713 if test "${enable_newlib_elix_level+set}" = set; then
2714 enableval=$enable_newlib_elix_level; case "${enableval}" in
2715 0) newlib_elix_level=0 ;;
2716 1) newlib_elix_level=1 ;;
2717 2) newlib_elix_level=2 ;;
2718 3) newlib_elix_level=3 ;;
2719 4) newlib_elix_level=4 ;;
2720 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
2721 $as_echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
2722 { (exit 1); exit 1; }; } ;;
2728 # Check whether --enable-newlib-io-float was given.
2729 if test "${enable_newlib_io_float+set}" = set; then
2730 enableval=$enable_newlib_io_float; case "${enableval}" in
2731 yes) newlib_io_float=yes ;;
2732 no) newlib_io_float=no ;;
2733 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
2734 $as_echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
2735 { (exit 1); exit 1; }; } ;;
2741 # Check whether --enable-newlib-supplied-syscalls was given.
2742 if test "${enable_newlib_supplied_syscalls+set}" = set; then
2743 enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2744 yes) newlib_may_supply_syscalls=yes ;;
2745 no) newlib_may_supply_syscalls=no ;;
2746 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2747 $as_echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2748 { (exit 1); exit 1; }; } ;;
2751 newlib_may_supply_syscalls=yes
2754 if test x${newlib_may_supply_syscalls} = xyes; then
2755 MAY_SUPPLY_SYSCALLS_TRUE=
2756 MAY_SUPPLY_SYSCALLS_FALSE='#'
2758 MAY_SUPPLY_SYSCALLS_TRUE='#'
2759 MAY_SUPPLY_SYSCALLS_FALSE=
2764 test -z "${with_target_subdir}" && with_target_subdir=.
2766 if test "${srcdir}" = "."; then
2767 if test "${with_target_subdir}" != "."; then
2768 newlib_basedir="${srcdir}/${with_multisrctop}../../../../.."
2770 newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
2773 newlib_basedir="${srcdir}/../../../.."
2777 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2778 $as_echo_n "checking host system type... " >&6; }
2779 if test "${ac_cv_host+set}" = set; then
2780 $as_echo_n "(cached) " >&6
2782 if test "x$host_alias" = x; then
2783 ac_cv_host=$ac_cv_build
2785 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2786 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2787 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2788 { (exit 1); exit 1; }; }
2792 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2793 $as_echo "$ac_cv_host" >&6; }
2796 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2797 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2798 { (exit 1); exit 1; }; };;
2801 ac_save_IFS=$IFS; IFS='-'
2807 # Remember, the first character of IFS is used to create $*,
2808 # except with old shells:
2811 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2815 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2816 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2817 # is not polluted with repeated "-I."
2818 am__isrc=' -I$(srcdir)'
2819 # test to see if srcdir already configured
2820 if test -f $srcdir/config.status; then
2821 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2822 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2823 { (exit 1); exit 1; }; }
2827 # test whether we have cygpath
2828 if test -z "$CYGPATH_W"; then
2829 if (cygpath --version) >/dev/null 2>/dev/null; then
2830 CYGPATH_W='cygpath -w'
2837 # Define the identity of the package.
2842 # Some tools Automake needs.
2844 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2847 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2850 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2853 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2856 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2858 # We need awk for the "check" target. The system "awk" is bad on
2860 # Always define AMTAR for backward compatibility.
2862 AMTAR=${AMTAR-"${am_missing_run}tar"}
2864 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2871 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2872 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2873 # are probably using a cross compiler, which will not be able to fully
2874 # link an executable. This should really be fixed in autoconf
2883 # Extract the first word of "gcc", so it can be a program name with args.
2884 set dummy gcc; ac_word=$2
2885 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if test "${ac_cv_prog_CC+set}" = set; then
2888 $as_echo_n "(cached) " >&6
2890 if test -n "$CC"; then
2891 ac_cv_prog_CC="$CC" # Let the user override the test.
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir=.
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 if test -n "$CC"; then
2912 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2913 $as_echo "$CC" >&6; }
2915 { $as_echo "$as_me:$LINENO: result: no" >&5
2916 $as_echo "no" >&6; }
2921 depcc="$CC" am_compiler_list=
2923 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2924 $as_echo_n "checking dependency style of $depcc... " >&6; }
2925 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2926 $as_echo_n "(cached) " >&6
2928 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2929 # We make a subdir and do the tests there. Otherwise we can end up
2930 # making bogus files that we don't know about and never remove. For
2931 # instance it was reported that on HP-UX the gcc test will end up
2932 # making a dummy file named `D' -- because `-MD' means `put the output
2935 # Copy depcomp to subdir because otherwise we won't find it if we're
2936 # using a relative directory.
2937 cp "$am_depcomp" conftest.dir
2939 # We will build objects and dependencies in a subdirectory because
2940 # it helps to detect inapplicable dependency modes. For instance
2941 # both Tru64's cc and ICC support -MD to output dependencies as a
2942 # side effect of compilation, but ICC will put the dependencies in
2943 # the current directory while Tru64 will put them in the object
2947 am_cv_CC_dependencies_compiler_type=none
2948 if test "$am_compiler_list" = ""; then
2949 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2952 case " $depcc " in #(
2953 *\ -arch\ *\ -arch\ *) am__universal=true ;;
2956 for depmode in $am_compiler_list; do
2957 # Setup a source with many dependencies, because some compilers
2958 # like to wrap large dependency lists on column 80 (with \), and
2959 # we should not choose a depcomp mode which is confused by this.
2961 # We need to recreate these files for each test, as the compiler may
2962 # overwrite some of them when testing with obscure command lines.
2963 # This happens at least with the AIX C compiler.
2965 for i in 1 2 3 4 5 6; do
2966 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2967 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2968 # Solaris 8's {/usr,}/bin/sh.
2969 touch sub/conftst$i.h
2971 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2973 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2974 # mode. It turns out that the SunPro C++ compiler does not properly
2975 # handle `-M -o', and we need to detect this. Also, some Intel
2976 # versions had trouble with output in subdirs
2977 am__obj=sub/conftest.${OBJEXT-o}
2978 am__minus_obj="-o $am__obj"
2981 # This depmode causes a compiler race in universal mode.
2982 test "$am__universal" = false || continue
2985 # after this tag, mechanisms are not by side-effect, so they'll
2986 # only be used when explicitly requested
2987 if test "x$enable_dependency_tracking" = xyes; then
2993 msvisualcpp | msvcmsys)
2994 # This compiler won't grok `-c -o', but also, the minuso test has
2995 # not run yet. These depmodes are late enough in the game, and
2996 # so weak that their functioning should not be impacted.
2997 am__obj=conftest.${OBJEXT-o}
3002 if depmode=$depmode \
3003 source=sub/conftest.c object=$am__obj \
3004 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3005 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3006 >/dev/null 2>conftest.err &&
3007 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3008 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3009 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3010 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3011 # icc doesn't choke on unknown options, it will just issue warnings
3012 # or remarks (even with -Werror). So we grep stderr for any message
3013 # that says an option was ignored or not supported.
3014 # When given -MP, icc 7.0 and 7.1 complain thusly:
3015 # icc: Command line warning: ignoring option '-M'; no argument required
3016 # The diagnosis changed in icc 8.0:
3017 # icc: Command line remark: option '-MP' not supported
3018 if (grep 'ignoring option' conftest.err ||
3019 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3020 am_cv_CC_dependencies_compiler_type=$depmode
3029 am_cv_CC_dependencies_compiler_type=none
3033 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3034 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3035 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3038 test "x$enable_dependency_tracking" != xno \
3039 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3041 am__fastdepCC_FALSE='#'
3043 am__fastdepCC_TRUE='#'
3044 am__fastdepCC_FALSE=
3048 if test -z "$CC"; then
3049 # Extract the first word of "cc", so it can be a program name with args.
3050 set dummy cc; ac_word=$2
3051 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3052 $as_echo_n "checking for $ac_word... " >&6; }
3053 if test "${ac_cv_prog_CC+set}" = set; then
3054 $as_echo_n "(cached) " >&6
3056 if test -n "$CC"; then
3057 ac_cv_prog_CC="$CC" # Let the user override the test.
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3067 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3068 ac_prog_rejected=yes
3072 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 if test $ac_prog_rejected = yes; then
3080 # We found a bogon in the path, so make sure we never use it.
3081 set dummy $ac_cv_prog_CC
3083 if test $# != 0; then
3084 # We chose a different compiler from the bogus one.
3085 # However, it has the same basename, so the bogon will be chosen
3086 # first if we set CC to just the basename; use the full file name.
3088 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3094 if test -n "$CC"; then
3095 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3096 $as_echo "$CC" >&6; }
3098 { $as_echo "$as_me:$LINENO: result: no" >&5
3099 $as_echo "no" >&6; }
3103 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3104 $as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3105 { (exit 1); exit 1; }; }
3108 { $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
3109 $as_echo_n "checking whether we are using GNU C... " >&6; }
3110 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3111 $as_echo_n "(cached) " >&6
3113 cat > conftest.c <<EOF
3118 if { ac_try='${CC-cc} -E conftest.c'
3119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3124 ac_cv_c_compiler_gnu=yes
3126 ac_cv_c_compiler_gnu=no
3129 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3130 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3132 if test $ac_cv_c_compiler_gnu = yes; then
3134 ac_test_CFLAGS="${CFLAGS+set}"
3135 ac_save_CFLAGS="$CFLAGS"
3136 ac_test_CFLAGS=${CFLAGS+set}
3137 ac_save_CFLAGS=$CFLAGS
3138 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3139 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3140 if test "${ac_cv_prog_cc_g+set}" = set; then
3141 $as_echo_n "(cached) " >&6
3143 ac_save_c_werror_flag=$ac_c_werror_flag
3144 ac_c_werror_flag=yes
3147 cat >conftest.$ac_ext <<_ACEOF
3150 cat confdefs.h >>conftest.$ac_ext
3151 cat >>conftest.$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3162 rm -f conftest.$ac_objext
3163 if { (ac_try="$ac_compile"
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3169 $as_echo "$ac_try_echo") >&5
3170 (eval "$ac_compile") 2>conftest.er1
3172 grep -v '^ *+' conftest.er1 >conftest.err
3174 cat conftest.err >&5
3175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } && {
3177 test -z "$ac_c_werror_flag" ||
3178 test ! -s conftest.err
3179 } && test -s conftest.$ac_objext; then
3182 $as_echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3186 cat >conftest.$ac_ext <<_ACEOF
3189 cat confdefs.h >>conftest.$ac_ext
3190 cat >>conftest.$ac_ext <<_ACEOF
3191 /* end confdefs.h. */
3201 rm -f conftest.$ac_objext
3202 if { (ac_try="$ac_compile"
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3208 $as_echo "$ac_try_echo") >&5
3209 (eval "$ac_compile") 2>conftest.er1
3211 grep -v '^ *+' conftest.er1 >conftest.err
3213 cat conftest.err >&5
3214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); } && {
3216 test -z "$ac_c_werror_flag" ||
3217 test ! -s conftest.err
3218 } && test -s conftest.$ac_objext; then
3221 $as_echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 ac_c_werror_flag=$ac_save_c_werror_flag
3226 cat >conftest.$ac_ext <<_ACEOF
3229 cat confdefs.h >>conftest.$ac_ext
3230 cat >>conftest.$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3241 rm -f conftest.$ac_objext
3242 if { (ac_try="$ac_compile"
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3248 $as_echo "$ac_try_echo") >&5
3249 (eval "$ac_compile") 2>conftest.er1
3251 grep -v '^ *+' conftest.er1 >conftest.err
3253 cat conftest.err >&5
3254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); } && {
3256 test -z "$ac_c_werror_flag" ||
3257 test ! -s conftest.err
3258 } && test -s conftest.$ac_objext; then
3261 $as_echo "$as_me: failed program was:" >&5
3262 sed 's/^/| /' conftest.$ac_ext >&5
3267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 ac_c_werror_flag=$ac_save_c_werror_flag
3276 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3277 $as_echo "$ac_cv_prog_cc_g" >&6; }
3278 if test "$ac_test_CFLAGS" = set; then
3279 CFLAGS=$ac_save_CFLAGS
3280 elif test $ac_cv_prog_cc_g = yes; then
3281 if test "$GCC" = yes; then
3287 if test "$GCC" = yes; then
3293 if test "$ac_test_CFLAGS" = set; then
3294 CFLAGS="$ac_save_CFLAGS"
3295 elif test $ac_cv_prog_cc_g = yes; then
3302 test "${CFLAGS+set}" = set || CFLAGS="-g"
3306 if test -n "$ac_tool_prefix"; then
3307 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3308 set dummy ${ac_tool_prefix}as; ac_word=$2
3309 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3310 $as_echo_n "checking for $ac_word... " >&6; }
3311 if test "${ac_cv_prog_AS+set}" = set; then
3312 $as_echo_n "(cached) " >&6
3314 if test -n "$AS"; then
3315 ac_cv_prog_AS="$AS" # Let the user override the test.
3317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321 test -z "$as_dir" && as_dir=.
3322 for ac_exec_ext in '' $ac_executable_extensions; do
3323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3324 ac_cv_prog_AS="${ac_tool_prefix}as"
3325 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3335 if test -n "$AS"; then
3336 { $as_echo "$as_me:$LINENO: result: $AS" >&5
3337 $as_echo "$AS" >&6; }
3339 { $as_echo "$as_me:$LINENO: result: no" >&5
3340 $as_echo "no" >&6; }
3345 if test -z "$ac_cv_prog_AS"; then
3347 # Extract the first word of "as", so it can be a program name with args.
3348 set dummy as; ac_word=$2
3349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3350 $as_echo_n "checking for $ac_word... " >&6; }
3351 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3352 $as_echo_n "(cached) " >&6
3354 if test -n "$ac_ct_AS"; then
3355 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361 test -z "$as_dir" && as_dir=.
3362 for ac_exec_ext in '' $ac_executable_extensions; do
3363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3364 ac_cv_prog_ac_ct_AS="as"
3365 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3374 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3375 if test -n "$ac_ct_AS"; then
3376 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3377 $as_echo "$ac_ct_AS" >&6; }
3379 { $as_echo "$as_me:$LINENO: result: no" >&5
3380 $as_echo "no" >&6; }
3383 if test "x$ac_ct_AS" = x; then
3386 case $cross_compiling:$ac_tool_warned in
3388 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3390 ac_tool_warned=yes ;;
3398 if test -n "$ac_tool_prefix"; then
3399 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3400 set dummy ${ac_tool_prefix}ar; ac_word=$2
3401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3402 $as_echo_n "checking for $ac_word... " >&6; }
3403 if test "${ac_cv_prog_AR+set}" = set; then
3404 $as_echo_n "(cached) " >&6
3406 if test -n "$AR"; then
3407 ac_cv_prog_AR="$AR" # Let the user override the test.
3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 test -z "$as_dir" && as_dir=.
3414 for ac_exec_ext in '' $ac_executable_extensions; do
3415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3416 ac_cv_prog_AR="${ac_tool_prefix}ar"
3417 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 if test -n "$AR"; then
3428 { $as_echo "$as_me:$LINENO: result: $AR" >&5
3429 $as_echo "$AR" >&6; }
3431 { $as_echo "$as_me:$LINENO: result: no" >&5
3432 $as_echo "no" >&6; }
3437 if test -z "$ac_cv_prog_AR"; then
3439 # Extract the first word of "ar", so it can be a program name with args.
3440 set dummy ar; ac_word=$2
3441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3442 $as_echo_n "checking for $ac_word... " >&6; }
3443 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3444 $as_echo_n "(cached) " >&6
3446 if test -n "$ac_ct_AR"; then
3447 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 test -z "$as_dir" && as_dir=.
3454 for ac_exec_ext in '' $ac_executable_extensions; do
3455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3456 ac_cv_prog_ac_ct_AR="ar"
3457 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3467 if test -n "$ac_ct_AR"; then
3468 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3469 $as_echo "$ac_ct_AR" >&6; }
3471 { $as_echo "$as_me:$LINENO: result: no" >&5
3472 $as_echo "no" >&6; }
3475 if test "x$ac_ct_AR" = x; then
3478 case $cross_compiling:$ac_tool_warned in
3480 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3482 ac_tool_warned=yes ;;
3490 if test -n "$ac_tool_prefix"; then
3491 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3492 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3493 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3494 $as_echo_n "checking for $ac_word... " >&6; }
3495 if test "${ac_cv_prog_RANLIB+set}" = set; then
3496 $as_echo_n "(cached) " >&6
3498 if test -n "$RANLIB"; then
3499 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir=.
3506 for ac_exec_ext in '' $ac_executable_extensions; do
3507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3508 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3509 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 RANLIB=$ac_cv_prog_RANLIB
3519 if test -n "$RANLIB"; then
3520 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3521 $as_echo "$RANLIB" >&6; }
3523 { $as_echo "$as_me:$LINENO: result: no" >&5
3524 $as_echo "no" >&6; }
3529 if test -z "$ac_cv_prog_RANLIB"; then
3530 ac_ct_RANLIB=$RANLIB
3531 # Extract the first word of "ranlib", so it can be a program name with args.
3532 set dummy ranlib; ac_word=$2
3533 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3534 $as_echo_n "checking for $ac_word... " >&6; }
3535 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3536 $as_echo_n "(cached) " >&6
3538 if test -n "$ac_ct_RANLIB"; then
3539 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir=.
3546 for ac_exec_ext in '' $ac_executable_extensions; do
3547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3548 ac_cv_prog_ac_ct_RANLIB="ranlib"
3549 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3559 if test -n "$ac_ct_RANLIB"; then
3560 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3561 $as_echo "$ac_ct_RANLIB" >&6; }
3563 { $as_echo "$as_me:$LINENO: result: no" >&5
3564 $as_echo "no" >&6; }
3567 if test "x$ac_ct_RANLIB" = x; then
3570 case $cross_compiling:$ac_tool_warned in
3572 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3574 ac_tool_warned=yes ;;
3576 RANLIB=$ac_ct_RANLIB
3579 RANLIB="$ac_cv_prog_RANLIB"
3582 if test -n "$ac_tool_prefix"; then
3583 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3584 set dummy ${ac_tool_prefix}readelf; ac_word=$2
3585 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if test "${ac_cv_prog_READELF+set}" = set; then
3588 $as_echo_n "(cached) " >&6
3590 if test -n "$READELF"; then
3591 ac_cv_prog_READELF="$READELF" # Let the user override the test.
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 test -z "$as_dir" && as_dir=.
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3601 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 READELF=$ac_cv_prog_READELF
3611 if test -n "$READELF"; then
3612 { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3613 $as_echo "$READELF" >&6; }
3615 { $as_echo "$as_me:$LINENO: result: no" >&5
3616 $as_echo "no" >&6; }
3621 if test -z "$ac_cv_prog_READELF"; then
3622 ac_ct_READELF=$READELF
3623 # Extract the first word of "readelf", so it can be a program name with args.
3624 set dummy readelf; ac_word=$2
3625 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3628 $as_echo_n "(cached) " >&6
3630 if test -n "$ac_ct_READELF"; then
3631 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3640 ac_cv_prog_ac_ct_READELF="readelf"
3641 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3651 if test -n "$ac_ct_READELF"; then
3652 { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3653 $as_echo "$ac_ct_READELF" >&6; }
3655 { $as_echo "$as_me:$LINENO: result: no" >&5
3656 $as_echo "no" >&6; }
3659 if test "x$ac_ct_READELF" = x; then
3662 case $cross_compiling:$ac_tool_warned in
3664 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3666 ac_tool_warned=yes ;;
3668 READELF=$ac_ct_READELF
3671 READELF="$ac_cv_prog_READELF"
3675 # Find a good install program. We prefer a C program (faster),
3676 # so one script is as good as another. But avoid the broken or
3677 # incompatible versions:
3678 # SysV /etc/install, /usr/sbin/install
3679 # SunOS /usr/etc/install
3680 # IRIX /sbin/install
3682 # AmigaOS /C/install, which installs bootblocks on floppy discs
3683 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3684 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3685 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3686 # OS/2's system install, which has a completely different semantic
3687 # ./install, which can be erroneously created by make from ./install.sh.
3688 # Reject install programs that cannot install multiple files.
3689 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3690 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3691 if test -z "$INSTALL"; then
3692 if test "${ac_cv_path_install+set}" = set; then
3693 $as_echo_n "(cached) " >&6
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3699 test -z "$as_dir" && as_dir=.
3700 # Account for people who put trailing slashes in PATH elements.
3702 ./ | .// | /cC/* | \
3703 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3704 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3707 # OSF1 and SCO ODT 3.0 have their own names for install.
3708 # Don't use installbsd from OSF since it installs stuff as root
3710 for ac_prog in ginstall scoinst install; do
3711 for ac_exec_ext in '' $ac_executable_extensions; do
3712 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3713 if test $ac_prog = install &&
3714 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3715 # AIX install. It has an incompatible calling convention.
3717 elif test $ac_prog = install &&
3718 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3719 # program-specific install script used by HP pwplus--don't use.
3722 rm -rf conftest.one conftest.two conftest.dir
3723 echo one > conftest.one
3724 echo two > conftest.two
3726 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3727 test -s conftest.one && test -s conftest.two &&
3728 test -s conftest.dir/conftest.one &&
3729 test -s conftest.dir/conftest.two
3731 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3744 rm -rf conftest.one conftest.two conftest.dir
3747 if test "${ac_cv_path_install+set}" = set; then
3748 INSTALL=$ac_cv_path_install
3750 # As a last resort, use the slow shell script. Don't cache a
3751 # value for INSTALL within a source directory, because that will
3752 # break other packages using the cache if that directory is
3753 # removed, or if the value is a relative name.
3754 INSTALL=$ac_install_sh
3757 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3758 $as_echo "$INSTALL" >&6; }
3760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3761 # It thinks the first close brace ends the variable substitution.
3762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3766 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3769 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
3770 ac_given_INSTALL=$INSTALL
3773 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3774 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3775 # Check whether --enable-maintainer-mode was given.
3776 if test "${enable_maintainer_mode+set}" = set; then
3777 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3779 USE_MAINTAINER_MODE=no
3782 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3783 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3784 if test $USE_MAINTAINER_MODE = yes; then
3785 MAINTAINER_MODE_TRUE=
3786 MAINTAINER_MODE_FALSE='#'
3788 MAINTAINER_MODE_TRUE='#'
3789 MAINTAINER_MODE_FALSE=
3792 MAINT=$MAINTAINER_MODE_TRUE
3795 # By default we simply use the C compiler to build assembly code.
3797 test "${CCAS+set}" = set || CCAS=$CC
3798 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3803 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
3804 # at least currently, we never actually build a program, so we never
3805 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
3806 # fails, because we are probably configuring with a cross compiler
3807 # which can't create executables. So we include AC_EXEEXT to keep
3808 # automake happy, but we don't execute it, since we don't care about
3815 . ${newlib_basedir}/configure.host
3817 newlib_cflags="${newlib_cflags} -fno-builtin"
3819 NEWLIB_CFLAGS=${newlib_cflags}
3825 if test x${newlib_elix_level} = x0; then
3827 ELIX_LEVEL_0_FALSE='#'
3829 ELIX_LEVEL_0_TRUE='#'
3833 if test x${newlib_elix_level} = x1; then
3835 ELIX_LEVEL_1_FALSE='#'
3837 ELIX_LEVEL_1_TRUE='#'
3841 if test x${newlib_elix_level} = x2; then
3843 ELIX_LEVEL_2_FALSE='#'
3845 ELIX_LEVEL_2_TRUE='#'
3849 if test x${newlib_elix_level} = x3; then
3851 ELIX_LEVEL_3_FALSE='#'
3853 ELIX_LEVEL_3_TRUE='#'
3857 if test x${newlib_elix_level} = x4; then
3859 ELIX_LEVEL_4_FALSE='#'
3861 ELIX_LEVEL_4_TRUE='#'
3866 if test x${use_libtool} = xyes; then
3868 USE_LIBTOOL_FALSE='#'
3870 USE_LIBTOOL_TRUE='#'
3875 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
3876 # use oext, which is set in configure.host based on the target platform.
3889 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3890 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3891 if test "${ac_cv_path_SED+set}" = set; then
3892 $as_echo_n "(cached) " >&6
3894 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3895 for ac_i in 1 2 3 4 5 6 7; do
3896 ac_script="$ac_script$as_nl$ac_script"
3898 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3899 $as_unset ac_script || ac_script=
3900 if test -z "$SED"; then
3901 ac_path_SED_found=false
3902 # Loop through the user's path and test for each of PROGNAME-LIST
3903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 test -z "$as_dir" && as_dir=.
3908 for ac_prog in sed gsed; do
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3911 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3912 # Check for GNU ac_path_SED and select it if it is found.
3913 # Check for GNU $ac_path_SED
3914 case `"$ac_path_SED" --version 2>&1` in
3916 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3919 $as_echo_n 0123456789 >"conftest.in"
3922 cat "conftest.in" "conftest.in" >"conftest.tmp"
3923 mv "conftest.tmp" "conftest.in"
3924 cp "conftest.in" "conftest.nl"
3925 $as_echo '' >> "conftest.nl"
3926 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3927 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3928 ac_count=`expr $ac_count + 1`
3929 if test $ac_count -gt ${ac_path_SED_max-0}; then
3930 # Best one so far, save it but keep looking for a better one
3931 ac_cv_path_SED="$ac_path_SED"
3932 ac_path_SED_max=$ac_count
3934 # 10*(2^10) chars as input seems more than enough
3935 test $ac_count -gt 10 && break
3937 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3940 $ac_path_SED_found && break 3
3945 if test -z "$ac_cv_path_SED"; then
3946 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3947 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3948 { (exit 1); exit 1; }; }
3955 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3956 $as_echo "$ac_cv_path_SED" >&6; }
3957 SED="$ac_cv_path_SED"
3960 test -z "$SED" && SED=sed
3961 Xsed="$SED -e 1s/^X//"
3973 if test "${use_libtool}" = "yes"; then
3974 enable_win32_dll=yes
3977 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3978 if test -n "$ac_tool_prefix"; then
3979 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3980 set dummy ${ac_tool_prefix}as; ac_word=$2
3981 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3982 $as_echo_n "checking for $ac_word... " >&6; }
3983 if test "${ac_cv_prog_AS+set}" = set; then
3984 $as_echo_n "(cached) " >&6
3986 if test -n "$AS"; then
3987 ac_cv_prog_AS="$AS" # Let the user override the test.
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3996 ac_cv_prog_AS="${ac_tool_prefix}as"
3997 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 if test -n "$AS"; then
4008 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4009 $as_echo "$AS" >&6; }
4011 { $as_echo "$as_me:$LINENO: result: no" >&5
4012 $as_echo "no" >&6; }
4017 if test -z "$ac_cv_prog_AS"; then
4019 # Extract the first word of "as", so it can be a program name with args.
4020 set dummy as; ac_word=$2
4021 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4022 $as_echo_n "checking for $ac_word... " >&6; }
4023 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4024 $as_echo_n "(cached) " >&6
4026 if test -n "$ac_ct_AS"; then
4027 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033 test -z "$as_dir" && as_dir=.
4034 for ac_exec_ext in '' $ac_executable_extensions; do
4035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4036 ac_cv_prog_ac_ct_AS="as"
4037 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4047 if test -n "$ac_ct_AS"; then
4048 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4049 $as_echo "$ac_ct_AS" >&6; }
4051 { $as_echo "$as_me:$LINENO: result: no" >&5
4052 $as_echo "no" >&6; }
4055 if test "x$ac_ct_AS" = x; then
4058 case $cross_compiling:$ac_tool_warned in
4060 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4062 ac_tool_warned=yes ;;
4070 if test -n "$ac_tool_prefix"; then
4071 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4072 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4073 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4074 $as_echo_n "checking for $ac_word... " >&6; }
4075 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4076 $as_echo_n "(cached) " >&6
4078 if test -n "$DLLTOOL"; then
4079 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir=.
4086 for ac_exec_ext in '' $ac_executable_extensions; do
4087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4088 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4089 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4098 DLLTOOL=$ac_cv_prog_DLLTOOL
4099 if test -n "$DLLTOOL"; then
4100 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4101 $as_echo "$DLLTOOL" >&6; }
4103 { $as_echo "$as_me:$LINENO: result: no" >&5
4104 $as_echo "no" >&6; }
4109 if test -z "$ac_cv_prog_DLLTOOL"; then
4110 ac_ct_DLLTOOL=$DLLTOOL
4111 # Extract the first word of "dlltool", so it can be a program name with args.
4112 set dummy dlltool; ac_word=$2
4113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4116 $as_echo_n "(cached) " >&6
4118 if test -n "$ac_ct_DLLTOOL"; then
4119 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4128 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4138 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4139 if test -n "$ac_ct_DLLTOOL"; then
4140 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4141 $as_echo "$ac_ct_DLLTOOL" >&6; }
4143 { $as_echo "$as_me:$LINENO: result: no" >&5
4144 $as_echo "no" >&6; }
4147 if test "x$ac_ct_DLLTOOL" = x; then
4150 case $cross_compiling:$ac_tool_warned in
4152 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4154 ac_tool_warned=yes ;;
4156 DLLTOOL=$ac_ct_DLLTOOL
4159 DLLTOOL="$ac_cv_prog_DLLTOOL"
4162 if test -n "$ac_tool_prefix"; then
4163 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4164 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4165 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4166 $as_echo_n "checking for $ac_word... " >&6; }
4167 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4168 $as_echo_n "(cached) " >&6
4170 if test -n "$OBJDUMP"; then
4171 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir=.
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4180 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4181 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4190 OBJDUMP=$ac_cv_prog_OBJDUMP
4191 if test -n "$OBJDUMP"; then
4192 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4193 $as_echo "$OBJDUMP" >&6; }
4195 { $as_echo "$as_me:$LINENO: result: no" >&5
4196 $as_echo "no" >&6; }
4201 if test -z "$ac_cv_prog_OBJDUMP"; then
4202 ac_ct_OBJDUMP=$OBJDUMP
4203 # Extract the first word of "objdump", so it can be a program name with args.
4204 set dummy objdump; ac_word=$2
4205 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4206 $as_echo_n "checking for $ac_word... " >&6; }
4207 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4208 $as_echo_n "(cached) " >&6
4210 if test -n "$ac_ct_OBJDUMP"; then
4211 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir=.
4218 for ac_exec_ext in '' $ac_executable_extensions; do
4219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4220 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4221 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4231 if test -n "$ac_ct_OBJDUMP"; then
4232 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4233 $as_echo "$ac_ct_OBJDUMP" >&6; }
4235 { $as_echo "$as_me:$LINENO: result: no" >&5
4236 $as_echo "no" >&6; }
4239 if test "x$ac_ct_OBJDUMP" = x; then
4242 case $cross_compiling:$ac_tool_warned in
4244 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4246 ac_tool_warned=yes ;;
4248 OBJDUMP=$ac_ct_OBJDUMP
4251 OBJDUMP="$ac_cv_prog_OBJDUMP"
4257 test -z "$AS" && AS=as
4263 test -z "$DLLTOOL" && DLLTOOL=dlltool
4269 test -z "$OBJDUMP" && OBJDUMP=objdump
4279 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4280 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4285 macro_version='2.2.6'
4286 macro_revision='1.3012'
4300 ltmain="$ac_aux_dir/ltmain.sh"
4303 ac_cpp='$CPP $CPPFLAGS'
4304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4307 if test -n "$ac_tool_prefix"; then
4308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4309 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4310 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if test "${ac_cv_prog_CC+set}" = set; then
4313 $as_echo_n "(cached) " >&6
4315 if test -n "$CC"; then
4316 ac_cv_prog_CC="$CC" # Let the user override the test.
4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir=.
4323 for ac_exec_ext in '' $ac_executable_extensions; do
4324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4325 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4326 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 if test -n "$CC"; then
4337 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4338 $as_echo "$CC" >&6; }
4340 { $as_echo "$as_me:$LINENO: result: no" >&5
4341 $as_echo "no" >&6; }
4346 if test -z "$ac_cv_prog_CC"; then
4348 # Extract the first word of "gcc", so it can be a program name with args.
4349 set dummy gcc; ac_word=$2
4350 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4351 $as_echo_n "checking for $ac_word... " >&6; }
4352 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4353 $as_echo_n "(cached) " >&6
4355 if test -n "$ac_ct_CC"; then
4356 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4365 ac_cv_prog_ac_ct_CC="gcc"
4366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4376 if test -n "$ac_ct_CC"; then
4377 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4378 $as_echo "$ac_ct_CC" >&6; }
4380 { $as_echo "$as_me:$LINENO: result: no" >&5
4381 $as_echo "no" >&6; }
4384 if test "x$ac_ct_CC" = x; then
4387 case $cross_compiling:$ac_tool_warned in
4389 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4391 ac_tool_warned=yes ;;
4399 if test -z "$CC"; then
4400 if test -n "$ac_tool_prefix"; then
4401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4402 set dummy ${ac_tool_prefix}cc; ac_word=$2
4403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_CC+set}" = set; then
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$CC"; then
4409 ac_cv_prog_CC="$CC" # Let the user override the test.
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_CC="${ac_tool_prefix}cc"
4419 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 if test -n "$CC"; then
4430 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4431 $as_echo "$CC" >&6; }
4433 { $as_echo "$as_me:$LINENO: result: no" >&5
4434 $as_echo "no" >&6; }
4440 if test -z "$CC"; then
4441 # Extract the first word of "cc", so it can be a program name with args.
4442 set dummy cc; ac_word=$2
4443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if test "${ac_cv_prog_CC+set}" = set; then
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$CC"; then
4449 ac_cv_prog_CC="$CC" # Let the user override the test.
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4459 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4460 ac_prog_rejected=yes
4464 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4471 if test $ac_prog_rejected = yes; then
4472 # We found a bogon in the path, so make sure we never use it.
4473 set dummy $ac_cv_prog_CC
4475 if test $# != 0; then
4476 # We chose a different compiler from the bogus one.
4477 # However, it has the same basename, so the bogon will be chosen
4478 # first if we set CC to just the basename; use the full file name.
4480 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4486 if test -n "$CC"; then
4487 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4488 $as_echo "$CC" >&6; }
4490 { $as_echo "$as_me:$LINENO: result: no" >&5
4491 $as_echo "no" >&6; }
4496 if test -z "$CC"; then
4497 if test -n "$ac_tool_prefix"; then
4498 for ac_prog in cl.exe
4500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4501 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4502 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4503 $as_echo_n "checking for $ac_word... " >&6; }
4504 if test "${ac_cv_prog_CC+set}" = set; then
4505 $as_echo_n "(cached) " >&6
4507 if test -n "$CC"; then
4508 ac_cv_prog_CC="$CC" # Let the user override the test.
4510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4514 test -z "$as_dir" && as_dir=.
4515 for ac_exec_ext in '' $ac_executable_extensions; do
4516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4517 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4518 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4528 if test -n "$CC"; then
4529 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4530 $as_echo "$CC" >&6; }
4532 { $as_echo "$as_me:$LINENO: result: no" >&5
4533 $as_echo "no" >&6; }
4537 test -n "$CC" && break
4540 if test -z "$CC"; then
4542 for ac_prog in cl.exe
4544 # Extract the first word of "$ac_prog", so it can be a program name with args.
4545 set dummy $ac_prog; ac_word=$2
4546 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4549 $as_echo_n "(cached) " >&6
4551 if test -n "$ac_ct_CC"; then
4552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4561 ac_cv_prog_ac_ct_CC="$ac_prog"
4562 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4572 if test -n "$ac_ct_CC"; then
4573 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4574 $as_echo "$ac_ct_CC" >&6; }
4576 { $as_echo "$as_me:$LINENO: result: no" >&5
4577 $as_echo "no" >&6; }
4581 test -n "$ac_ct_CC" && break
4584 if test "x$ac_ct_CC" = x; then
4587 case $cross_compiling:$ac_tool_warned in
4589 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4591 ac_tool_warned=yes ;;
4600 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4602 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4603 See \`config.log' for more details." >&5
4604 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4605 See \`config.log' for more details." >&2;}
4606 { (exit 1); exit 1; }; }; }
4608 # Provide some information about the compiler.
4609 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4612 { (ac_try="$ac_compiler --version >&5"
4614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4615 *) ac_try_echo=$ac_try;;
4617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4618 $as_echo "$ac_try_echo") >&5
4619 (eval "$ac_compiler --version >&5") 2>&5
4621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); }
4623 { (ac_try="$ac_compiler -v >&5"
4625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4626 *) ac_try_echo=$ac_try;;
4628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4629 $as_echo "$ac_try_echo") >&5
4630 (eval "$ac_compiler -v >&5") 2>&5
4632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); }
4634 { (ac_try="$ac_compiler -V >&5"
4636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4637 *) ac_try_echo=$ac_try;;
4639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4640 $as_echo "$ac_try_echo") >&5
4641 (eval "$ac_compiler -V >&5") 2>&5
4643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }
4646 cat >conftest.$ac_ext <<_ACEOF
4649 cat confdefs.h >>conftest.$ac_ext
4650 cat >>conftest.$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4661 ac_clean_files_save=$ac_clean_files
4662 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4663 # Try to create an executable without -o first, disregard a.out.
4664 # It will help us diagnose broken compilers, and finding out an intuition
4666 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4667 $as_echo_n "checking for C compiler default output file name... " >&6; }
4668 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4670 # The possible output files:
4671 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4674 for ac_file in $ac_files
4677 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4678 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4683 if { (ac_try="$ac_link_default"
4685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4686 *) ac_try_echo=$ac_try;;
4688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4689 $as_echo "$ac_try_echo") >&5
4690 (eval "$ac_link_default") 2>&5
4692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); }; then
4694 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4695 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4696 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4697 # so that the user can short-circuit this test for compilers unknown to
4699 for ac_file in $ac_files ''
4701 test -f "$ac_file" || continue
4703 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4706 # We found the default executable, but exeext='' is most
4710 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4712 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4714 # We set ac_cv_exeext here because the later test for it is not
4715 # safe: cross compilers may not add the suffix if given an `-o'
4716 # argument, so we may need to know it at that point already.
4717 # Even if this section looks crufty: it has the advantage of
4724 test "$ac_cv_exeext" = no && ac_cv_exeext=
4730 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4731 $as_echo "$ac_file" >&6; }
4732 if test -z "$ac_file"; then
4733 $as_echo "$as_me: failed program was:" >&5
4734 sed 's/^/| /' conftest.$ac_ext >&5
4736 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4738 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
4739 See \`config.log' for more details." >&5
4740 $as_echo "$as_me: error: C compiler cannot create executables
4741 See \`config.log' for more details." >&2;}
4742 { (exit 77); exit 77; }; }; }
4745 ac_exeext=$ac_cv_exeext
4747 # Check that the compiler produces executables we can run. If not, either
4748 # the compiler is broken, or we cross compile.
4749 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4750 $as_echo_n "checking whether the C compiler works... " >&6; }
4751 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4752 # If not cross compiling, check that we can run a simple program.
4753 if test "$cross_compiling" != yes; then
4754 if { ac_try='./$ac_file'
4755 { (case "(($ac_try" in
4756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4760 $as_echo "$ac_try_echo") >&5
4761 (eval "$ac_try") 2>&5
4763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }; }; then
4767 if test "$cross_compiling" = maybe; then
4770 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4772 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
4773 If you meant to cross compile, use \`--host'.
4774 See \`config.log' for more details." >&5
4775 $as_echo "$as_me: error: cannot run C compiled programs.
4776 If you meant to cross compile, use \`--host'.
4777 See \`config.log' for more details." >&2;}
4778 { (exit 1); exit 1; }; }; }
4782 { $as_echo "$as_me:$LINENO: result: yes" >&5
4783 $as_echo "yes" >&6; }
4785 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4786 ac_clean_files=$ac_clean_files_save
4787 # Check that the compiler produces executables we can run. If not, either
4788 # the compiler is broken, or we cross compile.
4789 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4790 $as_echo_n "checking whether we are cross compiling... " >&6; }
4791 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4792 $as_echo "$cross_compiling" >&6; }
4794 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
4795 $as_echo_n "checking for suffix of executables... " >&6; }
4796 if { (ac_try="$ac_link"
4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799 *) ac_try_echo=$ac_try;;
4801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4802 $as_echo "$ac_try_echo") >&5
4803 (eval "$ac_link") 2>&5
4805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; then
4807 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4808 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4809 # work properly (i.e., refer to `conftest.exe'), while it won't with
4811 for ac_file in conftest.exe conftest conftest.*; do
4812 test -f "$ac_file" || continue
4814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4815 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4821 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4823 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4824 See \`config.log' for more details." >&5
4825 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4826 See \`config.log' for more details." >&2;}
4827 { (exit 1); exit 1; }; }; }
4830 rm -f conftest$ac_cv_exeext
4831 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4832 $as_echo "$ac_cv_exeext" >&6; }
4834 rm -f conftest.$ac_ext
4835 EXEEXT=$ac_cv_exeext
4837 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
4838 $as_echo_n "checking for suffix of object files... " >&6; }
4839 if test "${ac_cv_objext+set}" = set; then
4840 $as_echo_n "(cached) " >&6
4842 cat >conftest.$ac_ext <<_ACEOF
4845 cat confdefs.h >>conftest.$ac_ext
4846 cat >>conftest.$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4857 rm -f conftest.o conftest.obj
4858 if { (ac_try="$ac_compile"
4860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4861 *) ac_try_echo=$ac_try;;
4863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4864 $as_echo "$ac_try_echo") >&5
4865 (eval "$ac_compile") 2>&5
4867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; then
4869 for ac_file in conftest.o conftest.obj conftest.*; do
4870 test -f "$ac_file" || continue;
4872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4873 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4878 $as_echo "$as_me: failed program was:" >&5
4879 sed 's/^/| /' conftest.$ac_ext >&5
4881 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4883 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4884 See \`config.log' for more details." >&5
4885 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
4886 See \`config.log' for more details." >&2;}
4887 { (exit 1); exit 1; }; }; }
4890 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4892 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4893 $as_echo "$ac_cv_objext" >&6; }
4894 OBJEXT=$ac_cv_objext
4896 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4897 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4898 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4899 $as_echo_n "(cached) " >&6
4901 cat >conftest.$ac_ext <<_ACEOF
4904 cat confdefs.h >>conftest.$ac_ext
4905 cat >>conftest.$ac_ext <<_ACEOF
4906 /* end confdefs.h. */
4919 rm -f conftest.$ac_objext
4920 if { (ac_try="$ac_compile"
4922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4923 *) ac_try_echo=$ac_try;;
4925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4926 $as_echo "$ac_try_echo") >&5
4927 (eval "$ac_compile") 2>conftest.er1
4929 grep -v '^ *+' conftest.er1 >conftest.err
4931 cat conftest.err >&5
4932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } && {
4934 test -z "$ac_c_werror_flag" ||
4935 test ! -s conftest.err
4936 } && test -s conftest.$ac_objext; then
4939 $as_echo "$as_me: failed program was:" >&5
4940 sed 's/^/| /' conftest.$ac_ext >&5
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4949 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4950 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4951 if test $ac_compiler_gnu = yes; then
4956 ac_test_CFLAGS=${CFLAGS+set}
4957 ac_save_CFLAGS=$CFLAGS
4958 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4959 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4960 if test "${ac_cv_prog_cc_g+set}" = set; then
4961 $as_echo_n "(cached) " >&6
4963 ac_save_c_werror_flag=$ac_c_werror_flag
4964 ac_c_werror_flag=yes
4967 cat >conftest.$ac_ext <<_ACEOF
4970 cat confdefs.h >>conftest.$ac_ext
4971 cat >>conftest.$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4982 rm -f conftest.$ac_objext
4983 if { (ac_try="$ac_compile"
4985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4986 *) ac_try_echo=$ac_try;;
4988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4989 $as_echo "$ac_try_echo") >&5
4990 (eval "$ac_compile") 2>conftest.er1
4992 grep -v '^ *+' conftest.er1 >conftest.err
4994 cat conftest.err >&5
4995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); } && {
4997 test -z "$ac_c_werror_flag" ||
4998 test ! -s conftest.err
4999 } && test -s conftest.$ac_objext; then
5002 $as_echo "$as_me: failed program was:" >&5
5003 sed 's/^/| /' conftest.$ac_ext >&5
5006 cat >conftest.$ac_ext <<_ACEOF
5009 cat confdefs.h >>conftest.$ac_ext
5010 cat >>conftest.$ac_ext <<_ACEOF
5011 /* end confdefs.h. */
5021 rm -f conftest.$ac_objext
5022 if { (ac_try="$ac_compile"
5024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5025 *) ac_try_echo=$ac_try;;
5027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5028 $as_echo "$ac_try_echo") >&5
5029 (eval "$ac_compile") 2>conftest.er1
5031 grep -v '^ *+' conftest.er1 >conftest.err
5033 cat conftest.err >&5
5034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } && {
5036 test -z "$ac_c_werror_flag" ||
5037 test ! -s conftest.err
5038 } && test -s conftest.$ac_objext; then
5041 $as_echo "$as_me: failed program was:" >&5
5042 sed 's/^/| /' conftest.$ac_ext >&5
5044 ac_c_werror_flag=$ac_save_c_werror_flag
5046 cat >conftest.$ac_ext <<_ACEOF
5049 cat confdefs.h >>conftest.$ac_ext
5050 cat >>conftest.$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5061 rm -f conftest.$ac_objext
5062 if { (ac_try="$ac_compile"
5064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5065 *) ac_try_echo=$ac_try;;
5067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5068 $as_echo "$ac_try_echo") >&5
5069 (eval "$ac_compile") 2>conftest.er1
5071 grep -v '^ *+' conftest.er1 >conftest.err
5073 cat conftest.err >&5
5074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } && {
5076 test -z "$ac_c_werror_flag" ||
5077 test ! -s conftest.err
5078 } && test -s conftest.$ac_objext; then
5081 $as_echo "$as_me: failed program was:" >&5
5082 sed 's/^/| /' conftest.$ac_ext >&5
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5094 ac_c_werror_flag=$ac_save_c_werror_flag
5096 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5097 $as_echo "$ac_cv_prog_cc_g" >&6; }
5098 if test "$ac_test_CFLAGS" = set; then
5099 CFLAGS=$ac_save_CFLAGS
5100 elif test $ac_cv_prog_cc_g = yes; then
5101 if test "$GCC" = yes; then
5107 if test "$GCC" = yes; then
5113 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5114 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5115 if test "${ac_cv_prog_cc_c89+set}" = set; then
5116 $as_echo_n "(cached) " >&6
5118 ac_cv_prog_cc_c89=no
5120 cat >conftest.$ac_ext <<_ACEOF
5123 cat confdefs.h >>conftest.$ac_ext
5124 cat >>conftest.$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5128 #include <sys/types.h>
5129 #include <sys/stat.h>
5130 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5131 struct buf { int x; };
5132 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5133 static char *e (p, i)
5139 static char *f (char * (*g) (char **, int), char **p, ...)
5144 s = g (p, va_arg (v,int));
5149 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5150 function prototypes and stuff, but not '\xHH' hex character constants.
5151 These don't provoke an error unfortunately, instead are silently treated
5152 as 'x'. The following induces an error, until -std is added to get
5153 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5154 array size at least. It's necessary to write '\x00'==0 to get something
5155 that's true only with -std. */
5156 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5158 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5159 inside strings and character constants. */
5161 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5163 int test (int i, double x);
5164 struct s1 {int (*f) (int a);};
5165 struct s2 {int (*f) (double a);};
5166 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5172 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5177 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5178 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5180 CC="$ac_save_CC $ac_arg"
5181 rm -f conftest.$ac_objext
5182 if { (ac_try="$ac_compile"
5184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5185 *) ac_try_echo=$ac_try;;
5187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5188 $as_echo "$ac_try_echo") >&5
5189 (eval "$ac_compile") 2>conftest.er1
5191 grep -v '^ *+' conftest.er1 >conftest.err
5193 cat conftest.err >&5
5194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); } && {
5196 test -z "$ac_c_werror_flag" ||
5197 test ! -s conftest.err
5198 } && test -s conftest.$ac_objext; then
5199 ac_cv_prog_cc_c89=$ac_arg
5201 $as_echo "$as_me: failed program was:" >&5
5202 sed 's/^/| /' conftest.$ac_ext >&5
5207 rm -f core conftest.err conftest.$ac_objext
5208 test "x$ac_cv_prog_cc_c89" != "xno" && break
5210 rm -f conftest.$ac_ext
5215 case "x$ac_cv_prog_cc_c89" in
5217 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5218 $as_echo "none needed" >&6; } ;;
5220 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5221 $as_echo "unsupported" >&6; } ;;
5223 CC="$CC $ac_cv_prog_cc_c89"
5224 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5225 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5230 ac_cpp='$CPP $CPPFLAGS'
5231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5235 depcc="$CC" am_compiler_list=
5237 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5238 $as_echo_n "checking dependency style of $depcc... " >&6; }
5239 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5240 $as_echo_n "(cached) " >&6
5242 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5243 # We make a subdir and do the tests there. Otherwise we can end up
5244 # making bogus files that we don't know about and never remove. For
5245 # instance it was reported that on HP-UX the gcc test will end up
5246 # making a dummy file named `D' -- because `-MD' means `put the output
5249 # Copy depcomp to subdir because otherwise we won't find it if we're
5250 # using a relative directory.
5251 cp "$am_depcomp" conftest.dir
5253 # We will build objects and dependencies in a subdirectory because
5254 # it helps to detect inapplicable dependency modes. For instance
5255 # both Tru64's cc and ICC support -MD to output dependencies as a
5256 # side effect of compilation, but ICC will put the dependencies in
5257 # the current directory while Tru64 will put them in the object
5261 am_cv_CC_dependencies_compiler_type=none
5262 if test "$am_compiler_list" = ""; then
5263 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5266 case " $depcc " in #(
5267 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5270 for depmode in $am_compiler_list; do
5271 # Setup a source with many dependencies, because some compilers
5272 # like to wrap large dependency lists on column 80 (with \), and
5273 # we should not choose a depcomp mode which is confused by this.
5275 # We need to recreate these files for each test, as the compiler may
5276 # overwrite some of them when testing with obscure command lines.
5277 # This happens at least with the AIX C compiler.
5279 for i in 1 2 3 4 5 6; do
5280 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5281 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5282 # Solaris 8's {/usr,}/bin/sh.
5283 touch sub/conftst$i.h
5285 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5287 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5288 # mode. It turns out that the SunPro C++ compiler does not properly
5289 # handle `-M -o', and we need to detect this. Also, some Intel
5290 # versions had trouble with output in subdirs
5291 am__obj=sub/conftest.${OBJEXT-o}
5292 am__minus_obj="-o $am__obj"
5295 # This depmode causes a compiler race in universal mode.
5296 test "$am__universal" = false || continue
5299 # after this tag, mechanisms are not by side-effect, so they'll
5300 # only be used when explicitly requested
5301 if test "x$enable_dependency_tracking" = xyes; then
5307 msvisualcpp | msvcmsys)
5308 # This compiler won't grok `-c -o', but also, the minuso test has
5309 # not run yet. These depmodes are late enough in the game, and
5310 # so weak that their functioning should not be impacted.
5311 am__obj=conftest.${OBJEXT-o}
5316 if depmode=$depmode \
5317 source=sub/conftest.c object=$am__obj \
5318 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5319 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5320 >/dev/null 2>conftest.err &&
5321 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5322 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5323 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5324 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5325 # icc doesn't choke on unknown options, it will just issue warnings
5326 # or remarks (even with -Werror). So we grep stderr for any message
5327 # that says an option was ignored or not supported.
5328 # When given -MP, icc 7.0 and 7.1 complain thusly:
5329 # icc: Command line warning: ignoring option '-M'; no argument required
5330 # The diagnosis changed in icc 8.0:
5331 # icc: Command line remark: option '-MP' not supported
5332 if (grep 'ignoring option' conftest.err ||
5333 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5334 am_cv_CC_dependencies_compiler_type=$depmode
5343 am_cv_CC_dependencies_compiler_type=none
5347 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5348 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5349 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5352 test "x$enable_dependency_tracking" != xno \
5353 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5355 am__fastdepCC_FALSE='#'
5357 am__fastdepCC_TRUE='#'
5358 am__fastdepCC_FALSE=
5362 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5363 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5364 if test "${ac_cv_path_GREP+set}" = set; then
5365 $as_echo_n "(cached) " >&6
5367 if test -z "$GREP"; then
5368 ac_path_GREP_found=false
5369 # Loop through the user's path and test for each of PROGNAME-LIST
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5374 test -z "$as_dir" && as_dir=.
5375 for ac_prog in grep ggrep; do
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5378 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5379 # Check for GNU ac_path_GREP and select it if it is found.
5380 # Check for GNU $ac_path_GREP
5381 case `"$ac_path_GREP" --version 2>&1` in
5383 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5386 $as_echo_n 0123456789 >"conftest.in"
5389 cat "conftest.in" "conftest.in" >"conftest.tmp"
5390 mv "conftest.tmp" "conftest.in"
5391 cp "conftest.in" "conftest.nl"
5392 $as_echo 'GREP' >> "conftest.nl"
5393 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5394 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5395 ac_count=`expr $ac_count + 1`
5396 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5397 # Best one so far, save it but keep looking for a better one
5398 ac_cv_path_GREP="$ac_path_GREP"
5399 ac_path_GREP_max=$ac_count
5401 # 10*(2^10) chars as input seems more than enough
5402 test $ac_count -gt 10 && break
5404 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5407 $ac_path_GREP_found && break 3
5412 if test -z "$ac_cv_path_GREP"; then
5413 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5414 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5415 { (exit 1); exit 1; }; }
5418 ac_cv_path_GREP=$GREP
5422 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5423 $as_echo "$ac_cv_path_GREP" >&6; }
5424 GREP="$ac_cv_path_GREP"
5427 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5428 $as_echo_n "checking for egrep... " >&6; }
5429 if test "${ac_cv_path_EGREP+set}" = set; then
5430 $as_echo_n "(cached) " >&6
5432 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5433 then ac_cv_path_EGREP="$GREP -E"
5435 if test -z "$EGREP"; then
5436 ac_path_EGREP_found=false
5437 # Loop through the user's path and test for each of PROGNAME-LIST
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5442 test -z "$as_dir" && as_dir=.
5443 for ac_prog in egrep; do
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5446 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5447 # Check for GNU ac_path_EGREP and select it if it is found.
5448 # Check for GNU $ac_path_EGREP
5449 case `"$ac_path_EGREP" --version 2>&1` in
5451 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5454 $as_echo_n 0123456789 >"conftest.in"
5457 cat "conftest.in" "conftest.in" >"conftest.tmp"
5458 mv "conftest.tmp" "conftest.in"
5459 cp "conftest.in" "conftest.nl"
5460 $as_echo 'EGREP' >> "conftest.nl"
5461 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5463 ac_count=`expr $ac_count + 1`
5464 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5465 # Best one so far, save it but keep looking for a better one
5466 ac_cv_path_EGREP="$ac_path_EGREP"
5467 ac_path_EGREP_max=$ac_count
5469 # 10*(2^10) chars as input seems more than enough
5470 test $ac_count -gt 10 && break
5472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5475 $ac_path_EGREP_found && break 3
5480 if test -z "$ac_cv_path_EGREP"; then
5481 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5482 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5483 { (exit 1); exit 1; }; }
5486 ac_cv_path_EGREP=$EGREP
5491 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5492 $as_echo "$ac_cv_path_EGREP" >&6; }
5493 EGREP="$ac_cv_path_EGREP"
5496 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5497 $as_echo_n "checking for fgrep... " >&6; }
5498 if test "${ac_cv_path_FGREP+set}" = set; then
5499 $as_echo_n "(cached) " >&6
5501 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5502 then ac_cv_path_FGREP="$GREP -F"
5504 if test -z "$FGREP"; then
5505 ac_path_FGREP_found=false
5506 # Loop through the user's path and test for each of PROGNAME-LIST
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5511 test -z "$as_dir" && as_dir=.
5512 for ac_prog in fgrep; do
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5515 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5516 # Check for GNU ac_path_FGREP and select it if it is found.
5517 # Check for GNU $ac_path_FGREP
5518 case `"$ac_path_FGREP" --version 2>&1` in
5520 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5523 $as_echo_n 0123456789 >"conftest.in"
5526 cat "conftest.in" "conftest.in" >"conftest.tmp"
5527 mv "conftest.tmp" "conftest.in"
5528 cp "conftest.in" "conftest.nl"
5529 $as_echo 'FGREP' >> "conftest.nl"
5530 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5531 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5532 ac_count=`expr $ac_count + 1`
5533 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5534 # Best one so far, save it but keep looking for a better one
5535 ac_cv_path_FGREP="$ac_path_FGREP"
5536 ac_path_FGREP_max=$ac_count
5538 # 10*(2^10) chars as input seems more than enough
5539 test $ac_count -gt 10 && break
5541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5544 $ac_path_FGREP_found && break 3
5549 if test -z "$ac_cv_path_FGREP"; then
5550 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5551 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5552 { (exit 1); exit 1; }; }
5555 ac_cv_path_FGREP=$FGREP
5560 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5561 $as_echo "$ac_cv_path_FGREP" >&6; }
5562 FGREP="$ac_cv_path_FGREP"
5565 test -z "$GREP" && GREP=grep
5585 # Check whether --with-gnu-ld was given.
5586 if test "${with_gnu_ld+set}" = set; then
5587 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5593 if test "$GCC" = yes; then
5594 # Check if gcc -print-prog-name=ld gives a path.
5595 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5596 $as_echo_n "checking for ld used by $CC... " >&6; }
5599 # gcc leaves a trailing carriage return which upsets mingw
5600 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5602 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5605 # Accept absolute paths.
5607 re_direlt='/[^/][^/]*/\.\./'
5608 # Canonicalize the pathname of ld
5609 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5610 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5611 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5613 test -z "$LD" && LD="$ac_prog"
5616 # If it fails, then pretend we aren't using GCC.
5620 # If it is relative, then search for the first ld in PATH.
5624 elif test "$with_gnu_ld" = yes; then
5625 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5626 $as_echo_n "checking for GNU ld... " >&6; }
5628 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5629 $as_echo_n "checking for non-GNU ld... " >&6; }
5631 if test "${lt_cv_path_LD+set}" = set; then
5632 $as_echo_n "(cached) " >&6
5634 if test -z "$LD"; then
5635 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5636 for ac_dir in $PATH; do
5638 test -z "$ac_dir" && ac_dir=.
5639 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5640 lt_cv_path_LD="$ac_dir/$ac_prog"
5641 # Check to see if the program is GNU ld. I'd rather use --version,
5642 # but apparently some variants of GNU ld only accept -v.
5643 # Break only if it was the GNU/non-GNU ld that we prefer.
5644 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5645 *GNU* | *'with BFD'*)
5646 test "$with_gnu_ld" != no && break
5649 test "$with_gnu_ld" != yes && break
5656 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5661 if test -n "$LD"; then
5662 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5663 $as_echo "$LD" >&6; }
5665 { $as_echo "$as_me:$LINENO: result: no" >&5
5666 $as_echo "no" >&6; }
5668 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5669 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5670 { (exit 1); exit 1; }; }
5671 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5672 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5673 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5674 $as_echo_n "(cached) " >&6
5676 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5677 case `$LD -v 2>&1 </dev/null` in
5678 *GNU* | *'with BFD'*)
5679 lt_cv_prog_gnu_ld=yes
5682 lt_cv_prog_gnu_ld=no
5686 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5687 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5688 with_gnu_ld=$lt_cv_prog_gnu_ld
5698 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5699 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5700 if test "${lt_cv_path_NM+set}" = set; then
5701 $as_echo_n "(cached) " >&6
5703 if test -n "$NM"; then
5704 # Let the user override the test.
5707 lt_nm_to_check="${ac_tool_prefix}nm"
5708 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5709 lt_nm_to_check="$lt_nm_to_check nm"
5711 for lt_tmp_nm in $lt_nm_to_check; do
5712 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5713 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5715 test -z "$ac_dir" && ac_dir=.
5716 tmp_nm="$ac_dir/$lt_tmp_nm"
5717 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5718 # Check to see if the nm accepts a BSD-compat flag.
5719 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5720 # nm: unknown option "B" ignored
5721 # Tru64's nm complains that /dev/null is an invalid object file
5722 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5723 */dev/null* | *'Invalid file or object type'*)
5724 lt_cv_path_NM="$tmp_nm -B"
5728 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5730 lt_cv_path_NM="$tmp_nm -p"
5734 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5735 continue # so that we can try to find one that supports BSD flags
5744 : ${lt_cv_path_NM=no}
5747 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5748 $as_echo "$lt_cv_path_NM" >&6; }
5749 if test "$lt_cv_path_NM" != "no"; then
5752 # Didn't find any BSD compatible name lister, look for dumpbin.
5753 if test -n "$ac_tool_prefix"; then
5754 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5758 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5759 $as_echo_n "checking for $ac_word... " >&6; }
5760 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5761 $as_echo_n "(cached) " >&6
5763 if test -n "$DUMPBIN"; then
5764 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5774 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 DUMPBIN=$ac_cv_prog_DUMPBIN
5784 if test -n "$DUMPBIN"; then
5785 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5786 $as_echo "$DUMPBIN" >&6; }
5788 { $as_echo "$as_me:$LINENO: result: no" >&5
5789 $as_echo "no" >&6; }
5793 test -n "$DUMPBIN" && break
5796 if test -z "$DUMPBIN"; then
5797 ac_ct_DUMPBIN=$DUMPBIN
5798 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5800 # Extract the first word of "$ac_prog", so it can be a program name with args.
5801 set dummy $ac_prog; ac_word=$2
5802 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5803 $as_echo_n "checking for $ac_word... " >&6; }
5804 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5805 $as_echo_n "(cached) " >&6
5807 if test -n "$ac_ct_DUMPBIN"; then
5808 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir=.
5815 for ac_exec_ext in '' $ac_executable_extensions; do
5816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5817 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5818 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5828 if test -n "$ac_ct_DUMPBIN"; then
5829 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5830 $as_echo "$ac_ct_DUMPBIN" >&6; }
5832 { $as_echo "$as_me:$LINENO: result: no" >&5
5833 $as_echo "no" >&6; }
5837 test -n "$ac_ct_DUMPBIN" && break
5840 if test "x$ac_ct_DUMPBIN" = x; then
5843 case $cross_compiling:$ac_tool_warned in
5845 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5847 ac_tool_warned=yes ;;
5849 DUMPBIN=$ac_ct_DUMPBIN
5854 if test "$DUMPBIN" != ":"; then
5858 test -z "$NM" && NM=nm
5865 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5866 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5867 if test "${lt_cv_nm_interface+set}" = set; then
5868 $as_echo_n "(cached) " >&6
5870 lt_cv_nm_interface="BSD nm"
5871 echo "int some_variable = 0;" > conftest.$ac_ext
5872 (eval echo "\"\$as_me:5872: $ac_compile\"" >&5)
5873 (eval "$ac_compile" 2>conftest.err)
5874 cat conftest.err >&5
5875 (eval echo "\"\$as_me:5875: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5876 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5877 cat conftest.err >&5
5878 (eval echo "\"\$as_me:5878: output\"" >&5)
5879 cat conftest.out >&5
5880 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5881 lt_cv_nm_interface="MS dumpbin"
5885 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5886 $as_echo "$lt_cv_nm_interface" >&6; }
5888 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5889 $as_echo_n "checking whether ln -s works... " >&6; }
5891 if test "$LN_S" = "ln -s"; then
5892 { $as_echo "$as_me:$LINENO: result: yes" >&5
5893 $as_echo "yes" >&6; }
5895 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5896 $as_echo "no, using $LN_S" >&6; }
5899 # find the maximum length of command line arguments
5900 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5901 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5902 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5903 $as_echo_n "(cached) " >&6
5910 # On DJGPP, this test can blow up pretty badly due to problems in libc
5911 # (any single argument exceeding 2000 bytes causes a buffer overrun
5912 # during glob expansion). Even if it were fixed, the result of this
5913 # check would be larger than it should be.
5914 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5918 # Under GNU Hurd, this test is not required because there is
5919 # no limit to the length of command line arguments.
5920 # Libtool will interpret -1 as no limit whatsoever
5921 lt_cv_sys_max_cmd_len=-1;
5924 cygwin* | mingw* | cegcc*)
5925 # On Win9x/ME, this test blows up -- it succeeds, but takes
5926 # about 5 minutes as the teststring grows exponentially.
5927 # Worse, since 9x/ME are not pre-emptively multitasking,
5928 # you end up with a "frozen" computer, even though with patience
5929 # the test eventually succeeds (with a max line length of 256k).
5930 # Instead, let's just punt: use the minimum linelength reported by
5931 # all of the supported platforms: 8192 (on NT/2K/XP).
5932 lt_cv_sys_max_cmd_len=8192;
5936 # On AmigaOS with pdksh, this test takes hours, literally.
5937 # So we just punt and use a minimum line length of 8192.
5938 lt_cv_sys_max_cmd_len=8192;
5941 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5942 # This has been around since 386BSD, at least. Likely further.
5943 if test -x /sbin/sysctl; then
5944 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5945 elif test -x /usr/sbin/sysctl; then
5946 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5948 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5950 # And add a safety zone
5951 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5952 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5956 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5957 lt_cv_sys_max_cmd_len=196608
5961 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5962 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5963 # nice to cause kernel panics so lets avoid the loop below.
5964 # First set a reasonable default.
5965 lt_cv_sys_max_cmd_len=16384
5967 if test -x /sbin/sysconfig; then
5968 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5969 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5974 lt_cv_sys_max_cmd_len=102400
5976 sysv5* | sco5v6* | sysv4.2uw2*)
5977 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5978 if test -n "$kargmax"; then
5979 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5981 lt_cv_sys_max_cmd_len=32768
5985 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5986 if test -n "$lt_cv_sys_max_cmd_len"; then
5987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5988 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5990 # Make teststring a little bigger before we do anything with it.
5991 # a 1K string should be a reasonable start.
5992 for i in 1 2 3 4 5 6 7 8 ; do
5993 teststring=$teststring$teststring
5995 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5996 # If test is not a shell built-in, we'll probably end up computing a
5997 # maximum length that is only half of the actual maximum length, but
5999 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6000 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6001 test $i != 17 # 1/2 MB should be enough
6004 teststring=$teststring$teststring
6006 # Only check the string length outside the loop.
6007 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6009 # Add a significant safety factor because C++ compilers can tack on
6010 # massive amounts of additional arguments before passing them to the
6011 # linker. It appears as though 1/2 is a usable value.
6012 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6019 if test -n $lt_cv_sys_max_cmd_len ; then
6020 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6021 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6023 { $as_echo "$as_me:$LINENO: result: none" >&5
6024 $as_echo "none" >&6; }
6026 max_cmd_len=$lt_cv_sys_max_cmd_len
6037 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6038 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6039 # Try some XSI features
6042 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6044 && eval 'test $(( 1 + 1 )) -eq 2 \
6045 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6047 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6048 $as_echo "$xsi_shell" >&6; }
6051 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6052 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6054 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6056 && lt_shell_append=yes
6057 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6058 $as_echo "$lt_shell_append" >&6; }
6061 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6071 # test EBCDIC or ASCII
6072 case `echo X|tr X '\101'` in
6073 A) # ASCII based system
6074 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6075 lt_SP2NL='tr \040 \012'
6076 lt_NL2SP='tr \015\012 \040\040'
6078 *) # EBCDIC based system
6079 lt_SP2NL='tr \100 \n'
6080 lt_NL2SP='tr \r\n \100\100'
6092 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6093 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6094 if test "${lt_cv_ld_reload_flag+set}" = set; then
6095 $as_echo_n "(cached) " >&6
6097 lt_cv_ld_reload_flag='-r'
6099 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6100 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6101 reload_flag=$lt_cv_ld_reload_flag
6102 case $reload_flag in
6104 *) reload_flag=" $reload_flag" ;;
6106 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6109 if test "$GCC" = yes; then
6110 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6112 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6125 if test -n "$ac_tool_prefix"; then
6126 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6127 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6129 $as_echo_n "checking for $ac_word... " >&6; }
6130 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6131 $as_echo_n "(cached) " >&6
6133 if test -n "$OBJDUMP"; then
6134 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 test -z "$as_dir" && as_dir=.
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6143 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6144 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 OBJDUMP=$ac_cv_prog_OBJDUMP
6154 if test -n "$OBJDUMP"; then
6155 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6156 $as_echo "$OBJDUMP" >&6; }
6158 { $as_echo "$as_me:$LINENO: result: no" >&5
6159 $as_echo "no" >&6; }
6164 if test -z "$ac_cv_prog_OBJDUMP"; then
6165 ac_ct_OBJDUMP=$OBJDUMP
6166 # Extract the first word of "objdump", so it can be a program name with args.
6167 set dummy objdump; ac_word=$2
6168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6171 $as_echo_n "(cached) " >&6
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6183 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6184 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6194 if test -n "$ac_ct_OBJDUMP"; then
6195 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6196 $as_echo "$ac_ct_OBJDUMP" >&6; }
6198 { $as_echo "$as_me:$LINENO: result: no" >&5
6199 $as_echo "no" >&6; }
6202 if test "x$ac_ct_OBJDUMP" = x; then
6205 case $cross_compiling:$ac_tool_warned in
6207 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6209 ac_tool_warned=yes ;;
6211 OBJDUMP=$ac_ct_OBJDUMP
6214 OBJDUMP="$ac_cv_prog_OBJDUMP"
6217 test -z "$OBJDUMP" && OBJDUMP=objdump
6224 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6225 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6226 if test "${lt_cv_deplibs_check_method+set}" = set; then
6227 $as_echo_n "(cached) " >&6
6229 lt_cv_file_magic_cmd='$MAGIC_CMD'
6230 lt_cv_file_magic_test_file=
6231 lt_cv_deplibs_check_method='unknown'
6232 # Need to set the preceding variable on all platforms that support
6233 # interlibrary dependencies.
6234 # 'none' -- dependencies not supported.
6235 # `unknown' -- same as none, but documents that we really don't know.
6236 # 'pass_all' -- all dependencies passed with no checks.
6237 # 'test_compile' -- check by making test program.
6238 # 'file_magic [[regex]]' -- check by looking for files in library path
6239 # which responds to the $file_magic_cmd with a given extended regex.
6240 # If you have `file' or equivalent on your system and you're not sure
6241 # whether `pass_all' will *always* work, you probably want this one.
6245 lt_cv_deplibs_check_method=pass_all
6249 lt_cv_deplibs_check_method=pass_all
6253 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6254 lt_cv_file_magic_cmd='/usr/bin/file -L'
6255 lt_cv_file_magic_test_file=/shlib/libc.so
6259 # func_win32_libid is a shell function defined in ltmain.sh
6260 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6261 lt_cv_file_magic_cmd='func_win32_libid'
6265 # Base MSYS/MinGW do not provide the 'file' command needed by
6266 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6267 # unless we find 'file', for example because we are cross-compiling.
6268 if ( file / ) >/dev/null 2>&1; then
6269 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6270 lt_cv_file_magic_cmd='func_win32_libid'
6272 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6273 lt_cv_file_magic_cmd='$OBJDUMP -f'
6278 # use the weaker test based on 'objdump'. See mingw*.
6279 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6280 lt_cv_file_magic_cmd='$OBJDUMP -f'
6283 darwin* | rhapsody*)
6284 lt_cv_deplibs_check_method=pass_all
6287 freebsd* | dragonfly*)
6288 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6291 # Not sure whether the presence of OpenBSD here was a mistake.
6292 # Let's accept both of them until this is cleared up.
6293 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6294 lt_cv_file_magic_cmd=/usr/bin/file
6295 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6299 lt_cv_deplibs_check_method=pass_all
6304 lt_cv_deplibs_check_method=pass_all
6307 hpux10.20* | hpux11*)
6308 lt_cv_file_magic_cmd=/usr/bin/file
6311 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6312 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6315 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]'
6316 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6319 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6320 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6326 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6327 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6330 irix5* | irix6* | nonstopux*)
6332 *-32|*"-32 ") libmagic=32-bit;;
6333 *-n32|*"-n32 ") libmagic=N32;;
6334 *-64|*"-64 ") libmagic=64-bit;;
6335 *) libmagic=never-match;;
6337 lt_cv_deplibs_check_method=pass_all
6340 # This must be Linux ELF.
6341 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6342 lt_cv_deplibs_check_method=pass_all
6346 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6347 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6349 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6354 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6355 lt_cv_file_magic_cmd=/usr/bin/file
6356 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6360 lt_cv_deplibs_check_method=pass_all
6364 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6365 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6367 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6371 osf3* | osf4* | osf5*)
6372 lt_cv_deplibs_check_method=pass_all
6376 lt_cv_deplibs_check_method=pass_all
6380 lt_cv_deplibs_check_method=pass_all
6383 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6384 lt_cv_deplibs_check_method=pass_all
6388 case $host_vendor in
6390 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]'
6391 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6394 lt_cv_deplibs_check_method=pass_all
6397 lt_cv_file_magic_cmd='/bin/file'
6398 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6401 lt_cv_file_magic_cmd='/bin/file'
6402 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6403 lt_cv_file_magic_test_file=/lib/libc.so
6406 lt_cv_deplibs_check_method=pass_all
6409 lt_cv_deplibs_check_method=pass_all
6415 lt_cv_deplibs_check_method=pass_all
6420 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6421 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6422 file_magic_cmd=$lt_cv_file_magic_cmd
6423 deplibs_check_method=$lt_cv_deplibs_check_method
6424 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6437 if test -n "$ac_tool_prefix"; then
6438 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6439 set dummy ${ac_tool_prefix}ar; ac_word=$2
6440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6441 $as_echo_n "checking for $ac_word... " >&6; }
6442 if test "${ac_cv_prog_AR+set}" = set; then
6443 $as_echo_n "(cached) " >&6
6445 if test -n "$AR"; then
6446 ac_cv_prog_AR="$AR" # Let the user override the test.
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455 ac_cv_prog_AR="${ac_tool_prefix}ar"
6456 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 if test -n "$AR"; then
6467 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6468 $as_echo "$AR" >&6; }
6470 { $as_echo "$as_me:$LINENO: result: no" >&5
6471 $as_echo "no" >&6; }
6476 if test -z "$ac_cv_prog_AR"; then
6478 # Extract the first word of "ar", so it can be a program name with args.
6479 set dummy ar; ac_word=$2
6480 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6481 $as_echo_n "checking for $ac_word... " >&6; }
6482 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6483 $as_echo_n "(cached) " >&6
6485 if test -n "$ac_ct_AR"; then
6486 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 test -z "$as_dir" && as_dir=.
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6495 ac_cv_prog_ac_ct_AR="ar"
6496 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6506 if test -n "$ac_ct_AR"; then
6507 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6508 $as_echo "$ac_ct_AR" >&6; }
6510 { $as_echo "$as_me:$LINENO: result: no" >&5
6511 $as_echo "no" >&6; }
6514 if test "x$ac_ct_AR" = x; then
6517 case $cross_compiling:$ac_tool_warned in
6519 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6521 ac_tool_warned=yes ;;
6529 test -z "$AR" && AR=ar
6530 test -z "$AR_FLAGS" && AR_FLAGS=cru
6542 if test -n "$ac_tool_prefix"; then
6543 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6544 set dummy ${ac_tool_prefix}strip; ac_word=$2
6545 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if test "${ac_cv_prog_STRIP+set}" = set; then
6548 $as_echo_n "(cached) " >&6
6550 if test -n "$STRIP"; then
6551 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6560 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6561 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 STRIP=$ac_cv_prog_STRIP
6571 if test -n "$STRIP"; then
6572 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6573 $as_echo "$STRIP" >&6; }
6575 { $as_echo "$as_me:$LINENO: result: no" >&5
6576 $as_echo "no" >&6; }
6581 if test -z "$ac_cv_prog_STRIP"; then
6583 # Extract the first word of "strip", so it can be a program name with args.
6584 set dummy strip; ac_word=$2
6585 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6588 $as_echo_n "(cached) " >&6
6590 if test -n "$ac_ct_STRIP"; then
6591 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 test -z "$as_dir" && as_dir=.
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6600 ac_cv_prog_ac_ct_STRIP="strip"
6601 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6611 if test -n "$ac_ct_STRIP"; then
6612 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6613 $as_echo "$ac_ct_STRIP" >&6; }
6615 { $as_echo "$as_me:$LINENO: result: no" >&5
6616 $as_echo "no" >&6; }
6619 if test "x$ac_ct_STRIP" = x; then
6622 case $cross_compiling:$ac_tool_warned in
6624 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6626 ac_tool_warned=yes ;;
6631 STRIP="$ac_cv_prog_STRIP"
6634 test -z "$STRIP" && STRIP=:
6641 if test -n "$ac_tool_prefix"; then
6642 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6643 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6644 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if test "${ac_cv_prog_RANLIB+set}" = set; then
6647 $as_echo_n "(cached) " >&6
6649 if test -n "$RANLIB"; then
6650 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6659 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6660 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 RANLIB=$ac_cv_prog_RANLIB
6670 if test -n "$RANLIB"; then
6671 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6672 $as_echo "$RANLIB" >&6; }
6674 { $as_echo "$as_me:$LINENO: result: no" >&5
6675 $as_echo "no" >&6; }
6680 if test -z "$ac_cv_prog_RANLIB"; then
6681 ac_ct_RANLIB=$RANLIB
6682 # Extract the first word of "ranlib", so it can be a program name with args.
6683 set dummy ranlib; ac_word=$2
6684 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6687 $as_echo_n "(cached) " >&6
6689 if test -n "$ac_ct_RANLIB"; then
6690 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 test -z "$as_dir" && as_dir=.
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699 ac_cv_prog_ac_ct_RANLIB="ranlib"
6700 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6709 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6710 if test -n "$ac_ct_RANLIB"; then
6711 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6712 $as_echo "$ac_ct_RANLIB" >&6; }
6714 { $as_echo "$as_me:$LINENO: result: no" >&5
6715 $as_echo "no" >&6; }
6718 if test "x$ac_ct_RANLIB" = x; then
6721 case $cross_compiling:$ac_tool_warned in
6723 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6725 ac_tool_warned=yes ;;
6727 RANLIB=$ac_ct_RANLIB
6730 RANLIB="$ac_cv_prog_RANLIB"
6733 test -z "$RANLIB" && RANLIB=:
6740 # Determine commands to create old-style static archives.
6741 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6742 old_postinstall_cmds='chmod 644 $oldlib'
6743 old_postuninstall_cmds=
6745 if test -n "$RANLIB"; then
6748 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6751 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6754 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6790 # If no C compiler was specified, use CC.
6793 # If no C compiler flags were specified, use CFLAGS.
6794 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6796 # Allow CC to be a program name with arguments.
6800 # Check for command to grab the raw symbol name followed by C symbol from nm.
6801 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6802 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6803 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6804 $as_echo_n "(cached) " >&6
6807 # These are sane defaults that work on at least a few old systems.
6808 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6810 # Character class describing NM global symbol codes.
6811 symcode='[BCDEGRST]'
6813 # Regexp to match symbols that can be accessed directly from C.
6814 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6816 # Define system-specific variables.
6821 cygwin* | mingw* | pw32* | cegcc*)
6822 symcode='[ABCDGISTW]'
6825 if test "$host_cpu" = ia64; then
6826 symcode='[ABCDEGRST]'
6830 symcode='[BCDEGRST]'
6833 symcode='[BCDEGQRST]'
6844 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6852 # If we're using GNU nm, then use its standard symbol codes.
6853 case `$NM -V 2>&1` in
6854 *GNU* | *'with BFD'*)
6855 symcode='[ABCDGIRSTW]' ;;
6858 # Transform an extracted symbol line into a proper C declaration.
6859 # Some systems (esp. on ia64) link data and code symbols differently,
6860 # so use this general approach.
6861 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6863 # Transform an extracted symbol line into symbol name and symbol address
6864 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6865 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'"
6867 # Handle CRLF in mingw tool chain
6871 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6875 # Try without a prefix underscore, then with it.
6876 for ac_symprfx in "" "_"; do
6878 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6879 symxfrm="\\1 $ac_symprfx\\2 \\2"
6881 # Write the raw and C identifiers.
6882 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6883 # Fake it for dumpbin and say T for any non-static function
6884 # and D for any global variable.
6885 # Also find C++ and __fastcall symbols from MSVC++,
6886 # which start with @ or ?.
6887 lt_cv_sys_global_symbol_pipe="$AWK '"\
6888 " {last_section=section; section=\$ 3};"\
6889 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6890 " \$ 0!~/External *\|/{next};"\
6891 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6892 " {if(hide[section]) next};"\
6893 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6894 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6895 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6896 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6897 " ' prfx=^$ac_symprfx"
6899 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6902 # Check to see that the pipe works correctly.
6906 cat > conftest.$ac_ext <<_LT_EOF
6911 void nm_test_func(void);
6912 void nm_test_func(void){}
6916 int main(){nm_test_var='a';nm_test_func();return(0);}
6919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6920 (eval $ac_compile) 2>&5
6922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); }; then
6924 # Now try to grab the symbols.
6926 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6927 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); } && test -s "$nlist"; then
6931 # Try sorting and uniquifying the output.
6932 if sort "$nlist" | uniq > "$nlist"T; then
6933 mv -f "$nlist"T "$nlist"
6938 # Make sure that we snagged all the symbols we need.
6939 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6940 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6941 cat <<_LT_EOF > conftest.$ac_ext
6947 # Now generate the symbol file.
6948 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6950 cat <<_LT_EOF >> conftest.$ac_ext
6952 /* The mapping between symbol names and symbols. */
6957 lt__PROGRAM__LTX_preloaded_symbols[] =
6959 { "@PROGRAM@", (void *) 0 },
6961 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6962 cat <<\_LT_EOF >> conftest.$ac_ext
6966 /* This works around a problem in FreeBSD linker */
6967 #ifdef FREEBSD_WORKAROUND
6968 static const void *lt_preloaded_setup() {
6969 return lt__PROGRAM__LTX_preloaded_symbols;
6977 # Now try linking the two files.
6978 mv conftest.$ac_objext conftstm.$ac_objext
6979 lt_save_LIBS="$LIBS"
6980 lt_save_CFLAGS="$CFLAGS"
6981 LIBS="conftstm.$ac_objext"
6982 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6984 (eval $ac_link) 2>&5
6986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6990 LIBS="$lt_save_LIBS"
6991 CFLAGS="$lt_save_CFLAGS"
6993 echo "cannot find nm_test_func in $nlist" >&5
6996 echo "cannot find nm_test_var in $nlist" >&5
6999 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7002 echo "$progname: failed program was:" >&5
7003 cat conftest.$ac_ext >&5
7005 rm -rf conftest* conftst*
7007 # Do not use the global_symbol_pipe unless it works.
7008 if test "$pipe_works" = yes; then
7011 lt_cv_sys_global_symbol_pipe=
7017 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7018 lt_cv_sys_global_symbol_to_cdecl=
7020 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7021 { $as_echo "$as_me:$LINENO: result: failed" >&5
7022 $as_echo "failed" >&6; }
7024 { $as_echo "$as_me:$LINENO: result: ok" >&5
7025 $as_echo "ok" >&6; }
7050 # Check whether --enable-libtool-lock was given.
7051 if test "${enable_libtool_lock+set}" = set; then
7052 enableval=$enable_libtool_lock;
7055 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7057 # Some flags need to be propagated to the compiler or linker for good
7061 # Find out which ABI we are using.
7062 echo 'int i;' > conftest.$ac_ext
7063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7064 (eval $ac_compile) 2>&5
7066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); }; then
7068 case `/usr/bin/file conftest.$ac_objext` in
7080 # Find out which ABI we are using.
7081 echo '#line 7081 "configure"' > conftest.$ac_ext
7082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7083 (eval $ac_compile) 2>&5
7085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; then
7087 if test "$lt_cv_prog_gnu_ld" = yes; then
7088 case `/usr/bin/file conftest.$ac_objext` in
7090 LD="${LD-ld} -melf32bsmip"
7093 LD="${LD-ld} -melf32bmipn32"
7096 LD="${LD-ld} -melf64bmip"
7100 case `/usr/bin/file conftest.$ac_objext` in
7116 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7117 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7118 # Find out which ABI we are using.
7119 echo 'int i;' > conftest.$ac_ext
7120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7121 (eval $ac_compile) 2>&5
7123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); }; then
7125 case `/usr/bin/file conftest.o` in
7128 x86_64-*kfreebsd*-gnu)
7129 LD="${LD-ld} -m elf_i386_fbsd"
7132 LD="${LD-ld} -m elf_i386"
7134 ppc64-*linux*|powerpc64-*linux*)
7135 LD="${LD-ld} -m elf32ppclinux"
7138 LD="${LD-ld} -m elf_s390"
7141 LD="${LD-ld} -m elf32_sparc"
7147 x86_64-*kfreebsd*-gnu)
7148 LD="${LD-ld} -m elf_x86_64_fbsd"
7151 LD="${LD-ld} -m elf_x86_64"
7153 ppc*-*linux*|powerpc*-*linux*)
7154 LD="${LD-ld} -m elf64ppc"
7156 s390*-*linux*|s390*-*tpf*)
7157 LD="${LD-ld} -m elf64_s390"
7160 LD="${LD-ld} -m elf64_sparc"
7170 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7171 SAVE_CFLAGS="$CFLAGS"
7172 CFLAGS="$CFLAGS -belf"
7173 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7174 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7175 if test "${lt_cv_cc_needs_belf+set}" = set; then
7176 $as_echo_n "(cached) " >&6
7179 ac_cpp='$CPP $CPPFLAGS'
7180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7184 cat >conftest.$ac_ext <<_ACEOF
7187 cat confdefs.h >>conftest.$ac_ext
7188 cat >>conftest.$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7199 rm -f conftest.$ac_objext conftest$ac_exeext
7200 if { (ac_try="$ac_link"
7202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7203 *) ac_try_echo=$ac_try;;
7205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7206 $as_echo "$ac_try_echo") >&5
7207 (eval "$ac_link") 2>conftest.er1
7209 grep -v '^ *+' conftest.er1 >conftest.err
7211 cat conftest.err >&5
7212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); } && {
7214 test -z "$ac_c_werror_flag" ||
7215 test ! -s conftest.err
7216 } && test -s conftest$ac_exeext && {
7217 test "$cross_compiling" = yes ||
7218 $as_test_x conftest$ac_exeext
7220 lt_cv_cc_needs_belf=yes
7222 $as_echo "$as_me: failed program was:" >&5
7223 sed 's/^/| /' conftest.$ac_ext >&5
7225 lt_cv_cc_needs_belf=no
7228 rm -rf conftest.dSYM
7229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7230 conftest$ac_exeext conftest.$ac_ext
7232 ac_cpp='$CPP $CPPFLAGS'
7233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7238 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7239 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7240 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7241 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7242 CFLAGS="$SAVE_CFLAGS"
7246 # Find out which ABI we are using.
7247 echo 'int i;' > conftest.$ac_ext
7248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7249 (eval $ac_compile) 2>&5
7251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); }; then
7253 case `/usr/bin/file conftest.o` in
7255 case $lt_cv_prog_gnu_ld in
7256 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7258 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7270 need_locks="$enable_libtool_lock"
7274 rhapsody* | darwin*)
7275 if test -n "$ac_tool_prefix"; then
7276 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7277 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7279 $as_echo_n "checking for $ac_word... " >&6; }
7280 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7281 $as_echo_n "(cached) " >&6
7283 if test -n "$DSYMUTIL"; then
7284 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7290 test -z "$as_dir" && as_dir=.
7291 for ac_exec_ext in '' $ac_executable_extensions; do
7292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7293 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7303 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7304 if test -n "$DSYMUTIL"; then
7305 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7306 $as_echo "$DSYMUTIL" >&6; }
7308 { $as_echo "$as_me:$LINENO: result: no" >&5
7309 $as_echo "no" >&6; }
7314 if test -z "$ac_cv_prog_DSYMUTIL"; then
7315 ac_ct_DSYMUTIL=$DSYMUTIL
7316 # Extract the first word of "dsymutil", so it can be a program name with args.
7317 set dummy dsymutil; ac_word=$2
7318 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7319 $as_echo_n "checking for $ac_word... " >&6; }
7320 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7321 $as_echo_n "(cached) " >&6
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 test -z "$as_dir" && as_dir=.
7331 for ac_exec_ext in '' $ac_executable_extensions; do
7332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7333 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7334 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7344 if test -n "$ac_ct_DSYMUTIL"; then
7345 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7346 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7348 { $as_echo "$as_me:$LINENO: result: no" >&5
7349 $as_echo "no" >&6; }
7352 if test "x$ac_ct_DSYMUTIL" = x; then
7355 case $cross_compiling:$ac_tool_warned in
7357 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7359 ac_tool_warned=yes ;;
7361 DSYMUTIL=$ac_ct_DSYMUTIL
7364 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7367 if test -n "$ac_tool_prefix"; then
7368 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7369 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7370 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7373 $as_echo_n "(cached) " >&6
7375 if test -n "$NMEDIT"; then
7376 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 test -z "$as_dir" && as_dir=.
7383 for ac_exec_ext in '' $ac_executable_extensions; do
7384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7385 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7386 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 NMEDIT=$ac_cv_prog_NMEDIT
7396 if test -n "$NMEDIT"; then
7397 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7398 $as_echo "$NMEDIT" >&6; }
7400 { $as_echo "$as_me:$LINENO: result: no" >&5
7401 $as_echo "no" >&6; }
7406 if test -z "$ac_cv_prog_NMEDIT"; then
7407 ac_ct_NMEDIT=$NMEDIT
7408 # Extract the first word of "nmedit", so it can be a program name with args.
7409 set dummy nmedit; ac_word=$2
7410 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7413 $as_echo_n "(cached) " >&6
7415 if test -n "$ac_ct_NMEDIT"; then
7416 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 test -z "$as_dir" && as_dir=.
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7425 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7426 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7436 if test -n "$ac_ct_NMEDIT"; then
7437 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7438 $as_echo "$ac_ct_NMEDIT" >&6; }
7440 { $as_echo "$as_me:$LINENO: result: no" >&5
7441 $as_echo "no" >&6; }
7444 if test "x$ac_ct_NMEDIT" = x; then
7447 case $cross_compiling:$ac_tool_warned in
7449 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7451 ac_tool_warned=yes ;;
7453 NMEDIT=$ac_ct_NMEDIT
7456 NMEDIT="$ac_cv_prog_NMEDIT"
7459 if test -n "$ac_tool_prefix"; then
7460 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7461 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7462 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7463 $as_echo_n "checking for $ac_word... " >&6; }
7464 if test "${ac_cv_prog_LIPO+set}" = set; then
7465 $as_echo_n "(cached) " >&6
7467 if test -n "$LIPO"; then
7468 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 test -z "$as_dir" && as_dir=.
7475 for ac_exec_ext in '' $ac_executable_extensions; do
7476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7477 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7478 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 LIPO=$ac_cv_prog_LIPO
7488 if test -n "$LIPO"; then
7489 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7490 $as_echo "$LIPO" >&6; }
7492 { $as_echo "$as_me:$LINENO: result: no" >&5
7493 $as_echo "no" >&6; }
7498 if test -z "$ac_cv_prog_LIPO"; then
7500 # Extract the first word of "lipo", so it can be a program name with args.
7501 set dummy lipo; ac_word=$2
7502 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7503 $as_echo_n "checking for $ac_word... " >&6; }
7504 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7505 $as_echo_n "(cached) " >&6
7507 if test -n "$ac_ct_LIPO"; then
7508 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514 test -z "$as_dir" && as_dir=.
7515 for ac_exec_ext in '' $ac_executable_extensions; do
7516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7517 ac_cv_prog_ac_ct_LIPO="lipo"
7518 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7528 if test -n "$ac_ct_LIPO"; then
7529 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7530 $as_echo "$ac_ct_LIPO" >&6; }
7532 { $as_echo "$as_me:$LINENO: result: no" >&5
7533 $as_echo "no" >&6; }
7536 if test "x$ac_ct_LIPO" = x; then
7539 case $cross_compiling:$ac_tool_warned in
7541 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7543 ac_tool_warned=yes ;;
7548 LIPO="$ac_cv_prog_LIPO"
7551 if test -n "$ac_tool_prefix"; then
7552 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7553 set dummy ${ac_tool_prefix}otool; ac_word=$2
7554 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7555 $as_echo_n "checking for $ac_word... " >&6; }
7556 if test "${ac_cv_prog_OTOOL+set}" = set; then
7557 $as_echo_n "(cached) " >&6
7559 if test -n "$OTOOL"; then
7560 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7566 test -z "$as_dir" && as_dir=.
7567 for ac_exec_ext in '' $ac_executable_extensions; do
7568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7569 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7570 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 OTOOL=$ac_cv_prog_OTOOL
7580 if test -n "$OTOOL"; then
7581 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7582 $as_echo "$OTOOL" >&6; }
7584 { $as_echo "$as_me:$LINENO: result: no" >&5
7585 $as_echo "no" >&6; }
7590 if test -z "$ac_cv_prog_OTOOL"; then
7592 # Extract the first word of "otool", so it can be a program name with args.
7593 set dummy otool; ac_word=$2
7594 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7595 $as_echo_n "checking for $ac_word... " >&6; }
7596 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7597 $as_echo_n "(cached) " >&6
7599 if test -n "$ac_ct_OTOOL"; then
7600 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7606 test -z "$as_dir" && as_dir=.
7607 for ac_exec_ext in '' $ac_executable_extensions; do
7608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7609 ac_cv_prog_ac_ct_OTOOL="otool"
7610 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7620 if test -n "$ac_ct_OTOOL"; then
7621 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7622 $as_echo "$ac_ct_OTOOL" >&6; }
7624 { $as_echo "$as_me:$LINENO: result: no" >&5
7625 $as_echo "no" >&6; }
7628 if test "x$ac_ct_OTOOL" = x; then
7631 case $cross_compiling:$ac_tool_warned in
7633 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7635 ac_tool_warned=yes ;;
7640 OTOOL="$ac_cv_prog_OTOOL"
7643 if test -n "$ac_tool_prefix"; then
7644 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7645 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7646 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7647 $as_echo_n "checking for $ac_word... " >&6; }
7648 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7649 $as_echo_n "(cached) " >&6
7651 if test -n "$OTOOL64"; then
7652 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7658 test -z "$as_dir" && as_dir=.
7659 for ac_exec_ext in '' $ac_executable_extensions; do
7660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7661 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7662 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 OTOOL64=$ac_cv_prog_OTOOL64
7672 if test -n "$OTOOL64"; then
7673 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7674 $as_echo "$OTOOL64" >&6; }
7676 { $as_echo "$as_me:$LINENO: result: no" >&5
7677 $as_echo "no" >&6; }
7682 if test -z "$ac_cv_prog_OTOOL64"; then
7683 ac_ct_OTOOL64=$OTOOL64
7684 # Extract the first word of "otool64", so it can be a program name with args.
7685 set dummy otool64; ac_word=$2
7686 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7687 $as_echo_n "checking for $ac_word... " >&6; }
7688 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7689 $as_echo_n "(cached) " >&6
7691 if test -n "$ac_ct_OTOOL64"; then
7692 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7698 test -z "$as_dir" && as_dir=.
7699 for ac_exec_ext in '' $ac_executable_extensions; do
7700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7701 ac_cv_prog_ac_ct_OTOOL64="otool64"
7702 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7711 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7712 if test -n "$ac_ct_OTOOL64"; then
7713 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7714 $as_echo "$ac_ct_OTOOL64" >&6; }
7716 { $as_echo "$as_me:$LINENO: result: no" >&5
7717 $as_echo "no" >&6; }
7720 if test "x$ac_ct_OTOOL64" = x; then
7723 case $cross_compiling:$ac_tool_warned in
7725 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7727 ac_tool_warned=yes ;;
7729 OTOOL64=$ac_ct_OTOOL64
7732 OTOOL64="$ac_cv_prog_OTOOL64"
7761 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7762 $as_echo_n "checking for -single_module linker flag... " >&6; }
7763 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7764 $as_echo_n "(cached) " >&6
7766 lt_cv_apple_cc_single_mod=no
7767 if test -z "${LT_MULTI_MODULE}"; then
7768 # By default we will add the -single_module flag. You can override
7769 # by either setting the environment variable LT_MULTI_MODULE
7770 # non-empty at configure time, or by adding -multi_module to the
7772 rm -rf libconftest.dylib*
7773 echo "int foo(void){return 1;}" > conftest.c
7774 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7775 -dynamiclib -Wl,-single_module conftest.c" >&5
7776 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7777 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7779 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7780 lt_cv_apple_cc_single_mod=yes
7782 cat conftest.err >&5
7784 rm -rf libconftest.dylib*
7788 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7789 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7790 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7791 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7792 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7793 $as_echo_n "(cached) " >&6
7795 lt_cv_ld_exported_symbols_list=no
7796 save_LDFLAGS=$LDFLAGS
7797 echo "_main" > conftest.sym
7798 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7799 cat >conftest.$ac_ext <<_ACEOF
7802 cat confdefs.h >>conftest.$ac_ext
7803 cat >>conftest.$ac_ext <<_ACEOF
7804 /* end confdefs.h. */
7814 rm -f conftest.$ac_objext conftest$ac_exeext
7815 if { (ac_try="$ac_link"
7817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7818 *) ac_try_echo=$ac_try;;
7820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7821 $as_echo "$ac_try_echo") >&5
7822 (eval "$ac_link") 2>conftest.er1
7824 grep -v '^ *+' conftest.er1 >conftest.err
7826 cat conftest.err >&5
7827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828 (exit $ac_status); } && {
7829 test -z "$ac_c_werror_flag" ||
7830 test ! -s conftest.err
7831 } && test -s conftest$ac_exeext && {
7832 test "$cross_compiling" = yes ||
7833 $as_test_x conftest$ac_exeext
7835 lt_cv_ld_exported_symbols_list=yes
7837 $as_echo "$as_me: failed program was:" >&5
7838 sed 's/^/| /' conftest.$ac_ext >&5
7840 lt_cv_ld_exported_symbols_list=no
7843 rm -rf conftest.dSYM
7844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7845 conftest$ac_exeext conftest.$ac_ext
7846 LDFLAGS="$save_LDFLAGS"
7849 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7850 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7852 rhapsody* | darwin1.[012])
7853 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7855 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7856 darwin*) # darwin 5.x on
7857 # if running on 10.5 or later, the deployment target defaults
7858 # to the OS version, if on x86, and 10.4, the deployment
7859 # target defaults to 10.4. Don't you love it?
7860 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7861 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7864 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7866 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7870 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7871 _lt_dar_single_mod='$single_module'
7873 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7874 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7876 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7878 if test "$DSYMUTIL" != ":"; then
7879 _lt_dsymutil='~$DSYMUTIL $lib || :'
7887 ac_cpp='$CPP $CPPFLAGS'
7888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7891 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7892 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7893 # On Suns, sometimes $CPP names a directory.
7894 if test -n "$CPP" && test -d "$CPP"; then
7897 if test -z "$CPP"; then
7898 if test "${ac_cv_prog_CPP+set}" = set; then
7899 $as_echo_n "(cached) " >&6
7901 # Double quotes because CPP needs to be expanded
7902 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7905 for ac_c_preproc_warn_flag in '' yes
7907 # Use a header file that comes with gcc, so configuring glibc
7908 # with a fresh cross-compiler works.
7909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7910 # <limits.h> exists even on freestanding compilers.
7911 # On the NeXT, cc -E runs the code through the compiler's parser,
7912 # not just through cpp. "Syntax error" is here to catch this case.
7913 cat >conftest.$ac_ext <<_ACEOF
7916 cat confdefs.h >>conftest.$ac_ext
7917 cat >>conftest.$ac_ext <<_ACEOF
7918 /* end confdefs.h. */
7920 # include <limits.h>
7922 # include <assert.h>
7926 if { (ac_try="$ac_cpp conftest.$ac_ext"
7928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7929 *) ac_try_echo=$ac_try;;
7931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7932 $as_echo "$ac_try_echo") >&5
7933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7935 grep -v '^ *+' conftest.er1 >conftest.err
7937 cat conftest.err >&5
7938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7939 (exit $ac_status); } >/dev/null && {
7940 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7941 test ! -s conftest.err
7945 $as_echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.$ac_ext >&5
7948 # Broken: fails on valid input.
7952 rm -f conftest.err conftest.$ac_ext
7954 # OK, works on sane cases. Now check whether nonexistent headers
7955 # can be detected and how.
7956 cat >conftest.$ac_ext <<_ACEOF
7959 cat confdefs.h >>conftest.$ac_ext
7960 cat >>conftest.$ac_ext <<_ACEOF
7961 /* end confdefs.h. */
7962 #include <ac_nonexistent.h>
7964 if { (ac_try="$ac_cpp conftest.$ac_ext"
7966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7967 *) ac_try_echo=$ac_try;;
7969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7970 $as_echo "$ac_try_echo") >&5
7971 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7973 grep -v '^ *+' conftest.er1 >conftest.err
7975 cat conftest.err >&5
7976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); } >/dev/null && {
7978 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7979 test ! -s conftest.err
7981 # Broken: success on invalid input.
7984 $as_echo "$as_me: failed program was:" >&5
7985 sed 's/^/| /' conftest.$ac_ext >&5
7987 # Passes both tests.
7992 rm -f conftest.err conftest.$ac_ext
7995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7996 rm -f conftest.err conftest.$ac_ext
7997 if $ac_preproc_ok; then
8009 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
8010 $as_echo "$CPP" >&6; }
8012 for ac_c_preproc_warn_flag in '' yes
8014 # Use a header file that comes with gcc, so configuring glibc
8015 # with a fresh cross-compiler works.
8016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8017 # <limits.h> exists even on freestanding compilers.
8018 # On the NeXT, cc -E runs the code through the compiler's parser,
8019 # not just through cpp. "Syntax error" is here to catch this case.
8020 cat >conftest.$ac_ext <<_ACEOF
8023 cat confdefs.h >>conftest.$ac_ext
8024 cat >>conftest.$ac_ext <<_ACEOF
8025 /* end confdefs.h. */
8027 # include <limits.h>
8029 # include <assert.h>
8033 if { (ac_try="$ac_cpp conftest.$ac_ext"
8035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8036 *) ac_try_echo=$ac_try;;
8038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8039 $as_echo "$ac_try_echo") >&5
8040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8042 grep -v '^ *+' conftest.er1 >conftest.err
8044 cat conftest.err >&5
8045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); } >/dev/null && {
8047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8048 test ! -s conftest.err
8052 $as_echo "$as_me: failed program was:" >&5
8053 sed 's/^/| /' conftest.$ac_ext >&5
8055 # Broken: fails on valid input.
8059 rm -f conftest.err conftest.$ac_ext
8061 # OK, works on sane cases. Now check whether nonexistent headers
8062 # can be detected and how.
8063 cat >conftest.$ac_ext <<_ACEOF
8066 cat confdefs.h >>conftest.$ac_ext
8067 cat >>conftest.$ac_ext <<_ACEOF
8068 /* end confdefs.h. */
8069 #include <ac_nonexistent.h>
8071 if { (ac_try="$ac_cpp conftest.$ac_ext"
8073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8074 *) ac_try_echo=$ac_try;;
8076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8077 $as_echo "$ac_try_echo") >&5
8078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8080 grep -v '^ *+' conftest.er1 >conftest.err
8082 cat conftest.err >&5
8083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } >/dev/null && {
8085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8086 test ! -s conftest.err
8088 # Broken: success on invalid input.
8091 $as_echo "$as_me: failed program was:" >&5
8092 sed 's/^/| /' conftest.$ac_ext >&5
8094 # Passes both tests.
8099 rm -f conftest.err conftest.$ac_ext
8102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8103 rm -f conftest.err conftest.$ac_ext
8104 if $ac_preproc_ok; then
8107 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8109 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
8110 See \`config.log' for more details." >&5
8111 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
8112 See \`config.log' for more details." >&2;}
8113 { (exit 1); exit 1; }; }; }
8117 ac_cpp='$CPP $CPPFLAGS'
8118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8123 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8124 $as_echo_n "checking for ANSI C header files... " >&6; }
8125 if test "${ac_cv_header_stdc+set}" = set; then
8126 $as_echo_n "(cached) " >&6
8128 cat >conftest.$ac_ext <<_ACEOF
8131 cat confdefs.h >>conftest.$ac_ext
8132 cat >>conftest.$ac_ext <<_ACEOF
8133 /* end confdefs.h. */
8147 rm -f conftest.$ac_objext
8148 if { (ac_try="$ac_compile"
8150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8151 *) ac_try_echo=$ac_try;;
8153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8154 $as_echo "$ac_try_echo") >&5
8155 (eval "$ac_compile") 2>conftest.er1
8157 grep -v '^ *+' conftest.er1 >conftest.err
8159 cat conftest.err >&5
8160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); } && {
8162 test -z "$ac_c_werror_flag" ||
8163 test ! -s conftest.err
8164 } && test -s conftest.$ac_objext; then
8165 ac_cv_header_stdc=yes
8167 $as_echo "$as_me: failed program was:" >&5
8168 sed 's/^/| /' conftest.$ac_ext >&5
8170 ac_cv_header_stdc=no
8173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8175 if test $ac_cv_header_stdc = yes; then
8176 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8177 cat >conftest.$ac_ext <<_ACEOF
8180 cat confdefs.h >>conftest.$ac_ext
8181 cat >>conftest.$ac_ext <<_ACEOF
8182 /* end confdefs.h. */
8186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8187 $EGREP "memchr" >/dev/null 2>&1; then
8190 ac_cv_header_stdc=no
8196 if test $ac_cv_header_stdc = yes; then
8197 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8198 cat >conftest.$ac_ext <<_ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8208 $EGREP "free" >/dev/null 2>&1; then
8211 ac_cv_header_stdc=no
8217 if test $ac_cv_header_stdc = yes; then
8218 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8219 if test "$cross_compiling" = yes; then
8222 cat >conftest.$ac_ext <<_ACEOF
8225 cat confdefs.h >>conftest.$ac_ext
8226 cat >>conftest.$ac_ext <<_ACEOF
8227 /* end confdefs.h. */
8230 #if ((' ' & 0x0FF) == 0x020)
8231 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8232 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8234 # define ISLOWER(c) \
8235 (('a' <= (c) && (c) <= 'i') \
8236 || ('j' <= (c) && (c) <= 'r') \
8237 || ('s' <= (c) && (c) <= 'z'))
8238 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8241 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8246 for (i = 0; i < 256; i++)
8247 if (XOR (islower (i), ISLOWER (i))
8248 || toupper (i) != TOUPPER (i))
8253 rm -f conftest$ac_exeext
8254 if { (ac_try="$ac_link"
8256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8257 *) ac_try_echo=$ac_try;;
8259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8260 $as_echo "$ac_try_echo") >&5
8261 (eval "$ac_link") 2>&5
8263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8265 { (case "(($ac_try" in
8266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8267 *) ac_try_echo=$ac_try;;
8269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8270 $as_echo "$ac_try_echo") >&5
8271 (eval "$ac_try") 2>&5
8273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); }; }; then
8277 $as_echo "$as_me: program exited with status $ac_status" >&5
8278 $as_echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8282 ac_cv_header_stdc=no
8284 rm -rf conftest.dSYM
8285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8291 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8292 $as_echo "$ac_cv_header_stdc" >&6; }
8293 if test $ac_cv_header_stdc = yes; then
8295 cat >>confdefs.h <<\_ACEOF
8296 #define STDC_HEADERS 1
8301 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8311 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8312 inttypes.h stdint.h unistd.h
8314 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8315 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8316 $as_echo_n "checking for $ac_header... " >&6; }
8317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8318 $as_echo_n "(cached) " >&6
8320 cat >conftest.$ac_ext <<_ACEOF
8323 cat confdefs.h >>conftest.$ac_ext
8324 cat >>conftest.$ac_ext <<_ACEOF
8325 /* end confdefs.h. */
8326 $ac_includes_default
8328 #include <$ac_header>
8330 rm -f conftest.$ac_objext
8331 if { (ac_try="$ac_compile"
8333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8334 *) ac_try_echo=$ac_try;;
8336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8337 $as_echo "$ac_try_echo") >&5
8338 (eval "$ac_compile") 2>conftest.er1
8340 grep -v '^ *+' conftest.er1 >conftest.err
8342 cat conftest.err >&5
8343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); } && {
8345 test -z "$ac_c_werror_flag" ||
8346 test ! -s conftest.err
8347 } && test -s conftest.$ac_objext; then
8348 eval "$as_ac_Header=yes"
8350 $as_echo "$as_me: failed program was:" >&5
8351 sed 's/^/| /' conftest.$ac_ext >&5
8353 eval "$as_ac_Header=no"
8356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8358 ac_res=`eval 'as_val=${'$as_ac_Header'}
8359 $as_echo "$as_val"'`
8360 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8361 $as_echo "$ac_res" >&6; }
8362 as_val=`eval 'as_val=${'$as_ac_Header'}
8363 $as_echo "$as_val"'`
8364 if test "x$as_val" = x""yes; then
8365 cat >>confdefs.h <<_ACEOF
8366 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8375 for ac_header in dlfcn.h
8377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8378 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8379 $as_echo_n "checking for $ac_header... " >&6; }
8380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8381 $as_echo_n "(cached) " >&6
8383 cat >conftest.$ac_ext <<_ACEOF
8386 cat confdefs.h >>conftest.$ac_ext
8387 cat >>conftest.$ac_ext <<_ACEOF
8388 /* end confdefs.h. */
8389 $ac_includes_default
8391 #include <$ac_header>
8393 rm -f conftest.$ac_objext
8394 if { (ac_try="$ac_compile"
8396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8397 *) ac_try_echo=$ac_try;;
8399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8400 $as_echo "$ac_try_echo") >&5
8401 (eval "$ac_compile") 2>conftest.er1
8403 grep -v '^ *+' conftest.er1 >conftest.err
8405 cat conftest.err >&5
8406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } && {
8408 test -z "$ac_c_werror_flag" ||
8409 test ! -s conftest.err
8410 } && test -s conftest.$ac_objext; then
8411 eval "$as_ac_Header=yes"
8413 $as_echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.$ac_ext >&5
8416 eval "$as_ac_Header=no"
8419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8421 ac_res=`eval 'as_val=${'$as_ac_Header'}
8422 $as_echo "$as_val"'`
8423 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8424 $as_echo "$ac_res" >&6; }
8425 as_val=`eval 'as_val=${'$as_ac_Header'}
8426 $as_echo "$as_val"'`
8427 if test "x$as_val" = x""yes; then
8428 cat >>confdefs.h <<_ACEOF
8429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8446 # Check whether --enable-shared was given.
8447 if test "${enable_shared+set}" = set; then
8448 enableval=$enable_shared; p=${PACKAGE-default}
8450 yes) enable_shared=yes ;;
8451 no) enable_shared=no ;;
8454 # Look at the argument we got. We use all the common list separators.
8455 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8456 for pkg in $enableval; do
8458 if test "X$pkg" = "X$p"; then
8477 # Check whether --enable-static was given.
8478 if test "${enable_static+set}" = set; then
8479 enableval=$enable_static; p=${PACKAGE-default}
8481 yes) enable_static=yes ;;
8482 no) enable_static=no ;;
8485 # Look at the argument we got. We use all the common list separators.
8486 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8487 for pkg in $enableval; do
8489 if test "X$pkg" = "X$p"; then
8509 # Check whether --with-pic was given.
8510 if test "${with_pic+set}" = set; then
8511 withval=$with_pic; pic_mode="$withval"
8517 test -z "$pic_mode" && pic_mode=default
8525 # Check whether --enable-fast-install was given.
8526 if test "${enable_fast_install+set}" = set; then
8527 enableval=$enable_fast_install; p=${PACKAGE-default}
8529 yes) enable_fast_install=yes ;;
8530 no) enable_fast_install=no ;;
8532 enable_fast_install=no
8533 # Look at the argument we got. We use all the common list separators.
8534 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8535 for pkg in $enableval; do
8537 if test "X$pkg" = "X$p"; then
8538 enable_fast_install=yes
8545 enable_fast_install=yes
8558 # This can be used to rebuild libtool when needed
8559 LIBTOOL_DEPS="$ltmain"
8561 # Always use our own libtool.
8562 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8588 test -z "$LN_S" && LN_S="ln -s"
8603 if test -n "${ZSH_VERSION+set}" ; then
8604 setopt NO_GLOB_SUBST
8607 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8608 $as_echo_n "checking for objdir... " >&6; }
8609 if test "${lt_cv_objdir+set}" = set; then
8610 $as_echo_n "(cached) " >&6
8612 rm -f .libs 2>/dev/null
8613 mkdir .libs 2>/dev/null
8614 if test -d .libs; then
8617 # MS-DOS does not allow filenames that begin with a dot.
8620 rmdir .libs 2>/dev/null
8622 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8623 $as_echo "$lt_cv_objdir" >&6; }
8624 objdir=$lt_cv_objdir
8630 cat >>confdefs.h <<_ACEOF
8631 #define LT_OBJDIR "$lt_cv_objdir/"
8652 # AIX sometimes has problems with the GCC collect2 program. For some
8653 # reason, if we set the COLLECT_NAMES environment variable, the problems
8654 # vanish in a puff of smoke.
8655 if test "X${COLLECT_NAMES+set}" != Xset; then
8657 export COLLECT_NAMES
8662 # Sed substitution that helps us do robust quoting. It backslashifies
8663 # metacharacters that are still active within double-quoted strings.
8664 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8666 # Same as above, but do not quote variable references.
8667 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8669 # Sed substitution to delay expansion of an escaped shell variable in a
8670 # double_quote_subst'ed string.
8671 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8673 # Sed substitution to delay expansion of an escaped single quote.
8674 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8676 # Sed substitution to avoid accidental globbing in evaled expressions
8677 no_glob_subst='s/\*/\\\*/g'
8681 can_build_shared=yes
8683 # All known linkers require a `.a' archive for static linking (except MSVC,
8684 # which needs '.lib').
8687 with_gnu_ld="$lt_cv_prog_gnu_ld"
8690 old_CFLAGS="$CFLAGS"
8692 # Set sane defaults for various variables
8693 test -z "$CC" && CC=cc
8694 test -z "$LTCC" && LTCC=$CC
8695 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8696 test -z "$LD" && LD=ld
8697 test -z "$ac_objext" && ac_objext=o
8699 for cc_temp in $compiler""; do
8701 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8702 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8707 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8710 # Only perform the check for file, if the check method requires it
8711 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8712 case $deplibs_check_method in
8714 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8715 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8716 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8717 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8718 $as_echo_n "(cached) " >&6
8722 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8725 lt_save_MAGIC_CMD="$MAGIC_CMD"
8726 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8727 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8728 for ac_dir in $ac_dummy; do
8730 test -z "$ac_dir" && ac_dir=.
8731 if test -f $ac_dir/${ac_tool_prefix}file; then
8732 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8733 if test -n "$file_magic_test_file"; then
8734 case $deplibs_check_method in
8736 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8737 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8738 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8739 $EGREP "$file_magic_regex" > /dev/null; then
8744 *** Warning: the command libtool uses to detect shared libraries,
8745 *** $file_magic_cmd, produces output that libtool cannot recognize.
8746 *** The result is that libtool may fail to recognize shared libraries
8747 *** as such. This will affect the creation of libtool libraries that
8748 *** depend on shared libraries, but programs linked with such libtool
8749 *** libraries will work regardless of this problem. Nevertheless, you
8750 *** may want to report the problem to your system manager and/or to
8751 *** bug-libtool@gnu.org
8761 MAGIC_CMD="$lt_save_MAGIC_CMD"
8766 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8767 if test -n "$MAGIC_CMD"; then
8768 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8769 $as_echo "$MAGIC_CMD" >&6; }
8771 { $as_echo "$as_me:$LINENO: result: no" >&5
8772 $as_echo "no" >&6; }
8779 if test -z "$lt_cv_path_MAGIC_CMD"; then
8780 if test -n "$ac_tool_prefix"; then
8781 { $as_echo "$as_me:$LINENO: checking for file" >&5
8782 $as_echo_n "checking for file... " >&6; }
8783 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8784 $as_echo_n "(cached) " >&6
8788 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8791 lt_save_MAGIC_CMD="$MAGIC_CMD"
8792 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8793 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8794 for ac_dir in $ac_dummy; do
8796 test -z "$ac_dir" && ac_dir=.
8797 if test -f $ac_dir/file; then
8798 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8799 if test -n "$file_magic_test_file"; then
8800 case $deplibs_check_method in
8802 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8803 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8804 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8805 $EGREP "$file_magic_regex" > /dev/null; then
8810 *** Warning: the command libtool uses to detect shared libraries,
8811 *** $file_magic_cmd, produces output that libtool cannot recognize.
8812 *** The result is that libtool may fail to recognize shared libraries
8813 *** as such. This will affect the creation of libtool libraries that
8814 *** depend on shared libraries, but programs linked with such libtool
8815 *** libraries will work regardless of this problem. Nevertheless, you
8816 *** may want to report the problem to your system manager and/or to
8817 *** bug-libtool@gnu.org
8827 MAGIC_CMD="$lt_save_MAGIC_CMD"
8832 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8833 if test -n "$MAGIC_CMD"; then
8834 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8835 $as_echo "$MAGIC_CMD" >&6; }
8837 { $as_echo "$as_me:$LINENO: result: no" >&5
8838 $as_echo "no" >&6; }
8851 # Use C for the default configuration in the libtool script
8855 ac_cpp='$CPP $CPPFLAGS'
8856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8861 # Source file extension for C test sources.
8864 # Object file extension for compiled C test sources.
8868 # Code to be used in simple compile tests
8869 lt_simple_compile_test_code="int some_variable = 0;"
8871 # Code to be used in simple link tests
8872 lt_simple_link_test_code='int main(){return(0);}'
8880 # If no C compiler was specified, use CC.
8883 # If no C compiler flags were specified, use CFLAGS.
8884 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8886 # Allow CC to be a program name with arguments.
8889 # Save the default compiler, since it gets overwritten when the other
8890 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8891 compiler_DEFAULT=$CC
8893 # save warnings/boilerplate of simple test code
8894 ac_outfile=conftest.$ac_objext
8895 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8896 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8897 _lt_compiler_boilerplate=`cat conftest.err`
8900 ac_outfile=conftest.$ac_objext
8901 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8902 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8903 _lt_linker_boilerplate=`cat conftest.err`
8908 ## There is no encapsulation within the following macros, do not change
8909 ## the running order or otherwise move them around unless you know exactly
8910 ## what you are doing...
8911 if test -n "$compiler"; then
8913 lt_prog_compiler_no_builtin_flag=
8915 if test "$GCC" = yes; then
8916 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8918 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8919 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8920 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8921 $as_echo_n "(cached) " >&6
8923 lt_cv_prog_compiler_rtti_exceptions=no
8924 ac_outfile=conftest.$ac_objext
8925 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8926 lt_compiler_flag="-fno-rtti -fno-exceptions"
8927 # Insert the option either (1) after the last *FLAGS variable, or
8928 # (2) before a word containing "conftest.", or (3) at the end.
8929 # Note that $ac_compile itself does not contain backslashes and begins
8930 # with a dollar sign (not a hyphen), so the echo should work correctly.
8931 # The option is referenced via a variable to avoid confusing sed.
8932 lt_compile=`echo "$ac_compile" | $SED \
8933 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8934 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8935 -e 's:$: $lt_compiler_flag:'`
8936 (eval echo "\"\$as_me:8936: $lt_compile\"" >&5)
8937 (eval "$lt_compile" 2>conftest.err)
8939 cat conftest.err >&5
8940 echo "$as_me:8940: \$? = $ac_status" >&5
8941 if (exit $ac_status) && test -s "$ac_outfile"; then
8942 # The compiler can only warn and ignore the option if not recognized
8943 # So say no if there are warnings other than the usual output.
8944 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8945 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8946 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8947 lt_cv_prog_compiler_rtti_exceptions=yes
8953 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8954 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8956 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8957 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8969 lt_prog_compiler_wl=
8970 lt_prog_compiler_pic=
8971 lt_prog_compiler_static=
8973 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8974 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8976 if test "$GCC" = yes; then
8977 lt_prog_compiler_wl='-Wl,'
8978 lt_prog_compiler_static='-static'
8982 # All AIX code is PIC.
8983 if test "$host_cpu" = ia64; then
8984 # AIX 5 now supports IA64 processor
8985 lt_prog_compiler_static='-Bstatic'
8992 # see comment about AmigaOS4 .so support
8993 lt_prog_compiler_pic='-fPIC'
8996 # FIXME: we need at least 68020 code to build shared libraries, but
8997 # adding the `-m68020' flag to GCC prevents building anything better,
8999 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9004 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9005 # PIC is the default for these OSes.
9008 mingw* | cygwin* | pw32* | os2* | cegcc*)
9009 # This hack is so that the source file can tell whether it is being
9010 # built for inclusion in a dll (and should export symbols for example).
9011 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9012 # (--disable-auto-import) libraries
9013 lt_prog_compiler_pic='-DDLL_EXPORT'
9016 darwin* | rhapsody*)
9017 # PIC is the default on this platform
9018 # Common symbols not allowed in MH_DYLIB files
9019 lt_prog_compiler_pic='-fno-common'
9023 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9024 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9025 # sets the default TLS model and affects inlining.
9031 lt_prog_compiler_pic='-fPIC'
9037 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9038 # Instead, we relocate shared libraries at runtime.
9042 # Just because we use GCC doesn't mean we suddenly get shared libraries
9043 # on systems that don't support them.
9044 lt_prog_compiler_can_build_shared=no
9049 # QNX uses GNU C++, but need to define -shared option too, otherwise
9051 lt_prog_compiler_pic='-fPIC -shared'
9055 if test -d /usr/nec; then
9056 lt_prog_compiler_pic=-Kconform_pic
9061 lt_prog_compiler_pic='-fPIC'
9065 # PORTME Check for flag to pass linker flags through the system compiler.
9068 lt_prog_compiler_wl='-Wl,'
9069 if test "$host_cpu" = ia64; then
9070 # AIX 5 now supports IA64 processor
9071 lt_prog_compiler_static='-Bstatic'
9073 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9077 mingw* | cygwin* | pw32* | os2* | cegcc*)
9078 # This hack is so that the source file can tell whether it is being
9079 # built for inclusion in a dll (and should export symbols for example).
9080 lt_prog_compiler_pic='-DDLL_EXPORT'
9083 hpux9* | hpux10* | hpux11*)
9084 lt_prog_compiler_wl='-Wl,'
9085 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9092 lt_prog_compiler_pic='+Z'
9095 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9096 lt_prog_compiler_static='${wl}-a ${wl}archive'
9099 irix5* | irix6* | nonstopux*)
9100 lt_prog_compiler_wl='-Wl,'
9101 # PIC (with -KPIC) is the default.
9102 lt_prog_compiler_static='-non_shared'
9105 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9106 case $cc_basename in
9107 # old Intel for x86_64 which still supported -KPIC.
9109 lt_prog_compiler_wl='-Wl,'
9110 lt_prog_compiler_pic='-KPIC'
9111 lt_prog_compiler_static='-static'
9113 # icc used to be incompatible with GCC.
9114 # ICC 10 doesn't accept -KPIC any more.
9116 lt_prog_compiler_wl='-Wl,'
9117 lt_prog_compiler_pic='-fPIC'
9118 lt_prog_compiler_static='-static'
9120 # Lahey Fortran 8.1.
9122 lt_prog_compiler_wl='-Wl,'
9123 lt_prog_compiler_pic='--shared'
9124 lt_prog_compiler_static='--static'
9126 pgcc* | pgf77* | pgf90* | pgf95*)
9127 # Portland Group compilers (*not* the Pentium gcc compiler,
9128 # which looks to be a dead project)
9129 lt_prog_compiler_wl='-Wl,'
9130 lt_prog_compiler_pic='-fpic'
9131 lt_prog_compiler_static='-Bstatic'
9134 lt_prog_compiler_wl='-Wl,'
9135 # All Alpha code is PIC.
9136 lt_prog_compiler_static='-non_shared'
9139 # IBM XL C 8.0/Fortran 10.1 on PPC
9140 lt_prog_compiler_wl='-Wl,'
9141 lt_prog_compiler_pic='-qpic'
9142 lt_prog_compiler_static='-qstaticlink'
9145 case `$CC -V 2>&1 | sed 5q` in
9148 lt_prog_compiler_pic='-KPIC'
9149 lt_prog_compiler_static='-Bstatic'
9150 lt_prog_compiler_wl='-Wl,'
9153 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9154 lt_prog_compiler_pic='-KPIC'
9155 lt_prog_compiler_static='-Bstatic'
9156 lt_prog_compiler_wl=''
9164 lt_prog_compiler_pic='-KPIC'
9165 lt_prog_compiler_static='-Bstatic'
9169 # QNX uses GNU C++, but need to define -shared option too, otherwise
9171 lt_prog_compiler_pic='-fPIC -shared'
9174 osf3* | osf4* | osf5*)
9175 lt_prog_compiler_wl='-Wl,'
9176 # All OSF/1 code is PIC.
9177 lt_prog_compiler_static='-non_shared'
9181 lt_prog_compiler_static='-non_shared'
9185 lt_prog_compiler_pic='-KPIC'
9186 lt_prog_compiler_static='-Bstatic'
9187 case $cc_basename in
9189 lt_prog_compiler_wl='-Qoption ld ';;
9191 lt_prog_compiler_wl='-Wl,';;
9196 lt_prog_compiler_wl='-Qoption ld '
9197 lt_prog_compiler_pic='-PIC'
9198 lt_prog_compiler_static='-Bstatic'
9201 sysv4 | sysv4.2uw2* | sysv4.3*)
9202 lt_prog_compiler_wl='-Wl,'
9203 lt_prog_compiler_pic='-KPIC'
9204 lt_prog_compiler_static='-Bstatic'
9208 if test -d /usr/nec ;then
9209 lt_prog_compiler_pic='-Kconform_pic'
9210 lt_prog_compiler_static='-Bstatic'
9214 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9215 lt_prog_compiler_wl='-Wl,'
9216 lt_prog_compiler_pic='-KPIC'
9217 lt_prog_compiler_static='-Bstatic'
9221 lt_prog_compiler_wl='-Wl,'
9222 lt_prog_compiler_can_build_shared=no
9226 lt_prog_compiler_pic='-pic'
9227 lt_prog_compiler_static='-Bstatic'
9231 lt_prog_compiler_can_build_shared=no
9237 # For platforms which do not support PIC, -DPIC is meaningless:
9239 lt_prog_compiler_pic=
9242 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9245 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9246 $as_echo "$lt_prog_compiler_pic" >&6; }
9254 # Check to make sure the PIC flag actually works.
9256 if test -n "$lt_prog_compiler_pic"; then
9257 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9258 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9259 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9260 $as_echo_n "(cached) " >&6
9262 lt_cv_prog_compiler_pic_works=no
9263 ac_outfile=conftest.$ac_objext
9264 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9265 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9266 # Insert the option either (1) after the last *FLAGS variable, or
9267 # (2) before a word containing "conftest.", or (3) at the end.
9268 # Note that $ac_compile itself does not contain backslashes and begins
9269 # with a dollar sign (not a hyphen), so the echo should work correctly.
9270 # The option is referenced via a variable to avoid confusing sed.
9271 lt_compile=`echo "$ac_compile" | $SED \
9272 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9273 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9274 -e 's:$: $lt_compiler_flag:'`
9275 (eval echo "\"\$as_me:9275: $lt_compile\"" >&5)
9276 (eval "$lt_compile" 2>conftest.err)
9278 cat conftest.err >&5
9279 echo "$as_me:9279: \$? = $ac_status" >&5
9280 if (exit $ac_status) && test -s "$ac_outfile"; then
9281 # The compiler can only warn and ignore the option if not recognized
9282 # So say no if there are warnings other than the usual output.
9283 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9284 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9285 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9286 lt_cv_prog_compiler_pic_works=yes
9292 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9293 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9295 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9296 case $lt_prog_compiler_pic in
9298 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9301 lt_prog_compiler_pic=
9302 lt_prog_compiler_can_build_shared=no
9313 # Check to make sure the static flag actually works.
9315 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9316 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9317 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9318 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9319 $as_echo_n "(cached) " >&6
9321 lt_cv_prog_compiler_static_works=no
9322 save_LDFLAGS="$LDFLAGS"
9323 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9324 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9325 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9326 # The linker can only warn and ignore the option if not recognized
9327 # So say no if there are warnings
9328 if test -s conftest.err; then
9329 # Append any errors to the config.log.
9330 cat conftest.err 1>&5
9331 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9332 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9333 if diff conftest.exp conftest.er2 >/dev/null; then
9334 lt_cv_prog_compiler_static_works=yes
9337 lt_cv_prog_compiler_static_works=yes
9341 LDFLAGS="$save_LDFLAGS"
9344 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9345 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9347 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9350 lt_prog_compiler_static=
9359 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9360 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9361 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9362 $as_echo_n "(cached) " >&6
9364 lt_cv_prog_compiler_c_o=no
9365 $RM -r conftest 2>/dev/null
9369 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9371 lt_compiler_flag="-o out/conftest2.$ac_objext"
9372 # Insert the option either (1) after the last *FLAGS variable, or
9373 # (2) before a word containing "conftest.", or (3) at the end.
9374 # Note that $ac_compile itself does not contain backslashes and begins
9375 # with a dollar sign (not a hyphen), so the echo should work correctly.
9376 lt_compile=`echo "$ac_compile" | $SED \
9377 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9378 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9379 -e 's:$: $lt_compiler_flag:'`
9380 (eval echo "\"\$as_me:9380: $lt_compile\"" >&5)
9381 (eval "$lt_compile" 2>out/conftest.err)
9383 cat out/conftest.err >&5
9384 echo "$as_me:9384: \$? = $ac_status" >&5
9385 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9387 # The compiler can only warn and ignore the option if not recognized
9388 # So say no if there are warnings
9389 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9390 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9391 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9392 lt_cv_prog_compiler_c_o=yes
9397 # SGI C++ compiler will create directory out/ii_files/ for
9398 # template instantiation
9399 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9400 $RM out/* && rmdir out
9406 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9407 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9414 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9415 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9416 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9417 $as_echo_n "(cached) " >&6
9419 lt_cv_prog_compiler_c_o=no
9420 $RM -r conftest 2>/dev/null
9424 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9426 lt_compiler_flag="-o out/conftest2.$ac_objext"
9427 # Insert the option either (1) after the last *FLAGS variable, or
9428 # (2) before a word containing "conftest.", or (3) at the end.
9429 # Note that $ac_compile itself does not contain backslashes and begins
9430 # with a dollar sign (not a hyphen), so the echo should work correctly.
9431 lt_compile=`echo "$ac_compile" | $SED \
9432 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9433 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9434 -e 's:$: $lt_compiler_flag:'`
9435 (eval echo "\"\$as_me:9435: $lt_compile\"" >&5)
9436 (eval "$lt_compile" 2>out/conftest.err)
9438 cat out/conftest.err >&5
9439 echo "$as_me:9439: \$? = $ac_status" >&5
9440 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9442 # The compiler can only warn and ignore the option if not recognized
9443 # So say no if there are warnings
9444 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9445 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9446 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9447 lt_cv_prog_compiler_c_o=yes
9452 # SGI C++ compiler will create directory out/ii_files/ for
9453 # template instantiation
9454 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9455 $RM out/* && rmdir out
9461 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9462 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9467 hard_links="nottested"
9468 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9469 # do not overwrite the value of need_locks provided by the user
9470 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9471 $as_echo_n "checking if we can lock with hard links... " >&6; }
9474 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9476 ln conftest.a conftest.b 2>&5 || hard_links=no
9477 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9478 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9479 $as_echo "$hard_links" >&6; }
9480 if test "$hard_links" = no; then
9481 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9482 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9494 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9495 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9498 allow_undefined_flag=
9499 always_export_symbols=no
9501 archive_expsym_cmds=
9502 compiler_needs_object=no
9503 enable_shared_with_static_runtimes=no
9504 export_dynamic_flag_spec=
9505 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9506 hardcode_automatic=no
9508 hardcode_direct_absolute=no
9509 hardcode_libdir_flag_spec=
9510 hardcode_libdir_flag_spec_ld=
9511 hardcode_libdir_separator=
9513 hardcode_shlibpath_var=unsupported
9515 link_all_deplibs=unknown
9518 old_archive_from_new_cmds=
9519 old_archive_from_expsyms_cmds=
9520 thread_safe_flag_spec=
9521 whole_archive_flag_spec=
9522 # include_expsyms should be a list of space-separated symbols to be *always*
9523 # included in the symbol list
9525 # exclude_expsyms can be an extended regexp of symbols to exclude
9526 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9527 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9528 # as well as any symbol that contains `d'.
9529 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9530 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9531 # platforms (ab)use it in PIC code, but their linkers get confused if
9532 # the symbol is explicitly referenced. Since portable code cannot
9533 # rely on this symbol name, it's probably fine to never include it in
9534 # preloaded symbol tables.
9535 # Exclude shared library initialization/finalization symbols.
9536 extract_expsyms_cmds=
9539 cygwin* | mingw* | pw32* | cegcc*)
9540 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9541 # When not using gcc, we currently assume that we are using
9542 # Microsoft Visual C++.
9543 if test "$GCC" != yes; then
9548 # we just hope/assume this is gcc and not c89 (= MSVC++)
9557 if test "$with_gnu_ld" = yes; then
9558 # If archive_cmds runs LD, not CC, wlarc should be empty
9561 # Set some defaults for GNU ld with shared library support. These
9562 # are reset later if shared libraries are not supported. Putting them
9563 # here allows them to be overridden if necessary.
9564 runpath_var=LD_RUN_PATH
9565 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9566 export_dynamic_flag_spec='${wl}--export-dynamic'
9567 # ancient GNU ld didn't support --whole-archive et. al.
9568 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9569 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9571 whole_archive_flag_spec=
9573 supports_anon_versioning=no
9574 case `$LD -v 2>&1` in
9575 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9576 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9577 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9578 *\ 2.11.*) ;; # other 2.11 versions
9579 *) supports_anon_versioning=yes ;;
9582 # See if GNU ld supports shared libraries.
9585 # On AIX/PPC, the GNU linker is very broken
9586 if test "$host_cpu" != ia64; then
9590 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9591 *** to be unable to reliably create shared libraries on AIX.
9592 *** Therefore, libtool is disabling shared libraries support. If you
9593 *** really care for shared libraries, you may want to modify your PATH
9594 *** so that a non-GNU linker is found, and then restart.
9603 # see comment about AmigaOS4 .so support
9604 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9605 archive_expsym_cmds=''
9608 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)'
9609 hardcode_libdir_flag_spec='-L$libdir'
9610 hardcode_minus_L=yes
9616 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9617 allow_undefined_flag=unsupported
9618 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9619 # support --undefined. This deserves some investigation. FIXME
9620 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9626 cygwin* | mingw* | pw32* | cegcc*)
9627 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9628 # as there is no search path for DLLs.
9629 hardcode_libdir_flag_spec='-L$libdir'
9630 allow_undefined_flag=unsupported
9631 always_export_symbols=no
9632 enable_shared_with_static_runtimes=yes
9633 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9635 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9636 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9637 # If the export-symbols file already is a .def file (1st line
9638 # is EXPORTS), use it as is; otherwise, prepend...
9639 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9640 cp $export_symbols $output_objdir/$soname.def;
9642 echo EXPORTS > $output_objdir/$soname.def;
9643 cat $export_symbols >> $output_objdir/$soname.def;
9645 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9653 hardcode_shlibpath_var=no
9654 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9655 export_dynamic_flag_spec='${wl}-E'
9656 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9657 # Instead, shared libraries are loaded at an image base (0x10000000 by
9658 # default) and relocated if they conflict, which is a slow very memory
9659 # consuming and fragmenting process. To avoid this, we pick a random,
9660 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9661 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9662 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9663 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'
9666 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9668 if test "$host_os" = linux-dietlibc; then
9669 case $cc_basename in
9670 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9673 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9674 && test "$tmp_diet" = no
9677 tmp_sharedflag='-shared'
9678 case $cc_basename,$host_cpu in
9679 pgcc*) # Portland Group C compiler
9680 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'
9681 tmp_addflag=' $pic_flag'
9683 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9684 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'
9685 tmp_addflag=' $pic_flag -Mnomain' ;;
9686 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9687 tmp_addflag=' -i_dynamic' ;;
9688 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9689 tmp_addflag=' -i_dynamic -nofor_main' ;;
9690 ifc* | ifort*) # Intel Fortran compiler
9691 tmp_addflag=' -nofor_main' ;;
9692 lf95*) # Lahey Fortran 8.1
9693 whole_archive_flag_spec=
9694 tmp_sharedflag='--shared' ;;
9695 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9696 tmp_sharedflag='-qmkshrobj'
9699 case `$CC -V 2>&1 | sed 5q` in
9700 *Sun\ C*) # Sun C 5.9
9701 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'
9702 compiler_needs_object=yes
9703 tmp_sharedflag='-G' ;;
9704 *Sun\ F*) # Sun Fortran 8.3
9705 tmp_sharedflag='-G' ;;
9707 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9709 if test "x$supports_anon_versioning" = xyes; then
9710 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9711 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9712 echo "local: *; };" >> $output_objdir/$libname.ver~
9713 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9716 case $cc_basename in
9718 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9719 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9720 hardcode_libdir_flag_spec=
9721 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9722 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9723 if test "x$supports_anon_versioning" = xyes; then
9724 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9725 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9726 echo "local: *; };" >> $output_objdir/$libname.ver~
9727 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9737 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9738 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9741 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9742 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9747 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9751 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9752 *** create shared libraries on Solaris systems. Therefore, libtool
9753 *** is disabling shared libraries support. We urge you to upgrade GNU
9754 *** binutils to release 2.9.1 or newer. Another option is to modify
9755 *** your PATH or compiler configuration so that the native linker is
9756 *** used, and then restart.
9759 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9760 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9761 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9767 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9768 case `$LD -v 2>&1` in
9769 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9773 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9774 *** reliably create shared libraries on SCO systems. Therefore, libtool
9775 *** is disabling shared libraries support. We urge you to upgrade GNU
9776 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9777 *** your PATH or compiler configuration so that the native linker is
9778 *** used, and then restart.
9783 # For security reasons, it is highly recommended that you always
9784 # use absolute paths for naming shared libraries, and exclude the
9785 # DT_RUNPATH tag from executables and libraries. But doing so
9786 # requires that you compile everything twice, which is a pain.
9787 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9788 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9789 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9790 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9799 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9802 hardcode_shlibpath_var=no
9806 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9807 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9808 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9815 if test "$ld_shlibs" = no; then
9817 hardcode_libdir_flag_spec=
9818 export_dynamic_flag_spec=
9819 whole_archive_flag_spec=
9822 # PORTME fill in a description of your system's linker (not GNU ld)
9825 allow_undefined_flag=unsupported
9826 always_export_symbols=yes
9827 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'
9828 # Note: this linker hardcodes the directories in LIBPATH if there
9829 # are no directories specified by -L.
9830 hardcode_minus_L=yes
9831 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9832 # Neither direct hardcoding nor static linking is supported with a
9834 hardcode_direct=unsupported
9839 if test "$host_cpu" = ia64; then
9840 # On IA64, the linker does run time linking by default, so we don't
9841 # have to do anything special.
9842 aix_use_runtimelinking=no
9843 exp_sym_flag='-Bexport'
9846 # If we're using GNU nm, then we don't want the "-C" option.
9847 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9848 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9849 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'
9851 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'
9853 aix_use_runtimelinking=no
9855 # Test if we are trying to use run time linking or normal
9856 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9857 # need to do runtime linking.
9858 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9859 for ld_flag in $LDFLAGS; do
9860 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9861 aix_use_runtimelinking=yes
9868 exp_sym_flag='-bexport'
9869 no_entry_flag='-bnoentry'
9872 # When large executables or shared objects are built, AIX ld can
9873 # have problems creating the table of contents. If linking a library
9874 # or program results in "error TOC overflow" add -mminimal-toc to
9875 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9876 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9880 hardcode_direct_absolute=yes
9881 hardcode_libdir_separator=':'
9882 link_all_deplibs=yes
9883 file_list_spec='${wl}-f,'
9885 if test "$GCC" = yes; then
9886 case $host_os in aix4.[012]|aix4.[012].*)
9887 # We only want to do this on AIX 4.2 and lower, the check
9888 # below for broken collect2 doesn't work under 4.3+
9889 collect2name=`${CC} -print-prog-name=collect2`
9890 if test -f "$collect2name" &&
9891 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9893 # We have reworked collect2
9896 # We have old collect2
9897 hardcode_direct=unsupported
9898 # It fails to find uninstalled libraries when the uninstalled
9899 # path is not listed in the libpath. Setting hardcode_minus_L
9900 # to unsupported forces relinking
9901 hardcode_minus_L=yes
9902 hardcode_libdir_flag_spec='-L$libdir'
9903 hardcode_libdir_separator=
9907 shared_flag='-shared'
9908 if test "$aix_use_runtimelinking" = yes; then
9909 shared_flag="$shared_flag "'${wl}-G'
9913 if test "$host_cpu" = ia64; then
9914 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9915 # chokes on -Wl,-G. The following line is correct:
9918 if test "$aix_use_runtimelinking" = yes; then
9919 shared_flag='${wl}-G'
9921 shared_flag='${wl}-bM:SRE'
9926 export_dynamic_flag_spec='${wl}-bexpall'
9927 # It seems that -bexpall does not export symbols beginning with
9928 # underscore (_), so it is better to generate a list of symbols to export.
9929 always_export_symbols=yes
9930 if test "$aix_use_runtimelinking" = yes; then
9931 # Warning - without using the other runtime loading flags (-brtl),
9932 # -berok will link without error, but may produce a broken library.
9933 allow_undefined_flag='-berok'
9934 # Determine the default libpath from the value encoded in an
9936 cat >conftest.$ac_ext <<_ACEOF
9939 cat confdefs.h >>conftest.$ac_ext
9940 cat >>conftest.$ac_ext <<_ACEOF
9941 /* end confdefs.h. */
9951 rm -f conftest.$ac_objext conftest$ac_exeext
9952 if { (ac_try="$ac_link"
9954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9955 *) ac_try_echo=$ac_try;;
9957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9958 $as_echo "$ac_try_echo") >&5
9959 (eval "$ac_link") 2>conftest.er1
9961 grep -v '^ *+' conftest.er1 >conftest.err
9963 cat conftest.err >&5
9964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } && {
9966 test -z "$ac_c_werror_flag" ||
9967 test ! -s conftest.err
9968 } && test -s conftest$ac_exeext && {
9969 test "$cross_compiling" = yes ||
9970 $as_test_x conftest$ac_exeext
9973 lt_aix_libpath_sed='
9974 /Import File Strings/,/^$/ {
9980 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9981 # Check for a 64-bit object if we didn't find anything.
9982 if test -z "$aix_libpath"; then
9983 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9986 $as_echo "$as_me: failed program was:" >&5
9987 sed 's/^/| /' conftest.$ac_ext >&5
9992 rm -rf conftest.dSYM
9993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9994 conftest$ac_exeext conftest.$ac_ext
9995 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9997 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9998 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"
10000 if test "$host_cpu" = ia64; then
10001 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10002 allow_undefined_flag="-z nodefs"
10003 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"
10005 # Determine the default libpath from the value encoded in an
10006 # empty executable.
10007 cat >conftest.$ac_ext <<_ACEOF
10010 cat confdefs.h >>conftest.$ac_ext
10011 cat >>conftest.$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (ac_try="$ac_link"
10024 case "(($ac_try" in
10025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10026 *) ac_try_echo=$ac_try;;
10028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10029 $as_echo "$ac_try_echo") >&5
10030 (eval "$ac_link") 2>conftest.er1
10032 grep -v '^ *+' conftest.er1 >conftest.err
10034 cat conftest.err >&5
10035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); } && {
10037 test -z "$ac_c_werror_flag" ||
10038 test ! -s conftest.err
10039 } && test -s conftest$ac_exeext && {
10040 test "$cross_compiling" = yes ||
10041 $as_test_x conftest$ac_exeext
10044 lt_aix_libpath_sed='
10045 /Import File Strings/,/^$/ {
10051 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10052 # Check for a 64-bit object if we didn't find anything.
10053 if test -z "$aix_libpath"; then
10054 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10057 $as_echo "$as_me: failed program was:" >&5
10058 sed 's/^/| /' conftest.$ac_ext >&5
10063 rm -rf conftest.dSYM
10064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10065 conftest$ac_exeext conftest.$ac_ext
10066 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10068 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10069 # Warning - without using the other run time loading flags,
10070 # -berok will link without error, but may produce a broken library.
10071 no_undefined_flag=' ${wl}-bernotok'
10072 allow_undefined_flag=' ${wl}-berok'
10073 # Exported symbols can be pulled into shared objects from archives
10074 whole_archive_flag_spec='$convenience'
10075 archive_cmds_need_lc=yes
10076 # This is similar to how AIX traditionally builds its shared libraries.
10077 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'
10085 # see comment about AmigaOS4 .so support
10086 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10087 archive_expsym_cmds=''
10090 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)'
10091 hardcode_libdir_flag_spec='-L$libdir'
10092 hardcode_minus_L=yes
10098 export_dynamic_flag_spec=-rdynamic
10101 cygwin* | mingw* | pw32* | cegcc*)
10102 # When not using gcc, we currently assume that we are using
10103 # Microsoft Visual C++.
10104 # hardcode_libdir_flag_spec is actually meaningless, as there is
10105 # no search path for DLLs.
10106 hardcode_libdir_flag_spec=' '
10107 allow_undefined_flag=unsupported
10108 # Tell ltmain to make .lib files, not .a files.
10110 # Tell ltmain to make .dll files, not .so files.
10112 # FIXME: Setting linknames here is a bad hack.
10113 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10114 # The linker will automatically build a .lib file if we build a DLL.
10115 old_archive_from_new_cmds='true'
10116 # FIXME: Should let the user specify the lib program.
10117 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10118 fix_srcfile_path='`cygpath -w "$srcfile"`'
10119 enable_shared_with_static_runtimes=yes
10122 darwin* | rhapsody*)
10125 archive_cmds_need_lc=no
10127 hardcode_automatic=yes
10128 hardcode_shlibpath_var=unsupported
10129 whole_archive_flag_spec=''
10130 link_all_deplibs=yes
10131 allow_undefined_flag="$_lt_dar_allow_undefined"
10132 case $cc_basename in
10133 ifort*) _lt_dar_can_shared=yes ;;
10134 *) _lt_dar_can_shared=$GCC ;;
10136 if test "$_lt_dar_can_shared" = "yes"; then
10137 output_verbose_link_cmd=echo
10138 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10139 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10140 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}"
10141 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}"
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_libdir_flag_spec='-L$libdir'
10152 hardcode_shlibpath_var=no
10159 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10160 # support. Future versions do this automatically, but an explicit c++rt0.o
10161 # does not break anything, and helps significantly (at the cost of a little
10164 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10165 hardcode_libdir_flag_spec='-R$libdir'
10166 hardcode_direct=yes
10167 hardcode_shlibpath_var=no
10170 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10172 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10173 hardcode_direct=yes
10174 hardcode_minus_L=yes
10175 hardcode_shlibpath_var=no
10178 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10179 freebsd* | dragonfly*)
10180 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10181 hardcode_libdir_flag_spec='-R$libdir'
10182 hardcode_direct=yes
10183 hardcode_shlibpath_var=no
10187 if test "$GCC" = yes; then
10188 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'
10190 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'
10192 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10193 hardcode_libdir_separator=:
10194 hardcode_direct=yes
10196 # hardcode_minus_L: Not really in the search PATH,
10197 # but as the default location of the library.
10198 hardcode_minus_L=yes
10199 export_dynamic_flag_spec='${wl}-E'
10203 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10204 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10206 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10208 if test "$with_gnu_ld" = no; then
10209 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10210 hardcode_libdir_flag_spec_ld='+b $libdir'
10211 hardcode_libdir_separator=:
10212 hardcode_direct=yes
10213 hardcode_direct_absolute=yes
10214 export_dynamic_flag_spec='${wl}-E'
10215 # hardcode_minus_L: Not really in the search PATH,
10216 # but as the default location of the library.
10217 hardcode_minus_L=yes
10222 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10225 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10228 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10231 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10237 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10240 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10243 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10247 if test "$with_gnu_ld" = no; then
10248 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10249 hardcode_libdir_separator=:
10254 hardcode_shlibpath_var=no
10257 hardcode_direct=yes
10258 hardcode_direct_absolute=yes
10259 export_dynamic_flag_spec='${wl}-E'
10261 # hardcode_minus_L: Not really in the search PATH,
10262 # but as the default location of the library.
10263 hardcode_minus_L=yes
10269 irix5* | irix6* | nonstopux*)
10270 if test "$GCC" = yes; then
10271 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'
10272 # Try to use the -exported_symbol ld option, if it does not
10273 # work, assume that -exports_file does not work either and
10274 # implicitly export all symbols.
10275 save_LDFLAGS="$LDFLAGS"
10276 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10277 cat >conftest.$ac_ext <<_ACEOF
10280 rm -f conftest.$ac_objext conftest$ac_exeext
10281 if { (ac_try="$ac_link"
10282 case "(($ac_try" in
10283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10284 *) ac_try_echo=$ac_try;;
10286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10287 $as_echo "$ac_try_echo") >&5
10288 (eval "$ac_link") 2>conftest.er1
10290 grep -v '^ *+' conftest.er1 >conftest.err
10292 cat conftest.err >&5
10293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); } && {
10295 test -z "$ac_c_werror_flag" ||
10296 test ! -s conftest.err
10297 } && test -s conftest$ac_exeext && {
10298 test "$cross_compiling" = yes ||
10299 $as_test_x conftest$ac_exeext
10301 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'
10304 $as_echo "$as_me: failed program was:" >&5
10305 sed 's/^/| /' conftest.$ac_ext >&5
10310 rm -rf conftest.dSYM
10311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10312 conftest$ac_exeext conftest.$ac_ext
10313 LDFLAGS="$save_LDFLAGS"
10315 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'
10316 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'
10318 archive_cmds_need_lc='no'
10319 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10320 hardcode_libdir_separator=:
10322 link_all_deplibs=yes
10326 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10327 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10329 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10331 hardcode_libdir_flag_spec='-R$libdir'
10332 hardcode_direct=yes
10333 hardcode_shlibpath_var=no
10337 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10338 hardcode_direct=yes
10339 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10340 hardcode_libdir_separator=:
10341 hardcode_shlibpath_var=no
10348 if test -f /usr/libexec/ld.so; then
10349 hardcode_direct=yes
10350 hardcode_shlibpath_var=no
10351 hardcode_direct_absolute=yes
10352 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10353 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10354 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10355 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10356 export_dynamic_flag_spec='${wl}-E'
10359 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10360 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10361 hardcode_libdir_flag_spec='-R$libdir'
10364 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10365 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10375 hardcode_libdir_flag_spec='-L$libdir'
10376 hardcode_minus_L=yes
10377 allow_undefined_flag=unsupported
10378 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'
10379 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10383 if test "$GCC" = yes; then
10384 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10385 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'
10387 allow_undefined_flag=' -expect_unresolved \*'
10388 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'
10390 archive_cmds_need_lc='no'
10391 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10392 hardcode_libdir_separator=:
10395 osf4* | osf5*) # as osf3* with the addition of -msym flag
10396 if test "$GCC" = yes; then
10397 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10398 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'
10399 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10401 allow_undefined_flag=' -expect_unresolved \*'
10402 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'
10403 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~
10404 $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'
10406 # Both c and cxx compiler support -rpath directly
10407 hardcode_libdir_flag_spec='-rpath $libdir'
10409 archive_cmds_need_lc='no'
10410 hardcode_libdir_separator=:
10414 no_undefined_flag=' -z defs'
10415 if test "$GCC" = yes; then
10417 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10418 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10419 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10421 case `$CC -V 2>&1` in
10424 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10425 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10426 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10430 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10431 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10432 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10436 hardcode_libdir_flag_spec='-R$libdir'
10437 hardcode_shlibpath_var=no
10439 solaris2.[0-5] | solaris2.[0-5].*) ;;
10441 # The compiler driver will combine and reorder linker options,
10442 # but understands `-z linker_flag'. GCC discards it without `$wl',
10443 # but is careful enough not to reorder.
10444 # Supported since Solaris 2.6 (maybe 2.5.1?)
10445 if test "$GCC" = yes; then
10446 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10448 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10452 link_all_deplibs=yes
10456 if test "x$host_vendor" = xsequent; then
10457 # Use $CC to link under sequent, because it throws in some extra .o
10458 # files that make .init and .fini sections work.
10459 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10461 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10463 hardcode_libdir_flag_spec='-L$libdir'
10464 hardcode_direct=yes
10465 hardcode_minus_L=yes
10466 hardcode_shlibpath_var=no
10470 case $host_vendor in
10472 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10473 hardcode_direct=yes # is this really true???
10476 ## LD is ld it makes a PLAMLIB
10477 ## CC just makes a GrossModule.
10478 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10479 reload_cmds='$CC -r -o $output$reload_objs'
10483 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10484 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10487 runpath_var='LD_RUN_PATH'
10488 hardcode_shlibpath_var=no
10492 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10493 hardcode_shlibpath_var=no
10494 export_dynamic_flag_spec='-Bexport'
10498 if test -d /usr/nec; then
10499 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10500 hardcode_shlibpath_var=no
10501 runpath_var=LD_RUN_PATH
10502 hardcode_runpath_var=yes
10507 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10508 no_undefined_flag='${wl}-z,text'
10509 archive_cmds_need_lc=no
10510 hardcode_shlibpath_var=no
10511 runpath_var='LD_RUN_PATH'
10513 if test "$GCC" = yes; then
10514 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10515 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10517 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10518 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10522 sysv5* | sco3.2v5* | sco5v6*)
10523 # Note: We can NOT use -z defs as we might desire, because we do not
10524 # link with -lc, and that would cause any symbols used from libc to
10525 # always be unresolved, which means just about no library would
10526 # ever link correctly. If we're not using GNU ld we use -z text
10527 # though, which does catch some bad symbols but isn't as heavy-handed
10529 no_undefined_flag='${wl}-z,text'
10530 allow_undefined_flag='${wl}-z,nodefs'
10531 archive_cmds_need_lc=no
10532 hardcode_shlibpath_var=no
10533 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10534 hardcode_libdir_separator=':'
10535 link_all_deplibs=yes
10536 export_dynamic_flag_spec='${wl}-Bexport'
10537 runpath_var='LD_RUN_PATH'
10539 if test "$GCC" = yes; then
10540 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10541 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10543 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10544 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10549 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10550 hardcode_libdir_flag_spec='-L$libdir'
10551 hardcode_shlibpath_var=no
10559 if test x$host_vendor = xsni; then
10561 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10562 export_dynamic_flag_spec='${wl}-Blargedynsym'
10568 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10569 $as_echo "$ld_shlibs" >&6; }
10570 test "$ld_shlibs" = no && can_build_shared=no
10572 with_gnu_ld=$with_gnu_ld
10589 # Do we need to explicitly link libc?
10591 case "x$archive_cmds_need_lc" in
10593 # Assume -lc should be added
10594 archive_cmds_need_lc=yes
10596 if test "$enable_shared" = yes && test "$GCC" = yes; then
10597 case $archive_cmds in
10599 # FIXME: we may have to deal with multi-command sequences.
10602 # Test whether the compiler implicitly links with -lc since on some
10603 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10604 # to ld, don't add -lc before -lgcc.
10605 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10606 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10607 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
10608 $as_echo_n "(cached) " >&6
10611 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10614 (eval $ac_compile) 2>&5
10616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); } 2>conftest.err; then
10620 libobjs=conftest.$ac_objext
10622 wl=$lt_prog_compiler_wl
10623 pic_flag=$lt_prog_compiler_pic
10629 lt_save_allow_undefined_flag=$allow_undefined_flag
10630 allow_undefined_flag=
10631 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10632 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); }
10637 lt_cv_archive_cmds_need_lc=no
10639 lt_cv_archive_cmds_need_lc=yes
10641 allow_undefined_flag=$lt_save_allow_undefined_flag
10643 cat conftest.err 1>&5
10648 { $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
10649 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10650 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10813 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10814 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10816 if test "$GCC" = yes; then
10818 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10819 *) lt_awk_arg="/^libraries:/" ;;
10821 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10822 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10823 # if the path contains ";" then we assume it to be the separator
10824 # otherwise default to the standard path separator (i.e. ":") - it is
10825 # assumed that no part of a normal pathname contains ";" but that should
10826 # okay in the real world where ";" in dirpaths is itself problematic.
10827 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10829 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10831 # Ok, now we have the path, separated by spaces, we can step through it
10832 # and add multilib dir if necessary.
10833 lt_tmp_lt_search_path_spec=
10834 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10835 for lt_sys_path in $lt_search_path_spec; do
10836 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10837 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10839 test -d "$lt_sys_path" && \
10840 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10843 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10844 BEGIN {RS=" "; FS="/|\n";} {
10847 for (lt_i = NF; lt_i > 0; lt_i--) {
10848 if ($lt_i != "" && $lt_i != ".") {
10849 if ($lt_i == "..") {
10852 if (lt_count == 0) {
10853 lt_foo="/" $lt_i lt_foo;
10860 if (lt_foo != "") { lt_freq[lt_foo]++; }
10861 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10863 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10865 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10867 library_names_spec=
10868 libname_spec='lib$name'
10872 postuninstall_cmds=
10876 shlibpath_overrides_runpath=unknown
10878 dynamic_linker="$host_os ld.so"
10879 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10880 need_lib_prefix=unknown
10881 hardcode_into_libs=no
10883 # when you set need_version to no, make sure it does not cause -set_version
10884 # flags to be left without arguments
10885 need_version=unknown
10890 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10891 shlibpath_var=LIBPATH
10893 # AIX 3 has no versioning support, so we append a major version to the name.
10894 soname_spec='${libname}${release}${shared_ext}$major'
10901 hardcode_into_libs=yes
10902 if test "$host_cpu" = ia64; then
10903 # AIX 5 supports IA64
10904 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10905 shlibpath_var=LD_LIBRARY_PATH
10907 # With GCC up to 2.95.x, collect2 would create an import file
10908 # for dependence libraries. The import file would start with
10909 # the line `#! .'. This would cause the generated library to
10910 # depend on `.', always an invalid library. This was fixed in
10911 # development snapshots of GCC prior to 3.0.
10913 aix4 | aix4.[01] | aix4.[01].*)
10914 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10916 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10919 can_build_shared=no
10923 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10924 # soname into executable. Probably we can add versioning support to
10925 # collect2, so additional links can be useful in future.
10926 if test "$aix_use_runtimelinking" = yes; then
10927 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10928 # instead of lib<name>.a to let people know that these are not
10929 # typical AIX shared libraries.
10930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 # We preserve .a as extension for shared libraries through AIX4.2
10933 # and later when we are not doing run time linking.
10934 library_names_spec='${libname}${release}.a $libname.a'
10935 soname_spec='${libname}${release}${shared_ext}$major'
10937 shlibpath_var=LIBPATH
10944 # Since July 2007 AmigaOS4 officially supports .so libraries.
10945 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10949 library_names_spec='$libname.ixlibrary $libname.a'
10950 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10951 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'
10957 library_names_spec='${libname}${shared_ext}'
10958 dynamic_linker="$host_os ld.so"
10959 shlibpath_var=LIBRARY_PATH
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10968 shlibpath_var=LD_LIBRARY_PATH
10969 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10970 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10971 # the default ld.so.conf also contains /usr/contrib/lib and
10972 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10973 # libtool to hard-code these into programs
10976 cygwin* | mingw* | pw32* | cegcc*)
10977 version_type=windows
10982 case $GCC,$host_os in
10983 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10984 library_names_spec='$libname.dll.a'
10985 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10986 postinstall_cmds='base_file=`basename \${file}`~
10987 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10988 dldir=$destdir/`dirname \$dlpath`~
10989 test -d \$dldir || mkdir -p \$dldir~
10990 $install_prog $dir/$dlname \$dldir/$dlname~
10991 chmod a+x \$dldir/$dlname~
10992 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10993 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10995 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10996 dlpath=$dir/\$dldll~
10998 shlibpath_overrides_runpath=yes
11002 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11003 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11004 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11007 # MinGW DLLs use traditional 'lib' prefix
11008 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11009 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11010 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11011 # It is most probably a Windows format PATH printed by
11012 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11013 # path with ; separators, and with drive letters. We can handle the
11014 # drive letters (cygwin fileutils understands them), so leave them,
11015 # especially as we might pass files found there to a mingw objdump,
11016 # which wouldn't understand a cygwinified path. Ahh.
11017 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11019 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11023 # pw32 DLLs use 'pw' prefix rather than 'lib'
11024 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11030 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11033 dynamic_linker='Win32 ld.exe'
11034 # FIXME: first we should search . and the directory the executable is in
11038 darwin* | rhapsody*)
11039 dynamic_linker="$host_os dyld"
11040 version_type=darwin
11043 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11044 soname_spec='${libname}${release}${major}$shared_ext'
11045 shlibpath_overrides_runpath=yes
11046 shlibpath_var=DYLD_LIBRARY_PATH
11047 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11049 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11050 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11058 soname_spec='${libname}${release}${shared_ext}$major'
11059 shlibpath_var=LD_LIBRARY_PATH
11066 freebsd* | dragonfly*)
11067 # DragonFly does not have aout. When/if they implement a new
11068 # versioning mechanism, adjust this.
11069 if test -x /usr/bin/objformat; then
11070 objformat=`/usr/bin/objformat`
11073 freebsd[123]*) objformat=aout ;;
11074 *) objformat=elf ;;
11077 version_type=freebsd-$objformat
11078 case $version_type in
11080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11085 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11089 shlibpath_var=LD_LIBRARY_PATH
11092 shlibpath_overrides_runpath=yes
11094 freebsd3.[01]* | freebsdelf3.[01]*)
11095 shlibpath_overrides_runpath=yes
11096 hardcode_into_libs=yes
11098 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11099 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11100 shlibpath_overrides_runpath=no
11101 hardcode_into_libs=yes
11103 *) # from 4.6 on, and DragonFly
11104 shlibpath_overrides_runpath=yes
11105 hardcode_into_libs=yes
11114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11115 soname_spec='${libname}${release}${shared_ext}$major'
11116 shlibpath_var=LD_LIBRARY_PATH
11117 hardcode_into_libs=yes
11120 hpux9* | hpux10* | hpux11*)
11121 # Give a soname corresponding to the major version so that dld.sl refuses to
11122 # link against other versions.
11129 hardcode_into_libs=yes
11130 dynamic_linker="$host_os dld.so"
11131 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134 soname_spec='${libname}${release}${shared_ext}$major'
11135 if test "X$HPUX_IA64_MODE" = X32; then
11136 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11138 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11140 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11144 hardcode_into_libs=yes
11145 dynamic_linker="$host_os dld.sl"
11146 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11147 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11149 soname_spec='${libname}${release}${shared_ext}$major'
11150 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11151 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11155 dynamic_linker="$host_os dld.sl"
11156 shlibpath_var=SHLIB_PATH
11157 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159 soname_spec='${libname}${release}${shared_ext}$major'
11162 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11163 postinstall_cmds='chmod 555 $lib'
11170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11171 soname_spec='${libname}${release}${shared_ext}$major'
11172 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11173 shlibpath_var=LD_LIBRARY_PATH
11174 shlibpath_overrides_runpath=no
11175 hardcode_into_libs=yes
11178 irix5* | irix6* | nonstopux*)
11180 nonstopux*) version_type=nonstopux ;;
11182 if test "$lt_cv_prog_gnu_ld" = yes; then
11190 soname_spec='${libname}${release}${shared_ext}$major'
11191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11193 irix5* | nonstopux*)
11194 libsuff= shlibsuff=
11197 case $LD in # libtool.m4 will add one of these switches to LD
11198 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11199 libsuff= shlibsuff= libmagic=32-bit;;
11200 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11201 libsuff=32 shlibsuff=N32 libmagic=N32;;
11202 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11203 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11204 *) libsuff= shlibsuff= libmagic=never-match;;
11208 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11209 shlibpath_overrides_runpath=no
11210 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11211 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11212 hardcode_into_libs=yes
11215 # No shared lib support for Linux oldld, aout, or coff.
11216 linux*oldld* | linux*aout* | linux*coff*)
11220 # This must be Linux ELF.
11221 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11226 soname_spec='${libname}${release}${shared_ext}$major'
11227 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11228 shlibpath_var=LD_LIBRARY_PATH
11229 shlibpath_overrides_runpath=no
11231 # Some binutils ld are patched to set DT_RUNPATH
11232 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
11233 $as_echo_n "(cached) " >&6
11235 lt_cv_shlibpath_overrides_runpath=no
11236 save_LDFLAGS=$LDFLAGS
11237 save_libdir=$libdir
11238 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11239 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11240 cat >conftest.$ac_ext <<_ACEOF
11243 cat confdefs.h >>conftest.$ac_ext
11244 cat >>conftest.$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11255 rm -f conftest.$ac_objext conftest$ac_exeext
11256 if { (ac_try="$ac_link"
11257 case "(($ac_try" in
11258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11259 *) ac_try_echo=$ac_try;;
11261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11262 $as_echo "$ac_try_echo") >&5
11263 (eval "$ac_link") 2>conftest.er1
11265 grep -v '^ *+' conftest.er1 >conftest.err
11267 cat conftest.err >&5
11268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } && {
11270 test -z "$ac_c_werror_flag" ||
11271 test ! -s conftest.err
11272 } && test -s conftest$ac_exeext && {
11273 test "$cross_compiling" = yes ||
11274 $as_test_x conftest$ac_exeext
11276 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11277 lt_cv_shlibpath_overrides_runpath=yes
11281 $as_echo "$as_me: failed program was:" >&5
11282 sed 's/^/| /' conftest.$ac_ext >&5
11287 rm -rf conftest.dSYM
11288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LDFLAGS=$save_LDFLAGS
11291 libdir=$save_libdir
11295 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11297 # This implies no fast_install, which is unacceptable.
11298 # Some rework will be needed to allow for fast_install
11299 # before this can be enabled.
11300 hardcode_into_libs=yes
11302 # Append ld.so.conf contents to the search path
11303 if test -f /etc/ld.so.conf; then
11304 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' ' '`
11305 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11308 # We used to test for /lib/ld.so.1 and disable shared libraries on
11309 # powerpc, because MkLinux only supported shared libraries with the
11310 # GNU dynamic linker. Since this was broken with cross compilers,
11311 # most powerpc-linux boxes support dynamic linking these days and
11312 # people can always --disable-shared, the test was removed, and we
11313 # assume the GNU/Linux dynamic linker is in use.
11314 dynamic_linker='GNU/Linux ld.so'
11321 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11323 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11324 dynamic_linker='NetBSD (a.out) ld.so'
11326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11327 soname_spec='${libname}${release}${shared_ext}$major'
11328 dynamic_linker='NetBSD ld.elf_so'
11330 shlibpath_var=LD_LIBRARY_PATH
11331 shlibpath_overrides_runpath=yes
11332 hardcode_into_libs=yes
11337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11338 shlibpath_var=LD_LIBRARY_PATH
11339 shlibpath_overrides_runpath=yes
11346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 soname_spec='${libname}${release}${shared_ext}$major'
11348 shlibpath_var=LD_LIBRARY_PATH
11349 shlibpath_overrides_runpath=no
11350 hardcode_into_libs=yes
11351 dynamic_linker='ldqnx.so'
11356 sys_lib_dlsearch_path_spec="/usr/lib"
11358 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11360 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11361 *) need_version=no ;;
11363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11364 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11365 shlibpath_var=LD_LIBRARY_PATH
11366 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11368 openbsd2.[89] | openbsd2.[89].*)
11369 shlibpath_overrides_runpath=no
11372 shlibpath_overrides_runpath=yes
11376 shlibpath_overrides_runpath=yes
11381 libname_spec='$name'
11384 library_names_spec='$libname${shared_ext} $libname.a'
11385 dynamic_linker='OS/2 ld.exe'
11386 shlibpath_var=LIBPATH
11389 osf3* | osf4* | osf5*)
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11395 shlibpath_var=LD_LIBRARY_PATH
11396 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11397 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11409 soname_spec='${libname}${release}${shared_ext}$major'
11410 shlibpath_var=LD_LIBRARY_PATH
11411 shlibpath_overrides_runpath=yes
11412 hardcode_into_libs=yes
11413 # ldd complains unless libraries are executable
11414 postinstall_cmds='chmod +x $lib'
11419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11420 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11421 shlibpath_var=LD_LIBRARY_PATH
11422 shlibpath_overrides_runpath=yes
11423 if test "$with_gnu_ld" = yes; then
11431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11432 soname_spec='${libname}${release}${shared_ext}$major'
11433 shlibpath_var=LD_LIBRARY_PATH
11434 case $host_vendor in
11436 shlibpath_overrides_runpath=no
11438 runpath_var=LD_RUN_PATH
11446 shlibpath_overrides_runpath=no
11447 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11453 if test -d /usr/nec ;then
11455 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11456 soname_spec='$libname${shared_ext}.$major'
11457 shlibpath_var=LD_LIBRARY_PATH
11461 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11462 version_type=freebsd-elf
11465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11466 soname_spec='${libname}${release}${shared_ext}$major'
11467 shlibpath_var=LD_LIBRARY_PATH
11468 shlibpath_overrides_runpath=yes
11469 hardcode_into_libs=yes
11470 if test "$with_gnu_ld" = yes; then
11471 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11473 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11476 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11480 sys_lib_dlsearch_path_spec='/usr/lib'
11484 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489 shlibpath_var=LD_LIBRARY_PATH
11490 shlibpath_overrides_runpath=no
11491 hardcode_into_libs=yes
11496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11497 soname_spec='${libname}${release}${shared_ext}$major'
11498 shlibpath_var=LD_LIBRARY_PATH
11505 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11506 $as_echo "$dynamic_linker" >&6; }
11507 test "$dynamic_linker" = no && can_build_shared=no
11509 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11510 if test "$GCC" = yes; then
11511 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11514 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11515 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11517 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11518 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11607 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11608 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11610 if test -n "$hardcode_libdir_flag_spec" ||
11611 test -n "$runpath_var" ||
11612 test "X$hardcode_automatic" = "Xyes" ; then
11614 # We can hardcode non-existent directories.
11615 if test "$hardcode_direct" != no &&
11616 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11617 # have to relink, otherwise we might link with an installed library
11618 # when we should be linking with a yet-to-be-installed one
11619 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11620 test "$hardcode_minus_L" != no; then
11621 # Linking always hardcodes the temporary library directory.
11622 hardcode_action=relink
11624 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11625 hardcode_action=immediate
11628 # We cannot hardcode anything, or else we can only hardcode existing
11630 hardcode_action=unsupported
11632 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11633 $as_echo "$hardcode_action" >&6; }
11635 if test "$hardcode_action" = relink ||
11636 test "$inherit_rpath" = yes; then
11637 # Fast installation is not supported
11638 enable_fast_install=no
11639 elif test "$shlibpath_overrides_runpath" = yes ||
11640 test "$enable_shared" = no; then
11641 # Fast installation is not necessary
11642 enable_fast_install=needless
11650 if test "x$enable_dlopen" != xyes; then
11651 enable_dlopen=unknown
11652 enable_dlopen_self=unknown
11653 enable_dlopen_self_static=unknown
11660 lt_cv_dlopen="load_add_on"
11662 lt_cv_dlopen_self=yes
11665 mingw* | pw32* | cegcc*)
11666 lt_cv_dlopen="LoadLibrary"
11671 lt_cv_dlopen="dlopen"
11676 # if libdl is installed we need to link against it
11677 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11678 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11679 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11680 $as_echo_n "(cached) " >&6
11682 ac_check_lib_save_LIBS=$LIBS
11684 cat >conftest.$ac_ext <<_ACEOF
11687 cat confdefs.h >>conftest.$ac_ext
11688 cat >>conftest.$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11706 rm -f conftest.$ac_objext conftest$ac_exeext
11707 if { (ac_try="$ac_link"
11708 case "(($ac_try" in
11709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11710 *) ac_try_echo=$ac_try;;
11712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11713 $as_echo "$ac_try_echo") >&5
11714 (eval "$ac_link") 2>conftest.er1
11716 grep -v '^ *+' conftest.er1 >conftest.err
11718 cat conftest.err >&5
11719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } && {
11721 test -z "$ac_c_werror_flag" ||
11722 test ! -s conftest.err
11723 } && test -s conftest$ac_exeext && {
11724 test "$cross_compiling" = yes ||
11725 $as_test_x conftest$ac_exeext
11727 ac_cv_lib_dl_dlopen=yes
11729 $as_echo "$as_me: failed program was:" >&5
11730 sed 's/^/| /' conftest.$ac_ext >&5
11732 ac_cv_lib_dl_dlopen=no
11735 rm -rf conftest.dSYM
11736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11737 conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11740 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11741 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11742 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11743 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11746 lt_cv_dlopen="dyld"
11748 lt_cv_dlopen_self=yes
11755 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11756 $as_echo_n "checking for shl_load... " >&6; }
11757 if test "${ac_cv_func_shl_load+set}" = set; then
11758 $as_echo_n "(cached) " >&6
11760 cat >conftest.$ac_ext <<_ACEOF
11763 cat confdefs.h >>conftest.$ac_ext
11764 cat >>conftest.$ac_ext <<_ACEOF
11765 /* end confdefs.h. */
11766 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11768 #define shl_load innocuous_shl_load
11770 /* System header to define __stub macros and hopefully few prototypes,
11771 which can conflict with char shl_load (); below.
11772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11773 <limits.h> exists even on freestanding compilers. */
11776 # include <limits.h>
11778 # include <assert.h>
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11790 /* The GNU C library defines this for functions which it implements
11791 to always fail with ENOSYS. Some functions are actually named
11792 something starting with __ and the normal name is an alias. */
11793 #if defined __stub_shl_load || defined __stub___shl_load
11800 return shl_load ();
11805 rm -f conftest.$ac_objext conftest$ac_exeext
11806 if { (ac_try="$ac_link"
11807 case "(($ac_try" in
11808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11809 *) ac_try_echo=$ac_try;;
11811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11812 $as_echo "$ac_try_echo") >&5
11813 (eval "$ac_link") 2>conftest.er1
11815 grep -v '^ *+' conftest.er1 >conftest.err
11817 cat conftest.err >&5
11818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } && {
11820 test -z "$ac_c_werror_flag" ||
11821 test ! -s conftest.err
11822 } && test -s conftest$ac_exeext && {
11823 test "$cross_compiling" = yes ||
11824 $as_test_x conftest$ac_exeext
11826 ac_cv_func_shl_load=yes
11828 $as_echo "$as_me: failed program was:" >&5
11829 sed 's/^/| /' conftest.$ac_ext >&5
11831 ac_cv_func_shl_load=no
11834 rm -rf conftest.dSYM
11835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11836 conftest$ac_exeext conftest.$ac_ext
11838 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11839 $as_echo "$ac_cv_func_shl_load" >&6; }
11840 if test "x$ac_cv_func_shl_load" = x""yes; then
11841 lt_cv_dlopen="shl_load"
11843 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11844 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11845 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11846 $as_echo_n "(cached) " >&6
11848 ac_check_lib_save_LIBS=$LIBS
11850 cat >conftest.$ac_ext <<_ACEOF
11853 cat confdefs.h >>conftest.$ac_ext
11854 cat >>conftest.$ac_ext <<_ACEOF
11855 /* end confdefs.h. */
11857 /* Override any GCC internal prototype to avoid an error.
11858 Use char because int might match the return type of a GCC
11859 builtin and then its argument prototype would still apply. */
11867 return shl_load ();
11872 rm -f conftest.$ac_objext conftest$ac_exeext
11873 if { (ac_try="$ac_link"
11874 case "(($ac_try" in
11875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11876 *) ac_try_echo=$ac_try;;
11878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11879 $as_echo "$ac_try_echo") >&5
11880 (eval "$ac_link") 2>conftest.er1
11882 grep -v '^ *+' conftest.er1 >conftest.err
11884 cat conftest.err >&5
11885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } && {
11887 test -z "$ac_c_werror_flag" ||
11888 test ! -s conftest.err
11889 } && test -s conftest$ac_exeext && {
11890 test "$cross_compiling" = yes ||
11891 $as_test_x conftest$ac_exeext
11893 ac_cv_lib_dld_shl_load=yes
11895 $as_echo "$as_me: failed program was:" >&5
11896 sed 's/^/| /' conftest.$ac_ext >&5
11898 ac_cv_lib_dld_shl_load=no
11901 rm -rf conftest.dSYM
11902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_lib_save_LIBS
11906 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11907 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11908 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11909 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11911 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11912 $as_echo_n "checking for dlopen... " >&6; }
11913 if test "${ac_cv_func_dlopen+set}" = set; then
11914 $as_echo_n "(cached) " >&6
11916 cat >conftest.$ac_ext <<_ACEOF
11919 cat confdefs.h >>conftest.$ac_ext
11920 cat >>conftest.$ac_ext <<_ACEOF
11921 /* end confdefs.h. */
11922 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11924 #define dlopen innocuous_dlopen
11926 /* System header to define __stub macros and hopefully few prototypes,
11927 which can conflict with char dlopen (); below.
11928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11929 <limits.h> exists even on freestanding compilers. */
11932 # include <limits.h>
11934 # include <assert.h>
11939 /* Override any GCC internal prototype to avoid an error.
11940 Use char because int might match the return type of a GCC
11941 builtin and then its argument prototype would still apply. */
11946 /* The GNU C library defines this for functions which it implements
11947 to always fail with ENOSYS. Some functions are actually named
11948 something starting with __ and the normal name is an alias. */
11949 #if defined __stub_dlopen || defined __stub___dlopen
11961 rm -f conftest.$ac_objext conftest$ac_exeext
11962 if { (ac_try="$ac_link"
11963 case "(($ac_try" in
11964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11965 *) ac_try_echo=$ac_try;;
11967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11968 $as_echo "$ac_try_echo") >&5
11969 (eval "$ac_link") 2>conftest.er1
11971 grep -v '^ *+' conftest.er1 >conftest.err
11973 cat conftest.err >&5
11974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } && {
11976 test -z "$ac_c_werror_flag" ||
11977 test ! -s conftest.err
11978 } && test -s conftest$ac_exeext && {
11979 test "$cross_compiling" = yes ||
11980 $as_test_x conftest$ac_exeext
11982 ac_cv_func_dlopen=yes
11984 $as_echo "$as_me: failed program was:" >&5
11985 sed 's/^/| /' conftest.$ac_ext >&5
11987 ac_cv_func_dlopen=no
11990 rm -rf conftest.dSYM
11991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11992 conftest$ac_exeext conftest.$ac_ext
11994 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11995 $as_echo "$ac_cv_func_dlopen" >&6; }
11996 if test "x$ac_cv_func_dlopen" = x""yes; then
11997 lt_cv_dlopen="dlopen"
11999 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12000 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12001 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12002 $as_echo_n "(cached) " >&6
12004 ac_check_lib_save_LIBS=$LIBS
12006 cat >conftest.$ac_ext <<_ACEOF
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12013 /* Override any GCC internal prototype to avoid an error.
12014 Use char because int might match the return type of a GCC
12015 builtin and then its argument prototype would still apply. */
12028 rm -f conftest.$ac_objext conftest$ac_exeext
12029 if { (ac_try="$ac_link"
12030 case "(($ac_try" in
12031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12032 *) ac_try_echo=$ac_try;;
12034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12035 $as_echo "$ac_try_echo") >&5
12036 (eval "$ac_link") 2>conftest.er1
12038 grep -v '^ *+' conftest.er1 >conftest.err
12040 cat conftest.err >&5
12041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); } && {
12043 test -z "$ac_c_werror_flag" ||
12044 test ! -s conftest.err
12045 } && test -s conftest$ac_exeext && {
12046 test "$cross_compiling" = yes ||
12047 $as_test_x conftest$ac_exeext
12049 ac_cv_lib_dl_dlopen=yes
12051 $as_echo "$as_me: failed program was:" >&5
12052 sed 's/^/| /' conftest.$ac_ext >&5
12054 ac_cv_lib_dl_dlopen=no
12057 rm -rf conftest.dSYM
12058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12059 conftest$ac_exeext conftest.$ac_ext
12060 LIBS=$ac_check_lib_save_LIBS
12062 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12063 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12064 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12065 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12067 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12068 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12069 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12070 $as_echo_n "(cached) " >&6
12072 ac_check_lib_save_LIBS=$LIBS
12073 LIBS="-lsvld $LIBS"
12074 cat >conftest.$ac_ext <<_ACEOF
12077 cat confdefs.h >>conftest.$ac_ext
12078 cat >>conftest.$ac_ext <<_ACEOF
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12096 rm -f conftest.$ac_objext conftest$ac_exeext
12097 if { (ac_try="$ac_link"
12098 case "(($ac_try" in
12099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12100 *) ac_try_echo=$ac_try;;
12102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12103 $as_echo "$ac_try_echo") >&5
12104 (eval "$ac_link") 2>conftest.er1
12106 grep -v '^ *+' conftest.er1 >conftest.err
12108 cat conftest.err >&5
12109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } && {
12111 test -z "$ac_c_werror_flag" ||
12112 test ! -s conftest.err
12113 } && test -s conftest$ac_exeext && {
12114 test "$cross_compiling" = yes ||
12115 $as_test_x conftest$ac_exeext
12117 ac_cv_lib_svld_dlopen=yes
12119 $as_echo "$as_me: failed program was:" >&5
12120 sed 's/^/| /' conftest.$ac_ext >&5
12122 ac_cv_lib_svld_dlopen=no
12125 rm -rf conftest.dSYM
12126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12127 conftest$ac_exeext conftest.$ac_ext
12128 LIBS=$ac_check_lib_save_LIBS
12130 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12131 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12132 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12133 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12135 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12136 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12137 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12138 $as_echo_n "(cached) " >&6
12140 ac_check_lib_save_LIBS=$LIBS
12142 cat >conftest.$ac_ext <<_ACEOF
12145 cat confdefs.h >>conftest.$ac_ext
12146 cat >>conftest.$ac_ext <<_ACEOF
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12159 return dld_link ();
12164 rm -f conftest.$ac_objext conftest$ac_exeext
12165 if { (ac_try="$ac_link"
12166 case "(($ac_try" in
12167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12168 *) ac_try_echo=$ac_try;;
12170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12171 $as_echo "$ac_try_echo") >&5
12172 (eval "$ac_link") 2>conftest.er1
12174 grep -v '^ *+' conftest.er1 >conftest.err
12176 cat conftest.err >&5
12177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } && {
12179 test -z "$ac_c_werror_flag" ||
12180 test ! -s conftest.err
12181 } && test -s conftest$ac_exeext && {
12182 test "$cross_compiling" = yes ||
12183 $as_test_x conftest$ac_exeext
12185 ac_cv_lib_dld_dld_link=yes
12187 $as_echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.$ac_ext >&5
12190 ac_cv_lib_dld_dld_link=no
12193 rm -rf conftest.dSYM
12194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12195 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_check_lib_save_LIBS
12198 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12199 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12200 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12201 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12222 if test "x$lt_cv_dlopen" != xno; then
12228 case $lt_cv_dlopen in
12230 save_CPPFLAGS="$CPPFLAGS"
12231 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12233 save_LDFLAGS="$LDFLAGS"
12234 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12237 LIBS="$lt_cv_dlopen_libs $LIBS"
12239 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12240 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12241 if test "${lt_cv_dlopen_self+set}" = set; then
12242 $as_echo_n "(cached) " >&6
12244 if test "$cross_compiling" = yes; then :
12245 lt_cv_dlopen_self=cross
12247 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12248 lt_status=$lt_dlunknown
12249 cat > conftest.$ac_ext <<_LT_EOF
12250 #line 12250 "configure"
12251 #include "confdefs.h"
12260 # define LT_DLGLOBAL RTLD_GLOBAL
12263 # define LT_DLGLOBAL DL_GLOBAL
12265 # define LT_DLGLOBAL 0
12269 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12270 find out it does not work in some platform. */
12271 #ifndef LT_DLLAZY_OR_NOW
12273 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12276 # define LT_DLLAZY_OR_NOW DL_LAZY
12279 # define LT_DLLAZY_OR_NOW RTLD_NOW
12282 # define LT_DLLAZY_OR_NOW DL_NOW
12284 # define LT_DLLAZY_OR_NOW 0
12291 void fnord() { int i=42;}
12294 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12295 int status = $lt_dlunknown;
12299 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12300 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12301 /* dlclose (self); */
12309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12310 (eval $ac_link) 2>&5
12312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12314 (./conftest; exit; ) >&5 2>/dev/null
12316 case x$lt_status in
12317 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12318 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12319 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12322 # compilation failed
12323 lt_cv_dlopen_self=no
12330 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12331 $as_echo "$lt_cv_dlopen_self" >&6; }
12333 if test "x$lt_cv_dlopen_self" = xyes; then
12334 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12335 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12336 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12337 if test "${lt_cv_dlopen_self_static+set}" = set; then
12338 $as_echo_n "(cached) " >&6
12340 if test "$cross_compiling" = yes; then :
12341 lt_cv_dlopen_self_static=cross
12343 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12344 lt_status=$lt_dlunknown
12345 cat > conftest.$ac_ext <<_LT_EOF
12346 #line 12346 "configure"
12347 #include "confdefs.h"
12356 # define LT_DLGLOBAL RTLD_GLOBAL
12359 # define LT_DLGLOBAL DL_GLOBAL
12361 # define LT_DLGLOBAL 0
12365 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12366 find out it does not work in some platform. */
12367 #ifndef LT_DLLAZY_OR_NOW
12369 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12372 # define LT_DLLAZY_OR_NOW DL_LAZY
12375 # define LT_DLLAZY_OR_NOW RTLD_NOW
12378 # define LT_DLLAZY_OR_NOW DL_NOW
12380 # define LT_DLLAZY_OR_NOW 0
12387 void fnord() { int i=42;}
12390 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12391 int status = $lt_dlunknown;
12395 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12396 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12397 /* dlclose (self); */
12405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12406 (eval $ac_link) 2>&5
12408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12410 (./conftest; exit; ) >&5 2>/dev/null
12412 case x$lt_status in
12413 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12414 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12415 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12418 # compilation failed
12419 lt_cv_dlopen_self_static=no
12426 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12427 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12430 CPPFLAGS="$save_CPPFLAGS"
12431 LDFLAGS="$save_LDFLAGS"
12436 case $lt_cv_dlopen_self in
12437 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12438 *) enable_dlopen_self=unknown ;;
12441 case $lt_cv_dlopen_self_static in
12442 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12443 *) enable_dlopen_self_static=unknown ;;
12465 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12466 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12467 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12468 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12469 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12470 { $as_echo "$as_me:$LINENO: result: yes" >&5
12471 $as_echo "yes" >&6; }
12473 # FIXME - insert some real tests, host_os isn't really good enough
12476 if test -n "$STRIP" ; then
12477 striplib="$STRIP -x"
12478 old_striplib="$STRIP -S"
12479 { $as_echo "$as_me:$LINENO: result: yes" >&5
12480 $as_echo "yes" >&6; }
12482 { $as_echo "$as_me:$LINENO: result: no" >&5
12483 $as_echo "no" >&6; }
12487 { $as_echo "$as_me:$LINENO: result: no" >&5
12488 $as_echo "no" >&6; }
12504 # Report which library types will actually be built
12505 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12506 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12507 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12508 $as_echo "$can_build_shared" >&6; }
12510 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12511 $as_echo_n "checking whether to build shared libraries... " >&6; }
12512 test "$can_build_shared" = "no" && enable_shared=no
12514 # On AIX, shared libraries and static libraries use the same namespace, and
12515 # are all built from PIC.
12518 test "$enable_shared" = yes && enable_static=no
12519 if test -n "$RANLIB"; then
12520 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12521 postinstall_cmds='$RANLIB $lib'
12526 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12527 test "$enable_shared" = yes && enable_static=no
12531 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12532 $as_echo "$enable_shared" >&6; }
12534 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12535 $as_echo_n "checking whether to build static libraries... " >&6; }
12536 # Make sure either enable_shared or enable_static is yes.
12537 test "$enable_shared" = yes || enable_static=yes
12538 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12539 $as_echo "$enable_static" >&6; }
12546 ac_cpp='$CPP $CPPFLAGS'
12547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12565 ac_config_commands="$ac_config_commands libtool"
12570 # Only expand once:
12575 if test -n "${machine_dir}"; then
12576 case ${machine_dir} in
12579 subdirs="$subdirs i386"
12585 if test -n "${machine_dir}"; then
12590 if test x${machine_dir} != x; then
12591 HAVE_MACHINE_DIR_TRUE=
12592 HAVE_MACHINE_DIR_FALSE='#'
12594 HAVE_MACHINE_DIR_TRUE='#'
12595 HAVE_MACHINE_DIR_FALSE=
12599 ac_config_files="$ac_config_files Makefile"
12601 cat >confcache <<\_ACEOF
12602 # This file is a shell script that caches the results of configure
12603 # tests run on this system so they can be shared between configure
12604 # scripts and configure runs, see configure's option --config-cache.
12605 # It is not useful on other systems. If it contains results you don't
12606 # want to keep, you may remove or edit it.
12608 # config.status only pays attention to the cache file if you give it
12609 # the --recheck option to rerun configure.
12611 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12612 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12613 # following values.
12617 # The following way of writing the cache mishandles newlines in values,
12618 # but we know of no workaround that is simple, portable, and efficient.
12619 # So, we kill variables containing newlines.
12620 # Ultrix sh set writes to stderr and can't be redirected directly,
12621 # and sets the high bit in the cache file unless we assign to the vars.
12623 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12624 eval ac_val=\$$ac_var
12628 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12629 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12632 _ | IFS | as_nl) ;; #(
12633 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12634 *) $as_unset $ac_var ;;
12640 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12641 *${as_nl}ac_space=\ *)
12642 # `set' does not quote correctly, so add quotes (double-quote
12643 # substitution turns \\\\ into \\, and sed turns \\ into \).
12646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12649 # `set' quotes correctly as required by POSIX, so do not add quotes.
12650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12659 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12661 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12663 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12664 if test -w "$cache_file"; then
12665 test "x$cache_file" != "x/dev/null" &&
12666 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12667 $as_echo "$as_me: updating cache $cache_file" >&6;}
12668 cat confcache >$cache_file
12670 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12671 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12676 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12677 # Let make expand exec_prefix.
12678 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12680 # Transform confdefs.h into DEFS.
12681 # Protect against shell expansion while executing Makefile rules.
12682 # Protect against Makefile macro expansion.
12684 # If the first sed substitution is executed (which looks for macros that
12685 # take arguments), then branch to the quote section. Otherwise,
12686 # look for a macro that doesn't take arguments.
12696 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
12698 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
12702 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12715 DEFS=`sed -n "$ac_script" confdefs.h`
12720 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12721 # 1. Remove the extension, and $U if already installed.
12722 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12723 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12724 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12725 # will be set to the directory where LIBOBJS objects are built.
12726 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12727 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12729 LIBOBJS=$ac_libobjs
12731 LTLIBOBJS=$ac_ltlibobjs
12734 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
12735 { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
12736 Usually this means the macro was only invoked conditionally." >&5
12737 $as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
12738 Usually this means the macro was only invoked conditionally." >&2;}
12739 { (exit 1); exit 1; }; }
12741 if test -n "$EXEEXT"; then
12743 am__EXEEXT_FALSE='#'
12745 am__EXEEXT_TRUE='#'
12749 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12750 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12751 Usually this means the macro was only invoked conditionally." >&5
12752 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12753 Usually this means the macro was only invoked conditionally." >&2;}
12754 { (exit 1); exit 1; }; }
12756 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12757 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12758 Usually this means the macro was only invoked conditionally." >&5
12759 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12760 Usually this means the macro was only invoked conditionally." >&2;}
12761 { (exit 1); exit 1; }; }
12763 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12764 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12765 Usually this means the macro was only invoked conditionally." >&5
12766 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12767 Usually this means the macro was only invoked conditionally." >&2;}
12768 { (exit 1); exit 1; }; }
12770 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
12771 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
12772 Usually this means the macro was only invoked conditionally." >&5
12773 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
12774 Usually this means the macro was only invoked conditionally." >&2;}
12775 { (exit 1); exit 1; }; }
12777 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
12778 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
12779 Usually this means the macro was only invoked conditionally." >&5
12780 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
12781 Usually this means the macro was only invoked conditionally." >&2;}
12782 { (exit 1); exit 1; }; }
12784 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
12785 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
12786 Usually this means the macro was only invoked conditionally." >&5
12787 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
12788 Usually this means the macro was only invoked conditionally." >&2;}
12789 { (exit 1); exit 1; }; }
12791 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
12792 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
12793 Usually this means the macro was only invoked conditionally." >&5
12794 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
12795 Usually this means the macro was only invoked conditionally." >&2;}
12796 { (exit 1); exit 1; }; }
12798 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
12799 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
12800 Usually this means the macro was only invoked conditionally." >&5
12801 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
12802 Usually this means the macro was only invoked conditionally." >&2;}
12803 { (exit 1); exit 1; }; }
12805 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
12806 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
12807 Usually this means the macro was only invoked conditionally." >&5
12808 $as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
12809 Usually this means the macro was only invoked conditionally." >&2;}
12810 { (exit 1); exit 1; }; }
12812 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12813 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12814 Usually this means the macro was only invoked conditionally." >&5
12815 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12816 Usually this means the macro was only invoked conditionally." >&2;}
12817 { (exit 1); exit 1; }; }
12819 if test -z "${HAVE_MACHINE_DIR_TRUE}" && test -z "${HAVE_MACHINE_DIR_FALSE}"; then
12820 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_MACHINE_DIR\" was never defined.
12821 Usually this means the macro was only invoked conditionally." >&5
12822 $as_echo "$as_me: error: conditional \"HAVE_MACHINE_DIR\" was never defined.
12823 Usually this means the macro was only invoked conditionally." >&2;}
12824 { (exit 1); exit 1; }; }
12827 : ${CONFIG_STATUS=./config.status}
12829 ac_clean_files_save=$ac_clean_files
12830 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12831 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12832 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12833 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12835 # Generated by $as_me.
12836 # Run this file to recreate the current configuration.
12837 # Compiler output produced by configure, useful for debugging
12838 # configure, is in config.log if it exists.
12841 ac_cs_recheck=false
12843 SHELL=\${CONFIG_SHELL-$SHELL}
12846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12847 ## --------------------- ##
12848 ## M4sh Initialization. ##
12849 ## --------------------- ##
12851 # Be more Bourne compatible
12852 DUALCASE=1; export DUALCASE # for MKS sh
12853 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12856 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12857 # is contrary to our usage. Disable this feature.
12858 alias -g '${1+"$@"}'='"$@"'
12859 setopt NO_GLOB_SUBST
12861 case `(set -o) 2>/dev/null` in
12862 *posix*) set -o posix ;;
12871 # Avoid depending upon Character Ranges.
12872 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12873 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12874 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12875 as_cr_digits='0123456789'
12876 as_cr_alnum=$as_cr_Letters$as_cr_digits
12881 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12882 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12884 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12885 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12886 as_echo='printf %s\n'
12887 as_echo_n='printf %s'
12889 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12890 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12891 as_echo_n='/usr/ucb/echo -n'
12893 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12894 as_echo_n_body='eval
12898 expr "X$arg" : "X\\(.*\\)$as_nl";
12899 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12901 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12903 export as_echo_n_body
12904 as_echo_n='sh -c $as_echo_n_body as_echo'
12906 export as_echo_body
12907 as_echo='sh -c $as_echo_body as_echo'
12910 # The user is always right.
12911 if test "${PATH_SEPARATOR+set}" != set; then
12913 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12914 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12919 # Support unset when possible.
12920 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12928 # We need space, tab and new line, in precisely that order. Quoting is
12929 # there to prevent editors from complaining about space-tab.
12930 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12931 # splitting by setting IFS to empty value.)
12934 # Find who we are. Look in the path if we contain no directory separator.
12936 *[\\/]* ) as_myself=$0 ;;
12937 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12938 for as_dir in $PATH
12941 test -z "$as_dir" && as_dir=.
12942 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12948 # We did not find ourselves, most probably we were run as `sh COMMAND'
12949 # in which case we are not to be found in the path.
12950 if test "x$as_myself" = x; then
12953 if test ! -f "$as_myself"; then
12954 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12955 { (exit 1); exit 1; }
12958 # Work around bugs in pre-3.0 UWIN ksh.
12959 for as_var in ENV MAIL MAILPATH
12960 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12972 # Required to use basename.
12973 if expr a : '\(a\)' >/dev/null 2>&1 &&
12974 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12980 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12981 as_basename=basename
12987 # Name of the executable.
12988 as_me=`$as_basename -- "$0" ||
12989 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12990 X"$0" : 'X\(//\)$' \| \
12991 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12993 sed '/^.*\/\([^/][^/]*\)\/*$/{
13012 as_lineno_1=$LINENO
13013 as_lineno_2=$LINENO
13014 test "x$as_lineno_1" != "x$as_lineno_2" &&
13015 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13017 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13018 # uniformly replaced by the line number. The first 'sed' inserts a
13019 # line-number line after each line using $LINENO; the second 'sed'
13020 # does the real work. The second script uses 'N' to pair each
13021 # line-number line with the line containing $LINENO, and appends
13022 # trailing '-' during substitution so that $LINENO is not a special
13023 # case at line end.
13024 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13025 # scripts with optimization help from Paolo Bonzini. Blame Lee
13026 # E. McMahon (1931-1989) for sed's syntax. :-)
13038 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13041 ' >$as_me.lineno &&
13042 chmod +x "$as_me.lineno" ||
13043 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13044 { (exit 1); exit 1; }; }
13046 # Don't try to exec as it changes $[0], causing all sort of problems
13047 # (the dirname of $[0] is not the place where we might find the
13048 # original and so on. Autoconf is especially sensitive to this).
13049 . "./$as_me.lineno"
13050 # Exit status is that of the last command.
13055 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13061 ECHO_C= ECHO_N= ECHO_T=
13062 case `echo -n x` in
13064 case `echo 'x\c'` in
13065 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13071 if expr a : '\(a\)' >/dev/null 2>&1 &&
13072 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13078 rm -f conf$$ conf$$.exe conf$$.file
13079 if test -d conf$$.dir; then
13080 rm -f conf$$.dir/conf$$.file
13083 mkdir conf$$.dir 2>/dev/null
13085 if (echo >conf$$.file) 2>/dev/null; then
13086 if ln -s conf$$.file conf$$ 2>/dev/null; then
13088 # ... but there are two gotchas:
13089 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13090 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13091 # In both cases, we have to default to `cp -p'.
13092 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13094 elif ln conf$$.file conf$$ 2>/dev/null; then
13102 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13103 rmdir conf$$.dir 2>/dev/null
13105 if mkdir -p . 2>/dev/null; then
13108 test -d ./-p && rmdir ./-p
13112 if test -x / >/dev/null 2>&1; then
13113 as_test_x='test -x'
13115 if ls -dL / >/dev/null 2>&1; then
13122 if test -d "$1"; then
13128 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13129 ???[sx]*):;;*)false;;esac;fi
13133 as_executable_p=$as_test_x
13135 # Sed expression to map a string onto a valid CPP name.
13136 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13138 # Sed expression to map a string onto a valid variable name.
13139 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13144 # Save the log message, to keep $[0] and so on meaningful, and to
13145 # report actual input values of CONFIG_FILES etc. instead of their
13146 # values after options handling.
13148 This file was extended by newlib $as_me 1.17.0, which was
13149 generated by GNU Autoconf 2.63. Invocation command line was
13151 CONFIG_FILES = $CONFIG_FILES
13152 CONFIG_HEADERS = $CONFIG_HEADERS
13153 CONFIG_LINKS = $CONFIG_LINKS
13154 CONFIG_COMMANDS = $CONFIG_COMMANDS
13157 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13162 case $ac_config_files in *"
13163 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13169 # Files that config.status was made for.
13170 config_files="$ac_config_files"
13171 config_commands="$ac_config_commands"
13175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13177 \`$as_me' instantiates files from templates according to the
13178 current configuration.
13180 Usage: $0 [OPTION]... [FILE]...
13182 -h, --help print this help, then exit
13183 -V, --version print version number and configuration settings, then exit
13184 -q, --quiet, --silent
13185 do not print progress messages
13186 -d, --debug don't remove temporary files
13187 --recheck update $as_me by reconfiguring in the same conditions
13188 --file=FILE[:TEMPLATE]
13189 instantiate the configuration file FILE
13191 Configuration files:
13194 Configuration commands:
13197 Report bugs to <bug-autoconf@gnu.org>."
13200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13202 newlib config.status 1.17.0
13203 configured by $0, generated by GNU Autoconf 2.63,
13204 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13206 Copyright (C) 2008 Free Software Foundation, Inc.
13207 This config.status script is free software; the Free Software Foundation
13208 gives unlimited permission to copy, distribute and modify it."
13215 test -n "\$AWK" || AWK=awk
13218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13219 # The default lists apply if the user does not specify any file.
13225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13226 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13237 # Handling of the options.
13238 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13240 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13241 $as_echo "$ac_cs_version"; exit ;;
13242 --debug | --debu | --deb | --de | --d | -d )
13244 --file | --fil | --fi | --f )
13247 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13249 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13250 ac_need_defaults=false;;
13251 --he | --h | --help | --hel | -h )
13252 $as_echo "$ac_cs_usage"; exit ;;
13253 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13254 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13257 # This is an error.
13258 -*) { $as_echo "$as_me: error: unrecognized option: $1
13259 Try \`$0 --help' for more information." >&2
13260 { (exit 1); exit 1; }; } ;;
13262 *) ac_config_targets="$ac_config_targets $1"
13263 ac_need_defaults=false ;;
13269 ac_configure_extra_args=
13271 if $ac_cs_silent; then
13273 ac_configure_extra_args="$ac_configure_extra_args --silent"
13277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13278 if \$ac_cs_recheck; then
13279 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13281 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13282 CONFIG_SHELL='$SHELL'
13283 export CONFIG_SHELL
13288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13292 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13293 ## Running $as_me. ##
13299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13303 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13306 # The HP-UX ksh and POSIX shell print the target directory to stdout
13307 # if CDPATH is set.
13308 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13310 sed_quote_subst='$sed_quote_subst'
13311 double_quote_subst='$double_quote_subst'
13312 delay_variable_subst='$delay_variable_subst'
13313 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13314 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13315 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13316 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13317 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13318 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13319 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13320 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13321 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13322 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13323 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13324 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13325 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13326 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13327 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13328 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13329 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13330 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13331 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13332 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13333 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13334 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13335 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13336 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13337 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13338 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13339 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13340 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13341 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13342 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13343 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13344 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13345 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13346 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13347 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13348 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13349 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13350 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13351 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13352 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13353 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13354 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13355 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13356 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13357 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13358 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13359 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"`'
13360 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"`'
13361 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13362 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13363 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13364 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13365 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13366 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13367 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13368 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13369 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13370 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13371 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13372 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13373 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13374 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13375 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13376 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13377 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13378 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13379 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13380 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13381 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13382 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13383 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13384 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13385 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13386 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13387 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13388 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13389 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13390 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13391 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13392 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13393 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13394 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13395 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13396 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13397 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13398 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13399 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13400 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13401 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13402 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13403 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13404 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13405 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13406 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13407 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13408 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13409 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13410 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13411 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13412 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13413 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13414 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13415 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13416 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13417 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13418 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13419 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13420 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13421 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13422 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13423 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13424 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13425 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13426 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13427 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13428 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13429 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13430 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13431 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13432 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13435 LTCFLAGS='$LTCFLAGS'
13436 compiler='$compiler_DEFAULT'
13438 # Quote evaled strings.
13449 deplibs_check_method \
13458 lt_cv_sys_global_symbol_pipe \
13459 lt_cv_sys_global_symbol_to_cdecl \
13460 lt_cv_sys_global_symbol_to_c_name_address \
13461 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13464 lt_prog_compiler_no_builtin_flag \
13465 lt_prog_compiler_wl \
13466 lt_prog_compiler_pic \
13467 lt_prog_compiler_static \
13468 lt_cv_prog_compiler_c_o \
13476 export_dynamic_flag_spec \
13477 whole_archive_flag_spec \
13478 compiler_needs_object \
13480 allow_undefined_flag \
13481 no_undefined_flag \
13482 hardcode_libdir_flag_spec \
13483 hardcode_libdir_flag_spec_ld \
13484 hardcode_libdir_separator \
13489 variables_saved_for_relink \
13491 library_names_spec \
13496 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13497 *[\\\\\\\`\\"\\\$]*)
13498 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13501 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13506 # Double-quote double-evaled strings.
13507 for var in reload_cmds \
13508 old_postinstall_cmds \
13509 old_postuninstall_cmds \
13511 extract_expsyms_cmds \
13512 old_archive_from_new_cmds \
13513 old_archive_from_expsyms_cmds \
13515 archive_expsym_cmds \
13517 module_expsym_cmds \
13518 export_symbols_cmds \
13521 postuninstall_cmds \
13523 sys_lib_search_path_spec \
13524 sys_lib_dlsearch_path_spec; do
13525 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13526 *[\\\\\\\`\\"\\\$]*)
13527 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13530 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13535 # Fix-up fallback echo if it was mangled by the above quoting rules.
13537 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13541 ac_aux_dir='$ac_aux_dir'
13542 xsi_shell='$xsi_shell'
13543 lt_shell_append='$lt_shell_append'
13545 # See if we are running on zsh, and set the options which allow our
13546 # commands through without removal of \ escapes INIT.
13547 if test -n "\${ZSH_VERSION+set}" ; then
13548 setopt NO_GLOB_SUBST
13554 TIMESTAMP='$TIMESTAMP'
13563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13565 # Handling of arguments.
13566 for ac_config_target in $ac_config_targets
13568 case $ac_config_target in
13569 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13570 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13571 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13573 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13574 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13575 { (exit 1); exit 1; }; };;
13580 # If the user did not use the arguments to specify the items to instantiate,
13581 # then the envvar interface is used. Set only those that are not.
13582 # We use the long form for the default assignment because of an extremely
13583 # bizarre bug on SunOS 4.1.3.
13584 if $ac_need_defaults; then
13585 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13586 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13589 # Have a temporary directory for convenience. Make it in the build tree
13590 # simply because there is no reason against having it here, and in addition,
13591 # creating and moving files from /tmp can sometimes cause problems.
13592 # Hook for its removal unless debugging.
13593 # Note that there is a small window in which the directory will not be cleaned:
13594 # after its creation but before its name has been assigned to `$tmp'.
13598 trap 'exit_status=$?
13599 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13601 trap '{ (exit 1); exit 1; }' 1 2 13 15
13603 # Create a (secure) tmp directory for tmp files.
13606 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13607 test -n "$tmp" && test -d "$tmp"
13610 tmp=./conf$$-$RANDOM
13611 (umask 077 && mkdir "$tmp")
13614 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13615 { (exit 1); exit 1; }
13618 # Set up the scripts for CONFIG_FILES section.
13619 # No need to generate them if there are no CONFIG_FILES.
13620 # This happens for instance with `./config.status config.h'.
13621 if test -n "$CONFIG_FILES"; then
13625 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13626 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13629 ac_cs_awk_cr=$ac_cr
13632 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13637 echo "cat >conf$$subs.awk <<_ACEOF" &&
13638 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13640 } >conf$$subs.sh ||
13641 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13642 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13643 { (exit 1); exit 1; }; }
13644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13646 for ac_last_try in false false false false false :; do
13647 . ./conf$$subs.sh ||
13648 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13649 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13650 { (exit 1); exit 1; }; }
13652 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13653 if test $ac_delim_n = $ac_delim_num; then
13655 elif $ac_last_try; then
13656 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13657 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13658 { (exit 1); exit 1; }; }
13660 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13663 rm -f conf$$subs.sh
13665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13666 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13670 s/^/S["/; s/!.*/"]=/
13680 s/\(.\{148\}\).*/\1/
13682 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13687 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13694 s/\(.\{148\}\).*/\1/
13696 s/["\\]/\\&/g; s/^/"/; s/$/"/
13700 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13705 ' <conf$$subs.awk | sed '
13710 ' >>$CONFIG_STATUS || ac_write_fail=1
13711 rm -f conf$$subs.awk
13712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13714 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13715 for (key in S) S_is_set[key] = 1
13721 nfields = split(line, field, "@")
13723 len = length(field[1])
13724 for (i = 2; i < nfields; i++) {
13726 keylen = length(key)
13727 if (S_is_set[key]) {
13729 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13730 len += length(value) + length(field[++i])
13741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13742 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13743 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13746 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13747 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13748 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
13749 { (exit 1); exit 1; }; }
13752 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13753 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13754 # trailing colons and then remove the whole line if VPATH becomes empty
13755 # (actually we leave an empty line to preserve line numbers).
13756 if test "x$srcdir" = x.; then
13757 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13758 s/:*\$(srcdir):*/:/
13759 s/:*\${srcdir}:*/:/
13761 s/^\([^=]*=[ ]*\):*/\1/
13767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13768 fi # test -n "$CONFIG_FILES"
13771 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
13776 :[FHLC]) ac_mode=$ac_tag; continue;;
13778 case $ac_mode$ac_tag in
13780 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13781 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13782 { (exit 1); exit 1; }; };;
13783 :[FH]-) ac_tag=-:-;;
13784 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13801 -) ac_f="$tmp/stdin";;
13802 *) # Look for the file first in the build tree, then in the source tree
13803 # (if the path is not absolute). The absolute path cannot be DOS-style,
13804 # because $ac_f cannot contain `:'.
13808 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13810 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13811 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13812 { (exit 1); exit 1; }; };;
13814 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13815 ac_file_inputs="$ac_file_inputs '$ac_f'"
13818 # Let's still pretend it is `configure' which instantiates (i.e., don't
13819 # use $as_me), people would be surprised to read:
13820 # /* config.h. Generated by config.status. */
13821 configure_input='Generated from '`
13822 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13824 if test x"$ac_file" != x-; then
13825 configure_input="$ac_file. $configure_input"
13826 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13827 $as_echo "$as_me: creating $ac_file" >&6;}
13829 # Neutralize special characters interpreted by sed in replacement strings.
13830 case $configure_input in #(
13831 *\&* | *\|* | *\\* )
13832 ac_sed_conf_input=`$as_echo "$configure_input" |
13833 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13834 *) ac_sed_conf_input=$configure_input;;
13838 *:-:* | *:-) cat >"$tmp/stdin" \
13839 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13840 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13841 { (exit 1); exit 1; }; } ;;
13846 ac_dir=`$as_dirname -- "$ac_file" ||
13847 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13848 X"$ac_file" : 'X\(//\)[^/]' \| \
13849 X"$ac_file" : 'X\(//\)$' \| \
13850 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13851 $as_echo X"$ac_file" |
13852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13856 /^X\(\/\/\)[^/].*/{
13871 -*) as_dir=./$as_dir;;
13873 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13877 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13878 *) as_qdir=$as_dir;;
13880 as_dirs="'$as_qdir' $as_dirs"
13881 as_dir=`$as_dirname -- "$as_dir" ||
13882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13883 X"$as_dir" : 'X\(//\)[^/]' \| \
13884 X"$as_dir" : 'X\(//\)$' \| \
13885 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13886 $as_echo X"$as_dir" |
13887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13891 /^X\(\/\/\)[^/].*/{
13904 test -d "$as_dir" && break
13906 test -z "$as_dirs" || eval "mkdir $as_dirs"
13907 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13908 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13909 { (exit 1); exit 1; }; }; }
13913 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13915 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13916 # A ".." for each directory in $ac_dir_suffix.
13917 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13918 case $ac_top_builddir_sub in
13919 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13920 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13923 ac_abs_top_builddir=$ac_pwd
13924 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13925 # for backward compatibility:
13926 ac_top_builddir=$ac_top_build_prefix
13929 .) # We are building in place.
13931 ac_top_srcdir=$ac_top_builddir_sub
13932 ac_abs_top_srcdir=$ac_pwd ;;
13933 [\\/]* | ?:[\\/]* ) # Absolute name.
13934 ac_srcdir=$srcdir$ac_dir_suffix;
13935 ac_top_srcdir=$srcdir
13936 ac_abs_top_srcdir=$srcdir ;;
13937 *) # Relative name.
13938 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13939 ac_top_srcdir=$ac_top_build_prefix$srcdir
13940 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13942 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13952 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13953 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13955 ac_MKDIR_P=$MKDIR_P
13957 [\\/$]* | ?:[\\/]* ) ;;
13958 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13963 # If the template does not know about datarootdir, expand it.
13964 # FIXME: This hack should be removed a few years after 2.60.
13965 ac_datarootdir_hack=; ac_datarootdir_seen=
13978 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13979 *datarootdir*) ac_datarootdir_seen=yes;;
13980 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13981 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13982 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13985 ac_datarootdir_hack='
13986 s&@datadir@&$datadir&g
13987 s&@docdir@&$docdir&g
13988 s&@infodir@&$infodir&g
13989 s&@localedir@&$localedir&g
13990 s&@mandir@&$mandir&g
13991 s&\\\${datarootdir}&$datarootdir&g' ;;
13995 # Neutralize VPATH when `$srcdir' = `.'.
13996 # Shell code in configure.ac might set extrasub.
13997 # FIXME: do we really want to maintain this feature?
13998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13999 ac_sed_extra="$ac_vpsub
14002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14004 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14005 s|@configure_input@|$ac_sed_conf_input|;t t
14006 s&@top_builddir@&$ac_top_builddir_sub&;t t
14007 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14008 s&@srcdir@&$ac_srcdir&;t t
14009 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14010 s&@top_srcdir@&$ac_top_srcdir&;t t
14011 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14012 s&@builddir@&$ac_builddir&;t t
14013 s&@abs_builddir@&$ac_abs_builddir&;t t
14014 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14015 s&@INSTALL@&$ac_INSTALL&;t t
14016 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14017 $ac_datarootdir_hack
14019 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14020 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14021 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14022 { (exit 1); exit 1; }; }
14024 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14025 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14026 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14027 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14028 which seems to be undefined. Please make sure it is defined." >&5
14029 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14030 which seems to be undefined. Please make sure it is defined." >&2;}
14034 -) cat "$tmp/out" && rm -f "$tmp/out";;
14035 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14037 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14038 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14039 { (exit 1); exit 1; }; }
14043 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14044 $as_echo "$as_me: executing $ac_file commands" >&6;}
14049 case $ac_file$ac_mode in
14050 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14051 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14052 # are listed without --file. Let's play safe and only enable the eval
14053 # if we detect the quoting.
14054 case $CONFIG_FILES in
14055 *\'*) eval set x "$CONFIG_FILES" ;;
14056 *) set x $CONFIG_FILES ;;
14061 # Strip MF so we end up with the name of the file.
14062 mf=`echo "$mf" | sed -e 's/:.*$//'`
14063 # Check whether this is an Automake generated Makefile or not.
14064 # We used to match only the files named `Makefile.in', but
14065 # some people rename them; so instead we look at the file content.
14066 # Grep'ing the first line is not enough: some people post-process
14067 # each Makefile.in and add a new line on top of each file to say so.
14068 # Grep'ing the whole file is not good either: AIX grep has a line
14069 # limit of 2048, but all sed's we know have understand at least 4000.
14070 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14071 dirpart=`$as_dirname -- "$mf" ||
14072 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14073 X"$mf" : 'X\(//\)[^/]' \| \
14074 X"$mf" : 'X\(//\)$' \| \
14075 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14081 /^X\(\/\/\)[^/].*/{
14097 # Extract the definition of DEPDIR, am__include, and am__quote
14098 # from the Makefile without running `make'.
14099 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14100 test -z "$DEPDIR" && continue
14101 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14102 test -z "am__include" && continue
14103 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14104 # When using ansi2knr, U may be empty or an underscore; expand it
14105 U=`sed -n 's/^U = //p' < "$mf"`
14106 # Find all dependency output files, they are included files with
14107 # $(DEPDIR) in their names. We invoke sed twice because it is the
14108 # simplest approach to changing $(DEPDIR) to its actual value in the
14110 for file in `sed -n "
14111 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14112 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14113 # Make sure the directory exists.
14114 test -f "$dirpart/$file" && continue
14115 fdir=`$as_dirname -- "$file" ||
14116 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14117 X"$file" : 'X\(//\)[^/]' \| \
14118 X"$file" : 'X\(//\)$' \| \
14119 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14120 $as_echo X"$file" |
14121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14125 /^X\(\/\/\)[^/].*/{
14138 { as_dir=$dirpart/$fdir
14140 -*) as_dir=./$as_dir;;
14142 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14146 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14147 *) as_qdir=$as_dir;;
14149 as_dirs="'$as_qdir' $as_dirs"
14150 as_dir=`$as_dirname -- "$as_dir" ||
14151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14152 X"$as_dir" : 'X\(//\)[^/]' \| \
14153 X"$as_dir" : 'X\(//\)$' \| \
14154 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14155 $as_echo X"$as_dir" |
14156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14160 /^X\(\/\/\)[^/].*/{
14173 test -d "$as_dir" && break
14175 test -z "$as_dirs" || eval "mkdir $as_dirs"
14176 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14177 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14178 { (exit 1); exit 1; }; }; }
14179 # echo "creating $dirpart/$file"
14180 echo '# dummy' > "$dirpart/$file"
14187 # See if we are running on zsh, and set the options which allow our
14188 # commands through without removal of \ escapes.
14189 if test -n "${ZSH_VERSION+set}" ; then
14190 setopt NO_GLOB_SUBST
14193 cfgfile="${ofile}T"
14194 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14197 cat <<_LT_EOF >> "$cfgfile"
14200 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14201 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14202 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14203 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14205 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14206 # 2006, 2007, 2008 Free Software Foundation, Inc.
14207 # Written by Gordon Matzigkeit, 1996
14209 # This file is part of GNU Libtool.
14211 # GNU Libtool is free software; you can redistribute it and/or
14212 # modify it under the terms of the GNU General Public License as
14213 # published by the Free Software Foundation; either version 2 of
14214 # the License, or (at your option) any later version.
14216 # As a special exception to the GNU General Public License,
14217 # if you distribute this file as part of a program or library that
14218 # is built using GNU Libtool, you may include this file under the
14219 # same distribution terms that you use for the rest of that program.
14221 # GNU Libtool is distributed in the hope that it will be useful,
14222 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14223 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14224 # GNU General Public License for more details.
14226 # You should have received a copy of the GNU General Public License
14227 # along with GNU Libtool; see the file COPYING. If not, a copy
14228 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14229 # obtained by writing to the Free Software Foundation, Inc.,
14230 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14233 # The names of the tagged configurations supported by this script.
14236 # ### BEGIN LIBTOOL CONFIG
14238 # A sed program that does not truncate output.
14241 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14242 Xsed="\$SED -e 1s/^X//"
14244 # Assembler program.
14247 # DLL creation program.
14250 # Object dumper program.
14253 # Which release of libtool.m4 was used?
14254 macro_version=$macro_version
14255 macro_revision=$macro_revision
14257 # Whether or not to build shared libraries.
14258 build_libtool_libs=$enable_shared
14260 # Whether or not to build static libraries.
14261 build_old_libs=$enable_static
14263 # What type of objects to build.
14266 # Whether or not to optimize for fast installation.
14267 fast_install=$enable_fast_install
14270 host_alias=$host_alias
14274 # The build system.
14275 build_alias=$build_alias
14279 # A grep program that handles long lines.
14285 # A literal string matcher.
14288 # A BSD- or MS-compatible name lister.
14291 # Whether we need soft or hard links.
14294 # What is the maximum length of a command?
14295 max_cmd_len=$max_cmd_len
14297 # Object file suffix (normally "o").
14300 # Executable file suffix (normally "").
14303 # whether the shell understands "unset".
14306 # turn spaces into newlines.
14309 # turn newlines into spaces.
14312 # How to create reloadable object files.
14313 reload_flag=$lt_reload_flag
14314 reload_cmds=$lt_reload_cmds
14316 # Method to check whether dependent libraries are shared objects.
14317 deplibs_check_method=$lt_deplibs_check_method
14319 # Command to use when deplibs_check_method == "file_magic".
14320 file_magic_cmd=$lt_file_magic_cmd
14324 AR_FLAGS=$lt_AR_FLAGS
14326 # A symbol stripping program.
14329 # Commands used to install an old-style archive.
14331 old_postinstall_cmds=$lt_old_postinstall_cmds
14332 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14337 # LTCC compiler flags.
14338 LTCFLAGS=$lt_CFLAGS
14340 # Take the output of nm and produce a listing of raw symbols and C names.
14341 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14343 # Transform the output of nm in a proper C declaration.
14344 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14346 # Transform the output of nm in a C name address pair.
14347 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14349 # Transform the output of nm in a C name address pair when lib prefix is needed.
14350 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14352 # The name of the directory that contains temporary libtool files.
14355 # Shell to use when invoking shell scripts.
14358 # An echo program that does not interpret backslashes.
14361 # Used to examine libraries when file_magic_cmd begins with "file".
14362 MAGIC_CMD=$MAGIC_CMD
14364 # Must we lock files when doing compilation?
14365 need_locks=$lt_need_locks
14367 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14368 DSYMUTIL=$lt_DSYMUTIL
14370 # Tool to change global to local symbols on Mac OS X.
14373 # Tool to manipulate fat objects and archives on Mac OS X.
14376 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14379 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14380 OTOOL64=$lt_OTOOL64
14382 # Old archive suffix (normally "a").
14385 # Shared library suffix (normally ".so").
14386 shrext_cmds=$lt_shrext_cmds
14388 # The commands to extract the exported symbol list from a shared archive.
14389 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14391 # Variables whose values should be saved in libtool wrapper scripts and
14392 # restored at link time.
14393 variables_saved_for_relink=$lt_variables_saved_for_relink
14395 # Do we need the "lib" prefix for modules?
14396 need_lib_prefix=$need_lib_prefix
14398 # Do we need a version for libraries?
14399 need_version=$need_version
14401 # Library versioning type.
14402 version_type=$version_type
14404 # Shared library runtime path variable.
14405 runpath_var=$runpath_var
14407 # Shared library path variable.
14408 shlibpath_var=$shlibpath_var
14410 # Is shlibpath searched before the hard-coded library search path?
14411 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14413 # Format of library name prefix.
14414 libname_spec=$lt_libname_spec
14416 # List of archive names. First name is the real one, the rest are links.
14417 # The last name is the one that the linker finds with -lNAME
14418 library_names_spec=$lt_library_names_spec
14420 # The coded name of the library, if different from the real name.
14421 soname_spec=$lt_soname_spec
14423 # Command to use after installation of a shared archive.
14424 postinstall_cmds=$lt_postinstall_cmds
14426 # Command to use after uninstallation of a shared archive.
14427 postuninstall_cmds=$lt_postuninstall_cmds
14429 # Commands used to finish a libtool library installation in a directory.
14430 finish_cmds=$lt_finish_cmds
14432 # As "finish_cmds", except a single script fragment to be evaled but
14434 finish_eval=$lt_finish_eval
14436 # Whether we should hardcode library paths into libraries.
14437 hardcode_into_libs=$hardcode_into_libs
14439 # Compile-time system search path for libraries.
14440 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14442 # Run-time system search path for libraries.
14443 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14445 # Whether dlopen is supported.
14446 dlopen_support=$enable_dlopen
14448 # Whether dlopen of programs is supported.
14449 dlopen_self=$enable_dlopen_self
14451 # Whether dlopen of statically linked programs is supported.
14452 dlopen_self_static=$enable_dlopen_self_static
14454 # Commands to strip libraries.
14455 old_striplib=$lt_old_striplib
14456 striplib=$lt_striplib
14459 # The linker used to build libraries.
14462 # Commands used to build an old-style archive.
14463 old_archive_cmds=$lt_old_archive_cmds
14465 # A language specific compiler.
14468 # Is the compiler the GNU compiler?
14471 # Compiler flag to turn off builtin functions.
14472 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14474 # How to pass a linker flag through the compiler.
14475 wl=$lt_lt_prog_compiler_wl
14477 # Additional compiler flags for building library objects.
14478 pic_flag=$lt_lt_prog_compiler_pic
14480 # Compiler flag to prevent dynamic linking.
14481 link_static_flag=$lt_lt_prog_compiler_static
14483 # Does compiler simultaneously support -c and -o options?
14484 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14486 # Whether or not to add -lc for building shared libraries.
14487 build_libtool_need_lc=$archive_cmds_need_lc
14489 # Whether or not to disallow shared libs when runtime libs are static.
14490 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14492 # Compiler flag to allow reflexive dlopens.
14493 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14495 # Compiler flag to generate shared objects directly from archives.
14496 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14498 # Whether the compiler copes with passing no objects directly.
14499 compiler_needs_object=$lt_compiler_needs_object
14501 # Create an old-style archive from a shared archive.
14502 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14504 # Create a temporary old-style archive to link instead of a shared archive.
14505 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14507 # Commands used to build a shared archive.
14508 archive_cmds=$lt_archive_cmds
14509 archive_expsym_cmds=$lt_archive_expsym_cmds
14511 # Commands used to build a loadable module if different from building
14512 # a shared archive.
14513 module_cmds=$lt_module_cmds
14514 module_expsym_cmds=$lt_module_expsym_cmds
14516 # Whether we are building with GNU ld or not.
14517 with_gnu_ld=$lt_with_gnu_ld
14519 # Flag that allows shared libraries with undefined symbols to be built.
14520 allow_undefined_flag=$lt_allow_undefined_flag
14522 # Flag that enforces no undefined symbols.
14523 no_undefined_flag=$lt_no_undefined_flag
14525 # Flag to hardcode \$libdir into a binary during linking.
14526 # This must work even if \$libdir does not exist
14527 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14529 # If ld is used when linking, flag to hardcode \$libdir into a binary
14530 # during linking. This must work even if \$libdir does not exist.
14531 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14533 # Whether we need a single "-rpath" flag with a separated argument.
14534 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14536 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14537 # DIR into the resulting binary.
14538 hardcode_direct=$hardcode_direct
14540 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14541 # DIR into the resulting binary and the resulting library dependency is
14542 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14543 # library is relocated.
14544 hardcode_direct_absolute=$hardcode_direct_absolute
14546 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14547 # into the resulting binary.
14548 hardcode_minus_L=$hardcode_minus_L
14550 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14551 # into the resulting binary.
14552 hardcode_shlibpath_var=$hardcode_shlibpath_var
14554 # Set to "yes" if building a shared library automatically hardcodes DIR
14555 # into the library and all subsequent libraries and executables linked
14557 hardcode_automatic=$hardcode_automatic
14559 # Set to yes if linker adds runtime paths of dependent libraries
14560 # to runtime path list.
14561 inherit_rpath=$inherit_rpath
14563 # Whether libtool must link a program against all its dependency libraries.
14564 link_all_deplibs=$link_all_deplibs
14566 # Fix the shell variable \$srcfile for the compiler.
14567 fix_srcfile_path=$lt_fix_srcfile_path
14569 # Set to "yes" if exported symbols are required.
14570 always_export_symbols=$always_export_symbols
14572 # The commands to list exported symbols.
14573 export_symbols_cmds=$lt_export_symbols_cmds
14575 # Symbols that should not be listed in the preloaded symbols.
14576 exclude_expsyms=$lt_exclude_expsyms
14578 # Symbols that must always be exported.
14579 include_expsyms=$lt_include_expsyms
14581 # Commands necessary for linking programs (against libraries) with templates.
14582 prelink_cmds=$lt_prelink_cmds
14584 # Specify filename containing input files.
14585 file_list_spec=$lt_file_list_spec
14587 # How to hardcode a shared library path into an executable.
14588 hardcode_action=$hardcode_action
14590 # ### END LIBTOOL CONFIG
14596 cat <<\_LT_EOF >> "$cfgfile"
14597 # AIX sometimes has problems with the GCC collect2 program. For some
14598 # reason, if we set the COLLECT_NAMES environment variable, the problems
14599 # vanish in a puff of smoke.
14600 if test "X${COLLECT_NAMES+set}" != Xset; then
14602 export COLLECT_NAMES
14609 ltmain="$ac_aux_dir/ltmain.sh"
14612 # We use sed instead of cat because bash on DJGPP gets confused if
14613 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14614 # text mode, it properly converts lines to CR/LF. This bash problem
14615 # is reportedly fixed, but why not run on old versions too?
14616 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14617 || (rm -f "$cfgfile"; exit 1)
14621 cat << \_LT_EOF >> "$cfgfile"
14623 # func_dirname file append nondir_replacement
14624 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14625 # otherwise set result to NONDIR_REPLACEMENT.
14629 */*) func_dirname_result="${1%/*}${2}" ;;
14630 * ) func_dirname_result="${3}" ;;
14634 # func_basename file
14637 func_basename_result="${1##*/}"
14640 # func_dirname_and_basename file append nondir_replacement
14641 # perform func_basename and func_dirname in a single function
14643 # dirname: Compute the dirname of FILE. If nonempty,
14644 # add APPEND to the result, otherwise set result
14645 # to NONDIR_REPLACEMENT.
14646 # value returned in "$func_dirname_result"
14647 # basename: Compute filename of FILE.
14648 # value retuned in "$func_basename_result"
14649 # Implementation must be kept synchronized with func_dirname
14650 # and func_basename. For efficiency, we do not delegate to
14651 # those functions but instead duplicate the functionality here.
14652 func_dirname_and_basename ()
14655 */*) func_dirname_result="${1%/*}${2}" ;;
14656 * ) func_dirname_result="${3}" ;;
14658 func_basename_result="${1##*/}"
14661 # func_stripname prefix suffix name
14662 # strip PREFIX and SUFFIX off of NAME.
14663 # PREFIX and SUFFIX must not contain globbing or regex special
14664 # characters, hashes, percent signs, but SUFFIX may contain a leading
14665 # dot (in which case that matches only a dot).
14668 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14669 # positional parameters, so assign one to ordinary parameter first.
14670 func_stripname_result=${3}
14671 func_stripname_result=${func_stripname_result#"${1}"}
14672 func_stripname_result=${func_stripname_result%"${2}"}
14678 func_opt_split_opt=${1%%=*}
14679 func_opt_split_arg=${1#*=}
14686 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14687 *) func_lo2o_result=${1} ;;
14691 # func_xform libobj-or-source
14694 func_xform_result=${1%.*}.lo
14697 # func_arith arithmetic-term...
14700 func_arith_result=$(( $* ))
14704 # STRING may not start with a hyphen.
14707 func_len_result=${#1}
14712 *) # Bourne compatible functions.
14713 cat << \_LT_EOF >> "$cfgfile"
14715 # func_dirname file append nondir_replacement
14716 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14717 # otherwise set result to NONDIR_REPLACEMENT.
14720 # Extract subdirectory from the argument.
14721 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14722 if test "X$func_dirname_result" = "X${1}"; then
14723 func_dirname_result="${3}"
14725 func_dirname_result="$func_dirname_result${2}"
14729 # func_basename file
14732 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14736 # func_stripname prefix suffix name
14737 # strip PREFIX and SUFFIX off of NAME.
14738 # PREFIX and SUFFIX must not contain globbing or regex special
14739 # characters, hashes, percent signs, but SUFFIX may contain a leading
14740 # dot (in which case that matches only a dot).
14741 # func_strip_suffix prefix name
14745 .*) func_stripname_result=`$ECHO "X${3}" \
14746 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14747 *) func_stripname_result=`$ECHO "X${3}" \
14748 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14753 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14754 my_sed_long_arg='1s/^-[^=]*=//'
14759 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14760 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14766 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14769 # func_xform libobj-or-source
14772 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14775 # func_arith arithmetic-term...
14778 func_arith_result=`expr "$@"`
14782 # STRING may not start with a hyphen.
14785 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14791 case $lt_shell_append in
14793 cat << \_LT_EOF >> "$cfgfile"
14795 # func_append var value
14796 # Append VALUE to the end of shell variable VAR.
14804 cat << \_LT_EOF >> "$cfgfile"
14806 # func_append var value
14807 # Append VALUE to the end of shell variable VAR.
14818 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14819 || (rm -f "$cfgfile"; exit 1)
14821 mv -f "$cfgfile" "$ofile" ||
14822 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14831 { (exit 0); exit 0; }
14833 chmod +x $CONFIG_STATUS
14834 ac_clean_files=$ac_clean_files_save
14836 test $ac_write_fail = 0 ||
14837 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14838 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14839 { (exit 1); exit 1; }; }
14842 # configure is writing to config.log, and then calls config.status.
14843 # config.status does its own redirection, appending to config.log.
14844 # Unfortunately, on DOS this fails, as config.log is still kept open
14845 # by configure, so config.status won't be able to write to it; its
14846 # output is simply discarded. So we exec the FD to /dev/null,
14847 # effectively closing config.log, so it can be properly (re)opened and
14848 # appended to by config.status. When coming back to configure, we
14849 # need to make the FD available again.
14850 if test "$no_create" != yes; then
14852 ac_config_status_args=
14853 test "$silent" = yes &&
14854 ac_config_status_args="$ac_config_status_args --quiet"
14856 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14858 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14859 # would make configure fail if this is the last instruction.
14860 $ac_cs_success || { (exit 1); exit 1; }
14864 # CONFIG_SUBDIRS section.
14866 if test "$no_recursion" != yes; then
14868 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
14869 # so they do not pile up.
14870 ac_sub_configure_args=
14872 eval "set x $ac_configure_args"
14876 if test -n "$ac_prev"; then
14881 -cache-file | --cache-file | --cache-fil | --cache-fi \
14882 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
14883 ac_prev=cache_file ;;
14884 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
14885 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
14888 --config-cache | -C)
14890 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
14892 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
14894 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
14896 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
14898 --disable-option-checking)
14902 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14904 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
14908 # Always prepend --prefix to ensure using the same prefix
14909 # in subdir configurations.
14910 ac_arg="--prefix=$prefix"
14912 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14914 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
14917 if test "$silent" = yes; then
14918 ac_sub_configure_args="--silent $ac_sub_configure_args"
14921 # Always prepend --disable-option-checking to silence warnings, since
14922 # different subdirs can have different --enable and --with options.
14923 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
14926 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
14928 # Do not complain, so a configure script can configure whichever
14929 # parts of a large source tree are present.
14930 test -d "$srcdir/$ac_dir" || continue
14932 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
14933 $as_echo "$as_me:$LINENO: $ac_msg" >&5
14934 $as_echo "$ac_msg" >&6
14937 -*) as_dir=./$as_dir;;
14939 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14943 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14944 *) as_qdir=$as_dir;;
14946 as_dirs="'$as_qdir' $as_dirs"
14947 as_dir=`$as_dirname -- "$as_dir" ||
14948 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14949 X"$as_dir" : 'X\(//\)[^/]' \| \
14950 X"$as_dir" : 'X\(//\)$' \| \
14951 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14952 $as_echo X"$as_dir" |
14953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14957 /^X\(\/\/\)[^/].*/{
14970 test -d "$as_dir" && break
14972 test -z "$as_dirs" || eval "mkdir $as_dirs"
14973 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14974 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14975 { (exit 1); exit 1; }; }; }
14979 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14981 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14982 # A ".." for each directory in $ac_dir_suffix.
14983 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14984 case $ac_top_builddir_sub in
14985 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14986 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14989 ac_abs_top_builddir=$ac_pwd
14990 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14991 # for backward compatibility:
14992 ac_top_builddir=$ac_top_build_prefix
14995 .) # We are building in place.
14997 ac_top_srcdir=$ac_top_builddir_sub
14998 ac_abs_top_srcdir=$ac_pwd ;;
14999 [\\/]* | ?:[\\/]* ) # Absolute name.
15000 ac_srcdir=$srcdir$ac_dir_suffix;
15001 ac_top_srcdir=$srcdir
15002 ac_abs_top_srcdir=$srcdir ;;
15003 *) # Relative name.
15004 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15005 ac_top_srcdir=$ac_top_build_prefix$srcdir
15006 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15008 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15013 # Check for guested configure; otherwise get Cygnus style configure.
15014 if test -f "$ac_srcdir/configure.gnu"; then
15015 ac_sub_configure=$ac_srcdir/configure.gnu
15016 elif test -f "$ac_srcdir/configure"; then
15017 ac_sub_configure=$ac_srcdir/configure
15018 elif test -f "$ac_srcdir/configure.in"; then
15019 # This should be Cygnus configure.
15020 ac_sub_configure=$ac_aux_dir/configure
15022 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
15023 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15027 # The recursion is here.
15028 if test -n "$ac_sub_configure"; then
15029 # Make the cache file name correct relative to the subdirectory.
15030 case $cache_file in
15031 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15032 *) # Relative name.
15033 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15036 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
15037 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15038 # The eval makes quoting arguments work.
15039 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15040 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15041 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
15042 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
15043 { (exit 1); exit 1; }; }
15049 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15050 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15051 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}