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="jis0201.c"
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 ac_subst_vars='am__EXEEXT_FALSE
838 MAINTAINER_MODE_FALSE
862 INSTALL_STRIP_PROGRAM
886 MAY_SUPPLY_SYSCALLS_FALSE
887 MAY_SUPPLY_SYSCALLS_TRUE
915 program_transform_name
927 enable_option_checking
929 enable_target_optspace
930 enable_malloc_debugging
931 enable_newlib_multithread
933 enable_newlib_elix_level
934 enable_newlib_io_float
935 enable_newlib_supplied_syscalls
936 enable_dependency_tracking
937 enable_maintainer_mode
945 ac_precious_vars='build_alias
958 # Initialize some variables set by options.
960 ac_init_version=false
961 ac_unrecognized_opts=
963 # The variables have the same names as the options, with
964 # dashes changed to underlines.
972 program_transform_name=s,x,x,
980 # Installation directory options.
981 # These are left unexpanded so users can "make install exec_prefix=/foo"
982 # and all the variables that are supposed to be based on exec_prefix
983 # by default will actually change.
984 # Use braces instead of parens because sh, perl, etc. also accept them.
985 # (The list follows the same order as the GNU Coding Standards.)
986 bindir='${exec_prefix}/bin'
987 sbindir='${exec_prefix}/sbin'
988 libexecdir='${exec_prefix}/libexec'
989 datarootdir='${prefix}/share'
990 datadir='${datarootdir}'
991 sysconfdir='${prefix}/etc'
992 sharedstatedir='${prefix}/com'
993 localstatedir='${prefix}/var'
994 includedir='${prefix}/include'
995 oldincludedir='/usr/include'
996 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
997 infodir='${datarootdir}/info'
1002 libdir='${exec_prefix}/lib'
1003 localedir='${datarootdir}/locale'
1004 mandir='${datarootdir}/man'
1010 # If the previous option needs an argument, assign it.
1011 if test -n "$ac_prev"; then
1012 eval $ac_prev=\$ac_option
1018 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1022 # Accept the important Cygnus configure options, so we can diagnose typos.
1024 case $ac_dashdash$ac_option in
1028 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1030 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1031 bindir=$ac_optarg ;;
1033 -build | --build | --buil | --bui | --bu)
1034 ac_prev=build_alias ;;
1035 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1036 build_alias=$ac_optarg ;;
1038 -cache-file | --cache-file | --cache-fil | --cache-fi \
1039 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1040 ac_prev=cache_file ;;
1041 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1042 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1043 cache_file=$ac_optarg ;;
1045 --config-cache | -C)
1046 cache_file=config.cache ;;
1048 -datadir | --datadir | --datadi | --datad)
1050 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1051 datadir=$ac_optarg ;;
1053 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1054 | --dataroo | --dataro | --datar)
1055 ac_prev=datarootdir ;;
1056 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1057 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1058 datarootdir=$ac_optarg ;;
1060 -disable-* | --disable-*)
1061 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1065 { (exit 1); exit 1; }; }
1066 ac_useropt_orig=$ac_useropt
1067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1070 "enable_$ac_useropt"
1072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1073 ac_unrecognized_sep=', ';;
1075 eval enable_$ac_useropt=no ;;
1077 -docdir | --docdir | --docdi | --doc | --do)
1079 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1080 docdir=$ac_optarg ;;
1082 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1084 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1085 dvidir=$ac_optarg ;;
1087 -enable-* | --enable-*)
1088 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1092 { (exit 1); exit 1; }; }
1093 ac_useropt_orig=$ac_useropt
1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1097 "enable_$ac_useropt"
1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1100 ac_unrecognized_sep=', ';;
1102 eval enable_$ac_useropt=\$ac_optarg ;;
1104 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1105 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1106 | --exec | --exe | --ex)
1107 ac_prev=exec_prefix ;;
1108 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1109 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1110 | --exec=* | --exe=* | --ex=*)
1111 exec_prefix=$ac_optarg ;;
1113 -gas | --gas | --ga | --g)
1114 # Obsolete; use --with-gas.
1117 -help | --help | --hel | --he | -h)
1118 ac_init_help=long ;;
1119 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1120 ac_init_help=recursive ;;
1121 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1122 ac_init_help=short ;;
1124 -host | --host | --hos | --ho)
1125 ac_prev=host_alias ;;
1126 -host=* | --host=* | --hos=* | --ho=*)
1127 host_alias=$ac_optarg ;;
1129 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1131 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1133 htmldir=$ac_optarg ;;
1135 -includedir | --includedir | --includedi | --included | --include \
1136 | --includ | --inclu | --incl | --inc)
1137 ac_prev=includedir ;;
1138 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1139 | --includ=* | --inclu=* | --incl=* | --inc=*)
1140 includedir=$ac_optarg ;;
1142 -infodir | --infodir | --infodi | --infod | --info | --inf)
1144 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1145 infodir=$ac_optarg ;;
1147 -libdir | --libdir | --libdi | --libd)
1149 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1150 libdir=$ac_optarg ;;
1152 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1153 | --libexe | --libex | --libe)
1154 ac_prev=libexecdir ;;
1155 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1156 | --libexe=* | --libex=* | --libe=*)
1157 libexecdir=$ac_optarg ;;
1159 -localedir | --localedir | --localedi | --localed | --locale)
1160 ac_prev=localedir ;;
1161 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1162 localedir=$ac_optarg ;;
1164 -localstatedir | --localstatedir | --localstatedi | --localstated \
1165 | --localstate | --localstat | --localsta | --localst | --locals)
1166 ac_prev=localstatedir ;;
1167 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1168 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1169 localstatedir=$ac_optarg ;;
1171 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1173 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1174 mandir=$ac_optarg ;;
1176 -nfp | --nfp | --nf)
1177 # Obsolete; use --without-fp.
1180 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1181 | --no-cr | --no-c | -n)
1184 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1185 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1188 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1189 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1190 | --oldin | --oldi | --old | --ol | --o)
1191 ac_prev=oldincludedir ;;
1192 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1193 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1194 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1195 oldincludedir=$ac_optarg ;;
1197 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1199 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1200 prefix=$ac_optarg ;;
1202 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1203 | --program-pre | --program-pr | --program-p)
1204 ac_prev=program_prefix ;;
1205 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1206 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1207 program_prefix=$ac_optarg ;;
1209 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1210 | --program-suf | --program-su | --program-s)
1211 ac_prev=program_suffix ;;
1212 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1213 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1214 program_suffix=$ac_optarg ;;
1216 -program-transform-name | --program-transform-name \
1217 | --program-transform-nam | --program-transform-na \
1218 | --program-transform-n | --program-transform- \
1219 | --program-transform | --program-transfor \
1220 | --program-transfo | --program-transf \
1221 | --program-trans | --program-tran \
1222 | --progr-tra | --program-tr | --program-t)
1223 ac_prev=program_transform_name ;;
1224 -program-transform-name=* | --program-transform-name=* \
1225 | --program-transform-nam=* | --program-transform-na=* \
1226 | --program-transform-n=* | --program-transform-=* \
1227 | --program-transform=* | --program-transfor=* \
1228 | --program-transfo=* | --program-transf=* \
1229 | --program-trans=* | --program-tran=* \
1230 | --progr-tra=* | --program-tr=* | --program-t=*)
1231 program_transform_name=$ac_optarg ;;
1233 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1235 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1236 pdfdir=$ac_optarg ;;
1238 -psdir | --psdir | --psdi | --psd | --ps)
1240 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244 | -silent | --silent | --silen | --sile | --sil)
1247 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1249 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1251 sbindir=$ac_optarg ;;
1253 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1254 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1255 | --sharedst | --shareds | --shared | --share | --shar \
1257 ac_prev=sharedstatedir ;;
1258 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1259 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1260 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1262 sharedstatedir=$ac_optarg ;;
1264 -site | --site | --sit)
1266 -site=* | --site=* | --sit=*)
1269 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1271 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1272 srcdir=$ac_optarg ;;
1274 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1275 | --syscon | --sysco | --sysc | --sys | --sy)
1276 ac_prev=sysconfdir ;;
1277 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1278 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1279 sysconfdir=$ac_optarg ;;
1281 -target | --target | --targe | --targ | --tar | --ta | --t)
1282 ac_prev=target_alias ;;
1283 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1284 target_alias=$ac_optarg ;;
1286 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1289 -version | --version | --versio | --versi | --vers | -V)
1290 ac_init_version=: ;;
1293 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1294 # Reject names that are not valid shell variable names.
1295 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1297 { (exit 1); exit 1; }; }
1298 ac_useropt_orig=$ac_useropt
1299 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1300 case $ac_user_opts in
1304 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1305 ac_unrecognized_sep=', ';;
1307 eval with_$ac_useropt=\$ac_optarg ;;
1309 -without-* | --without-*)
1310 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1311 # Reject names that are not valid shell variable names.
1312 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1313 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1314 { (exit 1); exit 1; }; }
1315 ac_useropt_orig=$ac_useropt
1316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317 case $ac_user_opts in
1321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1322 ac_unrecognized_sep=', ';;
1324 eval with_$ac_useropt=no ;;
1327 # Obsolete; use --with-x.
1330 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1331 | --x-incl | --x-inc | --x-in | --x-i)
1332 ac_prev=x_includes ;;
1333 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1334 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1335 x_includes=$ac_optarg ;;
1337 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1338 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1339 ac_prev=x_libraries ;;
1340 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1341 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1342 x_libraries=$ac_optarg ;;
1344 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1345 Try \`$0 --help' for more information." >&2
1346 { (exit 1); exit 1; }; }
1350 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1351 # Reject names that are not valid shell variable names.
1352 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1353 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1354 { (exit 1); exit 1; }; }
1355 eval $ac_envvar=\$ac_optarg
1356 export $ac_envvar ;;
1359 # FIXME: should be removed in autoconf 3.0.
1360 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1361 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1362 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1363 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1369 if test -n "$ac_prev"; then
1370 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1371 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1372 { (exit 1); exit 1; }; }
1375 if test -n "$ac_unrecognized_opts"; then
1376 case $enable_option_checking in
1378 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1379 { (exit 1); exit 1; }; } ;;
1380 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1384 # Check all directory arguments for consistency.
1385 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1386 datadir sysconfdir sharedstatedir localstatedir includedir \
1387 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1388 libdir localedir mandir
1390 eval ac_val=\$$ac_var
1391 # Remove trailing slashes.
1394 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1395 eval $ac_var=\$ac_val;;
1397 # Be sure to have absolute directory names.
1399 [\\/$]* | ?:[\\/]* ) continue;;
1400 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1402 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1403 { (exit 1); exit 1; }; }
1406 # There might be people who depend on the old broken behavior: `$host'
1407 # used to hold the argument of --host etc.
1408 # FIXME: To remove some day.
1411 target=$target_alias
1413 # FIXME: To remove some day.
1414 if test "x$host_alias" != x; then
1415 if test "x$build_alias" = x; then
1416 cross_compiling=maybe
1417 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1418 If a cross compiler is detected then cross compile mode will be used." >&2
1419 elif test "x$build_alias" != "x$host_alias"; then
1425 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1427 test "$silent" = yes && exec 6>/dev/null
1430 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1431 ac_ls_di=`ls -di .` &&
1432 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1433 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1434 { (exit 1); exit 1; }; }
1435 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1436 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1437 { (exit 1); exit 1; }; }
1440 # Find the source files, if location was not specified.
1441 if test -z "$srcdir"; then
1442 ac_srcdir_defaulted=yes
1443 # Try the directory containing this script, then the parent directory.
1444 ac_confdir=`$as_dirname -- "$as_myself" ||
1445 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1446 X"$as_myself" : 'X\(//\)[^/]' \| \
1447 X"$as_myself" : 'X\(//\)$' \| \
1448 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1449 $as_echo X"$as_myself" |
1450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1468 if test ! -r "$srcdir/$ac_unique_file"; then
1472 ac_srcdir_defaulted=no
1474 if test ! -r "$srcdir/$ac_unique_file"; then
1475 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1476 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1477 { (exit 1); exit 1; }; }
1479 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1481 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1482 { (exit 1); exit 1; }; }
1484 # When building in place, set srcdir=.
1485 if test "$ac_abs_confdir" = "$ac_pwd"; then
1488 # Remove unnecessary trailing slashes from srcdir.
1489 # Double slashes in file names in object file debugging info
1490 # mess up M-x gdb in Emacs.
1492 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1494 for ac_var in $ac_precious_vars; do
1495 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1496 eval ac_env_${ac_var}_value=\$${ac_var}
1497 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1498 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1502 # Report the --help message.
1504 if test "$ac_init_help" = "long"; then
1505 # Omit some internal or obsolete options to make the list less imposing.
1506 # This message is too long to be a string in the A/UX 3.1 sh.
1508 \`configure' configures newlib 1.17.0 to adapt to many kinds of systems.
1510 Usage: $0 [OPTION]... [VAR=VALUE]...
1512 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1513 VAR=VALUE. See below for descriptions of some of the useful variables.
1515 Defaults for the options are specified in brackets.
1518 -h, --help display this help and exit
1519 --help=short display options specific to this package
1520 --help=recursive display the short help of all the included packages
1521 -V, --version display version information and exit
1522 -q, --quiet, --silent do not print \`checking...' messages
1523 --cache-file=FILE cache test results in FILE [disabled]
1524 -C, --config-cache alias for \`--cache-file=config.cache'
1525 -n, --no-create do not create output files
1526 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1528 Installation directories:
1529 --prefix=PREFIX install architecture-independent files in PREFIX
1530 [$ac_default_prefix]
1531 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1534 By default, \`make install' will install all the files in
1535 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1536 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1537 for instance \`--prefix=\$HOME'.
1539 For better control, use the options below.
1541 Fine tuning of the installation directories:
1542 --bindir=DIR user executables [EPREFIX/bin]
1543 --sbindir=DIR system admin executables [EPREFIX/sbin]
1544 --libexecdir=DIR program executables [EPREFIX/libexec]
1545 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1546 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1547 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1548 --libdir=DIR object code libraries [EPREFIX/lib]
1549 --includedir=DIR C header files [PREFIX/include]
1550 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1551 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1552 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1553 --infodir=DIR info documentation [DATAROOTDIR/info]
1554 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1555 --mandir=DIR man documentation [DATAROOTDIR/man]
1556 --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
1557 --htmldir=DIR html documentation [DOCDIR]
1558 --dvidir=DIR dvi documentation [DOCDIR]
1559 --pdfdir=DIR pdf documentation [DOCDIR]
1560 --psdir=DIR ps documentation [DOCDIR]
1566 --program-prefix=PREFIX prepend PREFIX to installed program names
1567 --program-suffix=SUFFIX append SUFFIX to installed program names
1568 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1571 --build=BUILD configure for building on BUILD [guessed]
1572 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1576 if test -n "$ac_init_help"; then
1577 case $ac_init_help in
1578 short | recursive ) echo "Configuration of newlib 1.17.0:";;
1583 --disable-option-checking ignore unrecognized --enable/--with options
1584 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1585 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1586 --enable-multilib build many library versions (default)
1587 --enable-target-optspace optimize for space
1588 --enable-malloc-debugging indicate malloc debugging requested
1589 --enable-newlib-multithread enable support for multiple threads
1590 --enable-newlib-iconv enable iconv library support
1591 --enable-newlib-elix-level supply desired elix library level (1-4)
1592 --disable-newlib-io-float disable printf/scanf family float support
1593 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1594 --disable-dependency-tracking speeds up one-time build
1595 --enable-dependency-tracking do not reject slow dependency extractors
1596 --enable-maintainer-mode enable make rules and dependencies not useful
1597 (and sometimes confusing) to the casual installer
1598 --enable-shared[=PKGS] build shared libraries [default=yes]
1599 --enable-static[=PKGS] build static libraries [default=yes]
1600 --enable-fast-install[=PKGS]
1601 optimize for fast installation [default=yes]
1602 --disable-libtool-lock avoid locking (might break parallel builds)
1605 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1606 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1607 --with-pic try to use only PIC/non-PIC objects [default=use
1609 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1611 Some influential environment variables:
1612 CCAS assembler compiler command (defaults to CC)
1613 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1614 CC C compiler command
1615 CFLAGS C compiler flags
1616 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1617 nonstandard directory <lib dir>
1618 LIBS libraries to pass to the linker, e.g. -l<library>
1619 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1620 you have headers in a nonstandard directory <include dir>
1623 Use these variables to override the choices made by `configure' or to help
1624 it to find libraries and programs with nonstandard names/locations.
1630 if test "$ac_init_help" = "recursive"; then
1631 # If there are subdirs, report their specific --help.
1632 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1633 test -d "$ac_dir" ||
1634 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1639 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1641 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1642 # A ".." for each directory in $ac_dir_suffix.
1643 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1644 case $ac_top_builddir_sub in
1645 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1646 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1649 ac_abs_top_builddir=$ac_pwd
1650 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1651 # for backward compatibility:
1652 ac_top_builddir=$ac_top_build_prefix
1655 .) # We are building in place.
1657 ac_top_srcdir=$ac_top_builddir_sub
1658 ac_abs_top_srcdir=$ac_pwd ;;
1659 [\\/]* | ?:[\\/]* ) # Absolute name.
1660 ac_srcdir=$srcdir$ac_dir_suffix;
1661 ac_top_srcdir=$srcdir
1662 ac_abs_top_srcdir=$srcdir ;;
1664 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1665 ac_top_srcdir=$ac_top_build_prefix$srcdir
1666 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1668 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1670 cd "$ac_dir" || { ac_status=$?; continue; }
1671 # Check for guested configure.
1672 if test -f "$ac_srcdir/configure.gnu"; then
1674 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1675 elif test -f "$ac_srcdir/configure"; then
1677 $SHELL "$ac_srcdir/configure" --help=recursive
1679 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1681 cd "$ac_pwd" || { ac_status=$?; break; }
1685 test -n "$ac_init_help" && exit $ac_status
1686 if $ac_init_version; then
1688 newlib configure 1.17.0
1689 generated by GNU Autoconf 2.63
1691 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1692 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1693 This configure script is free software; the Free Software Foundation
1694 gives unlimited permission to copy, distribute and modify it.
1698 cat >config.log <<_ACEOF
1699 This file contains any messages produced by compilers while
1700 running configure, to aid debugging if configure makes a mistake.
1702 It was created by newlib $as_me 1.17.0, which was
1703 generated by GNU Autoconf 2.63. Invocation command line was
1715 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1716 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1717 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1718 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1719 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1721 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1722 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1724 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1725 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1726 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1727 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1728 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1729 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1730 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738 test -z "$as_dir" && as_dir=.
1739 $as_echo "PATH: $as_dir"
1755 # Keep a trace of the command line.
1756 # Strip out --no-create and --no-recursion so they do not pile up.
1757 # Strip out --silent because we don't want to record it for future runs.
1758 # Also quote any args containing shell meta-characters.
1759 # Make two passes to allow for proper duplicate-argument suppression.
1763 ac_must_keep_next=false
1769 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1770 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1771 | -silent | --silent | --silen | --sile | --sil)
1774 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1777 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1779 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1780 if test $ac_must_keep_next = true; then
1781 ac_must_keep_next=false # Got value, back to normal.
1784 *=* | --config-cache | -C | -disable-* | --disable-* \
1785 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1786 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1787 | -with-* | --with-* | -without-* | --without-* | --x)
1788 case "$ac_configure_args0 " in
1789 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1792 -* ) ac_must_keep_next=true ;;
1795 ac_configure_args="$ac_configure_args '$ac_arg'"
1800 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1801 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1803 # When interrupted or exit'd, cleanup temporary files, and complete
1804 # config.log. We remove comments because anyway the quotes in there
1805 # would cause problems or look ugly.
1806 # WARNING: Use '\'' to represent an apostrophe within the trap.
1807 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1808 trap 'exit_status=$?
1809 # Save into config.log some information that might help in debugging.
1814 ## ---------------- ##
1815 ## Cache variables. ##
1816 ## ---------------- ##
1819 # The following way of writing the cache mishandles newlines in values,
1821 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1822 eval ac_val=\$$ac_var
1826 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1827 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1830 _ | IFS | as_nl) ;; #(
1831 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1832 *) $as_unset $ac_var ;;
1837 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1838 *${as_nl}ac_space=\ *)
1840 "s/'\''/'\''\\\\'\'''\''/g;
1841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1844 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1852 ## ----------------- ##
1853 ## Output variables. ##
1854 ## ----------------- ##
1857 for ac_var in $ac_subst_vars
1859 eval ac_val=\$$ac_var
1861 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1863 $as_echo "$ac_var='\''$ac_val'\''"
1867 if test -n "$ac_subst_files"; then
1869 ## ------------------- ##
1870 ## File substitutions. ##
1871 ## ------------------- ##
1874 for ac_var in $ac_subst_files
1876 eval ac_val=\$$ac_var
1878 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1880 $as_echo "$ac_var='\''$ac_val'\''"
1885 if test -s confdefs.h; then
1895 test "$ac_signal" != 0 &&
1896 $as_echo "$as_me: caught signal $ac_signal"
1897 $as_echo "$as_me: exit $exit_status"
1899 rm -f core *.core core.conftest.* &&
1900 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1903 for ac_signal in 1 2 13 15; do
1904 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1908 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1909 rm -f -r conftest* confdefs.h
1911 # Predefined preprocessor variables.
1913 cat >>confdefs.h <<_ACEOF
1914 #define PACKAGE_NAME "$PACKAGE_NAME"
1918 cat >>confdefs.h <<_ACEOF
1919 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1923 cat >>confdefs.h <<_ACEOF
1924 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1928 cat >>confdefs.h <<_ACEOF
1929 #define PACKAGE_STRING "$PACKAGE_STRING"
1933 cat >>confdefs.h <<_ACEOF
1934 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1938 # Let the site file select an alternate cache file if it wants to.
1939 # Prefer an explicitly selected file to automatically selected ones.
1942 if test -n "$CONFIG_SITE"; then
1943 ac_site_file1=$CONFIG_SITE
1944 elif test "x$prefix" != xNONE; then
1945 ac_site_file1=$prefix/share/config.site
1946 ac_site_file2=$prefix/etc/config.site
1948 ac_site_file1=$ac_default_prefix/share/config.site
1949 ac_site_file2=$ac_default_prefix/etc/config.site
1951 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1953 test "x$ac_site_file" = xNONE && continue
1954 if test -r "$ac_site_file"; then
1955 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1956 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1957 sed 's/^/| /' "$ac_site_file" >&5
1962 if test -r "$cache_file"; then
1963 # Some versions of bash will fail to source /dev/null (special
1964 # files actually), so we avoid doing that.
1965 if test -f "$cache_file"; then
1966 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1967 $as_echo "$as_me: loading cache $cache_file" >&6;}
1969 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1970 *) . "./$cache_file";;
1974 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1975 $as_echo "$as_me: creating cache $cache_file" >&6;}
1979 # Check that the precious variables saved in the cache have kept the same
1981 ac_cache_corrupted=false
1982 for ac_var in $ac_precious_vars; do
1983 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1984 eval ac_new_set=\$ac_env_${ac_var}_set
1985 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1986 eval ac_new_val=\$ac_env_${ac_var}_value
1987 case $ac_old_set,$ac_new_set in
1989 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1990 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1991 ac_cache_corrupted=: ;;
1993 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1994 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1995 ac_cache_corrupted=: ;;
1998 if test "x$ac_old_val" != "x$ac_new_val"; then
1999 # differences in whitespace do not lead to failure.
2000 ac_old_val_w=`echo x $ac_old_val`
2001 ac_new_val_w=`echo x $ac_new_val`
2002 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2003 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2004 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2005 ac_cache_corrupted=:
2007 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2008 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2009 eval $ac_var=\$ac_old_val
2011 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2012 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2013 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2014 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2017 # Pass precious variables to config.status.
2018 if test "$ac_new_set" = set; then
2020 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2021 *) ac_arg=$ac_var=$ac_new_val ;;
2023 case " $ac_configure_args " in
2024 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2025 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2029 if $ac_cache_corrupted; then
2030 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2032 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2033 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2034 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2035 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2036 { (exit 1); exit 1; }; }
2064 ac_cpp='$CPP $CPPFLAGS'
2065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2073 for ac_dir in ../.. "$srcdir"/../..; do
2074 if test -f "$ac_dir/install-sh"; then
2076 ac_install_sh="$ac_aux_dir/install-sh -c"
2078 elif test -f "$ac_dir/install.sh"; then
2080 ac_install_sh="$ac_aux_dir/install.sh -c"
2082 elif test -f "$ac_dir/shtool"; then
2084 ac_install_sh="$ac_aux_dir/shtool install -c"
2088 if test -z "$ac_aux_dir"; then
2089 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. \"$srcdir\"/../.." >&5
2090 $as_echo "$as_me: error: cannot find install-sh or install.sh in ../.. \"$srcdir\"/../.." >&2;}
2091 { (exit 1); exit 1; }; }
2094 # These three variables are undocumented and unsupported,
2095 # and are intended to be withdrawn in a future Autoconf release.
2096 # They can cause serious problems if a builder's source tree is in a directory
2097 # whose full name contains unusual characters.
2098 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2099 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2100 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2105 # Make sure we can run config.sub.
2106 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2107 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2108 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2109 { (exit 1); exit 1; }; }
2111 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2112 $as_echo_n "checking build system type... " >&6; }
2113 if test "${ac_cv_build+set}" = set; then
2114 $as_echo_n "(cached) " >&6
2116 ac_build_alias=$build_alias
2117 test "x$ac_build_alias" = x &&
2118 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2119 test "x$ac_build_alias" = x &&
2120 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2121 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2122 { (exit 1); exit 1; }; }
2123 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2124 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2125 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2126 { (exit 1); exit 1; }; }
2129 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2130 $as_echo "$ac_cv_build" >&6; }
2131 case $ac_cv_build in
2133 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2134 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2135 { (exit 1); exit 1; }; };;
2138 ac_save_IFS=$IFS; IFS='-'
2144 # Remember, the first character of IFS is used to create $*,
2145 # except with old shells:
2148 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2151 am__api_version='1.11'
2153 # Find a good install program. We prefer a C program (faster),
2154 # so one script is as good as another. But avoid the broken or
2155 # incompatible versions:
2156 # SysV /etc/install, /usr/sbin/install
2157 # SunOS /usr/etc/install
2158 # IRIX /sbin/install
2160 # AmigaOS /C/install, which installs bootblocks on floppy discs
2161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2164 # OS/2's system install, which has a completely different semantic
2165 # ./install, which can be erroneously created by make from ./install.sh.
2166 # Reject install programs that cannot install multiple files.
2167 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2168 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2169 if test -z "$INSTALL"; then
2170 if test "${ac_cv_path_install+set}" = set; then
2171 $as_echo_n "(cached) " >&6
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir=.
2178 # Account for people who put trailing slashes in PATH elements.
2180 ./ | .// | /cC/* | \
2181 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2182 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2185 # OSF1 and SCO ODT 3.0 have their own names for install.
2186 # Don't use installbsd from OSF since it installs stuff as root
2188 for ac_prog in ginstall scoinst install; do
2189 for ac_exec_ext in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2191 if test $ac_prog = install &&
2192 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2193 # AIX install. It has an incompatible calling convention.
2195 elif test $ac_prog = install &&
2196 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2197 # program-specific install script used by HP pwplus--don't use.
2200 rm -rf conftest.one conftest.two conftest.dir
2201 echo one > conftest.one
2202 echo two > conftest.two
2204 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2205 test -s conftest.one && test -s conftest.two &&
2206 test -s conftest.dir/conftest.one &&
2207 test -s conftest.dir/conftest.two
2209 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2222 rm -rf conftest.one conftest.two conftest.dir
2225 if test "${ac_cv_path_install+set}" = set; then
2226 INSTALL=$ac_cv_path_install
2228 # As a last resort, use the slow shell script. Don't cache a
2229 # value for INSTALL within a source directory, because that will
2230 # break other packages using the cache if that directory is
2231 # removed, or if the value is a relative name.
2232 INSTALL=$ac_install_sh
2235 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2236 $as_echo "$INSTALL" >&6; }
2238 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2239 # It thinks the first close brace ends the variable substitution.
2240 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2242 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2244 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2246 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2247 $as_echo_n "checking whether build environment is sane... " >&6; }
2250 echo timestamp > conftest.file
2251 # Reject unsafe characters in $srcdir or the absolute working directory
2252 # name. Accept space and tab only in the latter.
2256 *[\\\"\#\$\&\'\`$am_lf]*)
2257 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2258 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2259 { (exit 1); exit 1; }; };;
2262 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2263 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2264 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2265 { (exit 1); exit 1; }; };;
2268 # Do `set' in a subshell so we don't clobber the current shell's
2269 # arguments. Must try -L first in case configure is actually a
2270 # symlink; some systems play weird games with the mod time of symlinks
2271 # (eg FreeBSD returns the mod time of the symlink's containing
2274 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2275 if test "$*" = "X"; then
2277 set X `ls -t "$srcdir/configure" conftest.file`
2280 if test "$*" != "X $srcdir/configure conftest.file" \
2281 && test "$*" != "X conftest.file $srcdir/configure"; then
2283 # If neither matched, then we have a broken ls. This can happen
2284 # if, for instance, CONFIG_SHELL is bash and it inherits a
2285 # broken ls alias from the environment. This has actually
2286 # happened. Such a system could not be considered "sane".
2287 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2288 alias in your environment" >&5
2289 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2290 alias in your environment" >&2;}
2291 { (exit 1); exit 1; }; }
2294 test "$2" = conftest.file
2300 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2301 Check your system clock" >&5
2302 $as_echo "$as_me: error: newly created file is older than distributed files!
2303 Check your system clock" >&2;}
2304 { (exit 1); exit 1; }; }
2306 { $as_echo "$as_me:$LINENO: result: yes" >&5
2307 $as_echo "yes" >&6; }
2308 test "$program_prefix" != NONE &&
2309 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2310 # Use a double $ so make ignores it.
2311 test "$program_suffix" != NONE &&
2312 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2313 # Double any \ or $.
2314 # By default was `s,x,x', remove it if useless.
2315 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2316 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2318 # expand $ac_aux_dir to an absolute path
2319 am_aux_dir=`cd $ac_aux_dir && pwd`
2321 if test x"${MISSING+set}" != xset; then
2324 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2326 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2329 # Use eval to expand $SHELL
2330 if eval "$MISSING --run true"; then
2331 am_missing_run="$MISSING --run "
2334 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2335 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2338 if test x"${install_sh}" != xset; then
2341 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2343 install_sh="\${SHELL} $am_aux_dir/install-sh"
2347 # Installed binaries are usually stripped using `strip' when the user
2348 # run `make install-strip'. However `strip' might not be the right
2349 # tool to use in cross-compilation environments, therefore Automake
2350 # will honor the `STRIP' environment variable to overrule this program.
2351 if test "$cross_compiling" != no; then
2352 if test -n "$ac_tool_prefix"; then
2353 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2354 set dummy ${ac_tool_prefix}strip; ac_word=$2
2355 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2356 $as_echo_n "checking for $ac_word... " >&6; }
2357 if test "${ac_cv_prog_STRIP+set}" = set; then
2358 $as_echo_n "(cached) " >&6
2360 if test -n "$STRIP"; then
2361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2371 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 STRIP=$ac_cv_prog_STRIP
2381 if test -n "$STRIP"; then
2382 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2383 $as_echo "$STRIP" >&6; }
2385 { $as_echo "$as_me:$LINENO: result: no" >&5
2386 $as_echo "no" >&6; }
2391 if test -z "$ac_cv_prog_STRIP"; then
2393 # Extract the first word of "strip", so it can be a program name with args.
2394 set dummy strip; ac_word=$2
2395 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2396 $as_echo_n "checking for $ac_word... " >&6; }
2397 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2398 $as_echo_n "(cached) " >&6
2400 if test -n "$ac_ct_STRIP"; then
2401 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_ac_ct_STRIP="strip"
2411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2421 if test -n "$ac_ct_STRIP"; then
2422 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2423 $as_echo "$ac_ct_STRIP" >&6; }
2425 { $as_echo "$as_me:$LINENO: result: no" >&5
2426 $as_echo "no" >&6; }
2429 if test "x$ac_ct_STRIP" = x; then
2432 case $cross_compiling:$ac_tool_warned in
2434 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2436 ac_tool_warned=yes ;;
2441 STRIP="$ac_cv_prog_STRIP"
2445 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2447 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2448 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2449 if test -z "$MKDIR_P"; then
2450 if test "${ac_cv_path_mkdir+set}" = set; then
2451 $as_echo_n "(cached) " >&6
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2457 test -z "$as_dir" && as_dir=.
2458 for ac_prog in mkdir gmkdir; do
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2461 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2462 'mkdir (GNU coreutils) '* | \
2463 'mkdir (coreutils) '* | \
2464 'mkdir (fileutils) '4.1*)
2465 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2475 if test "${ac_cv_path_mkdir+set}" = set; then
2476 MKDIR_P="$ac_cv_path_mkdir -p"
2478 # As a last resort, use the slow shell script. Don't cache a
2479 # value for MKDIR_P within a source directory, because that will
2480 # break other packages using the cache if that directory is
2481 # removed, or if the value is a relative name.
2482 test -d ./--version && rmdir ./--version
2483 MKDIR_P="$ac_install_sh -d"
2486 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2487 $as_echo "$MKDIR_P" >&6; }
2491 [\\/$]* | ?:[\\/]*) ;;
2492 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2495 for ac_prog in gawk mawk nawk awk
2497 # Extract the first word of "$ac_prog", so it can be a program name with args.
2498 set dummy $ac_prog; ac_word=$2
2499 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 $as_echo_n "checking for $ac_word... " >&6; }
2501 if test "${ac_cv_prog_AWK+set}" = set; then
2502 $as_echo_n "(cached) " >&6
2504 if test -n "$AWK"; then
2505 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514 ac_cv_prog_AWK="$ac_prog"
2515 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 if test -n "$AWK"; then
2526 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2527 $as_echo "$AWK" >&6; }
2529 { $as_echo "$as_me:$LINENO: result: no" >&5
2530 $as_echo "no" >&6; }
2534 test -n "$AWK" && break
2537 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2538 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2540 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2541 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2542 $as_echo_n "(cached) " >&6
2544 cat >conftest.make <<\_ACEOF
2547 @echo '@@@%%%=$(MAKE)=@@@%%%'
2549 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2550 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2552 eval ac_cv_prog_make_${ac_make}_set=yes;;
2554 eval ac_cv_prog_make_${ac_make}_set=no;;
2558 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2559 { $as_echo "$as_me:$LINENO: result: yes" >&5
2560 $as_echo "yes" >&6; }
2563 { $as_echo "$as_me:$LINENO: result: no" >&5
2564 $as_echo "no" >&6; }
2565 SET_MAKE="MAKE=${MAKE-make}"
2568 rm -rf .tst 2>/dev/null
2569 mkdir .tst 2>/dev/null
2570 if test -d .tst; then
2575 rmdir .tst 2>/dev/null
2577 DEPDIR="${am__leading_dot}deps"
2579 ac_config_commands="$ac_config_commands depfiles"
2582 am_make=${MAKE-make}
2583 cat > confinc << 'END'
2585 @echo this is the am__doit target
2588 # If we don't find an include directive, just comment out the code.
2589 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2590 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2594 # First try GNU make style include.
2595 echo "include confinc" > confmf
2596 # Ignore all kinds of additional output from `make'.
2597 case `$am_make -s -f confmf 2> /dev/null` in #(
2598 *the\ am__doit\ target*)
2604 # Now try BSD make style include.
2605 if test "$am__include" = "#"; then
2606 echo '.include "confinc"' > confmf
2607 case `$am_make -s -f confmf 2> /dev/null` in #(
2608 *the\ am__doit\ target*)
2609 am__include=.include
2617 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2618 $as_echo "$_am_result" >&6; }
2619 rm -f confinc confmf
2621 # Check whether --enable-dependency-tracking was given.
2622 if test "${enable_dependency_tracking+set}" = set; then
2623 enableval=$enable_dependency_tracking;
2626 if test "x$enable_dependency_tracking" != xno; then
2627 am_depcomp="$ac_aux_dir/depcomp"
2630 if test "x$enable_dependency_tracking" != xno; then
2640 # Check whether --enable-multilib was given.
2641 if test "${enable_multilib+set}" = set; then
2642 enableval=$enable_multilib; case "${enableval}" in
2643 yes) multilib=yes ;;
2645 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2646 $as_echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2647 { (exit 1); exit 1; }; } ;;
2653 # Check whether --enable-target-optspace was given.
2654 if test "${enable_target_optspace+set}" = set; then
2655 enableval=$enable_target_optspace; case "${enableval}" in
2656 yes) target_optspace=yes ;;
2657 no) target_optspace=no ;;
2658 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
2659 $as_echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
2660 { (exit 1); exit 1; }; } ;;
2666 # Check whether --enable-malloc-debugging was given.
2667 if test "${enable_malloc_debugging+set}" = set; then
2668 enableval=$enable_malloc_debugging; case "${enableval}" in
2669 yes) malloc_debugging=yes ;;
2670 no) malloc_debugging=no ;;
2671 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
2672 $as_echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
2673 { (exit 1); exit 1; }; } ;;
2679 # Check whether --enable-newlib-multithread was given.
2680 if test "${enable_newlib_multithread+set}" = set; then
2681 enableval=$enable_newlib_multithread; case "${enableval}" in
2682 yes) newlib_multithread=yes ;;
2683 no) newlib_multithread=no ;;
2684 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
2685 $as_echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
2686 { (exit 1); exit 1; }; } ;;
2689 newlib_multithread=yes
2692 # Check whether --enable-newlib-iconv was given.
2693 if test "${enable_newlib_iconv+set}" = set; then
2694 enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2695 case "${enableval}" in
2696 yes) newlib_iconv=yes ;;
2697 no) newlib_iconv=no ;;
2698 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
2699 $as_echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
2700 { (exit 1); exit 1; }; } ;;
2704 newlib_iconv=${newlib_iconv}
2707 # Check whether --enable-newlib-elix-level was given.
2708 if test "${enable_newlib_elix_level+set}" = set; then
2709 enableval=$enable_newlib_elix_level; case "${enableval}" in
2710 0) newlib_elix_level=0 ;;
2711 1) newlib_elix_level=1 ;;
2712 2) newlib_elix_level=2 ;;
2713 3) newlib_elix_level=3 ;;
2714 4) newlib_elix_level=4 ;;
2715 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
2716 $as_echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
2717 { (exit 1); exit 1; }; } ;;
2723 # Check whether --enable-newlib-io-float was given.
2724 if test "${enable_newlib_io_float+set}" = set; then
2725 enableval=$enable_newlib_io_float; case "${enableval}" in
2726 yes) newlib_io_float=yes ;;
2727 no) newlib_io_float=no ;;
2728 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
2729 $as_echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
2730 { (exit 1); exit 1; }; } ;;
2736 # Check whether --enable-newlib-supplied-syscalls was given.
2737 if test "${enable_newlib_supplied_syscalls+set}" = set; then
2738 enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2739 yes) newlib_may_supply_syscalls=yes ;;
2740 no) newlib_may_supply_syscalls=no ;;
2741 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2742 $as_echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2743 { (exit 1); exit 1; }; } ;;
2746 newlib_may_supply_syscalls=yes
2749 if test x${newlib_may_supply_syscalls} = xyes; then
2750 MAY_SUPPLY_SYSCALLS_TRUE=
2751 MAY_SUPPLY_SYSCALLS_FALSE='#'
2753 MAY_SUPPLY_SYSCALLS_TRUE='#'
2754 MAY_SUPPLY_SYSCALLS_FALSE=
2759 test -z "${with_target_subdir}" && with_target_subdir=.
2761 if test "${srcdir}" = "."; then
2762 if test "${with_target_subdir}" != "."; then
2763 newlib_basedir="${srcdir}/${with_multisrctop}../.."
2765 newlib_basedir="${srcdir}/${with_multisrctop}.."
2768 newlib_basedir="${srcdir}/.."
2772 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2773 $as_echo_n "checking host system type... " >&6; }
2774 if test "${ac_cv_host+set}" = set; then
2775 $as_echo_n "(cached) " >&6
2777 if test "x$host_alias" = x; then
2778 ac_cv_host=$ac_cv_build
2780 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2781 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2782 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2783 { (exit 1); exit 1; }; }
2787 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2788 $as_echo "$ac_cv_host" >&6; }
2791 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2792 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2793 { (exit 1); exit 1; }; };;
2796 ac_save_IFS=$IFS; IFS='-'
2802 # Remember, the first character of IFS is used to create $*,
2803 # except with old shells:
2806 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2810 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2811 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2812 # is not polluted with repeated "-I."
2813 am__isrc=' -I$(srcdir)'
2814 # test to see if srcdir already configured
2815 if test -f $srcdir/config.status; then
2816 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2817 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2818 { (exit 1); exit 1; }; }
2822 # test whether we have cygpath
2823 if test -z "$CYGPATH_W"; then
2824 if (cygpath --version) >/dev/null 2>/dev/null; then
2825 CYGPATH_W='cygpath -w'
2832 # Define the identity of the package.
2837 # Some tools Automake needs.
2839 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2842 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2845 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2848 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2851 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2853 # We need awk for the "check" target. The system "awk" is bad on
2855 # Always define AMTAR for backward compatibility.
2857 AMTAR=${AMTAR-"${am_missing_run}tar"}
2859 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2866 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2867 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2868 # are probably using a cross compiler, which will not be able to fully
2869 # link an executable. This should really be fixed in autoconf
2878 # Extract the first word of "gcc", so it can be a program name with args.
2879 set dummy gcc; ac_word=$2
2880 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if test "${ac_cv_prog_CC+set}" = set; then
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$CC"; then
2886 ac_cv_prog_CC="$CC" # Let the user override the test.
2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir=.
2893 for ac_exec_ext in '' $ac_executable_extensions; do
2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 if test -n "$CC"; then
2907 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2910 { $as_echo "$as_me:$LINENO: result: no" >&5
2911 $as_echo "no" >&6; }
2916 depcc="$CC" am_compiler_list=
2918 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2919 $as_echo_n "checking dependency style of $depcc... " >&6; }
2920 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2921 $as_echo_n "(cached) " >&6
2923 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2924 # We make a subdir and do the tests there. Otherwise we can end up
2925 # making bogus files that we don't know about and never remove. For
2926 # instance it was reported that on HP-UX the gcc test will end up
2927 # making a dummy file named `D' -- because `-MD' means `put the output
2930 # Copy depcomp to subdir because otherwise we won't find it if we're
2931 # using a relative directory.
2932 cp "$am_depcomp" conftest.dir
2934 # We will build objects and dependencies in a subdirectory because
2935 # it helps to detect inapplicable dependency modes. For instance
2936 # both Tru64's cc and ICC support -MD to output dependencies as a
2937 # side effect of compilation, but ICC will put the dependencies in
2938 # the current directory while Tru64 will put them in the object
2942 am_cv_CC_dependencies_compiler_type=none
2943 if test "$am_compiler_list" = ""; then
2944 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2947 case " $depcc " in #(
2948 *\ -arch\ *\ -arch\ *) am__universal=true ;;
2951 for depmode in $am_compiler_list; do
2952 # Setup a source with many dependencies, because some compilers
2953 # like to wrap large dependency lists on column 80 (with \), and
2954 # we should not choose a depcomp mode which is confused by this.
2956 # We need to recreate these files for each test, as the compiler may
2957 # overwrite some of them when testing with obscure command lines.
2958 # This happens at least with the AIX C compiler.
2960 for i in 1 2 3 4 5 6; do
2961 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2962 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2963 # Solaris 8's {/usr,}/bin/sh.
2964 touch sub/conftst$i.h
2966 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2968 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2969 # mode. It turns out that the SunPro C++ compiler does not properly
2970 # handle `-M -o', and we need to detect this. Also, some Intel
2971 # versions had trouble with output in subdirs
2972 am__obj=sub/conftest.${OBJEXT-o}
2973 am__minus_obj="-o $am__obj"
2976 # This depmode causes a compiler race in universal mode.
2977 test "$am__universal" = false || continue
2980 # after this tag, mechanisms are not by side-effect, so they'll
2981 # only be used when explicitly requested
2982 if test "x$enable_dependency_tracking" = xyes; then
2988 msvisualcpp | msvcmsys)
2989 # This compiler won't grok `-c -o', but also, the minuso test has
2990 # not run yet. These depmodes are late enough in the game, and
2991 # so weak that their functioning should not be impacted.
2992 am__obj=conftest.${OBJEXT-o}
2997 if depmode=$depmode \
2998 source=sub/conftest.c object=$am__obj \
2999 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3000 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3001 >/dev/null 2>conftest.err &&
3002 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3003 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3004 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3005 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3006 # icc doesn't choke on unknown options, it will just issue warnings
3007 # or remarks (even with -Werror). So we grep stderr for any message
3008 # that says an option was ignored or not supported.
3009 # When given -MP, icc 7.0 and 7.1 complain thusly:
3010 # icc: Command line warning: ignoring option '-M'; no argument required
3011 # The diagnosis changed in icc 8.0:
3012 # icc: Command line remark: option '-MP' not supported
3013 if (grep 'ignoring option' conftest.err ||
3014 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3015 am_cv_CC_dependencies_compiler_type=$depmode
3024 am_cv_CC_dependencies_compiler_type=none
3028 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3029 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3030 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3033 test "x$enable_dependency_tracking" != xno \
3034 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3036 am__fastdepCC_FALSE='#'
3038 am__fastdepCC_TRUE='#'
3039 am__fastdepCC_FALSE=
3043 if test -z "$CC"; then
3044 # Extract the first word of "cc", so it can be a program name with args.
3045 set dummy cc; ac_word=$2
3046 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if test "${ac_cv_prog_CC+set}" = set; then
3049 $as_echo_n "(cached) " >&6
3051 if test -n "$CC"; then
3052 ac_cv_prog_CC="$CC" # Let the user override the test.
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 test -z "$as_dir" && as_dir=.
3060 for ac_exec_ext in '' $ac_executable_extensions; do
3061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3062 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3063 ac_prog_rejected=yes
3067 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 if test $ac_prog_rejected = yes; then
3075 # We found a bogon in the path, so make sure we never use it.
3076 set dummy $ac_cv_prog_CC
3078 if test $# != 0; then
3079 # We chose a different compiler from the bogus one.
3080 # However, it has the same basename, so the bogon will be chosen
3081 # first if we set CC to just the basename; use the full file name.
3083 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3089 if test -n "$CC"; then
3090 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3091 $as_echo "$CC" >&6; }
3093 { $as_echo "$as_me:$LINENO: result: no" >&5
3094 $as_echo "no" >&6; }
3098 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3099 $as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3100 { (exit 1); exit 1; }; }
3103 { $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
3104 $as_echo_n "checking whether we are using GNU C... " >&6; }
3105 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3106 $as_echo_n "(cached) " >&6
3108 cat > conftest.c <<EOF
3113 if { ac_try='${CC-cc} -E conftest.c'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3119 ac_cv_c_compiler_gnu=yes
3121 ac_cv_c_compiler_gnu=no
3124 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3125 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3127 if test $ac_cv_c_compiler_gnu = yes; then
3129 ac_test_CFLAGS="${CFLAGS+set}"
3130 ac_save_CFLAGS="$CFLAGS"
3131 ac_test_CFLAGS=${CFLAGS+set}
3132 ac_save_CFLAGS=$CFLAGS
3133 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3134 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3135 if test "${ac_cv_prog_cc_g+set}" = set; then
3136 $as_echo_n "(cached) " >&6
3138 ac_save_c_werror_flag=$ac_c_werror_flag
3139 ac_c_werror_flag=yes
3142 cat >conftest.$ac_ext <<_ACEOF
3145 cat confdefs.h >>conftest.$ac_ext
3146 cat >>conftest.$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3157 rm -f conftest.$ac_objext
3158 if { (ac_try="$ac_compile"
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3164 $as_echo "$ac_try_echo") >&5
3165 (eval "$ac_compile") 2>conftest.er1
3167 grep -v '^ *+' conftest.er1 >conftest.err
3169 cat conftest.err >&5
3170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); } && {
3172 test -z "$ac_c_werror_flag" ||
3173 test ! -s conftest.err
3174 } && test -s conftest.$ac_objext; then
3177 $as_echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3181 cat >conftest.$ac_ext <<_ACEOF
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3196 rm -f conftest.$ac_objext
3197 if { (ac_try="$ac_compile"
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3203 $as_echo "$ac_try_echo") >&5
3204 (eval "$ac_compile") 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } && {
3211 test -z "$ac_c_werror_flag" ||
3212 test ! -s conftest.err
3213 } && test -s conftest.$ac_objext; then
3216 $as_echo "$as_me: failed program was:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3219 ac_c_werror_flag=$ac_save_c_werror_flag
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3236 rm -f conftest.$ac_objext
3237 if { (ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3243 $as_echo "$ac_try_echo") >&5
3244 (eval "$ac_compile") 2>conftest.er1
3246 grep -v '^ *+' conftest.er1 >conftest.err
3248 cat conftest.err >&5
3249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } && {
3251 test -z "$ac_c_werror_flag" ||
3252 test ! -s conftest.err
3253 } && test -s conftest.$ac_objext; then
3256 $as_echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3269 ac_c_werror_flag=$ac_save_c_werror_flag
3271 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3272 $as_echo "$ac_cv_prog_cc_g" >&6; }
3273 if test "$ac_test_CFLAGS" = set; then
3274 CFLAGS=$ac_save_CFLAGS
3275 elif test $ac_cv_prog_cc_g = yes; then
3276 if test "$GCC" = yes; then
3282 if test "$GCC" = yes; then
3288 if test "$ac_test_CFLAGS" = set; then
3289 CFLAGS="$ac_save_CFLAGS"
3290 elif test $ac_cv_prog_cc_g = yes; then
3297 test "${CFLAGS+set}" = set || CFLAGS="-g"
3301 if test -n "$ac_tool_prefix"; then
3302 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3303 set dummy ${ac_tool_prefix}as; ac_word=$2
3304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3305 $as_echo_n "checking for $ac_word... " >&6; }
3306 if test "${ac_cv_prog_AS+set}" = set; then
3307 $as_echo_n "(cached) " >&6
3309 if test -n "$AS"; then
3310 ac_cv_prog_AS="$AS" # Let the user override the test.
3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 test -z "$as_dir" && as_dir=.
3317 for ac_exec_ext in '' $ac_executable_extensions; do
3318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3319 ac_cv_prog_AS="${ac_tool_prefix}as"
3320 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3330 if test -n "$AS"; then
3331 { $as_echo "$as_me:$LINENO: result: $AS" >&5
3332 $as_echo "$AS" >&6; }
3334 { $as_echo "$as_me:$LINENO: result: no" >&5
3335 $as_echo "no" >&6; }
3340 if test -z "$ac_cv_prog_AS"; then
3342 # Extract the first word of "as", so it can be a program name with args.
3343 set dummy as; ac_word=$2
3344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3345 $as_echo_n "checking for $ac_word... " >&6; }
3346 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3347 $as_echo_n "(cached) " >&6
3349 if test -n "$ac_ct_AS"; then
3350 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356 test -z "$as_dir" && as_dir=.
3357 for ac_exec_ext in '' $ac_executable_extensions; do
3358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3359 ac_cv_prog_ac_ct_AS="as"
3360 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3369 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3370 if test -n "$ac_ct_AS"; then
3371 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3372 $as_echo "$ac_ct_AS" >&6; }
3374 { $as_echo "$as_me:$LINENO: result: no" >&5
3375 $as_echo "no" >&6; }
3378 if test "x$ac_ct_AS" = x; then
3381 case $cross_compiling:$ac_tool_warned in
3383 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3385 ac_tool_warned=yes ;;
3393 if test -n "$ac_tool_prefix"; then
3394 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3395 set dummy ${ac_tool_prefix}ar; ac_word=$2
3396 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_AR+set}" = set; then
3399 $as_echo_n "(cached) " >&6
3401 if test -n "$AR"; then
3402 ac_cv_prog_AR="$AR" # Let the user override the test.
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_AR="${ac_tool_prefix}ar"
3412 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 if test -n "$AR"; then
3423 { $as_echo "$as_me:$LINENO: result: $AR" >&5
3424 $as_echo "$AR" >&6; }
3426 { $as_echo "$as_me:$LINENO: result: no" >&5
3427 $as_echo "no" >&6; }
3432 if test -z "$ac_cv_prog_AR"; then
3434 # Extract the first word of "ar", so it can be a program name with args.
3435 set dummy ar; ac_word=$2
3436 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3437 $as_echo_n "checking for $ac_word... " >&6; }
3438 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3439 $as_echo_n "(cached) " >&6
3441 if test -n "$ac_ct_AR"; then
3442 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448 test -z "$as_dir" && as_dir=.
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3451 ac_cv_prog_ac_ct_AR="ar"
3452 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3461 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3462 if test -n "$ac_ct_AR"; then
3463 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3464 $as_echo "$ac_ct_AR" >&6; }
3466 { $as_echo "$as_me:$LINENO: result: no" >&5
3467 $as_echo "no" >&6; }
3470 if test "x$ac_ct_AR" = x; then
3473 case $cross_compiling:$ac_tool_warned in
3475 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3477 ac_tool_warned=yes ;;
3485 if test -n "$ac_tool_prefix"; then
3486 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3487 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3488 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3489 $as_echo_n "checking for $ac_word... " >&6; }
3490 if test "${ac_cv_prog_RANLIB+set}" = set; then
3491 $as_echo_n "(cached) " >&6
3493 if test -n "$RANLIB"; then
3494 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 test -z "$as_dir" && as_dir=.
3501 for ac_exec_ext in '' $ac_executable_extensions; do
3502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3503 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3504 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3513 RANLIB=$ac_cv_prog_RANLIB
3514 if test -n "$RANLIB"; then
3515 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3516 $as_echo "$RANLIB" >&6; }
3518 { $as_echo "$as_me:$LINENO: result: no" >&5
3519 $as_echo "no" >&6; }
3524 if test -z "$ac_cv_prog_RANLIB"; then
3525 ac_ct_RANLIB=$RANLIB
3526 # Extract the first word of "ranlib", so it can be a program name with args.
3527 set dummy ranlib; ac_word=$2
3528 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3529 $as_echo_n "checking for $ac_word... " >&6; }
3530 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3531 $as_echo_n "(cached) " >&6
3533 if test -n "$ac_ct_RANLIB"; then
3534 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir=.
3541 for ac_exec_ext in '' $ac_executable_extensions; do
3542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3543 ac_cv_prog_ac_ct_RANLIB="ranlib"
3544 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3554 if test -n "$ac_ct_RANLIB"; then
3555 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3556 $as_echo "$ac_ct_RANLIB" >&6; }
3558 { $as_echo "$as_me:$LINENO: result: no" >&5
3559 $as_echo "no" >&6; }
3562 if test "x$ac_ct_RANLIB" = x; then
3565 case $cross_compiling:$ac_tool_warned in
3567 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3569 ac_tool_warned=yes ;;
3571 RANLIB=$ac_ct_RANLIB
3574 RANLIB="$ac_cv_prog_RANLIB"
3577 if test -n "$ac_tool_prefix"; then
3578 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3579 set dummy ${ac_tool_prefix}readelf; ac_word=$2
3580 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3581 $as_echo_n "checking for $ac_word... " >&6; }
3582 if test "${ac_cv_prog_READELF+set}" = set; then
3583 $as_echo_n "(cached) " >&6
3585 if test -n "$READELF"; then
3586 ac_cv_prog_READELF="$READELF" # Let the user override the test.
3588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3592 test -z "$as_dir" && as_dir=.
3593 for ac_exec_ext in '' $ac_executable_extensions; do
3594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3595 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 READELF=$ac_cv_prog_READELF
3606 if test -n "$READELF"; then
3607 { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3608 $as_echo "$READELF" >&6; }
3610 { $as_echo "$as_me:$LINENO: result: no" >&5
3611 $as_echo "no" >&6; }
3616 if test -z "$ac_cv_prog_READELF"; then
3617 ac_ct_READELF=$READELF
3618 # Extract the first word of "readelf", so it can be a program name with args.
3619 set dummy readelf; ac_word=$2
3620 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3621 $as_echo_n "checking for $ac_word... " >&6; }
3622 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3623 $as_echo_n "(cached) " >&6
3625 if test -n "$ac_ct_READELF"; then
3626 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3632 test -z "$as_dir" && as_dir=.
3633 for ac_exec_ext in '' $ac_executable_extensions; do
3634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3635 ac_cv_prog_ac_ct_READELF="readelf"
3636 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3645 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3646 if test -n "$ac_ct_READELF"; then
3647 { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3648 $as_echo "$ac_ct_READELF" >&6; }
3650 { $as_echo "$as_me:$LINENO: result: no" >&5
3651 $as_echo "no" >&6; }
3654 if test "x$ac_ct_READELF" = x; then
3657 case $cross_compiling:$ac_tool_warned in
3659 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3661 ac_tool_warned=yes ;;
3663 READELF=$ac_ct_READELF
3666 READELF="$ac_cv_prog_READELF"
3670 # Find a good install program. We prefer a C program (faster),
3671 # so one script is as good as another. But avoid the broken or
3672 # incompatible versions:
3673 # SysV /etc/install, /usr/sbin/install
3674 # SunOS /usr/etc/install
3675 # IRIX /sbin/install
3677 # AmigaOS /C/install, which installs bootblocks on floppy discs
3678 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3679 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3680 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3681 # OS/2's system install, which has a completely different semantic
3682 # ./install, which can be erroneously created by make from ./install.sh.
3683 # Reject install programs that cannot install multiple files.
3684 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3685 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3686 if test -z "$INSTALL"; then
3687 if test "${ac_cv_path_install+set}" = set; then
3688 $as_echo_n "(cached) " >&6
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3694 test -z "$as_dir" && as_dir=.
3695 # Account for people who put trailing slashes in PATH elements.
3697 ./ | .// | /cC/* | \
3698 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3699 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3702 # OSF1 and SCO ODT 3.0 have their own names for install.
3703 # Don't use installbsd from OSF since it installs stuff as root
3705 for ac_prog in ginstall scoinst install; do
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3708 if test $ac_prog = install &&
3709 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3710 # AIX install. It has an incompatible calling convention.
3712 elif test $ac_prog = install &&
3713 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3714 # program-specific install script used by HP pwplus--don't use.
3717 rm -rf conftest.one conftest.two conftest.dir
3718 echo one > conftest.one
3719 echo two > conftest.two
3721 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3722 test -s conftest.one && test -s conftest.two &&
3723 test -s conftest.dir/conftest.one &&
3724 test -s conftest.dir/conftest.two
3726 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3739 rm -rf conftest.one conftest.two conftest.dir
3742 if test "${ac_cv_path_install+set}" = set; then
3743 INSTALL=$ac_cv_path_install
3745 # As a last resort, use the slow shell script. Don't cache a
3746 # value for INSTALL within a source directory, because that will
3747 # break other packages using the cache if that directory is
3748 # removed, or if the value is a relative name.
3749 INSTALL=$ac_install_sh
3752 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3753 $as_echo "$INSTALL" >&6; }
3755 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3756 # It thinks the first close brace ends the variable substitution.
3757 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3759 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3761 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3764 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
3765 ac_given_INSTALL=$INSTALL
3768 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3769 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3770 # Check whether --enable-maintainer-mode was given.
3771 if test "${enable_maintainer_mode+set}" = set; then
3772 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3774 USE_MAINTAINER_MODE=no
3777 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3778 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3779 if test $USE_MAINTAINER_MODE = yes; then
3780 MAINTAINER_MODE_TRUE=
3781 MAINTAINER_MODE_FALSE='#'
3783 MAINTAINER_MODE_TRUE='#'
3784 MAINTAINER_MODE_FALSE=
3787 MAINT=$MAINTAINER_MODE_TRUE
3790 # By default we simply use the C compiler to build assembly code.
3792 test "${CCAS+set}" = set || CCAS=$CC
3793 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3798 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
3799 # at least currently, we never actually build a program, so we never
3800 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
3801 # fails, because we are probably configuring with a cross compiler
3802 # which can't create executables. So we include AC_EXEEXT to keep
3803 # automake happy, but we don't execute it, since we don't care about
3810 . ${newlib_basedir}/configure.host
3812 newlib_cflags="${newlib_cflags} -fno-builtin"
3814 NEWLIB_CFLAGS=${newlib_cflags}
3820 if test x${newlib_elix_level} = x0; then
3822 ELIX_LEVEL_0_FALSE='#'
3824 ELIX_LEVEL_0_TRUE='#'
3828 if test x${newlib_elix_level} = x1; then
3830 ELIX_LEVEL_1_FALSE='#'
3832 ELIX_LEVEL_1_TRUE='#'
3836 if test x${newlib_elix_level} = x2; then
3838 ELIX_LEVEL_2_FALSE='#'
3840 ELIX_LEVEL_2_TRUE='#'
3844 if test x${newlib_elix_level} = x3; then
3846 ELIX_LEVEL_3_FALSE='#'
3848 ELIX_LEVEL_3_TRUE='#'
3852 if test x${newlib_elix_level} = x4; then
3854 ELIX_LEVEL_4_FALSE='#'
3856 ELIX_LEVEL_4_TRUE='#'
3861 if test x${use_libtool} = xyes; then
3863 USE_LIBTOOL_FALSE='#'
3865 USE_LIBTOOL_TRUE='#'
3870 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
3871 # use oext, which is set in configure.host based on the target platform.
3884 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3885 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3886 if test "${ac_cv_path_SED+set}" = set; then
3887 $as_echo_n "(cached) " >&6
3889 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3890 for ac_i in 1 2 3 4 5 6 7; do
3891 ac_script="$ac_script$as_nl$ac_script"
3893 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3894 $as_unset ac_script || ac_script=
3895 if test -z "$SED"; then
3896 ac_path_SED_found=false
3897 # Loop through the user's path and test for each of PROGNAME-LIST
3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir=.
3903 for ac_prog in sed gsed; do
3904 for ac_exec_ext in '' $ac_executable_extensions; do
3905 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3906 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3907 # Check for GNU ac_path_SED and select it if it is found.
3908 # Check for GNU $ac_path_SED
3909 case `"$ac_path_SED" --version 2>&1` in
3911 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3914 $as_echo_n 0123456789 >"conftest.in"
3917 cat "conftest.in" "conftest.in" >"conftest.tmp"
3918 mv "conftest.tmp" "conftest.in"
3919 cp "conftest.in" "conftest.nl"
3920 $as_echo '' >> "conftest.nl"
3921 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3922 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3923 ac_count=`expr $ac_count + 1`
3924 if test $ac_count -gt ${ac_path_SED_max-0}; then
3925 # Best one so far, save it but keep looking for a better one
3926 ac_cv_path_SED="$ac_path_SED"
3927 ac_path_SED_max=$ac_count
3929 # 10*(2^10) chars as input seems more than enough
3930 test $ac_count -gt 10 && break
3932 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3935 $ac_path_SED_found && break 3
3940 if test -z "$ac_cv_path_SED"; then
3941 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3942 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3943 { (exit 1); exit 1; }; }
3950 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3951 $as_echo "$ac_cv_path_SED" >&6; }
3952 SED="$ac_cv_path_SED"
3955 test -z "$SED" && SED=sed
3956 Xsed="$SED -e 1s/^X//"
3968 if test "${use_libtool}" = "yes"; then
3969 enable_win32_dll=yes
3972 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3973 if test -n "$ac_tool_prefix"; then
3974 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3975 set dummy ${ac_tool_prefix}as; ac_word=$2
3976 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if test "${ac_cv_prog_AS+set}" = set; then
3979 $as_echo_n "(cached) " >&6
3981 if test -n "$AS"; then
3982 ac_cv_prog_AS="$AS" # Let the user override the test.
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991 ac_cv_prog_AS="${ac_tool_prefix}as"
3992 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 if test -n "$AS"; then
4003 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4004 $as_echo "$AS" >&6; }
4006 { $as_echo "$as_me:$LINENO: result: no" >&5
4007 $as_echo "no" >&6; }
4012 if test -z "$ac_cv_prog_AS"; then
4014 # Extract the first word of "as", so it can be a program name with args.
4015 set dummy as; ac_word=$2
4016 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4017 $as_echo_n "checking for $ac_word... " >&6; }
4018 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4019 $as_echo_n "(cached) " >&6
4021 if test -n "$ac_ct_AS"; then
4022 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir=.
4029 for ac_exec_ext in '' $ac_executable_extensions; do
4030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4031 ac_cv_prog_ac_ct_AS="as"
4032 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4042 if test -n "$ac_ct_AS"; then
4043 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4044 $as_echo "$ac_ct_AS" >&6; }
4046 { $as_echo "$as_me:$LINENO: result: no" >&5
4047 $as_echo "no" >&6; }
4050 if test "x$ac_ct_AS" = x; then
4053 case $cross_compiling:$ac_tool_warned in
4055 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4057 ac_tool_warned=yes ;;
4065 if test -n "$ac_tool_prefix"; then
4066 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4067 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4068 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4071 $as_echo_n "(cached) " >&6
4073 if test -n "$DLLTOOL"; then
4074 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir=.
4081 for ac_exec_ext in '' $ac_executable_extensions; do
4082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4083 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4084 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 DLLTOOL=$ac_cv_prog_DLLTOOL
4094 if test -n "$DLLTOOL"; then
4095 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4096 $as_echo "$DLLTOOL" >&6; }
4098 { $as_echo "$as_me:$LINENO: result: no" >&5
4099 $as_echo "no" >&6; }
4104 if test -z "$ac_cv_prog_DLLTOOL"; then
4105 ac_ct_DLLTOOL=$DLLTOOL
4106 # Extract the first word of "dlltool", so it can be a program name with args.
4107 set dummy dlltool; ac_word=$2
4108 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4109 $as_echo_n "checking for $ac_word... " >&6; }
4110 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4111 $as_echo_n "(cached) " >&6
4113 if test -n "$ac_ct_DLLTOOL"; then
4114 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120 test -z "$as_dir" && as_dir=.
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4123 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4124 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4134 if test -n "$ac_ct_DLLTOOL"; then
4135 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4136 $as_echo "$ac_ct_DLLTOOL" >&6; }
4138 { $as_echo "$as_me:$LINENO: result: no" >&5
4139 $as_echo "no" >&6; }
4142 if test "x$ac_ct_DLLTOOL" = x; then
4145 case $cross_compiling:$ac_tool_warned in
4147 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4149 ac_tool_warned=yes ;;
4151 DLLTOOL=$ac_ct_DLLTOOL
4154 DLLTOOL="$ac_cv_prog_DLLTOOL"
4157 if test -n "$ac_tool_prefix"; then
4158 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4159 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4160 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4161 $as_echo_n "checking for $ac_word... " >&6; }
4162 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4163 $as_echo_n "(cached) " >&6
4165 if test -n "$OBJDUMP"; then
4166 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir=.
4173 for ac_exec_ext in '' $ac_executable_extensions; do
4174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4175 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4176 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 OBJDUMP=$ac_cv_prog_OBJDUMP
4186 if test -n "$OBJDUMP"; then
4187 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4188 $as_echo "$OBJDUMP" >&6; }
4190 { $as_echo "$as_me:$LINENO: result: no" >&5
4191 $as_echo "no" >&6; }
4196 if test -z "$ac_cv_prog_OBJDUMP"; then
4197 ac_ct_OBJDUMP=$OBJDUMP
4198 # Extract the first word of "objdump", so it can be a program name with args.
4199 set dummy objdump; ac_word=$2
4200 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4201 $as_echo_n "checking for $ac_word... " >&6; }
4202 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4203 $as_echo_n "(cached) " >&6
4205 if test -n "$ac_ct_OBJDUMP"; then
4206 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir=.
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4215 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4216 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4226 if test -n "$ac_ct_OBJDUMP"; then
4227 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4228 $as_echo "$ac_ct_OBJDUMP" >&6; }
4230 { $as_echo "$as_me:$LINENO: result: no" >&5
4231 $as_echo "no" >&6; }
4234 if test "x$ac_ct_OBJDUMP" = x; then
4237 case $cross_compiling:$ac_tool_warned in
4239 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4241 ac_tool_warned=yes ;;
4243 OBJDUMP=$ac_ct_OBJDUMP
4246 OBJDUMP="$ac_cv_prog_OBJDUMP"
4252 test -z "$AS" && AS=as
4258 test -z "$DLLTOOL" && DLLTOOL=dlltool
4264 test -z "$OBJDUMP" && OBJDUMP=objdump
4274 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4275 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4280 macro_version='2.2.6'
4281 macro_revision='1.3012'
4295 ltmain="$ac_aux_dir/ltmain.sh"
4298 ac_cpp='$CPP $CPPFLAGS'
4299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4302 if test -n "$ac_tool_prefix"; then
4303 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4304 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4305 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if test "${ac_cv_prog_CC+set}" = set; then
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$CC"; then
4311 ac_cv_prog_CC="$CC" # Let the user override the test.
4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir=.
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4321 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 if test -n "$CC"; then
4332 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4333 $as_echo "$CC" >&6; }
4335 { $as_echo "$as_me:$LINENO: result: no" >&5
4336 $as_echo "no" >&6; }
4341 if test -z "$ac_cv_prog_CC"; then
4343 # Extract the first word of "gcc", so it can be a program name with args.
4344 set dummy gcc; ac_word=$2
4345 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$ac_ct_CC"; then
4351 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir=.
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360 ac_cv_prog_ac_ct_CC="gcc"
4361 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4371 if test -n "$ac_ct_CC"; then
4372 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4373 $as_echo "$ac_ct_CC" >&6; }
4375 { $as_echo "$as_me:$LINENO: result: no" >&5
4376 $as_echo "no" >&6; }
4379 if test "x$ac_ct_CC" = x; then
4382 case $cross_compiling:$ac_tool_warned in
4384 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4386 ac_tool_warned=yes ;;
4394 if test -z "$CC"; then
4395 if test -n "$ac_tool_prefix"; then
4396 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4397 set dummy ${ac_tool_prefix}cc; ac_word=$2
4398 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if test "${ac_cv_prog_CC+set}" = set; then
4401 $as_echo_n "(cached) " >&6
4403 if test -n "$CC"; then
4404 ac_cv_prog_CC="$CC" # Let the user override the test.
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413 ac_cv_prog_CC="${ac_tool_prefix}cc"
4414 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 if test -n "$CC"; then
4425 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4426 $as_echo "$CC" >&6; }
4428 { $as_echo "$as_me:$LINENO: result: no" >&5
4429 $as_echo "no" >&6; }
4435 if test -z "$CC"; then
4436 # Extract the first word of "cc", so it can be a program name with args.
4437 set dummy cc; ac_word=$2
4438 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if test "${ac_cv_prog_CC+set}" = set; then
4441 $as_echo_n "(cached) " >&6
4443 if test -n "$CC"; then
4444 ac_cv_prog_CC="$CC" # Let the user override the test.
4447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 test -z "$as_dir" && as_dir=.
4452 for ac_exec_ext in '' $ac_executable_extensions; do
4453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4454 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4455 ac_prog_rejected=yes
4459 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 if test $ac_prog_rejected = yes; then
4467 # We found a bogon in the path, so make sure we never use it.
4468 set dummy $ac_cv_prog_CC
4470 if test $# != 0; then
4471 # We chose a different compiler from the bogus one.
4472 # However, it has the same basename, so the bogon will be chosen
4473 # first if we set CC to just the basename; use the full file name.
4475 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4481 if test -n "$CC"; then
4482 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4483 $as_echo "$CC" >&6; }
4485 { $as_echo "$as_me:$LINENO: result: no" >&5
4486 $as_echo "no" >&6; }
4491 if test -z "$CC"; then
4492 if test -n "$ac_tool_prefix"; then
4493 for ac_prog in cl.exe
4495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4497 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4498 $as_echo_n "checking for $ac_word... " >&6; }
4499 if test "${ac_cv_prog_CC+set}" = set; then
4500 $as_echo_n "(cached) " >&6
4502 if test -n "$CC"; then
4503 ac_cv_prog_CC="$CC" # Let the user override the test.
4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 test -z "$as_dir" && as_dir=.
4510 for ac_exec_ext in '' $ac_executable_extensions; do
4511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4513 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 if test -n "$CC"; then
4524 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4525 $as_echo "$CC" >&6; }
4527 { $as_echo "$as_me:$LINENO: result: no" >&5
4528 $as_echo "no" >&6; }
4532 test -n "$CC" && break
4535 if test -z "$CC"; then
4537 for ac_prog in cl.exe
4539 # Extract the first word of "$ac_prog", so it can be a program name with args.
4540 set dummy $ac_prog; ac_word=$2
4541 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4544 $as_echo_n "(cached) " >&6
4546 if test -n "$ac_ct_CC"; then
4547 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 test -z "$as_dir" && as_dir=.
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556 ac_cv_prog_ac_ct_CC="$ac_prog"
4557 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4567 if test -n "$ac_ct_CC"; then
4568 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4569 $as_echo "$ac_ct_CC" >&6; }
4571 { $as_echo "$as_me:$LINENO: result: no" >&5
4572 $as_echo "no" >&6; }
4576 test -n "$ac_ct_CC" && break
4579 if test "x$ac_ct_CC" = x; then
4582 case $cross_compiling:$ac_tool_warned in
4584 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4586 ac_tool_warned=yes ;;
4595 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4597 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4598 See \`config.log' for more details." >&5
4599 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4600 See \`config.log' for more details." >&2;}
4601 { (exit 1); exit 1; }; }; }
4603 # Provide some information about the compiler.
4604 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4607 { (ac_try="$ac_compiler --version >&5"
4609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610 *) ac_try_echo=$ac_try;;
4612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4613 $as_echo "$ac_try_echo") >&5
4614 (eval "$ac_compiler --version >&5") 2>&5
4616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); }
4618 { (ac_try="$ac_compiler -v >&5"
4620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4621 *) ac_try_echo=$ac_try;;
4623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4624 $as_echo "$ac_try_echo") >&5
4625 (eval "$ac_compiler -v >&5") 2>&5
4627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); }
4629 { (ac_try="$ac_compiler -V >&5"
4631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4632 *) ac_try_echo=$ac_try;;
4634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4635 $as_echo "$ac_try_echo") >&5
4636 (eval "$ac_compiler -V >&5") 2>&5
4638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }
4641 cat >conftest.$ac_ext <<_ACEOF
4644 cat confdefs.h >>conftest.$ac_ext
4645 cat >>conftest.$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4656 ac_clean_files_save=$ac_clean_files
4657 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4658 # Try to create an executable without -o first, disregard a.out.
4659 # It will help us diagnose broken compilers, and finding out an intuition
4661 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4662 $as_echo_n "checking for C compiler default output file name... " >&6; }
4663 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4665 # The possible output files:
4666 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4669 for ac_file in $ac_files
4672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4673 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4678 if { (ac_try="$ac_link_default"
4680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4681 *) ac_try_echo=$ac_try;;
4683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4684 $as_echo "$ac_try_echo") >&5
4685 (eval "$ac_link_default") 2>&5
4687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); }; then
4689 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4690 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4691 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4692 # so that the user can short-circuit this test for compilers unknown to
4694 for ac_file in $ac_files ''
4696 test -f "$ac_file" || continue
4698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4701 # We found the default executable, but exeext='' is most
4705 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4707 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4709 # We set ac_cv_exeext here because the later test for it is not
4710 # safe: cross compilers may not add the suffix if given an `-o'
4711 # argument, so we may need to know it at that point already.
4712 # Even if this section looks crufty: it has the advantage of
4719 test "$ac_cv_exeext" = no && ac_cv_exeext=
4725 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4726 $as_echo "$ac_file" >&6; }
4727 if test -z "$ac_file"; then
4728 $as_echo "$as_me: failed program was:" >&5
4729 sed 's/^/| /' conftest.$ac_ext >&5
4731 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4733 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
4734 See \`config.log' for more details." >&5
4735 $as_echo "$as_me: error: C compiler cannot create executables
4736 See \`config.log' for more details." >&2;}
4737 { (exit 77); exit 77; }; }; }
4740 ac_exeext=$ac_cv_exeext
4742 # Check that the compiler produces executables we can run. If not, either
4743 # the compiler is broken, or we cross compile.
4744 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4745 $as_echo_n "checking whether the C compiler works... " >&6; }
4746 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4747 # If not cross compiling, check that we can run a simple program.
4748 if test "$cross_compiling" != yes; then
4749 if { ac_try='./$ac_file'
4750 { (case "(($ac_try" in
4751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4752 *) ac_try_echo=$ac_try;;
4754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4755 $as_echo "$ac_try_echo") >&5
4756 (eval "$ac_try") 2>&5
4758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); }; }; then
4762 if test "$cross_compiling" = maybe; then
4765 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4767 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
4768 If you meant to cross compile, use \`--host'.
4769 See \`config.log' for more details." >&5
4770 $as_echo "$as_me: error: cannot run C compiled programs.
4771 If you meant to cross compile, use \`--host'.
4772 See \`config.log' for more details." >&2;}
4773 { (exit 1); exit 1; }; }; }
4777 { $as_echo "$as_me:$LINENO: result: yes" >&5
4778 $as_echo "yes" >&6; }
4780 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4781 ac_clean_files=$ac_clean_files_save
4782 # Check that the compiler produces executables we can run. If not, either
4783 # the compiler is broken, or we cross compile.
4784 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4785 $as_echo_n "checking whether we are cross compiling... " >&6; }
4786 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4787 $as_echo "$cross_compiling" >&6; }
4789 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
4790 $as_echo_n "checking for suffix of executables... " >&6; }
4791 if { (ac_try="$ac_link"
4793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4794 *) ac_try_echo=$ac_try;;
4796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4797 $as_echo "$ac_try_echo") >&5
4798 (eval "$ac_link") 2>&5
4800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; then
4802 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4803 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4804 # work properly (i.e., refer to `conftest.exe'), while it won't with
4806 for ac_file in conftest.exe conftest conftest.*; do
4807 test -f "$ac_file" || continue
4809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4810 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4816 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4818 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4819 See \`config.log' for more details." >&5
4820 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4821 See \`config.log' for more details." >&2;}
4822 { (exit 1); exit 1; }; }; }
4825 rm -f conftest$ac_cv_exeext
4826 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4827 $as_echo "$ac_cv_exeext" >&6; }
4829 rm -f conftest.$ac_ext
4830 EXEEXT=$ac_cv_exeext
4832 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
4833 $as_echo_n "checking for suffix of object files... " >&6; }
4834 if test "${ac_cv_objext+set}" = set; then
4835 $as_echo_n "(cached) " >&6
4837 cat >conftest.$ac_ext <<_ACEOF
4840 cat confdefs.h >>conftest.$ac_ext
4841 cat >>conftest.$ac_ext <<_ACEOF
4842 /* end confdefs.h. */
4852 rm -f conftest.o conftest.obj
4853 if { (ac_try="$ac_compile"
4855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856 *) ac_try_echo=$ac_try;;
4858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4859 $as_echo "$ac_try_echo") >&5
4860 (eval "$ac_compile") 2>&5
4862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; then
4864 for ac_file in conftest.o conftest.obj conftest.*; do
4865 test -f "$ac_file" || continue;
4867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4868 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4873 $as_echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4876 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4878 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4879 See \`config.log' for more details." >&5
4880 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
4881 See \`config.log' for more details." >&2;}
4882 { (exit 1); exit 1; }; }; }
4885 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4887 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4888 $as_echo "$ac_cv_objext" >&6; }
4889 OBJEXT=$ac_cv_objext
4891 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4892 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4893 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4894 $as_echo_n "(cached) " >&6
4896 cat >conftest.$ac_ext <<_ACEOF
4899 cat confdefs.h >>conftest.$ac_ext
4900 cat >>conftest.$ac_ext <<_ACEOF
4901 /* end confdefs.h. */
4914 rm -f conftest.$ac_objext
4915 if { (ac_try="$ac_compile"
4917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4918 *) ac_try_echo=$ac_try;;
4920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4921 $as_echo "$ac_try_echo") >&5
4922 (eval "$ac_compile") 2>conftest.er1
4924 grep -v '^ *+' conftest.er1 >conftest.err
4926 cat conftest.err >&5
4927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); } && {
4929 test -z "$ac_c_werror_flag" ||
4930 test ! -s conftest.err
4931 } && test -s conftest.$ac_objext; then
4934 $as_echo "$as_me: failed program was:" >&5
4935 sed 's/^/| /' conftest.$ac_ext >&5
4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4941 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4944 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4945 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4946 if test $ac_compiler_gnu = yes; then
4951 ac_test_CFLAGS=${CFLAGS+set}
4952 ac_save_CFLAGS=$CFLAGS
4953 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4954 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4955 if test "${ac_cv_prog_cc_g+set}" = set; then
4956 $as_echo_n "(cached) " >&6
4958 ac_save_c_werror_flag=$ac_c_werror_flag
4959 ac_c_werror_flag=yes
4962 cat >conftest.$ac_ext <<_ACEOF
4965 cat confdefs.h >>conftest.$ac_ext
4966 cat >>conftest.$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4977 rm -f conftest.$ac_objext
4978 if { (ac_try="$ac_compile"
4980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4981 *) ac_try_echo=$ac_try;;
4983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4984 $as_echo "$ac_try_echo") >&5
4985 (eval "$ac_compile") 2>conftest.er1
4987 grep -v '^ *+' conftest.er1 >conftest.err
4989 cat conftest.err >&5
4990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); } && {
4992 test -z "$ac_c_werror_flag" ||
4993 test ! -s conftest.err
4994 } && test -s conftest.$ac_objext; then
4997 $as_echo "$as_me: failed program was:" >&5
4998 sed 's/^/| /' conftest.$ac_ext >&5
5001 cat >conftest.$ac_ext <<_ACEOF
5004 cat confdefs.h >>conftest.$ac_ext
5005 cat >>conftest.$ac_ext <<_ACEOF
5006 /* end confdefs.h. */
5016 rm -f conftest.$ac_objext
5017 if { (ac_try="$ac_compile"
5019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5020 *) ac_try_echo=$ac_try;;
5022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5023 $as_echo "$ac_try_echo") >&5
5024 (eval "$ac_compile") 2>conftest.er1
5026 grep -v '^ *+' conftest.er1 >conftest.err
5028 cat conftest.err >&5
5029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); } && {
5031 test -z "$ac_c_werror_flag" ||
5032 test ! -s conftest.err
5033 } && test -s conftest.$ac_objext; then
5036 $as_echo "$as_me: failed program was:" >&5
5037 sed 's/^/| /' conftest.$ac_ext >&5
5039 ac_c_werror_flag=$ac_save_c_werror_flag
5041 cat >conftest.$ac_ext <<_ACEOF
5044 cat confdefs.h >>conftest.$ac_ext
5045 cat >>conftest.$ac_ext <<_ACEOF
5046 /* end confdefs.h. */
5056 rm -f conftest.$ac_objext
5057 if { (ac_try="$ac_compile"
5059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5060 *) ac_try_echo=$ac_try;;
5062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5063 $as_echo "$ac_try_echo") >&5
5064 (eval "$ac_compile") 2>conftest.er1
5066 grep -v '^ *+' conftest.er1 >conftest.err
5068 cat conftest.err >&5
5069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } && {
5071 test -z "$ac_c_werror_flag" ||
5072 test ! -s conftest.err
5073 } && test -s conftest.$ac_objext; then
5076 $as_echo "$as_me: failed program was:" >&5
5077 sed 's/^/| /' conftest.$ac_ext >&5
5082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 ac_c_werror_flag=$ac_save_c_werror_flag
5091 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5092 $as_echo "$ac_cv_prog_cc_g" >&6; }
5093 if test "$ac_test_CFLAGS" = set; then
5094 CFLAGS=$ac_save_CFLAGS
5095 elif test $ac_cv_prog_cc_g = yes; then
5096 if test "$GCC" = yes; then
5102 if test "$GCC" = yes; then
5108 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5109 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5110 if test "${ac_cv_prog_cc_c89+set}" = set; then
5111 $as_echo_n "(cached) " >&6
5113 ac_cv_prog_cc_c89=no
5115 cat >conftest.$ac_ext <<_ACEOF
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5123 #include <sys/types.h>
5124 #include <sys/stat.h>
5125 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5126 struct buf { int x; };
5127 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5128 static char *e (p, i)
5134 static char *f (char * (*g) (char **, int), char **p, ...)
5139 s = g (p, va_arg (v,int));
5144 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5145 function prototypes and stuff, but not '\xHH' hex character constants.
5146 These don't provoke an error unfortunately, instead are silently treated
5147 as 'x'. The following induces an error, until -std is added to get
5148 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5149 array size at least. It's necessary to write '\x00'==0 to get something
5150 that's true only with -std. */
5151 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5153 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5154 inside strings and character constants. */
5156 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5158 int test (int i, double x);
5159 struct s1 {int (*f) (int a);};
5160 struct s2 {int (*f) (double a);};
5161 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5167 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5172 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5173 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5175 CC="$ac_save_CC $ac_arg"
5176 rm -f conftest.$ac_objext
5177 if { (ac_try="$ac_compile"
5179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5180 *) ac_try_echo=$ac_try;;
5182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5183 $as_echo "$ac_try_echo") >&5
5184 (eval "$ac_compile") 2>conftest.er1
5186 grep -v '^ *+' conftest.er1 >conftest.err
5188 cat conftest.err >&5
5189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); } && {
5191 test -z "$ac_c_werror_flag" ||
5192 test ! -s conftest.err
5193 } && test -s conftest.$ac_objext; then
5194 ac_cv_prog_cc_c89=$ac_arg
5196 $as_echo "$as_me: failed program was:" >&5
5197 sed 's/^/| /' conftest.$ac_ext >&5
5202 rm -f core conftest.err conftest.$ac_objext
5203 test "x$ac_cv_prog_cc_c89" != "xno" && break
5205 rm -f conftest.$ac_ext
5210 case "x$ac_cv_prog_cc_c89" in
5212 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5213 $as_echo "none needed" >&6; } ;;
5215 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5216 $as_echo "unsupported" >&6; } ;;
5218 CC="$CC $ac_cv_prog_cc_c89"
5219 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5220 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5225 ac_cpp='$CPP $CPPFLAGS'
5226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5230 depcc="$CC" am_compiler_list=
5232 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5233 $as_echo_n "checking dependency style of $depcc... " >&6; }
5234 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5235 $as_echo_n "(cached) " >&6
5237 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5238 # We make a subdir and do the tests there. Otherwise we can end up
5239 # making bogus files that we don't know about and never remove. For
5240 # instance it was reported that on HP-UX the gcc test will end up
5241 # making a dummy file named `D' -- because `-MD' means `put the output
5244 # Copy depcomp to subdir because otherwise we won't find it if we're
5245 # using a relative directory.
5246 cp "$am_depcomp" conftest.dir
5248 # We will build objects and dependencies in a subdirectory because
5249 # it helps to detect inapplicable dependency modes. For instance
5250 # both Tru64's cc and ICC support -MD to output dependencies as a
5251 # side effect of compilation, but ICC will put the dependencies in
5252 # the current directory while Tru64 will put them in the object
5256 am_cv_CC_dependencies_compiler_type=none
5257 if test "$am_compiler_list" = ""; then
5258 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5261 case " $depcc " in #(
5262 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5265 for depmode in $am_compiler_list; do
5266 # Setup a source with many dependencies, because some compilers
5267 # like to wrap large dependency lists on column 80 (with \), and
5268 # we should not choose a depcomp mode which is confused by this.
5270 # We need to recreate these files for each test, as the compiler may
5271 # overwrite some of them when testing with obscure command lines.
5272 # This happens at least with the AIX C compiler.
5274 for i in 1 2 3 4 5 6; do
5275 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5276 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5277 # Solaris 8's {/usr,}/bin/sh.
5278 touch sub/conftst$i.h
5280 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5282 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5283 # mode. It turns out that the SunPro C++ compiler does not properly
5284 # handle `-M -o', and we need to detect this. Also, some Intel
5285 # versions had trouble with output in subdirs
5286 am__obj=sub/conftest.${OBJEXT-o}
5287 am__minus_obj="-o $am__obj"
5290 # This depmode causes a compiler race in universal mode.
5291 test "$am__universal" = false || continue
5294 # after this tag, mechanisms are not by side-effect, so they'll
5295 # only be used when explicitly requested
5296 if test "x$enable_dependency_tracking" = xyes; then
5302 msvisualcpp | msvcmsys)
5303 # This compiler won't grok `-c -o', but also, the minuso test has
5304 # not run yet. These depmodes are late enough in the game, and
5305 # so weak that their functioning should not be impacted.
5306 am__obj=conftest.${OBJEXT-o}
5311 if depmode=$depmode \
5312 source=sub/conftest.c object=$am__obj \
5313 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5314 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5315 >/dev/null 2>conftest.err &&
5316 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5317 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5318 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5319 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5320 # icc doesn't choke on unknown options, it will just issue warnings
5321 # or remarks (even with -Werror). So we grep stderr for any message
5322 # that says an option was ignored or not supported.
5323 # When given -MP, icc 7.0 and 7.1 complain thusly:
5324 # icc: Command line warning: ignoring option '-M'; no argument required
5325 # The diagnosis changed in icc 8.0:
5326 # icc: Command line remark: option '-MP' not supported
5327 if (grep 'ignoring option' conftest.err ||
5328 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5329 am_cv_CC_dependencies_compiler_type=$depmode
5338 am_cv_CC_dependencies_compiler_type=none
5342 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5343 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5344 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5347 test "x$enable_dependency_tracking" != xno \
5348 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5350 am__fastdepCC_FALSE='#'
5352 am__fastdepCC_TRUE='#'
5353 am__fastdepCC_FALSE=
5357 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5358 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5359 if test "${ac_cv_path_GREP+set}" = set; then
5360 $as_echo_n "(cached) " >&6
5362 if test -z "$GREP"; then
5363 ac_path_GREP_found=false
5364 # Loop through the user's path and test for each of PROGNAME-LIST
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5369 test -z "$as_dir" && as_dir=.
5370 for ac_prog in grep ggrep; do
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5373 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5374 # Check for GNU ac_path_GREP and select it if it is found.
5375 # Check for GNU $ac_path_GREP
5376 case `"$ac_path_GREP" --version 2>&1` in
5378 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5381 $as_echo_n 0123456789 >"conftest.in"
5384 cat "conftest.in" "conftest.in" >"conftest.tmp"
5385 mv "conftest.tmp" "conftest.in"
5386 cp "conftest.in" "conftest.nl"
5387 $as_echo 'GREP' >> "conftest.nl"
5388 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5390 ac_count=`expr $ac_count + 1`
5391 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5392 # Best one so far, save it but keep looking for a better one
5393 ac_cv_path_GREP="$ac_path_GREP"
5394 ac_path_GREP_max=$ac_count
5396 # 10*(2^10) chars as input seems more than enough
5397 test $ac_count -gt 10 && break
5399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5402 $ac_path_GREP_found && break 3
5407 if test -z "$ac_cv_path_GREP"; then
5408 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5409 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5410 { (exit 1); exit 1; }; }
5413 ac_cv_path_GREP=$GREP
5417 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5418 $as_echo "$ac_cv_path_GREP" >&6; }
5419 GREP="$ac_cv_path_GREP"
5422 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5423 $as_echo_n "checking for egrep... " >&6; }
5424 if test "${ac_cv_path_EGREP+set}" = set; then
5425 $as_echo_n "(cached) " >&6
5427 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5428 then ac_cv_path_EGREP="$GREP -E"
5430 if test -z "$EGREP"; then
5431 ac_path_EGREP_found=false
5432 # Loop through the user's path and test for each of PROGNAME-LIST
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5437 test -z "$as_dir" && as_dir=.
5438 for ac_prog in egrep; do
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5441 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5442 # Check for GNU ac_path_EGREP and select it if it is found.
5443 # Check for GNU $ac_path_EGREP
5444 case `"$ac_path_EGREP" --version 2>&1` in
5446 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5449 $as_echo_n 0123456789 >"conftest.in"
5452 cat "conftest.in" "conftest.in" >"conftest.tmp"
5453 mv "conftest.tmp" "conftest.in"
5454 cp "conftest.in" "conftest.nl"
5455 $as_echo 'EGREP' >> "conftest.nl"
5456 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5457 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5458 ac_count=`expr $ac_count + 1`
5459 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5460 # Best one so far, save it but keep looking for a better one
5461 ac_cv_path_EGREP="$ac_path_EGREP"
5462 ac_path_EGREP_max=$ac_count
5464 # 10*(2^10) chars as input seems more than enough
5465 test $ac_count -gt 10 && break
5467 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5470 $ac_path_EGREP_found && break 3
5475 if test -z "$ac_cv_path_EGREP"; then
5476 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5477 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5478 { (exit 1); exit 1; }; }
5481 ac_cv_path_EGREP=$EGREP
5486 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5487 $as_echo "$ac_cv_path_EGREP" >&6; }
5488 EGREP="$ac_cv_path_EGREP"
5491 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5492 $as_echo_n "checking for fgrep... " >&6; }
5493 if test "${ac_cv_path_FGREP+set}" = set; then
5494 $as_echo_n "(cached) " >&6
5496 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5497 then ac_cv_path_FGREP="$GREP -F"
5499 if test -z "$FGREP"; then
5500 ac_path_FGREP_found=false
5501 # Loop through the user's path and test for each of PROGNAME-LIST
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5506 test -z "$as_dir" && as_dir=.
5507 for ac_prog in fgrep; do
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5510 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5511 # Check for GNU ac_path_FGREP and select it if it is found.
5512 # Check for GNU $ac_path_FGREP
5513 case `"$ac_path_FGREP" --version 2>&1` in
5515 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5518 $as_echo_n 0123456789 >"conftest.in"
5521 cat "conftest.in" "conftest.in" >"conftest.tmp"
5522 mv "conftest.tmp" "conftest.in"
5523 cp "conftest.in" "conftest.nl"
5524 $as_echo 'FGREP' >> "conftest.nl"
5525 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5526 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5527 ac_count=`expr $ac_count + 1`
5528 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5529 # Best one so far, save it but keep looking for a better one
5530 ac_cv_path_FGREP="$ac_path_FGREP"
5531 ac_path_FGREP_max=$ac_count
5533 # 10*(2^10) chars as input seems more than enough
5534 test $ac_count -gt 10 && break
5536 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5539 $ac_path_FGREP_found && break 3
5544 if test -z "$ac_cv_path_FGREP"; then
5545 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5546 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5547 { (exit 1); exit 1; }; }
5550 ac_cv_path_FGREP=$FGREP
5555 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5556 $as_echo "$ac_cv_path_FGREP" >&6; }
5557 FGREP="$ac_cv_path_FGREP"
5560 test -z "$GREP" && GREP=grep
5580 # Check whether --with-gnu-ld was given.
5581 if test "${with_gnu_ld+set}" = set; then
5582 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5588 if test "$GCC" = yes; then
5589 # Check if gcc -print-prog-name=ld gives a path.
5590 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5591 $as_echo_n "checking for ld used by $CC... " >&6; }
5594 # gcc leaves a trailing carriage return which upsets mingw
5595 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5597 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5600 # Accept absolute paths.
5602 re_direlt='/[^/][^/]*/\.\./'
5603 # Canonicalize the pathname of ld
5604 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5605 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5606 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5608 test -z "$LD" && LD="$ac_prog"
5611 # If it fails, then pretend we aren't using GCC.
5615 # If it is relative, then search for the first ld in PATH.
5619 elif test "$with_gnu_ld" = yes; then
5620 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5621 $as_echo_n "checking for GNU ld... " >&6; }
5623 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5624 $as_echo_n "checking for non-GNU ld... " >&6; }
5626 if test "${lt_cv_path_LD+set}" = set; then
5627 $as_echo_n "(cached) " >&6
5629 if test -z "$LD"; then
5630 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5631 for ac_dir in $PATH; do
5633 test -z "$ac_dir" && ac_dir=.
5634 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5635 lt_cv_path_LD="$ac_dir/$ac_prog"
5636 # Check to see if the program is GNU ld. I'd rather use --version,
5637 # but apparently some variants of GNU ld only accept -v.
5638 # Break only if it was the GNU/non-GNU ld that we prefer.
5639 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5640 *GNU* | *'with BFD'*)
5641 test "$with_gnu_ld" != no && break
5644 test "$with_gnu_ld" != yes && break
5651 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5656 if test -n "$LD"; then
5657 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5658 $as_echo "$LD" >&6; }
5660 { $as_echo "$as_me:$LINENO: result: no" >&5
5661 $as_echo "no" >&6; }
5663 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5664 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5665 { (exit 1); exit 1; }; }
5666 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5667 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5668 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5669 $as_echo_n "(cached) " >&6
5671 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5672 case `$LD -v 2>&1 </dev/null` in
5673 *GNU* | *'with BFD'*)
5674 lt_cv_prog_gnu_ld=yes
5677 lt_cv_prog_gnu_ld=no
5681 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5682 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5683 with_gnu_ld=$lt_cv_prog_gnu_ld
5693 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5694 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5695 if test "${lt_cv_path_NM+set}" = set; then
5696 $as_echo_n "(cached) " >&6
5698 if test -n "$NM"; then
5699 # Let the user override the test.
5702 lt_nm_to_check="${ac_tool_prefix}nm"
5703 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5704 lt_nm_to_check="$lt_nm_to_check nm"
5706 for lt_tmp_nm in $lt_nm_to_check; do
5707 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5708 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5710 test -z "$ac_dir" && ac_dir=.
5711 tmp_nm="$ac_dir/$lt_tmp_nm"
5712 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5713 # Check to see if the nm accepts a BSD-compat flag.
5714 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5715 # nm: unknown option "B" ignored
5716 # Tru64's nm complains that /dev/null is an invalid object file
5717 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5718 */dev/null* | *'Invalid file or object type'*)
5719 lt_cv_path_NM="$tmp_nm -B"
5723 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5725 lt_cv_path_NM="$tmp_nm -p"
5729 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5730 continue # so that we can try to find one that supports BSD flags
5739 : ${lt_cv_path_NM=no}
5742 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5743 $as_echo "$lt_cv_path_NM" >&6; }
5744 if test "$lt_cv_path_NM" != "no"; then
5747 # Didn't find any BSD compatible name lister, look for dumpbin.
5748 if test -n "$ac_tool_prefix"; then
5749 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5753 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5756 $as_echo_n "(cached) " >&6
5758 if test -n "$DUMPBIN"; then
5759 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5768 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5769 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 DUMPBIN=$ac_cv_prog_DUMPBIN
5779 if test -n "$DUMPBIN"; then
5780 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5781 $as_echo "$DUMPBIN" >&6; }
5783 { $as_echo "$as_me:$LINENO: result: no" >&5
5784 $as_echo "no" >&6; }
5788 test -n "$DUMPBIN" && break
5791 if test -z "$DUMPBIN"; then
5792 ac_ct_DUMPBIN=$DUMPBIN
5793 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy $ac_prog; ac_word=$2
5797 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$ac_ct_DUMPBIN"; then
5803 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5813 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5823 if test -n "$ac_ct_DUMPBIN"; then
5824 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5825 $as_echo "$ac_ct_DUMPBIN" >&6; }
5827 { $as_echo "$as_me:$LINENO: result: no" >&5
5828 $as_echo "no" >&6; }
5832 test -n "$ac_ct_DUMPBIN" && break
5835 if test "x$ac_ct_DUMPBIN" = x; then
5838 case $cross_compiling:$ac_tool_warned in
5840 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5842 ac_tool_warned=yes ;;
5844 DUMPBIN=$ac_ct_DUMPBIN
5849 if test "$DUMPBIN" != ":"; then
5853 test -z "$NM" && NM=nm
5860 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5861 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5862 if test "${lt_cv_nm_interface+set}" = set; then
5863 $as_echo_n "(cached) " >&6
5865 lt_cv_nm_interface="BSD nm"
5866 echo "int some_variable = 0;" > conftest.$ac_ext
5867 (eval echo "\"\$as_me:5867: $ac_compile\"" >&5)
5868 (eval "$ac_compile" 2>conftest.err)
5869 cat conftest.err >&5
5870 (eval echo "\"\$as_me:5870: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5871 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5872 cat conftest.err >&5
5873 (eval echo "\"\$as_me:5873: output\"" >&5)
5874 cat conftest.out >&5
5875 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5876 lt_cv_nm_interface="MS dumpbin"
5880 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5881 $as_echo "$lt_cv_nm_interface" >&6; }
5883 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5884 $as_echo_n "checking whether ln -s works... " >&6; }
5886 if test "$LN_S" = "ln -s"; then
5887 { $as_echo "$as_me:$LINENO: result: yes" >&5
5888 $as_echo "yes" >&6; }
5890 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5891 $as_echo "no, using $LN_S" >&6; }
5894 # find the maximum length of command line arguments
5895 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5896 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5897 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5898 $as_echo_n "(cached) " >&6
5905 # On DJGPP, this test can blow up pretty badly due to problems in libc
5906 # (any single argument exceeding 2000 bytes causes a buffer overrun
5907 # during glob expansion). Even if it were fixed, the result of this
5908 # check would be larger than it should be.
5909 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5913 # Under GNU Hurd, this test is not required because there is
5914 # no limit to the length of command line arguments.
5915 # Libtool will interpret -1 as no limit whatsoever
5916 lt_cv_sys_max_cmd_len=-1;
5919 cygwin* | mingw* | cegcc*)
5920 # On Win9x/ME, this test blows up -- it succeeds, but takes
5921 # about 5 minutes as the teststring grows exponentially.
5922 # Worse, since 9x/ME are not pre-emptively multitasking,
5923 # you end up with a "frozen" computer, even though with patience
5924 # the test eventually succeeds (with a max line length of 256k).
5925 # Instead, let's just punt: use the minimum linelength reported by
5926 # all of the supported platforms: 8192 (on NT/2K/XP).
5927 lt_cv_sys_max_cmd_len=8192;
5931 # On AmigaOS with pdksh, this test takes hours, literally.
5932 # So we just punt and use a minimum line length of 8192.
5933 lt_cv_sys_max_cmd_len=8192;
5936 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5937 # This has been around since 386BSD, at least. Likely further.
5938 if test -x /sbin/sysctl; then
5939 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5940 elif test -x /usr/sbin/sysctl; then
5941 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5943 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5945 # And add a safety zone
5946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5951 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5952 lt_cv_sys_max_cmd_len=196608
5956 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5957 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5958 # nice to cause kernel panics so lets avoid the loop below.
5959 # First set a reasonable default.
5960 lt_cv_sys_max_cmd_len=16384
5962 if test -x /sbin/sysconfig; then
5963 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5964 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5969 lt_cv_sys_max_cmd_len=102400
5971 sysv5* | sco5v6* | sysv4.2uw2*)
5972 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5973 if test -n "$kargmax"; then
5974 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5976 lt_cv_sys_max_cmd_len=32768
5980 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5981 if test -n "$lt_cv_sys_max_cmd_len"; then
5982 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5983 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5985 # Make teststring a little bigger before we do anything with it.
5986 # a 1K string should be a reasonable start.
5987 for i in 1 2 3 4 5 6 7 8 ; do
5988 teststring=$teststring$teststring
5990 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5991 # If test is not a shell built-in, we'll probably end up computing a
5992 # maximum length that is only half of the actual maximum length, but
5994 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5995 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5996 test $i != 17 # 1/2 MB should be enough
5999 teststring=$teststring$teststring
6001 # Only check the string length outside the loop.
6002 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6004 # Add a significant safety factor because C++ compilers can tack on
6005 # massive amounts of additional arguments before passing them to the
6006 # linker. It appears as though 1/2 is a usable value.
6007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6014 if test -n $lt_cv_sys_max_cmd_len ; then
6015 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6016 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6018 { $as_echo "$as_me:$LINENO: result: none" >&5
6019 $as_echo "none" >&6; }
6021 max_cmd_len=$lt_cv_sys_max_cmd_len
6032 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6033 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6034 # Try some XSI features
6037 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6039 && eval 'test $(( 1 + 1 )) -eq 2 \
6040 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6042 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6043 $as_echo "$xsi_shell" >&6; }
6046 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6047 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6049 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6051 && lt_shell_append=yes
6052 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6053 $as_echo "$lt_shell_append" >&6; }
6056 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6066 # test EBCDIC or ASCII
6067 case `echo X|tr X '\101'` in
6068 A) # ASCII based system
6069 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6070 lt_SP2NL='tr \040 \012'
6071 lt_NL2SP='tr \015\012 \040\040'
6073 *) # EBCDIC based system
6074 lt_SP2NL='tr \100 \n'
6075 lt_NL2SP='tr \r\n \100\100'
6087 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6088 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6089 if test "${lt_cv_ld_reload_flag+set}" = set; then
6090 $as_echo_n "(cached) " >&6
6092 lt_cv_ld_reload_flag='-r'
6094 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6095 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6096 reload_flag=$lt_cv_ld_reload_flag
6097 case $reload_flag in
6099 *) reload_flag=" $reload_flag" ;;
6101 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6104 if test "$GCC" = yes; then
6105 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6107 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6120 if test -n "$ac_tool_prefix"; then
6121 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6122 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6123 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6124 $as_echo_n "checking for $ac_word... " >&6; }
6125 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6126 $as_echo_n "(cached) " >&6
6128 if test -n "$OBJDUMP"; then
6129 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6139 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6148 OBJDUMP=$ac_cv_prog_OBJDUMP
6149 if test -n "$OBJDUMP"; then
6150 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6151 $as_echo "$OBJDUMP" >&6; }
6153 { $as_echo "$as_me:$LINENO: result: no" >&5
6154 $as_echo "no" >&6; }
6159 if test -z "$ac_cv_prog_OBJDUMP"; then
6160 ac_ct_OBJDUMP=$OBJDUMP
6161 # Extract the first word of "objdump", so it can be a program name with args.
6162 set dummy objdump; ac_word=$2
6163 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6164 $as_echo_n "checking for $ac_word... " >&6; }
6165 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6166 $as_echo_n "(cached) " >&6
6168 if test -n "$ac_ct_OBJDUMP"; then
6169 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 test -z "$as_dir" && as_dir=.
6176 for ac_exec_ext in '' $ac_executable_extensions; do
6177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6179 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6188 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6189 if test -n "$ac_ct_OBJDUMP"; then
6190 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6191 $as_echo "$ac_ct_OBJDUMP" >&6; }
6193 { $as_echo "$as_me:$LINENO: result: no" >&5
6194 $as_echo "no" >&6; }
6197 if test "x$ac_ct_OBJDUMP" = x; then
6200 case $cross_compiling:$ac_tool_warned in
6202 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6204 ac_tool_warned=yes ;;
6206 OBJDUMP=$ac_ct_OBJDUMP
6209 OBJDUMP="$ac_cv_prog_OBJDUMP"
6212 test -z "$OBJDUMP" && OBJDUMP=objdump
6219 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6220 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6221 if test "${lt_cv_deplibs_check_method+set}" = set; then
6222 $as_echo_n "(cached) " >&6
6224 lt_cv_file_magic_cmd='$MAGIC_CMD'
6225 lt_cv_file_magic_test_file=
6226 lt_cv_deplibs_check_method='unknown'
6227 # Need to set the preceding variable on all platforms that support
6228 # interlibrary dependencies.
6229 # 'none' -- dependencies not supported.
6230 # `unknown' -- same as none, but documents that we really don't know.
6231 # 'pass_all' -- all dependencies passed with no checks.
6232 # 'test_compile' -- check by making test program.
6233 # 'file_magic [[regex]]' -- check by looking for files in library path
6234 # which responds to the $file_magic_cmd with a given extended regex.
6235 # If you have `file' or equivalent on your system and you're not sure
6236 # whether `pass_all' will *always* work, you probably want this one.
6240 lt_cv_deplibs_check_method=pass_all
6244 lt_cv_deplibs_check_method=pass_all
6248 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6249 lt_cv_file_magic_cmd='/usr/bin/file -L'
6250 lt_cv_file_magic_test_file=/shlib/libc.so
6254 # func_win32_libid is a shell function defined in ltmain.sh
6255 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6256 lt_cv_file_magic_cmd='func_win32_libid'
6260 # Base MSYS/MinGW do not provide the 'file' command needed by
6261 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6262 # unless we find 'file', for example because we are cross-compiling.
6263 if ( file / ) >/dev/null 2>&1; then
6264 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6265 lt_cv_file_magic_cmd='func_win32_libid'
6267 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6268 lt_cv_file_magic_cmd='$OBJDUMP -f'
6273 # use the weaker test based on 'objdump'. See mingw*.
6274 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6275 lt_cv_file_magic_cmd='$OBJDUMP -f'
6278 darwin* | rhapsody*)
6279 lt_cv_deplibs_check_method=pass_all
6282 freebsd* | dragonfly*)
6283 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6286 # Not sure whether the presence of OpenBSD here was a mistake.
6287 # Let's accept both of them until this is cleared up.
6288 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6289 lt_cv_file_magic_cmd=/usr/bin/file
6290 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6294 lt_cv_deplibs_check_method=pass_all
6299 lt_cv_deplibs_check_method=pass_all
6302 hpux10.20* | hpux11*)
6303 lt_cv_file_magic_cmd=/usr/bin/file
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6307 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6310 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]'
6311 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6314 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6315 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6321 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6322 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6325 irix5* | irix6* | nonstopux*)
6327 *-32|*"-32 ") libmagic=32-bit;;
6328 *-n32|*"-n32 ") libmagic=N32;;
6329 *-64|*"-64 ") libmagic=64-bit;;
6330 *) libmagic=never-match;;
6332 lt_cv_deplibs_check_method=pass_all
6335 # This must be Linux ELF.
6336 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6337 lt_cv_deplibs_check_method=pass_all
6341 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6342 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6344 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6349 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6350 lt_cv_file_magic_cmd=/usr/bin/file
6351 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6355 lt_cv_deplibs_check_method=pass_all
6359 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6360 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6362 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6366 osf3* | osf4* | osf5*)
6367 lt_cv_deplibs_check_method=pass_all
6371 lt_cv_deplibs_check_method=pass_all
6375 lt_cv_deplibs_check_method=pass_all
6378 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6379 lt_cv_deplibs_check_method=pass_all
6383 case $host_vendor in
6385 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]'
6386 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6389 lt_cv_deplibs_check_method=pass_all
6392 lt_cv_file_magic_cmd='/bin/file'
6393 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6396 lt_cv_file_magic_cmd='/bin/file'
6397 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6398 lt_cv_file_magic_test_file=/lib/libc.so
6401 lt_cv_deplibs_check_method=pass_all
6404 lt_cv_deplibs_check_method=pass_all
6410 lt_cv_deplibs_check_method=pass_all
6415 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6416 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6417 file_magic_cmd=$lt_cv_file_magic_cmd
6418 deplibs_check_method=$lt_cv_deplibs_check_method
6419 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6432 if test -n "$ac_tool_prefix"; then
6433 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6434 set dummy ${ac_tool_prefix}ar; ac_word=$2
6435 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6436 $as_echo_n "checking for $ac_word... " >&6; }
6437 if test "${ac_cv_prog_AR+set}" = set; then
6438 $as_echo_n "(cached) " >&6
6440 if test -n "$AR"; then
6441 ac_cv_prog_AR="$AR" # Let the user override the test.
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447 test -z "$as_dir" && as_dir=.
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6450 ac_cv_prog_AR="${ac_tool_prefix}ar"
6451 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6461 if test -n "$AR"; then
6462 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6463 $as_echo "$AR" >&6; }
6465 { $as_echo "$as_me:$LINENO: result: no" >&5
6466 $as_echo "no" >&6; }
6471 if test -z "$ac_cv_prog_AR"; then
6473 # Extract the first word of "ar", so it can be a program name with args.
6474 set dummy ar; ac_word=$2
6475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6476 $as_echo_n "checking for $ac_word... " >&6; }
6477 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6478 $as_echo_n "(cached) " >&6
6480 if test -n "$ac_ct_AR"; then
6481 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 test -z "$as_dir" && as_dir=.
6488 for ac_exec_ext in '' $ac_executable_extensions; do
6489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6490 ac_cv_prog_ac_ct_AR="ar"
6491 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6501 if test -n "$ac_ct_AR"; then
6502 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6503 $as_echo "$ac_ct_AR" >&6; }
6505 { $as_echo "$as_me:$LINENO: result: no" >&5
6506 $as_echo "no" >&6; }
6509 if test "x$ac_ct_AR" = x; then
6512 case $cross_compiling:$ac_tool_warned in
6514 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6516 ac_tool_warned=yes ;;
6524 test -z "$AR" && AR=ar
6525 test -z "$AR_FLAGS" && AR_FLAGS=cru
6537 if test -n "$ac_tool_prefix"; then
6538 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6539 set dummy ${ac_tool_prefix}strip; ac_word=$2
6540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6541 $as_echo_n "checking for $ac_word... " >&6; }
6542 if test "${ac_cv_prog_STRIP+set}" = set; then
6543 $as_echo_n "(cached) " >&6
6545 if test -n "$STRIP"; then
6546 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 test -z "$as_dir" && as_dir=.
6553 for ac_exec_ext in '' $ac_executable_extensions; do
6554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6565 STRIP=$ac_cv_prog_STRIP
6566 if test -n "$STRIP"; then
6567 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6568 $as_echo "$STRIP" >&6; }
6570 { $as_echo "$as_me:$LINENO: result: no" >&5
6571 $as_echo "no" >&6; }
6576 if test -z "$ac_cv_prog_STRIP"; then
6578 # Extract the first word of "strip", so it can be a program name with args.
6579 set dummy strip; ac_word=$2
6580 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6581 $as_echo_n "checking for $ac_word... " >&6; }
6582 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6583 $as_echo_n "(cached) " >&6
6585 if test -n "$ac_ct_STRIP"; then
6586 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6595 ac_cv_prog_ac_ct_STRIP="strip"
6596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6606 if test -n "$ac_ct_STRIP"; then
6607 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6608 $as_echo "$ac_ct_STRIP" >&6; }
6610 { $as_echo "$as_me:$LINENO: result: no" >&5
6611 $as_echo "no" >&6; }
6614 if test "x$ac_ct_STRIP" = x; then
6617 case $cross_compiling:$ac_tool_warned in
6619 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6621 ac_tool_warned=yes ;;
6626 STRIP="$ac_cv_prog_STRIP"
6629 test -z "$STRIP" && STRIP=:
6636 if test -n "$ac_tool_prefix"; then
6637 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6638 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6639 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6640 $as_echo_n "checking for $ac_word... " >&6; }
6641 if test "${ac_cv_prog_RANLIB+set}" = set; then
6642 $as_echo_n "(cached) " >&6
6644 if test -n "$RANLIB"; then
6645 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 test -z "$as_dir" && as_dir=.
6652 for ac_exec_ext in '' $ac_executable_extensions; do
6653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6655 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 RANLIB=$ac_cv_prog_RANLIB
6665 if test -n "$RANLIB"; then
6666 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6667 $as_echo "$RANLIB" >&6; }
6669 { $as_echo "$as_me:$LINENO: result: no" >&5
6670 $as_echo "no" >&6; }
6675 if test -z "$ac_cv_prog_RANLIB"; then
6676 ac_ct_RANLIB=$RANLIB
6677 # Extract the first word of "ranlib", so it can be a program name with args.
6678 set dummy ranlib; ac_word=$2
6679 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6682 $as_echo_n "(cached) " >&6
6684 if test -n "$ac_ct_RANLIB"; then
6685 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694 ac_cv_prog_ac_ct_RANLIB="ranlib"
6695 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6705 if test -n "$ac_ct_RANLIB"; then
6706 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6707 $as_echo "$ac_ct_RANLIB" >&6; }
6709 { $as_echo "$as_me:$LINENO: result: no" >&5
6710 $as_echo "no" >&6; }
6713 if test "x$ac_ct_RANLIB" = x; then
6716 case $cross_compiling:$ac_tool_warned in
6718 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720 ac_tool_warned=yes ;;
6722 RANLIB=$ac_ct_RANLIB
6725 RANLIB="$ac_cv_prog_RANLIB"
6728 test -z "$RANLIB" && RANLIB=:
6735 # Determine commands to create old-style static archives.
6736 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6737 old_postinstall_cmds='chmod 644 $oldlib'
6738 old_postuninstall_cmds=
6740 if test -n "$RANLIB"; then
6743 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6746 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6749 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6785 # If no C compiler was specified, use CC.
6788 # If no C compiler flags were specified, use CFLAGS.
6789 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6791 # Allow CC to be a program name with arguments.
6795 # Check for command to grab the raw symbol name followed by C symbol from nm.
6796 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6797 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6798 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6799 $as_echo_n "(cached) " >&6
6802 # These are sane defaults that work on at least a few old systems.
6803 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6805 # Character class describing NM global symbol codes.
6806 symcode='[BCDEGRST]'
6808 # Regexp to match symbols that can be accessed directly from C.
6809 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6811 # Define system-specific variables.
6816 cygwin* | mingw* | pw32* | cegcc*)
6817 symcode='[ABCDGISTW]'
6820 if test "$host_cpu" = ia64; then
6821 symcode='[ABCDEGRST]'
6825 symcode='[BCDEGRST]'
6828 symcode='[BCDEGQRST]'
6839 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6847 # If we're using GNU nm, then use its standard symbol codes.
6848 case `$NM -V 2>&1` in
6849 *GNU* | *'with BFD'*)
6850 symcode='[ABCDGIRSTW]' ;;
6853 # Transform an extracted symbol line into a proper C declaration.
6854 # Some systems (esp. on ia64) link data and code symbols differently,
6855 # so use this general approach.
6856 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6858 # Transform an extracted symbol line into symbol name and symbol address
6859 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6860 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'"
6862 # Handle CRLF in mingw tool chain
6866 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6870 # Try without a prefix underscore, then with it.
6871 for ac_symprfx in "" "_"; do
6873 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6874 symxfrm="\\1 $ac_symprfx\\2 \\2"
6876 # Write the raw and C identifiers.
6877 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6878 # Fake it for dumpbin and say T for any non-static function
6879 # and D for any global variable.
6880 # Also find C++ and __fastcall symbols from MSVC++,
6881 # which start with @ or ?.
6882 lt_cv_sys_global_symbol_pipe="$AWK '"\
6883 " {last_section=section; section=\$ 3};"\
6884 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6885 " \$ 0!~/External *\|/{next};"\
6886 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6887 " {if(hide[section]) next};"\
6888 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6889 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6890 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6891 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6892 " ' prfx=^$ac_symprfx"
6894 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6897 # Check to see that the pipe works correctly.
6901 cat > conftest.$ac_ext <<_LT_EOF
6906 void nm_test_func(void);
6907 void nm_test_func(void){}
6911 int main(){nm_test_var='a';nm_test_func();return(0);}
6914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6915 (eval $ac_compile) 2>&5
6917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); }; then
6919 # Now try to grab the symbols.
6921 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6922 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); } && test -s "$nlist"; then
6926 # Try sorting and uniquifying the output.
6927 if sort "$nlist" | uniq > "$nlist"T; then
6928 mv -f "$nlist"T "$nlist"
6933 # Make sure that we snagged all the symbols we need.
6934 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6935 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6936 cat <<_LT_EOF > conftest.$ac_ext
6942 # Now generate the symbol file.
6943 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6945 cat <<_LT_EOF >> conftest.$ac_ext
6947 /* The mapping between symbol names and symbols. */
6952 lt__PROGRAM__LTX_preloaded_symbols[] =
6954 { "@PROGRAM@", (void *) 0 },
6956 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6957 cat <<\_LT_EOF >> conftest.$ac_ext
6961 /* This works around a problem in FreeBSD linker */
6962 #ifdef FREEBSD_WORKAROUND
6963 static const void *lt_preloaded_setup() {
6964 return lt__PROGRAM__LTX_preloaded_symbols;
6972 # Now try linking the two files.
6973 mv conftest.$ac_objext conftstm.$ac_objext
6974 lt_save_LIBS="$LIBS"
6975 lt_save_CFLAGS="$CFLAGS"
6976 LIBS="conftstm.$ac_objext"
6977 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6979 (eval $ac_link) 2>&5
6981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6985 LIBS="$lt_save_LIBS"
6986 CFLAGS="$lt_save_CFLAGS"
6988 echo "cannot find nm_test_func in $nlist" >&5
6991 echo "cannot find nm_test_var in $nlist" >&5
6994 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6997 echo "$progname: failed program was:" >&5
6998 cat conftest.$ac_ext >&5
7000 rm -rf conftest* conftst*
7002 # Do not use the global_symbol_pipe unless it works.
7003 if test "$pipe_works" = yes; then
7006 lt_cv_sys_global_symbol_pipe=
7012 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7013 lt_cv_sys_global_symbol_to_cdecl=
7015 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7016 { $as_echo "$as_me:$LINENO: result: failed" >&5
7017 $as_echo "failed" >&6; }
7019 { $as_echo "$as_me:$LINENO: result: ok" >&5
7020 $as_echo "ok" >&6; }
7045 # Check whether --enable-libtool-lock was given.
7046 if test "${enable_libtool_lock+set}" = set; then
7047 enableval=$enable_libtool_lock;
7050 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7052 # Some flags need to be propagated to the compiler or linker for good
7056 # Find out which ABI we are using.
7057 echo 'int i;' > conftest.$ac_ext
7058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7059 (eval $ac_compile) 2>&5
7061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); }; then
7063 case `/usr/bin/file conftest.$ac_objext` in
7075 # Find out which ABI we are using.
7076 echo '#line 7076 "configure"' > conftest.$ac_ext
7077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7078 (eval $ac_compile) 2>&5
7080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; then
7082 if test "$lt_cv_prog_gnu_ld" = yes; then
7083 case `/usr/bin/file conftest.$ac_objext` in
7085 LD="${LD-ld} -melf32bsmip"
7088 LD="${LD-ld} -melf32bmipn32"
7091 LD="${LD-ld} -melf64bmip"
7095 case `/usr/bin/file conftest.$ac_objext` in
7111 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7112 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7113 # Find out which ABI we are using.
7114 echo 'int i;' > conftest.$ac_ext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7116 (eval $ac_compile) 2>&5
7118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; then
7120 case `/usr/bin/file conftest.o` in
7123 x86_64-*kfreebsd*-gnu)
7124 LD="${LD-ld} -m elf_i386_fbsd"
7127 LD="${LD-ld} -m elf_i386"
7129 ppc64-*linux*|powerpc64-*linux*)
7130 LD="${LD-ld} -m elf32ppclinux"
7133 LD="${LD-ld} -m elf_s390"
7136 LD="${LD-ld} -m elf32_sparc"
7142 x86_64-*kfreebsd*-gnu)
7143 LD="${LD-ld} -m elf_x86_64_fbsd"
7146 LD="${LD-ld} -m elf_x86_64"
7148 ppc*-*linux*|powerpc*-*linux*)
7149 LD="${LD-ld} -m elf64ppc"
7151 s390*-*linux*|s390*-*tpf*)
7152 LD="${LD-ld} -m elf64_s390"
7155 LD="${LD-ld} -m elf64_sparc"
7165 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7166 SAVE_CFLAGS="$CFLAGS"
7167 CFLAGS="$CFLAGS -belf"
7168 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7169 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7170 if test "${lt_cv_cc_needs_belf+set}" = set; then
7171 $as_echo_n "(cached) " >&6
7174 ac_cpp='$CPP $CPPFLAGS'
7175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7179 cat >conftest.$ac_ext <<_ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7194 rm -f conftest.$ac_objext conftest$ac_exeext
7195 if { (ac_try="$ac_link"
7197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7198 *) ac_try_echo=$ac_try;;
7200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7201 $as_echo "$ac_try_echo") >&5
7202 (eval "$ac_link") 2>conftest.er1
7204 grep -v '^ *+' conftest.er1 >conftest.err
7206 cat conftest.err >&5
7207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); } && {
7209 test -z "$ac_c_werror_flag" ||
7210 test ! -s conftest.err
7211 } && test -s conftest$ac_exeext && {
7212 test "$cross_compiling" = yes ||
7213 $as_test_x conftest$ac_exeext
7215 lt_cv_cc_needs_belf=yes
7217 $as_echo "$as_me: failed program was:" >&5
7218 sed 's/^/| /' conftest.$ac_ext >&5
7220 lt_cv_cc_needs_belf=no
7223 rm -rf conftest.dSYM
7224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7225 conftest$ac_exeext conftest.$ac_ext
7227 ac_cpp='$CPP $CPPFLAGS'
7228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7233 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7234 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7235 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7236 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7237 CFLAGS="$SAVE_CFLAGS"
7241 # Find out which ABI we are using.
7242 echo 'int i;' > conftest.$ac_ext
7243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7244 (eval $ac_compile) 2>&5
7246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); }; then
7248 case `/usr/bin/file conftest.o` in
7250 case $lt_cv_prog_gnu_ld in
7251 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7253 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7265 need_locks="$enable_libtool_lock"
7269 rhapsody* | darwin*)
7270 if test -n "$ac_tool_prefix"; then
7271 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7272 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7273 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7276 $as_echo_n "(cached) " >&6
7278 if test -n "$DSYMUTIL"; then
7279 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7289 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7298 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7299 if test -n "$DSYMUTIL"; then
7300 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7301 $as_echo "$DSYMUTIL" >&6; }
7303 { $as_echo "$as_me:$LINENO: result: no" >&5
7304 $as_echo "no" >&6; }
7309 if test -z "$ac_cv_prog_DSYMUTIL"; then
7310 ac_ct_DSYMUTIL=$DSYMUTIL
7311 # Extract the first word of "dsymutil", so it can be a program name with args.
7312 set dummy dsymutil; ac_word=$2
7313 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7314 $as_echo_n "checking for $ac_word... " >&6; }
7315 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7316 $as_echo_n "(cached) " >&6
7318 if test -n "$ac_ct_DSYMUTIL"; then
7319 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7325 test -z "$as_dir" && as_dir=.
7326 for ac_exec_ext in '' $ac_executable_extensions; do
7327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7328 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7329 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7338 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7339 if test -n "$ac_ct_DSYMUTIL"; then
7340 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7341 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7343 { $as_echo "$as_me:$LINENO: result: no" >&5
7344 $as_echo "no" >&6; }
7347 if test "x$ac_ct_DSYMUTIL" = x; then
7350 case $cross_compiling:$ac_tool_warned in
7352 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7354 ac_tool_warned=yes ;;
7356 DSYMUTIL=$ac_ct_DSYMUTIL
7359 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7362 if test -n "$ac_tool_prefix"; then
7363 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7364 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7368 $as_echo_n "(cached) " >&6
7370 if test -n "$NMEDIT"; then
7371 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7381 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7390 NMEDIT=$ac_cv_prog_NMEDIT
7391 if test -n "$NMEDIT"; then
7392 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7393 $as_echo "$NMEDIT" >&6; }
7395 { $as_echo "$as_me:$LINENO: result: no" >&5
7396 $as_echo "no" >&6; }
7401 if test -z "$ac_cv_prog_NMEDIT"; then
7402 ac_ct_NMEDIT=$NMEDIT
7403 # Extract the first word of "nmedit", so it can be a program name with args.
7404 set dummy nmedit; ac_word=$2
7405 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7406 $as_echo_n "checking for $ac_word... " >&6; }
7407 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7408 $as_echo_n "(cached) " >&6
7410 if test -n "$ac_ct_NMEDIT"; then
7411 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7417 test -z "$as_dir" && as_dir=.
7418 for ac_exec_ext in '' $ac_executable_extensions; do
7419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7420 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7421 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7430 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7431 if test -n "$ac_ct_NMEDIT"; then
7432 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7433 $as_echo "$ac_ct_NMEDIT" >&6; }
7435 { $as_echo "$as_me:$LINENO: result: no" >&5
7436 $as_echo "no" >&6; }
7439 if test "x$ac_ct_NMEDIT" = x; then
7442 case $cross_compiling:$ac_tool_warned in
7444 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7446 ac_tool_warned=yes ;;
7448 NMEDIT=$ac_ct_NMEDIT
7451 NMEDIT="$ac_cv_prog_NMEDIT"
7454 if test -n "$ac_tool_prefix"; then
7455 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7456 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7457 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if test "${ac_cv_prog_LIPO+set}" = set; then
7460 $as_echo_n "(cached) " >&6
7462 if test -n "$LIPO"; then
7463 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7473 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7482 LIPO=$ac_cv_prog_LIPO
7483 if test -n "$LIPO"; then
7484 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7485 $as_echo "$LIPO" >&6; }
7487 { $as_echo "$as_me:$LINENO: result: no" >&5
7488 $as_echo "no" >&6; }
7493 if test -z "$ac_cv_prog_LIPO"; then
7495 # Extract the first word of "lipo", so it can be a program name with args.
7496 set dummy lipo; ac_word=$2
7497 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7498 $as_echo_n "checking for $ac_word... " >&6; }
7499 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7500 $as_echo_n "(cached) " >&6
7502 if test -n "$ac_ct_LIPO"; then
7503 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7509 test -z "$as_dir" && as_dir=.
7510 for ac_exec_ext in '' $ac_executable_extensions; do
7511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7512 ac_cv_prog_ac_ct_LIPO="lipo"
7513 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7522 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7523 if test -n "$ac_ct_LIPO"; then
7524 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7525 $as_echo "$ac_ct_LIPO" >&6; }
7527 { $as_echo "$as_me:$LINENO: result: no" >&5
7528 $as_echo "no" >&6; }
7531 if test "x$ac_ct_LIPO" = x; then
7534 case $cross_compiling:$ac_tool_warned in
7536 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7538 ac_tool_warned=yes ;;
7543 LIPO="$ac_cv_prog_LIPO"
7546 if test -n "$ac_tool_prefix"; then
7547 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7548 set dummy ${ac_tool_prefix}otool; ac_word=$2
7549 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_OTOOL+set}" = set; then
7552 $as_echo_n "(cached) " >&6
7554 if test -n "$OTOOL"; then
7555 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7565 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7574 OTOOL=$ac_cv_prog_OTOOL
7575 if test -n "$OTOOL"; then
7576 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7577 $as_echo "$OTOOL" >&6; }
7579 { $as_echo "$as_me:$LINENO: result: no" >&5
7580 $as_echo "no" >&6; }
7585 if test -z "$ac_cv_prog_OTOOL"; then
7587 # Extract the first word of "otool", so it can be a program name with args.
7588 set dummy otool; ac_word=$2
7589 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7592 $as_echo_n "(cached) " >&6
7594 if test -n "$ac_ct_OTOOL"; then
7595 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7601 test -z "$as_dir" && as_dir=.
7602 for ac_exec_ext in '' $ac_executable_extensions; do
7603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7604 ac_cv_prog_ac_ct_OTOOL="otool"
7605 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7614 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7615 if test -n "$ac_ct_OTOOL"; then
7616 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7617 $as_echo "$ac_ct_OTOOL" >&6; }
7619 { $as_echo "$as_me:$LINENO: result: no" >&5
7620 $as_echo "no" >&6; }
7623 if test "x$ac_ct_OTOOL" = x; then
7626 case $cross_compiling:$ac_tool_warned in
7628 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7630 ac_tool_warned=yes ;;
7635 OTOOL="$ac_cv_prog_OTOOL"
7638 if test -n "$ac_tool_prefix"; then
7639 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7640 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7641 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7644 $as_echo_n "(cached) " >&6
7646 if test -n "$OTOOL64"; then
7647 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7657 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7666 OTOOL64=$ac_cv_prog_OTOOL64
7667 if test -n "$OTOOL64"; then
7668 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7669 $as_echo "$OTOOL64" >&6; }
7671 { $as_echo "$as_me:$LINENO: result: no" >&5
7672 $as_echo "no" >&6; }
7677 if test -z "$ac_cv_prog_OTOOL64"; then
7678 ac_ct_OTOOL64=$OTOOL64
7679 # Extract the first word of "otool64", so it can be a program name with args.
7680 set dummy otool64; ac_word=$2
7681 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7682 $as_echo_n "checking for $ac_word... " >&6; }
7683 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7684 $as_echo_n "(cached) " >&6
7686 if test -n "$ac_ct_OTOOL64"; then
7687 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7693 test -z "$as_dir" && as_dir=.
7694 for ac_exec_ext in '' $ac_executable_extensions; do
7695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7696 ac_cv_prog_ac_ct_OTOOL64="otool64"
7697 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7706 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7707 if test -n "$ac_ct_OTOOL64"; then
7708 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7709 $as_echo "$ac_ct_OTOOL64" >&6; }
7711 { $as_echo "$as_me:$LINENO: result: no" >&5
7712 $as_echo "no" >&6; }
7715 if test "x$ac_ct_OTOOL64" = x; then
7718 case $cross_compiling:$ac_tool_warned in
7720 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7722 ac_tool_warned=yes ;;
7724 OTOOL64=$ac_ct_OTOOL64
7727 OTOOL64="$ac_cv_prog_OTOOL64"
7756 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7757 $as_echo_n "checking for -single_module linker flag... " >&6; }
7758 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7759 $as_echo_n "(cached) " >&6
7761 lt_cv_apple_cc_single_mod=no
7762 if test -z "${LT_MULTI_MODULE}"; then
7763 # By default we will add the -single_module flag. You can override
7764 # by either setting the environment variable LT_MULTI_MODULE
7765 # non-empty at configure time, or by adding -multi_module to the
7767 rm -rf libconftest.dylib*
7768 echo "int foo(void){return 1;}" > conftest.c
7769 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7770 -dynamiclib -Wl,-single_module conftest.c" >&5
7771 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7772 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7774 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7775 lt_cv_apple_cc_single_mod=yes
7777 cat conftest.err >&5
7779 rm -rf libconftest.dylib*
7783 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7784 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7785 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7786 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7787 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7788 $as_echo_n "(cached) " >&6
7790 lt_cv_ld_exported_symbols_list=no
7791 save_LDFLAGS=$LDFLAGS
7792 echo "_main" > conftest.sym
7793 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7794 cat >conftest.$ac_ext <<_ACEOF
7797 cat confdefs.h >>conftest.$ac_ext
7798 cat >>conftest.$ac_ext <<_ACEOF
7799 /* end confdefs.h. */
7809 rm -f conftest.$ac_objext conftest$ac_exeext
7810 if { (ac_try="$ac_link"
7812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7813 *) ac_try_echo=$ac_try;;
7815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7816 $as_echo "$ac_try_echo") >&5
7817 (eval "$ac_link") 2>conftest.er1
7819 grep -v '^ *+' conftest.er1 >conftest.err
7821 cat conftest.err >&5
7822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); } && {
7824 test -z "$ac_c_werror_flag" ||
7825 test ! -s conftest.err
7826 } && test -s conftest$ac_exeext && {
7827 test "$cross_compiling" = yes ||
7828 $as_test_x conftest$ac_exeext
7830 lt_cv_ld_exported_symbols_list=yes
7832 $as_echo "$as_me: failed program was:" >&5
7833 sed 's/^/| /' conftest.$ac_ext >&5
7835 lt_cv_ld_exported_symbols_list=no
7838 rm -rf conftest.dSYM
7839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7840 conftest$ac_exeext conftest.$ac_ext
7841 LDFLAGS="$save_LDFLAGS"
7844 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7845 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7847 rhapsody* | darwin1.[012])
7848 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7850 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7851 darwin*) # darwin 5.x on
7852 # if running on 10.5 or later, the deployment target defaults
7853 # to the OS version, if on x86, and 10.4, the deployment
7854 # target defaults to 10.4. Don't you love it?
7855 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7856 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7857 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7859 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7861 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7865 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7866 _lt_dar_single_mod='$single_module'
7868 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7869 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7871 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7873 if test "$DSYMUTIL" != ":"; then
7874 _lt_dsymutil='~$DSYMUTIL $lib || :'
7882 ac_cpp='$CPP $CPPFLAGS'
7883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7886 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7887 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7888 # On Suns, sometimes $CPP names a directory.
7889 if test -n "$CPP" && test -d "$CPP"; then
7892 if test -z "$CPP"; then
7893 if test "${ac_cv_prog_CPP+set}" = set; then
7894 $as_echo_n "(cached) " >&6
7896 # Double quotes because CPP needs to be expanded
7897 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7900 for ac_c_preproc_warn_flag in '' yes
7902 # Use a header file that comes with gcc, so configuring glibc
7903 # with a fresh cross-compiler works.
7904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7905 # <limits.h> exists even on freestanding compilers.
7906 # On the NeXT, cc -E runs the code through the compiler's parser,
7907 # not just through cpp. "Syntax error" is here to catch this case.
7908 cat >conftest.$ac_ext <<_ACEOF
7911 cat confdefs.h >>conftest.$ac_ext
7912 cat >>conftest.$ac_ext <<_ACEOF
7913 /* end confdefs.h. */
7915 # include <limits.h>
7917 # include <assert.h>
7921 if { (ac_try="$ac_cpp conftest.$ac_ext"
7923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7924 *) ac_try_echo=$ac_try;;
7926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7927 $as_echo "$ac_try_echo") >&5
7928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7930 grep -v '^ *+' conftest.er1 >conftest.err
7932 cat conftest.err >&5
7933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } >/dev/null && {
7935 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7936 test ! -s conftest.err
7940 $as_echo "$as_me: failed program was:" >&5
7941 sed 's/^/| /' conftest.$ac_ext >&5
7943 # Broken: fails on valid input.
7947 rm -f conftest.err conftest.$ac_ext
7949 # OK, works on sane cases. Now check whether nonexistent headers
7950 # can be detected and how.
7951 cat >conftest.$ac_ext <<_ACEOF
7954 cat confdefs.h >>conftest.$ac_ext
7955 cat >>conftest.$ac_ext <<_ACEOF
7956 /* end confdefs.h. */
7957 #include <ac_nonexistent.h>
7959 if { (ac_try="$ac_cpp conftest.$ac_ext"
7961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7962 *) ac_try_echo=$ac_try;;
7964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7965 $as_echo "$ac_try_echo") >&5
7966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7968 grep -v '^ *+' conftest.er1 >conftest.err
7970 cat conftest.err >&5
7971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); } >/dev/null && {
7973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7974 test ! -s conftest.err
7976 # Broken: success on invalid input.
7979 $as_echo "$as_me: failed program was:" >&5
7980 sed 's/^/| /' conftest.$ac_ext >&5
7982 # Passes both tests.
7987 rm -f conftest.err conftest.$ac_ext
7990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7991 rm -f conftest.err conftest.$ac_ext
7992 if $ac_preproc_ok; then
8004 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
8005 $as_echo "$CPP" >&6; }
8007 for ac_c_preproc_warn_flag in '' yes
8009 # Use a header file that comes with gcc, so configuring glibc
8010 # with a fresh cross-compiler works.
8011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8012 # <limits.h> exists even on freestanding compilers.
8013 # On the NeXT, cc -E runs the code through the compiler's parser,
8014 # not just through cpp. "Syntax error" is here to catch this case.
8015 cat >conftest.$ac_ext <<_ACEOF
8018 cat confdefs.h >>conftest.$ac_ext
8019 cat >>conftest.$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8022 # include <limits.h>
8024 # include <assert.h>
8028 if { (ac_try="$ac_cpp conftest.$ac_ext"
8030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8031 *) ac_try_echo=$ac_try;;
8033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8034 $as_echo "$ac_try_echo") >&5
8035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8037 grep -v '^ *+' conftest.er1 >conftest.err
8039 cat conftest.err >&5
8040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 (exit $ac_status); } >/dev/null && {
8042 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8043 test ! -s conftest.err
8047 $as_echo "$as_me: failed program was:" >&5
8048 sed 's/^/| /' conftest.$ac_ext >&5
8050 # Broken: fails on valid input.
8054 rm -f conftest.err conftest.$ac_ext
8056 # OK, works on sane cases. Now check whether nonexistent headers
8057 # can be detected and how.
8058 cat >conftest.$ac_ext <<_ACEOF
8061 cat confdefs.h >>conftest.$ac_ext
8062 cat >>conftest.$ac_ext <<_ACEOF
8063 /* end confdefs.h. */
8064 #include <ac_nonexistent.h>
8066 if { (ac_try="$ac_cpp conftest.$ac_ext"
8068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8069 *) ac_try_echo=$ac_try;;
8071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8072 $as_echo "$ac_try_echo") >&5
8073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8075 grep -v '^ *+' conftest.er1 >conftest.err
8077 cat conftest.err >&5
8078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); } >/dev/null && {
8080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8081 test ! -s conftest.err
8083 # Broken: success on invalid input.
8086 $as_echo "$as_me: failed program was:" >&5
8087 sed 's/^/| /' conftest.$ac_ext >&5
8089 # Passes both tests.
8094 rm -f conftest.err conftest.$ac_ext
8097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8098 rm -f conftest.err conftest.$ac_ext
8099 if $ac_preproc_ok; then
8102 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8104 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
8105 See \`config.log' for more details." >&5
8106 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
8107 See \`config.log' for more details." >&2;}
8108 { (exit 1); exit 1; }; }; }
8112 ac_cpp='$CPP $CPPFLAGS'
8113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8118 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8119 $as_echo_n "checking for ANSI C header files... " >&6; }
8120 if test "${ac_cv_header_stdc+set}" = set; then
8121 $as_echo_n "(cached) " >&6
8123 cat >conftest.$ac_ext <<_ACEOF
8126 cat confdefs.h >>conftest.$ac_ext
8127 cat >>conftest.$ac_ext <<_ACEOF
8128 /* end confdefs.h. */
8142 rm -f conftest.$ac_objext
8143 if { (ac_try="$ac_compile"
8145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8146 *) ac_try_echo=$ac_try;;
8148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8149 $as_echo "$ac_try_echo") >&5
8150 (eval "$ac_compile") 2>conftest.er1
8152 grep -v '^ *+' conftest.er1 >conftest.err
8154 cat conftest.err >&5
8155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } && {
8157 test -z "$ac_c_werror_flag" ||
8158 test ! -s conftest.err
8159 } && test -s conftest.$ac_objext; then
8160 ac_cv_header_stdc=yes
8162 $as_echo "$as_me: failed program was:" >&5
8163 sed 's/^/| /' conftest.$ac_ext >&5
8165 ac_cv_header_stdc=no
8168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8170 if test $ac_cv_header_stdc = yes; then
8171 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8172 cat >conftest.$ac_ext <<_ACEOF
8175 cat confdefs.h >>conftest.$ac_ext
8176 cat >>conftest.$ac_ext <<_ACEOF
8177 /* end confdefs.h. */
8181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8182 $EGREP "memchr" >/dev/null 2>&1; then
8185 ac_cv_header_stdc=no
8191 if test $ac_cv_header_stdc = yes; then
8192 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8193 cat >conftest.$ac_ext <<_ACEOF
8196 cat confdefs.h >>conftest.$ac_ext
8197 cat >>conftest.$ac_ext <<_ACEOF
8198 /* end confdefs.h. */
8202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8203 $EGREP "free" >/dev/null 2>&1; then
8206 ac_cv_header_stdc=no
8212 if test $ac_cv_header_stdc = yes; then
8213 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8214 if test "$cross_compiling" = yes; then
8217 cat >conftest.$ac_ext <<_ACEOF
8220 cat confdefs.h >>conftest.$ac_ext
8221 cat >>conftest.$ac_ext <<_ACEOF
8222 /* end confdefs.h. */
8225 #if ((' ' & 0x0FF) == 0x020)
8226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8229 # define ISLOWER(c) \
8230 (('a' <= (c) && (c) <= 'i') \
8231 || ('j' <= (c) && (c) <= 'r') \
8232 || ('s' <= (c) && (c) <= 'z'))
8233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8241 for (i = 0; i < 256; i++)
8242 if (XOR (islower (i), ISLOWER (i))
8243 || toupper (i) != TOUPPER (i))
8248 rm -f conftest$ac_exeext
8249 if { (ac_try="$ac_link"
8251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8252 *) ac_try_echo=$ac_try;;
8254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8255 $as_echo "$ac_try_echo") >&5
8256 (eval "$ac_link") 2>&5
8258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8260 { (case "(($ac_try" in
8261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8262 *) ac_try_echo=$ac_try;;
8264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8265 $as_echo "$ac_try_echo") >&5
8266 (eval "$ac_try") 2>&5
8268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); }; }; then
8272 $as_echo "$as_me: program exited with status $ac_status" >&5
8273 $as_echo "$as_me: failed program was:" >&5
8274 sed 's/^/| /' conftest.$ac_ext >&5
8277 ac_cv_header_stdc=no
8279 rm -rf conftest.dSYM
8280 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8286 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8287 $as_echo "$ac_cv_header_stdc" >&6; }
8288 if test $ac_cv_header_stdc = yes; then
8290 cat >>confdefs.h <<\_ACEOF
8291 #define STDC_HEADERS 1
8296 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8306 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8307 inttypes.h stdint.h unistd.h
8309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8310 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8311 $as_echo_n "checking for $ac_header... " >&6; }
8312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8313 $as_echo_n "(cached) " >&6
8315 cat >conftest.$ac_ext <<_ACEOF
8318 cat confdefs.h >>conftest.$ac_ext
8319 cat >>conftest.$ac_ext <<_ACEOF
8320 /* end confdefs.h. */
8321 $ac_includes_default
8323 #include <$ac_header>
8325 rm -f conftest.$ac_objext
8326 if { (ac_try="$ac_compile"
8328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8329 *) ac_try_echo=$ac_try;;
8331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8332 $as_echo "$ac_try_echo") >&5
8333 (eval "$ac_compile") 2>conftest.er1
8335 grep -v '^ *+' conftest.er1 >conftest.err
8337 cat conftest.err >&5
8338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); } && {
8340 test -z "$ac_c_werror_flag" ||
8341 test ! -s conftest.err
8342 } && test -s conftest.$ac_objext; then
8343 eval "$as_ac_Header=yes"
8345 $as_echo "$as_me: failed program was:" >&5
8346 sed 's/^/| /' conftest.$ac_ext >&5
8348 eval "$as_ac_Header=no"
8351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8353 ac_res=`eval 'as_val=${'$as_ac_Header'}
8354 $as_echo "$as_val"'`
8355 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8356 $as_echo "$ac_res" >&6; }
8357 as_val=`eval 'as_val=${'$as_ac_Header'}
8358 $as_echo "$as_val"'`
8359 if test "x$as_val" = x""yes; then
8360 cat >>confdefs.h <<_ACEOF
8361 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8370 for ac_header in dlfcn.h
8372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8373 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8374 $as_echo_n "checking for $ac_header... " >&6; }
8375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8376 $as_echo_n "(cached) " >&6
8378 cat >conftest.$ac_ext <<_ACEOF
8381 cat confdefs.h >>conftest.$ac_ext
8382 cat >>conftest.$ac_ext <<_ACEOF
8383 /* end confdefs.h. */
8384 $ac_includes_default
8386 #include <$ac_header>
8388 rm -f conftest.$ac_objext
8389 if { (ac_try="$ac_compile"
8391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8392 *) ac_try_echo=$ac_try;;
8394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8395 $as_echo "$ac_try_echo") >&5
8396 (eval "$ac_compile") 2>conftest.er1
8398 grep -v '^ *+' conftest.er1 >conftest.err
8400 cat conftest.err >&5
8401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); } && {
8403 test -z "$ac_c_werror_flag" ||
8404 test ! -s conftest.err
8405 } && test -s conftest.$ac_objext; then
8406 eval "$as_ac_Header=yes"
8408 $as_echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8411 eval "$as_ac_Header=no"
8414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8416 ac_res=`eval 'as_val=${'$as_ac_Header'}
8417 $as_echo "$as_val"'`
8418 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8419 $as_echo "$ac_res" >&6; }
8420 as_val=`eval 'as_val=${'$as_ac_Header'}
8421 $as_echo "$as_val"'`
8422 if test "x$as_val" = x""yes; then
8423 cat >>confdefs.h <<_ACEOF
8424 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8441 # Check whether --enable-shared was given.
8442 if test "${enable_shared+set}" = set; then
8443 enableval=$enable_shared; p=${PACKAGE-default}
8445 yes) enable_shared=yes ;;
8446 no) enable_shared=no ;;
8449 # Look at the argument we got. We use all the common list separators.
8450 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8451 for pkg in $enableval; do
8453 if test "X$pkg" = "X$p"; then
8472 # Check whether --enable-static was given.
8473 if test "${enable_static+set}" = set; then
8474 enableval=$enable_static; p=${PACKAGE-default}
8476 yes) enable_static=yes ;;
8477 no) enable_static=no ;;
8480 # Look at the argument we got. We use all the common list separators.
8481 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8482 for pkg in $enableval; do
8484 if test "X$pkg" = "X$p"; then
8504 # Check whether --with-pic was given.
8505 if test "${with_pic+set}" = set; then
8506 withval=$with_pic; pic_mode="$withval"
8512 test -z "$pic_mode" && pic_mode=default
8520 # Check whether --enable-fast-install was given.
8521 if test "${enable_fast_install+set}" = set; then
8522 enableval=$enable_fast_install; p=${PACKAGE-default}
8524 yes) enable_fast_install=yes ;;
8525 no) enable_fast_install=no ;;
8527 enable_fast_install=no
8528 # Look at the argument we got. We use all the common list separators.
8529 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8530 for pkg in $enableval; do
8532 if test "X$pkg" = "X$p"; then
8533 enable_fast_install=yes
8540 enable_fast_install=yes
8553 # This can be used to rebuild libtool when needed
8554 LIBTOOL_DEPS="$ltmain"
8556 # Always use our own libtool.
8557 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8583 test -z "$LN_S" && LN_S="ln -s"
8598 if test -n "${ZSH_VERSION+set}" ; then
8599 setopt NO_GLOB_SUBST
8602 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8603 $as_echo_n "checking for objdir... " >&6; }
8604 if test "${lt_cv_objdir+set}" = set; then
8605 $as_echo_n "(cached) " >&6
8607 rm -f .libs 2>/dev/null
8608 mkdir .libs 2>/dev/null
8609 if test -d .libs; then
8612 # MS-DOS does not allow filenames that begin with a dot.
8615 rmdir .libs 2>/dev/null
8617 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8618 $as_echo "$lt_cv_objdir" >&6; }
8619 objdir=$lt_cv_objdir
8625 cat >>confdefs.h <<_ACEOF
8626 #define LT_OBJDIR "$lt_cv_objdir/"
8647 # AIX sometimes has problems with the GCC collect2 program. For some
8648 # reason, if we set the COLLECT_NAMES environment variable, the problems
8649 # vanish in a puff of smoke.
8650 if test "X${COLLECT_NAMES+set}" != Xset; then
8652 export COLLECT_NAMES
8657 # Sed substitution that helps us do robust quoting. It backslashifies
8658 # metacharacters that are still active within double-quoted strings.
8659 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8661 # Same as above, but do not quote variable references.
8662 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8664 # Sed substitution to delay expansion of an escaped shell variable in a
8665 # double_quote_subst'ed string.
8666 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8668 # Sed substitution to delay expansion of an escaped single quote.
8669 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8671 # Sed substitution to avoid accidental globbing in evaled expressions
8672 no_glob_subst='s/\*/\\\*/g'
8676 can_build_shared=yes
8678 # All known linkers require a `.a' archive for static linking (except MSVC,
8679 # which needs '.lib').
8682 with_gnu_ld="$lt_cv_prog_gnu_ld"
8685 old_CFLAGS="$CFLAGS"
8687 # Set sane defaults for various variables
8688 test -z "$CC" && CC=cc
8689 test -z "$LTCC" && LTCC=$CC
8690 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8691 test -z "$LD" && LD=ld
8692 test -z "$ac_objext" && ac_objext=o
8694 for cc_temp in $compiler""; do
8696 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8697 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8702 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8705 # Only perform the check for file, if the check method requires it
8706 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8707 case $deplibs_check_method in
8709 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8710 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8711 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8712 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8713 $as_echo_n "(cached) " >&6
8717 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8720 lt_save_MAGIC_CMD="$MAGIC_CMD"
8721 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8722 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8723 for ac_dir in $ac_dummy; do
8725 test -z "$ac_dir" && ac_dir=.
8726 if test -f $ac_dir/${ac_tool_prefix}file; then
8727 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8728 if test -n "$file_magic_test_file"; then
8729 case $deplibs_check_method in
8731 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8732 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8733 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8734 $EGREP "$file_magic_regex" > /dev/null; then
8739 *** Warning: the command libtool uses to detect shared libraries,
8740 *** $file_magic_cmd, produces output that libtool cannot recognize.
8741 *** The result is that libtool may fail to recognize shared libraries
8742 *** as such. This will affect the creation of libtool libraries that
8743 *** depend on shared libraries, but programs linked with such libtool
8744 *** libraries will work regardless of this problem. Nevertheless, you
8745 *** may want to report the problem to your system manager and/or to
8746 *** bug-libtool@gnu.org
8756 MAGIC_CMD="$lt_save_MAGIC_CMD"
8761 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8762 if test -n "$MAGIC_CMD"; then
8763 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8764 $as_echo "$MAGIC_CMD" >&6; }
8766 { $as_echo "$as_me:$LINENO: result: no" >&5
8767 $as_echo "no" >&6; }
8774 if test -z "$lt_cv_path_MAGIC_CMD"; then
8775 if test -n "$ac_tool_prefix"; then
8776 { $as_echo "$as_me:$LINENO: checking for file" >&5
8777 $as_echo_n "checking for file... " >&6; }
8778 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8779 $as_echo_n "(cached) " >&6
8783 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8786 lt_save_MAGIC_CMD="$MAGIC_CMD"
8787 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8788 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8789 for ac_dir in $ac_dummy; do
8791 test -z "$ac_dir" && ac_dir=.
8792 if test -f $ac_dir/file; then
8793 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8794 if test -n "$file_magic_test_file"; then
8795 case $deplibs_check_method in
8797 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8798 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8799 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8800 $EGREP "$file_magic_regex" > /dev/null; then
8805 *** Warning: the command libtool uses to detect shared libraries,
8806 *** $file_magic_cmd, produces output that libtool cannot recognize.
8807 *** The result is that libtool may fail to recognize shared libraries
8808 *** as such. This will affect the creation of libtool libraries that
8809 *** depend on shared libraries, but programs linked with such libtool
8810 *** libraries will work regardless of this problem. Nevertheless, you
8811 *** may want to report the problem to your system manager and/or to
8812 *** bug-libtool@gnu.org
8822 MAGIC_CMD="$lt_save_MAGIC_CMD"
8827 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8828 if test -n "$MAGIC_CMD"; then
8829 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8830 $as_echo "$MAGIC_CMD" >&6; }
8832 { $as_echo "$as_me:$LINENO: result: no" >&5
8833 $as_echo "no" >&6; }
8846 # Use C for the default configuration in the libtool script
8850 ac_cpp='$CPP $CPPFLAGS'
8851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8856 # Source file extension for C test sources.
8859 # Object file extension for compiled C test sources.
8863 # Code to be used in simple compile tests
8864 lt_simple_compile_test_code="int some_variable = 0;"
8866 # Code to be used in simple link tests
8867 lt_simple_link_test_code='int main(){return(0);}'
8875 # If no C compiler was specified, use CC.
8878 # If no C compiler flags were specified, use CFLAGS.
8879 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8881 # Allow CC to be a program name with arguments.
8884 # Save the default compiler, since it gets overwritten when the other
8885 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8886 compiler_DEFAULT=$CC
8888 # save warnings/boilerplate of simple test code
8889 ac_outfile=conftest.$ac_objext
8890 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8891 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8892 _lt_compiler_boilerplate=`cat conftest.err`
8895 ac_outfile=conftest.$ac_objext
8896 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8897 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8898 _lt_linker_boilerplate=`cat conftest.err`
8903 ## There is no encapsulation within the following macros, do not change
8904 ## the running order or otherwise move them around unless you know exactly
8905 ## what you are doing...
8906 if test -n "$compiler"; then
8908 lt_prog_compiler_no_builtin_flag=
8910 if test "$GCC" = yes; then
8911 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8913 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8914 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8915 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8916 $as_echo_n "(cached) " >&6
8918 lt_cv_prog_compiler_rtti_exceptions=no
8919 ac_outfile=conftest.$ac_objext
8920 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8921 lt_compiler_flag="-fno-rtti -fno-exceptions"
8922 # Insert the option either (1) after the last *FLAGS variable, or
8923 # (2) before a word containing "conftest.", or (3) at the end.
8924 # Note that $ac_compile itself does not contain backslashes and begins
8925 # with a dollar sign (not a hyphen), so the echo should work correctly.
8926 # The option is referenced via a variable to avoid confusing sed.
8927 lt_compile=`echo "$ac_compile" | $SED \
8928 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8929 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8930 -e 's:$: $lt_compiler_flag:'`
8931 (eval echo "\"\$as_me:8931: $lt_compile\"" >&5)
8932 (eval "$lt_compile" 2>conftest.err)
8934 cat conftest.err >&5
8935 echo "$as_me:8935: \$? = $ac_status" >&5
8936 if (exit $ac_status) && test -s "$ac_outfile"; then
8937 # The compiler can only warn and ignore the option if not recognized
8938 # So say no if there are warnings other than the usual output.
8939 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8940 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8941 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8942 lt_cv_prog_compiler_rtti_exceptions=yes
8948 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8949 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8951 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8952 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8964 lt_prog_compiler_wl=
8965 lt_prog_compiler_pic=
8966 lt_prog_compiler_static=
8968 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8969 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8971 if test "$GCC" = yes; then
8972 lt_prog_compiler_wl='-Wl,'
8973 lt_prog_compiler_static='-static'
8977 # All AIX code is PIC.
8978 if test "$host_cpu" = ia64; then
8979 # AIX 5 now supports IA64 processor
8980 lt_prog_compiler_static='-Bstatic'
8987 # see comment about AmigaOS4 .so support
8988 lt_prog_compiler_pic='-fPIC'
8991 # FIXME: we need at least 68020 code to build shared libraries, but
8992 # adding the `-m68020' flag to GCC prevents building anything better,
8994 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8999 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9000 # PIC is the default for these OSes.
9003 mingw* | cygwin* | pw32* | os2* | cegcc*)
9004 # This hack is so that the source file can tell whether it is being
9005 # built for inclusion in a dll (and should export symbols for example).
9006 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9007 # (--disable-auto-import) libraries
9008 lt_prog_compiler_pic='-DDLL_EXPORT'
9011 darwin* | rhapsody*)
9012 # PIC is the default on this platform
9013 # Common symbols not allowed in MH_DYLIB files
9014 lt_prog_compiler_pic='-fno-common'
9018 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9019 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9020 # sets the default TLS model and affects inlining.
9026 lt_prog_compiler_pic='-fPIC'
9032 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9033 # Instead, we relocate shared libraries at runtime.
9037 # Just because we use GCC doesn't mean we suddenly get shared libraries
9038 # on systems that don't support them.
9039 lt_prog_compiler_can_build_shared=no
9044 # QNX uses GNU C++, but need to define -shared option too, otherwise
9046 lt_prog_compiler_pic='-fPIC -shared'
9050 if test -d /usr/nec; then
9051 lt_prog_compiler_pic=-Kconform_pic
9056 lt_prog_compiler_pic='-fPIC'
9060 # PORTME Check for flag to pass linker flags through the system compiler.
9063 lt_prog_compiler_wl='-Wl,'
9064 if test "$host_cpu" = ia64; then
9065 # AIX 5 now supports IA64 processor
9066 lt_prog_compiler_static='-Bstatic'
9068 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9072 mingw* | cygwin* | pw32* | os2* | cegcc*)
9073 # This hack is so that the source file can tell whether it is being
9074 # built for inclusion in a dll (and should export symbols for example).
9075 lt_prog_compiler_pic='-DDLL_EXPORT'
9078 hpux9* | hpux10* | hpux11*)
9079 lt_prog_compiler_wl='-Wl,'
9080 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9087 lt_prog_compiler_pic='+Z'
9090 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9091 lt_prog_compiler_static='${wl}-a ${wl}archive'
9094 irix5* | irix6* | nonstopux*)
9095 lt_prog_compiler_wl='-Wl,'
9096 # PIC (with -KPIC) is the default.
9097 lt_prog_compiler_static='-non_shared'
9100 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9101 case $cc_basename in
9102 # old Intel for x86_64 which still supported -KPIC.
9104 lt_prog_compiler_wl='-Wl,'
9105 lt_prog_compiler_pic='-KPIC'
9106 lt_prog_compiler_static='-static'
9108 # icc used to be incompatible with GCC.
9109 # ICC 10 doesn't accept -KPIC any more.
9111 lt_prog_compiler_wl='-Wl,'
9112 lt_prog_compiler_pic='-fPIC'
9113 lt_prog_compiler_static='-static'
9115 # Lahey Fortran 8.1.
9117 lt_prog_compiler_wl='-Wl,'
9118 lt_prog_compiler_pic='--shared'
9119 lt_prog_compiler_static='--static'
9121 pgcc* | pgf77* | pgf90* | pgf95*)
9122 # Portland Group compilers (*not* the Pentium gcc compiler,
9123 # which looks to be a dead project)
9124 lt_prog_compiler_wl='-Wl,'
9125 lt_prog_compiler_pic='-fpic'
9126 lt_prog_compiler_static='-Bstatic'
9129 lt_prog_compiler_wl='-Wl,'
9130 # All Alpha code is PIC.
9131 lt_prog_compiler_static='-non_shared'
9134 # IBM XL C 8.0/Fortran 10.1 on PPC
9135 lt_prog_compiler_wl='-Wl,'
9136 lt_prog_compiler_pic='-qpic'
9137 lt_prog_compiler_static='-qstaticlink'
9140 case `$CC -V 2>&1 | sed 5q` in
9143 lt_prog_compiler_pic='-KPIC'
9144 lt_prog_compiler_static='-Bstatic'
9145 lt_prog_compiler_wl='-Wl,'
9148 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9149 lt_prog_compiler_pic='-KPIC'
9150 lt_prog_compiler_static='-Bstatic'
9151 lt_prog_compiler_wl=''
9159 lt_prog_compiler_pic='-KPIC'
9160 lt_prog_compiler_static='-Bstatic'
9164 # QNX uses GNU C++, but need to define -shared option too, otherwise
9166 lt_prog_compiler_pic='-fPIC -shared'
9169 osf3* | osf4* | osf5*)
9170 lt_prog_compiler_wl='-Wl,'
9171 # All OSF/1 code is PIC.
9172 lt_prog_compiler_static='-non_shared'
9176 lt_prog_compiler_static='-non_shared'
9180 lt_prog_compiler_pic='-KPIC'
9181 lt_prog_compiler_static='-Bstatic'
9182 case $cc_basename in
9184 lt_prog_compiler_wl='-Qoption ld ';;
9186 lt_prog_compiler_wl='-Wl,';;
9191 lt_prog_compiler_wl='-Qoption ld '
9192 lt_prog_compiler_pic='-PIC'
9193 lt_prog_compiler_static='-Bstatic'
9196 sysv4 | sysv4.2uw2* | sysv4.3*)
9197 lt_prog_compiler_wl='-Wl,'
9198 lt_prog_compiler_pic='-KPIC'
9199 lt_prog_compiler_static='-Bstatic'
9203 if test -d /usr/nec ;then
9204 lt_prog_compiler_pic='-Kconform_pic'
9205 lt_prog_compiler_static='-Bstatic'
9209 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9210 lt_prog_compiler_wl='-Wl,'
9211 lt_prog_compiler_pic='-KPIC'
9212 lt_prog_compiler_static='-Bstatic'
9216 lt_prog_compiler_wl='-Wl,'
9217 lt_prog_compiler_can_build_shared=no
9221 lt_prog_compiler_pic='-pic'
9222 lt_prog_compiler_static='-Bstatic'
9226 lt_prog_compiler_can_build_shared=no
9232 # For platforms which do not support PIC, -DPIC is meaningless:
9234 lt_prog_compiler_pic=
9237 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9240 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9241 $as_echo "$lt_prog_compiler_pic" >&6; }
9249 # Check to make sure the PIC flag actually works.
9251 if test -n "$lt_prog_compiler_pic"; then
9252 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9253 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9254 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9255 $as_echo_n "(cached) " >&6
9257 lt_cv_prog_compiler_pic_works=no
9258 ac_outfile=conftest.$ac_objext
9259 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9260 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9261 # Insert the option either (1) after the last *FLAGS variable, or
9262 # (2) before a word containing "conftest.", or (3) at the end.
9263 # Note that $ac_compile itself does not contain backslashes and begins
9264 # with a dollar sign (not a hyphen), so the echo should work correctly.
9265 # The option is referenced via a variable to avoid confusing sed.
9266 lt_compile=`echo "$ac_compile" | $SED \
9267 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9268 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9269 -e 's:$: $lt_compiler_flag:'`
9270 (eval echo "\"\$as_me:9270: $lt_compile\"" >&5)
9271 (eval "$lt_compile" 2>conftest.err)
9273 cat conftest.err >&5
9274 echo "$as_me:9274: \$? = $ac_status" >&5
9275 if (exit $ac_status) && test -s "$ac_outfile"; then
9276 # The compiler can only warn and ignore the option if not recognized
9277 # So say no if there are warnings other than the usual output.
9278 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9279 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9280 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9281 lt_cv_prog_compiler_pic_works=yes
9287 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9288 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9290 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9291 case $lt_prog_compiler_pic in
9293 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9296 lt_prog_compiler_pic=
9297 lt_prog_compiler_can_build_shared=no
9308 # Check to make sure the static flag actually works.
9310 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9311 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9312 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9313 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9314 $as_echo_n "(cached) " >&6
9316 lt_cv_prog_compiler_static_works=no
9317 save_LDFLAGS="$LDFLAGS"
9318 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9319 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9320 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9321 # The linker can only warn and ignore the option if not recognized
9322 # So say no if there are warnings
9323 if test -s conftest.err; then
9324 # Append any errors to the config.log.
9325 cat conftest.err 1>&5
9326 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9327 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9328 if diff conftest.exp conftest.er2 >/dev/null; then
9329 lt_cv_prog_compiler_static_works=yes
9332 lt_cv_prog_compiler_static_works=yes
9336 LDFLAGS="$save_LDFLAGS"
9339 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9340 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9342 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9345 lt_prog_compiler_static=
9354 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9355 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9356 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9357 $as_echo_n "(cached) " >&6
9359 lt_cv_prog_compiler_c_o=no
9360 $RM -r conftest 2>/dev/null
9364 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9366 lt_compiler_flag="-o out/conftest2.$ac_objext"
9367 # Insert the option either (1) after the last *FLAGS variable, or
9368 # (2) before a word containing "conftest.", or (3) at the end.
9369 # Note that $ac_compile itself does not contain backslashes and begins
9370 # with a dollar sign (not a hyphen), so the echo should work correctly.
9371 lt_compile=`echo "$ac_compile" | $SED \
9372 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9374 -e 's:$: $lt_compiler_flag:'`
9375 (eval echo "\"\$as_me:9375: $lt_compile\"" >&5)
9376 (eval "$lt_compile" 2>out/conftest.err)
9378 cat out/conftest.err >&5
9379 echo "$as_me:9379: \$? = $ac_status" >&5
9380 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9382 # The compiler can only warn and ignore the option if not recognized
9383 # So say no if there are warnings
9384 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9385 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9386 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9387 lt_cv_prog_compiler_c_o=yes
9392 # SGI C++ compiler will create directory out/ii_files/ for
9393 # template instantiation
9394 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9395 $RM out/* && rmdir out
9401 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9402 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9409 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9410 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9411 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9412 $as_echo_n "(cached) " >&6
9414 lt_cv_prog_compiler_c_o=no
9415 $RM -r conftest 2>/dev/null
9419 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9421 lt_compiler_flag="-o out/conftest2.$ac_objext"
9422 # Insert the option either (1) after the last *FLAGS variable, or
9423 # (2) before a word containing "conftest.", or (3) at the end.
9424 # Note that $ac_compile itself does not contain backslashes and begins
9425 # with a dollar sign (not a hyphen), so the echo should work correctly.
9426 lt_compile=`echo "$ac_compile" | $SED \
9427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9429 -e 's:$: $lt_compiler_flag:'`
9430 (eval echo "\"\$as_me:9430: $lt_compile\"" >&5)
9431 (eval "$lt_compile" 2>out/conftest.err)
9433 cat out/conftest.err >&5
9434 echo "$as_me:9434: \$? = $ac_status" >&5
9435 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9437 # The compiler can only warn and ignore the option if not recognized
9438 # So say no if there are warnings
9439 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9440 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9441 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9442 lt_cv_prog_compiler_c_o=yes
9447 # SGI C++ compiler will create directory out/ii_files/ for
9448 # template instantiation
9449 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9450 $RM out/* && rmdir out
9456 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9457 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9462 hard_links="nottested"
9463 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9464 # do not overwrite the value of need_locks provided by the user
9465 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9466 $as_echo_n "checking if we can lock with hard links... " >&6; }
9469 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9471 ln conftest.a conftest.b 2>&5 || hard_links=no
9472 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9473 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9474 $as_echo "$hard_links" >&6; }
9475 if test "$hard_links" = no; then
9476 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9477 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9489 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9490 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9493 allow_undefined_flag=
9494 always_export_symbols=no
9496 archive_expsym_cmds=
9497 compiler_needs_object=no
9498 enable_shared_with_static_runtimes=no
9499 export_dynamic_flag_spec=
9500 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9501 hardcode_automatic=no
9503 hardcode_direct_absolute=no
9504 hardcode_libdir_flag_spec=
9505 hardcode_libdir_flag_spec_ld=
9506 hardcode_libdir_separator=
9508 hardcode_shlibpath_var=unsupported
9510 link_all_deplibs=unknown
9513 old_archive_from_new_cmds=
9514 old_archive_from_expsyms_cmds=
9515 thread_safe_flag_spec=
9516 whole_archive_flag_spec=
9517 # include_expsyms should be a list of space-separated symbols to be *always*
9518 # included in the symbol list
9520 # exclude_expsyms can be an extended regexp of symbols to exclude
9521 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9522 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9523 # as well as any symbol that contains `d'.
9524 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9525 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9526 # platforms (ab)use it in PIC code, but their linkers get confused if
9527 # the symbol is explicitly referenced. Since portable code cannot
9528 # rely on this symbol name, it's probably fine to never include it in
9529 # preloaded symbol tables.
9530 # Exclude shared library initialization/finalization symbols.
9531 extract_expsyms_cmds=
9534 cygwin* | mingw* | pw32* | cegcc*)
9535 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9536 # When not using gcc, we currently assume that we are using
9537 # Microsoft Visual C++.
9538 if test "$GCC" != yes; then
9543 # we just hope/assume this is gcc and not c89 (= MSVC++)
9552 if test "$with_gnu_ld" = yes; then
9553 # If archive_cmds runs LD, not CC, wlarc should be empty
9556 # Set some defaults for GNU ld with shared library support. These
9557 # are reset later if shared libraries are not supported. Putting them
9558 # here allows them to be overridden if necessary.
9559 runpath_var=LD_RUN_PATH
9560 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9561 export_dynamic_flag_spec='${wl}--export-dynamic'
9562 # ancient GNU ld didn't support --whole-archive et. al.
9563 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9564 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9566 whole_archive_flag_spec=
9568 supports_anon_versioning=no
9569 case `$LD -v 2>&1` in
9570 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9571 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9572 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9573 *\ 2.11.*) ;; # other 2.11 versions
9574 *) supports_anon_versioning=yes ;;
9577 # See if GNU ld supports shared libraries.
9580 # On AIX/PPC, the GNU linker is very broken
9581 if test "$host_cpu" != ia64; then
9585 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9586 *** to be unable to reliably create shared libraries on AIX.
9587 *** Therefore, libtool is disabling shared libraries support. If you
9588 *** really care for shared libraries, you may want to modify your PATH
9589 *** so that a non-GNU linker is found, and then restart.
9598 # see comment about AmigaOS4 .so support
9599 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9600 archive_expsym_cmds=''
9603 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)'
9604 hardcode_libdir_flag_spec='-L$libdir'
9605 hardcode_minus_L=yes
9611 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9612 allow_undefined_flag=unsupported
9613 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9614 # support --undefined. This deserves some investigation. FIXME
9615 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9621 cygwin* | mingw* | pw32* | cegcc*)
9622 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9623 # as there is no search path for DLLs.
9624 hardcode_libdir_flag_spec='-L$libdir'
9625 allow_undefined_flag=unsupported
9626 always_export_symbols=no
9627 enable_shared_with_static_runtimes=yes
9628 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9630 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9631 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9632 # If the export-symbols file already is a .def file (1st line
9633 # is EXPORTS), use it as is; otherwise, prepend...
9634 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9635 cp $export_symbols $output_objdir/$soname.def;
9637 echo EXPORTS > $output_objdir/$soname.def;
9638 cat $export_symbols >> $output_objdir/$soname.def;
9640 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9648 hardcode_shlibpath_var=no
9649 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9650 export_dynamic_flag_spec='${wl}-E'
9651 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9652 # Instead, shared libraries are loaded at an image base (0x10000000 by
9653 # default) and relocated if they conflict, which is a slow very memory
9654 # consuming and fragmenting process. To avoid this, we pick a random,
9655 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9656 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9657 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9658 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'
9661 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9663 if test "$host_os" = linux-dietlibc; then
9664 case $cc_basename in
9665 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9668 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9669 && test "$tmp_diet" = no
9672 tmp_sharedflag='-shared'
9673 case $cc_basename,$host_cpu in
9674 pgcc*) # Portland Group C compiler
9675 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'
9676 tmp_addflag=' $pic_flag'
9678 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9679 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'
9680 tmp_addflag=' $pic_flag -Mnomain' ;;
9681 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9682 tmp_addflag=' -i_dynamic' ;;
9683 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9684 tmp_addflag=' -i_dynamic -nofor_main' ;;
9685 ifc* | ifort*) # Intel Fortran compiler
9686 tmp_addflag=' -nofor_main' ;;
9687 lf95*) # Lahey Fortran 8.1
9688 whole_archive_flag_spec=
9689 tmp_sharedflag='--shared' ;;
9690 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9691 tmp_sharedflag='-qmkshrobj'
9694 case `$CC -V 2>&1 | sed 5q` in
9695 *Sun\ C*) # Sun C 5.9
9696 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'
9697 compiler_needs_object=yes
9698 tmp_sharedflag='-G' ;;
9699 *Sun\ F*) # Sun Fortran 8.3
9700 tmp_sharedflag='-G' ;;
9702 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9704 if test "x$supports_anon_versioning" = xyes; then
9705 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9706 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9707 echo "local: *; };" >> $output_objdir/$libname.ver~
9708 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9711 case $cc_basename in
9713 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9714 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9715 hardcode_libdir_flag_spec=
9716 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9717 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9718 if test "x$supports_anon_versioning" = xyes; then
9719 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9720 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9721 echo "local: *; };" >> $output_objdir/$libname.ver~
9722 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9732 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9733 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9736 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9737 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9742 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9746 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9747 *** create shared libraries on Solaris systems. Therefore, libtool
9748 *** is disabling shared libraries support. We urge you to upgrade GNU
9749 *** binutils to release 2.9.1 or newer. Another option is to modify
9750 *** your PATH or compiler configuration so that the native linker is
9751 *** used, and then restart.
9754 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9755 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9756 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9762 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9763 case `$LD -v 2>&1` in
9764 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9768 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9769 *** reliably create shared libraries on SCO systems. Therefore, libtool
9770 *** is disabling shared libraries support. We urge you to upgrade GNU
9771 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9772 *** your PATH or compiler configuration so that the native linker is
9773 *** used, and then restart.
9778 # For security reasons, it is highly recommended that you always
9779 # use absolute paths for naming shared libraries, and exclude the
9780 # DT_RUNPATH tag from executables and libraries. But doing so
9781 # requires that you compile everything twice, which is a pain.
9782 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9783 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9784 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9785 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9794 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_shlibpath_var=no
9801 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9802 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9803 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9810 if test "$ld_shlibs" = no; then
9812 hardcode_libdir_flag_spec=
9813 export_dynamic_flag_spec=
9814 whole_archive_flag_spec=
9817 # PORTME fill in a description of your system's linker (not GNU ld)
9820 allow_undefined_flag=unsupported
9821 always_export_symbols=yes
9822 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'
9823 # Note: this linker hardcodes the directories in LIBPATH if there
9824 # are no directories specified by -L.
9825 hardcode_minus_L=yes
9826 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9827 # Neither direct hardcoding nor static linking is supported with a
9829 hardcode_direct=unsupported
9834 if test "$host_cpu" = ia64; then
9835 # On IA64, the linker does run time linking by default, so we don't
9836 # have to do anything special.
9837 aix_use_runtimelinking=no
9838 exp_sym_flag='-Bexport'
9841 # If we're using GNU nm, then we don't want the "-C" option.
9842 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9843 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9844 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'
9846 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'
9848 aix_use_runtimelinking=no
9850 # Test if we are trying to use run time linking or normal
9851 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9852 # need to do runtime linking.
9853 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9854 for ld_flag in $LDFLAGS; do
9855 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9856 aix_use_runtimelinking=yes
9863 exp_sym_flag='-bexport'
9864 no_entry_flag='-bnoentry'
9867 # When large executables or shared objects are built, AIX ld can
9868 # have problems creating the table of contents. If linking a library
9869 # or program results in "error TOC overflow" add -mminimal-toc to
9870 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9871 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9875 hardcode_direct_absolute=yes
9876 hardcode_libdir_separator=':'
9877 link_all_deplibs=yes
9878 file_list_spec='${wl}-f,'
9880 if test "$GCC" = yes; then
9881 case $host_os in aix4.[012]|aix4.[012].*)
9882 # We only want to do this on AIX 4.2 and lower, the check
9883 # below for broken collect2 doesn't work under 4.3+
9884 collect2name=`${CC} -print-prog-name=collect2`
9885 if test -f "$collect2name" &&
9886 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9888 # We have reworked collect2
9891 # We have old collect2
9892 hardcode_direct=unsupported
9893 # It fails to find uninstalled libraries when the uninstalled
9894 # path is not listed in the libpath. Setting hardcode_minus_L
9895 # to unsupported forces relinking
9896 hardcode_minus_L=yes
9897 hardcode_libdir_flag_spec='-L$libdir'
9898 hardcode_libdir_separator=
9902 shared_flag='-shared'
9903 if test "$aix_use_runtimelinking" = yes; then
9904 shared_flag="$shared_flag "'${wl}-G'
9908 if test "$host_cpu" = ia64; then
9909 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9910 # chokes on -Wl,-G. The following line is correct:
9913 if test "$aix_use_runtimelinking" = yes; then
9914 shared_flag='${wl}-G'
9916 shared_flag='${wl}-bM:SRE'
9921 export_dynamic_flag_spec='${wl}-bexpall'
9922 # It seems that -bexpall does not export symbols beginning with
9923 # underscore (_), so it is better to generate a list of symbols to export.
9924 always_export_symbols=yes
9925 if test "$aix_use_runtimelinking" = yes; then
9926 # Warning - without using the other runtime loading flags (-brtl),
9927 # -berok will link without error, but may produce a broken library.
9928 allow_undefined_flag='-berok'
9929 # Determine the default libpath from the value encoded in an
9931 cat >conftest.$ac_ext <<_ACEOF
9934 cat confdefs.h >>conftest.$ac_ext
9935 cat >>conftest.$ac_ext <<_ACEOF
9936 /* end confdefs.h. */
9946 rm -f conftest.$ac_objext conftest$ac_exeext
9947 if { (ac_try="$ac_link"
9949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9950 *) ac_try_echo=$ac_try;;
9952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9953 $as_echo "$ac_try_echo") >&5
9954 (eval "$ac_link") 2>conftest.er1
9956 grep -v '^ *+' conftest.er1 >conftest.err
9958 cat conftest.err >&5
9959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } && {
9961 test -z "$ac_c_werror_flag" ||
9962 test ! -s conftest.err
9963 } && test -s conftest$ac_exeext && {
9964 test "$cross_compiling" = yes ||
9965 $as_test_x conftest$ac_exeext
9968 lt_aix_libpath_sed='
9969 /Import File Strings/,/^$/ {
9975 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9976 # Check for a 64-bit object if we didn't find anything.
9977 if test -z "$aix_libpath"; then
9978 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9981 $as_echo "$as_me: failed program was:" >&5
9982 sed 's/^/| /' conftest.$ac_ext >&5
9987 rm -rf conftest.dSYM
9988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9989 conftest$ac_exeext conftest.$ac_ext
9990 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9992 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9993 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"
9995 if test "$host_cpu" = ia64; then
9996 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9997 allow_undefined_flag="-z nodefs"
9998 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"
10000 # Determine the default libpath from the value encoded in an
10001 # empty executable.
10002 cat >conftest.$ac_ext <<_ACEOF
10005 cat confdefs.h >>conftest.$ac_ext
10006 cat >>conftest.$ac_ext <<_ACEOF
10007 /* end confdefs.h. */
10017 rm -f conftest.$ac_objext conftest$ac_exeext
10018 if { (ac_try="$ac_link"
10019 case "(($ac_try" in
10020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10021 *) ac_try_echo=$ac_try;;
10023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10024 $as_echo "$ac_try_echo") >&5
10025 (eval "$ac_link") 2>conftest.er1
10027 grep -v '^ *+' conftest.er1 >conftest.err
10029 cat conftest.err >&5
10030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } && {
10032 test -z "$ac_c_werror_flag" ||
10033 test ! -s conftest.err
10034 } && test -s conftest$ac_exeext && {
10035 test "$cross_compiling" = yes ||
10036 $as_test_x conftest$ac_exeext
10039 lt_aix_libpath_sed='
10040 /Import File Strings/,/^$/ {
10046 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10047 # Check for a 64-bit object if we didn't find anything.
10048 if test -z "$aix_libpath"; then
10049 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10052 $as_echo "$as_me: failed program was:" >&5
10053 sed 's/^/| /' conftest.$ac_ext >&5
10058 rm -rf conftest.dSYM
10059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10060 conftest$ac_exeext conftest.$ac_ext
10061 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10063 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10064 # Warning - without using the other run time loading flags,
10065 # -berok will link without error, but may produce a broken library.
10066 no_undefined_flag=' ${wl}-bernotok'
10067 allow_undefined_flag=' ${wl}-berok'
10068 # Exported symbols can be pulled into shared objects from archives
10069 whole_archive_flag_spec='$convenience'
10070 archive_cmds_need_lc=yes
10071 # This is similar to how AIX traditionally builds its shared libraries.
10072 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'
10080 # see comment about AmigaOS4 .so support
10081 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10082 archive_expsym_cmds=''
10085 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)'
10086 hardcode_libdir_flag_spec='-L$libdir'
10087 hardcode_minus_L=yes
10093 export_dynamic_flag_spec=-rdynamic
10096 cygwin* | mingw* | pw32* | cegcc*)
10097 # When not using gcc, we currently assume that we are using
10098 # Microsoft Visual C++.
10099 # hardcode_libdir_flag_spec is actually meaningless, as there is
10100 # no search path for DLLs.
10101 hardcode_libdir_flag_spec=' '
10102 allow_undefined_flag=unsupported
10103 # Tell ltmain to make .lib files, not .a files.
10105 # Tell ltmain to make .dll files, not .so files.
10107 # FIXME: Setting linknames here is a bad hack.
10108 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10109 # The linker will automatically build a .lib file if we build a DLL.
10110 old_archive_from_new_cmds='true'
10111 # FIXME: Should let the user specify the lib program.
10112 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10113 fix_srcfile_path='`cygpath -w "$srcfile"`'
10114 enable_shared_with_static_runtimes=yes
10117 darwin* | rhapsody*)
10120 archive_cmds_need_lc=no
10122 hardcode_automatic=yes
10123 hardcode_shlibpath_var=unsupported
10124 whole_archive_flag_spec=''
10125 link_all_deplibs=yes
10126 allow_undefined_flag="$_lt_dar_allow_undefined"
10127 case $cc_basename in
10128 ifort*) _lt_dar_can_shared=yes ;;
10129 *) _lt_dar_can_shared=$GCC ;;
10131 if test "$_lt_dar_can_shared" = "yes"; then
10132 output_verbose_link_cmd=echo
10133 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10134 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10135 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}"
10136 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}"
10145 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10146 hardcode_libdir_flag_spec='-L$libdir'
10147 hardcode_shlibpath_var=no
10154 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10155 # support. Future versions do this automatically, but an explicit c++rt0.o
10156 # does not break anything, and helps significantly (at the cost of a little
10159 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10160 hardcode_libdir_flag_spec='-R$libdir'
10161 hardcode_direct=yes
10162 hardcode_shlibpath_var=no
10165 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10167 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10168 hardcode_direct=yes
10169 hardcode_minus_L=yes
10170 hardcode_shlibpath_var=no
10173 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10174 freebsd* | dragonfly*)
10175 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10176 hardcode_libdir_flag_spec='-R$libdir'
10177 hardcode_direct=yes
10178 hardcode_shlibpath_var=no
10182 if test "$GCC" = yes; then
10183 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'
10185 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'
10187 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10188 hardcode_libdir_separator=:
10189 hardcode_direct=yes
10191 # hardcode_minus_L: Not really in the search PATH,
10192 # but as the default location of the library.
10193 hardcode_minus_L=yes
10194 export_dynamic_flag_spec='${wl}-E'
10198 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10199 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10201 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10203 if test "$with_gnu_ld" = no; then
10204 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10205 hardcode_libdir_flag_spec_ld='+b $libdir'
10206 hardcode_libdir_separator=:
10207 hardcode_direct=yes
10208 hardcode_direct_absolute=yes
10209 export_dynamic_flag_spec='${wl}-E'
10210 # hardcode_minus_L: Not really in the search PATH,
10211 # but as the default location of the library.
10212 hardcode_minus_L=yes
10217 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10220 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10223 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10226 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10235 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10238 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10242 if test "$with_gnu_ld" = no; then
10243 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10244 hardcode_libdir_separator=:
10249 hardcode_shlibpath_var=no
10252 hardcode_direct=yes
10253 hardcode_direct_absolute=yes
10254 export_dynamic_flag_spec='${wl}-E'
10256 # hardcode_minus_L: Not really in the search PATH,
10257 # but as the default location of the library.
10258 hardcode_minus_L=yes
10264 irix5* | irix6* | nonstopux*)
10265 if test "$GCC" = yes; then
10266 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'
10267 # Try to use the -exported_symbol ld option, if it does not
10268 # work, assume that -exports_file does not work either and
10269 # implicitly export all symbols.
10270 save_LDFLAGS="$LDFLAGS"
10271 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10272 cat >conftest.$ac_ext <<_ACEOF
10275 rm -f conftest.$ac_objext conftest$ac_exeext
10276 if { (ac_try="$ac_link"
10277 case "(($ac_try" in
10278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10279 *) ac_try_echo=$ac_try;;
10281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10282 $as_echo "$ac_try_echo") >&5
10283 (eval "$ac_link") 2>conftest.er1
10285 grep -v '^ *+' conftest.er1 >conftest.err
10287 cat conftest.err >&5
10288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); } && {
10290 test -z "$ac_c_werror_flag" ||
10291 test ! -s conftest.err
10292 } && test -s conftest$ac_exeext && {
10293 test "$cross_compiling" = yes ||
10294 $as_test_x conftest$ac_exeext
10296 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'
10299 $as_echo "$as_me: failed program was:" >&5
10300 sed 's/^/| /' conftest.$ac_ext >&5
10305 rm -rf conftest.dSYM
10306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10307 conftest$ac_exeext conftest.$ac_ext
10308 LDFLAGS="$save_LDFLAGS"
10310 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'
10311 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'
10313 archive_cmds_need_lc='no'
10314 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10315 hardcode_libdir_separator=:
10317 link_all_deplibs=yes
10321 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10322 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10324 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10326 hardcode_libdir_flag_spec='-R$libdir'
10327 hardcode_direct=yes
10328 hardcode_shlibpath_var=no
10332 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10333 hardcode_direct=yes
10334 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10335 hardcode_libdir_separator=:
10336 hardcode_shlibpath_var=no
10343 if test -f /usr/libexec/ld.so; then
10344 hardcode_direct=yes
10345 hardcode_shlibpath_var=no
10346 hardcode_direct_absolute=yes
10347 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10348 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10349 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10350 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10351 export_dynamic_flag_spec='${wl}-E'
10354 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10355 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10356 hardcode_libdir_flag_spec='-R$libdir'
10359 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10360 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10370 hardcode_libdir_flag_spec='-L$libdir'
10371 hardcode_minus_L=yes
10372 allow_undefined_flag=unsupported
10373 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'
10374 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10378 if test "$GCC" = yes; then
10379 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10380 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'
10382 allow_undefined_flag=' -expect_unresolved \*'
10383 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'
10385 archive_cmds_need_lc='no'
10386 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10387 hardcode_libdir_separator=:
10390 osf4* | osf5*) # as osf3* with the addition of -msym flag
10391 if test "$GCC" = yes; then
10392 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10393 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'
10394 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10396 allow_undefined_flag=' -expect_unresolved \*'
10397 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'
10398 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~
10399 $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'
10401 # Both c and cxx compiler support -rpath directly
10402 hardcode_libdir_flag_spec='-rpath $libdir'
10404 archive_cmds_need_lc='no'
10405 hardcode_libdir_separator=:
10409 no_undefined_flag=' -z defs'
10410 if test "$GCC" = yes; then
10412 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10413 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10414 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10416 case `$CC -V 2>&1` in
10419 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10420 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10421 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10425 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10426 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10427 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10431 hardcode_libdir_flag_spec='-R$libdir'
10432 hardcode_shlibpath_var=no
10434 solaris2.[0-5] | solaris2.[0-5].*) ;;
10436 # The compiler driver will combine and reorder linker options,
10437 # but understands `-z linker_flag'. GCC discards it without `$wl',
10438 # but is careful enough not to reorder.
10439 # Supported since Solaris 2.6 (maybe 2.5.1?)
10440 if test "$GCC" = yes; then
10441 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10443 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10447 link_all_deplibs=yes
10451 if test "x$host_vendor" = xsequent; then
10452 # Use $CC to link under sequent, because it throws in some extra .o
10453 # files that make .init and .fini sections work.
10454 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10456 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10458 hardcode_libdir_flag_spec='-L$libdir'
10459 hardcode_direct=yes
10460 hardcode_minus_L=yes
10461 hardcode_shlibpath_var=no
10465 case $host_vendor in
10467 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10468 hardcode_direct=yes # is this really true???
10471 ## LD is ld it makes a PLAMLIB
10472 ## CC just makes a GrossModule.
10473 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10474 reload_cmds='$CC -r -o $output$reload_objs'
10478 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10479 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10482 runpath_var='LD_RUN_PATH'
10483 hardcode_shlibpath_var=no
10487 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10488 hardcode_shlibpath_var=no
10489 export_dynamic_flag_spec='-Bexport'
10493 if test -d /usr/nec; then
10494 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10495 hardcode_shlibpath_var=no
10496 runpath_var=LD_RUN_PATH
10497 hardcode_runpath_var=yes
10502 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10503 no_undefined_flag='${wl}-z,text'
10504 archive_cmds_need_lc=no
10505 hardcode_shlibpath_var=no
10506 runpath_var='LD_RUN_PATH'
10508 if test "$GCC" = yes; then
10509 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10510 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10512 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10513 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10517 sysv5* | sco3.2v5* | sco5v6*)
10518 # Note: We can NOT use -z defs as we might desire, because we do not
10519 # link with -lc, and that would cause any symbols used from libc to
10520 # always be unresolved, which means just about no library would
10521 # ever link correctly. If we're not using GNU ld we use -z text
10522 # though, which does catch some bad symbols but isn't as heavy-handed
10524 no_undefined_flag='${wl}-z,text'
10525 allow_undefined_flag='${wl}-z,nodefs'
10526 archive_cmds_need_lc=no
10527 hardcode_shlibpath_var=no
10528 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10529 hardcode_libdir_separator=':'
10530 link_all_deplibs=yes
10531 export_dynamic_flag_spec='${wl}-Bexport'
10532 runpath_var='LD_RUN_PATH'
10534 if test "$GCC" = yes; then
10535 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10536 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10538 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10539 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10544 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10545 hardcode_libdir_flag_spec='-L$libdir'
10546 hardcode_shlibpath_var=no
10554 if test x$host_vendor = xsni; then
10556 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10557 export_dynamic_flag_spec='${wl}-Blargedynsym'
10563 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10564 $as_echo "$ld_shlibs" >&6; }
10565 test "$ld_shlibs" = no && can_build_shared=no
10567 with_gnu_ld=$with_gnu_ld
10584 # Do we need to explicitly link libc?
10586 case "x$archive_cmds_need_lc" in
10588 # Assume -lc should be added
10589 archive_cmds_need_lc=yes
10591 if test "$enable_shared" = yes && test "$GCC" = yes; then
10592 case $archive_cmds in
10594 # FIXME: we may have to deal with multi-command sequences.
10597 # Test whether the compiler implicitly links with -lc since on some
10598 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10599 # to ld, don't add -lc before -lgcc.
10600 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10601 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10602 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
10603 $as_echo_n "(cached) " >&6
10606 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10609 (eval $ac_compile) 2>&5
10611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); } 2>conftest.err; then
10615 libobjs=conftest.$ac_objext
10617 wl=$lt_prog_compiler_wl
10618 pic_flag=$lt_prog_compiler_pic
10624 lt_save_allow_undefined_flag=$allow_undefined_flag
10625 allow_undefined_flag=
10626 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10627 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }
10632 lt_cv_archive_cmds_need_lc=no
10634 lt_cv_archive_cmds_need_lc=yes
10636 allow_undefined_flag=$lt_save_allow_undefined_flag
10638 cat conftest.err 1>&5
10643 { $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
10644 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10645 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10808 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10809 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10811 if test "$GCC" = yes; then
10813 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10814 *) lt_awk_arg="/^libraries:/" ;;
10816 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10817 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10818 # if the path contains ";" then we assume it to be the separator
10819 # otherwise default to the standard path separator (i.e. ":") - it is
10820 # assumed that no part of a normal pathname contains ";" but that should
10821 # okay in the real world where ";" in dirpaths is itself problematic.
10822 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10824 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10826 # Ok, now we have the path, separated by spaces, we can step through it
10827 # and add multilib dir if necessary.
10828 lt_tmp_lt_search_path_spec=
10829 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10830 for lt_sys_path in $lt_search_path_spec; do
10831 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10832 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10834 test -d "$lt_sys_path" && \
10835 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10838 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10839 BEGIN {RS=" "; FS="/|\n";} {
10842 for (lt_i = NF; lt_i > 0; lt_i--) {
10843 if ($lt_i != "" && $lt_i != ".") {
10844 if ($lt_i == "..") {
10847 if (lt_count == 0) {
10848 lt_foo="/" $lt_i lt_foo;
10855 if (lt_foo != "") { lt_freq[lt_foo]++; }
10856 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10858 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10860 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10862 library_names_spec=
10863 libname_spec='lib$name'
10867 postuninstall_cmds=
10871 shlibpath_overrides_runpath=unknown
10873 dynamic_linker="$host_os ld.so"
10874 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10875 need_lib_prefix=unknown
10876 hardcode_into_libs=no
10878 # when you set need_version to no, make sure it does not cause -set_version
10879 # flags to be left without arguments
10880 need_version=unknown
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10886 shlibpath_var=LIBPATH
10888 # AIX 3 has no versioning support, so we append a major version to the name.
10889 soname_spec='${libname}${release}${shared_ext}$major'
10896 hardcode_into_libs=yes
10897 if test "$host_cpu" = ia64; then
10898 # AIX 5 supports IA64
10899 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10900 shlibpath_var=LD_LIBRARY_PATH
10902 # With GCC up to 2.95.x, collect2 would create an import file
10903 # for dependence libraries. The import file would start with
10904 # the line `#! .'. This would cause the generated library to
10905 # depend on `.', always an invalid library. This was fixed in
10906 # development snapshots of GCC prior to 3.0.
10908 aix4 | aix4.[01] | aix4.[01].*)
10909 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10911 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10914 can_build_shared=no
10918 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10919 # soname into executable. Probably we can add versioning support to
10920 # collect2, so additional links can be useful in future.
10921 if test "$aix_use_runtimelinking" = yes; then
10922 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10923 # instead of lib<name>.a to let people know that these are not
10924 # typical AIX shared libraries.
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10927 # We preserve .a as extension for shared libraries through AIX4.2
10928 # and later when we are not doing run time linking.
10929 library_names_spec='${libname}${release}.a $libname.a'
10930 soname_spec='${libname}${release}${shared_ext}$major'
10932 shlibpath_var=LIBPATH
10939 # Since July 2007 AmigaOS4 officially supports .so libraries.
10940 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10944 library_names_spec='$libname.ixlibrary $libname.a'
10945 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10946 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'
10952 library_names_spec='${libname}${shared_ext}'
10953 dynamic_linker="$host_os ld.so"
10954 shlibpath_var=LIBRARY_PATH
10960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961 soname_spec='${libname}${release}${shared_ext}$major'
10962 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10963 shlibpath_var=LD_LIBRARY_PATH
10964 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10965 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10966 # the default ld.so.conf also contains /usr/contrib/lib and
10967 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10968 # libtool to hard-code these into programs
10971 cygwin* | mingw* | pw32* | cegcc*)
10972 version_type=windows
10977 case $GCC,$host_os in
10978 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10979 library_names_spec='$libname.dll.a'
10980 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10981 postinstall_cmds='base_file=`basename \${file}`~
10982 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10983 dldir=$destdir/`dirname \$dlpath`~
10984 test -d \$dldir || mkdir -p \$dldir~
10985 $install_prog $dir/$dlname \$dldir/$dlname~
10986 chmod a+x \$dldir/$dlname~
10987 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10988 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10990 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10991 dlpath=$dir/\$dldll~
10993 shlibpath_overrides_runpath=yes
10997 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10998 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10999 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11002 # MinGW DLLs use traditional 'lib' prefix
11003 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11004 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11005 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11006 # It is most probably a Windows format PATH printed by
11007 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11008 # path with ; separators, and with drive letters. We can handle the
11009 # drive letters (cygwin fileutils understands them), so leave them,
11010 # especially as we might pass files found there to a mingw objdump,
11011 # which wouldn't understand a cygwinified path. Ahh.
11012 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11014 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11018 # pw32 DLLs use 'pw' prefix rather than 'lib'
11019 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11025 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11028 dynamic_linker='Win32 ld.exe'
11029 # FIXME: first we should search . and the directory the executable is in
11033 darwin* | rhapsody*)
11034 dynamic_linker="$host_os dyld"
11035 version_type=darwin
11038 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11039 soname_spec='${libname}${release}${major}$shared_ext'
11040 shlibpath_overrides_runpath=yes
11041 shlibpath_var=DYLD_LIBRARY_PATH
11042 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11044 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11045 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11053 soname_spec='${libname}${release}${shared_ext}$major'
11054 shlibpath_var=LD_LIBRARY_PATH
11061 freebsd* | dragonfly*)
11062 # DragonFly does not have aout. When/if they implement a new
11063 # versioning mechanism, adjust this.
11064 if test -x /usr/bin/objformat; then
11065 objformat=`/usr/bin/objformat`
11068 freebsd[123]*) objformat=aout ;;
11069 *) objformat=elf ;;
11072 version_type=freebsd-$objformat
11073 case $version_type in
11075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11080 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11084 shlibpath_var=LD_LIBRARY_PATH
11087 shlibpath_overrides_runpath=yes
11089 freebsd3.[01]* | freebsdelf3.[01]*)
11090 shlibpath_overrides_runpath=yes
11091 hardcode_into_libs=yes
11093 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11094 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11095 shlibpath_overrides_runpath=no
11096 hardcode_into_libs=yes
11098 *) # from 4.6 on, and DragonFly
11099 shlibpath_overrides_runpath=yes
11100 hardcode_into_libs=yes
11109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11110 soname_spec='${libname}${release}${shared_ext}$major'
11111 shlibpath_var=LD_LIBRARY_PATH
11112 hardcode_into_libs=yes
11115 hpux9* | hpux10* | hpux11*)
11116 # Give a soname corresponding to the major version so that dld.sl refuses to
11117 # link against other versions.
11124 hardcode_into_libs=yes
11125 dynamic_linker="$host_os dld.so"
11126 shlibpath_var=LD_LIBRARY_PATH
11127 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129 soname_spec='${libname}${release}${shared_ext}$major'
11130 if test "X$HPUX_IA64_MODE" = X32; then
11131 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11133 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11135 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11139 hardcode_into_libs=yes
11140 dynamic_linker="$host_os dld.sl"
11141 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11142 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11144 soname_spec='${libname}${release}${shared_ext}$major'
11145 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11146 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11150 dynamic_linker="$host_os dld.sl"
11151 shlibpath_var=SHLIB_PATH
11152 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11154 soname_spec='${libname}${release}${shared_ext}$major'
11157 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11158 postinstall_cmds='chmod 555 $lib'
11165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11166 soname_spec='${libname}${release}${shared_ext}$major'
11167 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11168 shlibpath_var=LD_LIBRARY_PATH
11169 shlibpath_overrides_runpath=no
11170 hardcode_into_libs=yes
11173 irix5* | irix6* | nonstopux*)
11175 nonstopux*) version_type=nonstopux ;;
11177 if test "$lt_cv_prog_gnu_ld" = yes; then
11185 soname_spec='${libname}${release}${shared_ext}$major'
11186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11188 irix5* | nonstopux*)
11189 libsuff= shlibsuff=
11192 case $LD in # libtool.m4 will add one of these switches to LD
11193 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11194 libsuff= shlibsuff= libmagic=32-bit;;
11195 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11196 libsuff=32 shlibsuff=N32 libmagic=N32;;
11197 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11198 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11199 *) libsuff= shlibsuff= libmagic=never-match;;
11203 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11204 shlibpath_overrides_runpath=no
11205 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11206 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11207 hardcode_into_libs=yes
11210 # No shared lib support for Linux oldld, aout, or coff.
11211 linux*oldld* | linux*aout* | linux*coff*)
11215 # This must be Linux ELF.
11216 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11221 soname_spec='${libname}${release}${shared_ext}$major'
11222 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11223 shlibpath_var=LD_LIBRARY_PATH
11224 shlibpath_overrides_runpath=no
11226 # Some binutils ld are patched to set DT_RUNPATH
11227 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
11228 $as_echo_n "(cached) " >&6
11230 lt_cv_shlibpath_overrides_runpath=no
11231 save_LDFLAGS=$LDFLAGS
11232 save_libdir=$libdir
11233 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11234 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11235 cat >conftest.$ac_ext <<_ACEOF
11238 cat confdefs.h >>conftest.$ac_ext
11239 cat >>conftest.$ac_ext <<_ACEOF
11240 /* end confdefs.h. */
11250 rm -f conftest.$ac_objext conftest$ac_exeext
11251 if { (ac_try="$ac_link"
11252 case "(($ac_try" in
11253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11254 *) ac_try_echo=$ac_try;;
11256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11257 $as_echo "$ac_try_echo") >&5
11258 (eval "$ac_link") 2>conftest.er1
11260 grep -v '^ *+' conftest.er1 >conftest.err
11262 cat conftest.err >&5
11263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); } && {
11265 test -z "$ac_c_werror_flag" ||
11266 test ! -s conftest.err
11267 } && test -s conftest$ac_exeext && {
11268 test "$cross_compiling" = yes ||
11269 $as_test_x conftest$ac_exeext
11271 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11272 lt_cv_shlibpath_overrides_runpath=yes
11276 $as_echo "$as_me: failed program was:" >&5
11277 sed 's/^/| /' conftest.$ac_ext >&5
11282 rm -rf conftest.dSYM
11283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11284 conftest$ac_exeext conftest.$ac_ext
11285 LDFLAGS=$save_LDFLAGS
11286 libdir=$save_libdir
11290 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11292 # This implies no fast_install, which is unacceptable.
11293 # Some rework will be needed to allow for fast_install
11294 # before this can be enabled.
11295 hardcode_into_libs=yes
11297 # Append ld.so.conf contents to the search path
11298 if test -f /etc/ld.so.conf; then
11299 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' ' '`
11300 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11303 # We used to test for /lib/ld.so.1 and disable shared libraries on
11304 # powerpc, because MkLinux only supported shared libraries with the
11305 # GNU dynamic linker. Since this was broken with cross compilers,
11306 # most powerpc-linux boxes support dynamic linking these days and
11307 # people can always --disable-shared, the test was removed, and we
11308 # assume the GNU/Linux dynamic linker is in use.
11309 dynamic_linker='GNU/Linux ld.so'
11316 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11318 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11319 dynamic_linker='NetBSD (a.out) ld.so'
11321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11322 soname_spec='${libname}${release}${shared_ext}$major'
11323 dynamic_linker='NetBSD ld.elf_so'
11325 shlibpath_var=LD_LIBRARY_PATH
11326 shlibpath_overrides_runpath=yes
11327 hardcode_into_libs=yes
11332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11333 shlibpath_var=LD_LIBRARY_PATH
11334 shlibpath_overrides_runpath=yes
11341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11342 soname_spec='${libname}${release}${shared_ext}$major'
11343 shlibpath_var=LD_LIBRARY_PATH
11344 shlibpath_overrides_runpath=no
11345 hardcode_into_libs=yes
11346 dynamic_linker='ldqnx.so'
11351 sys_lib_dlsearch_path_spec="/usr/lib"
11353 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11355 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11356 *) need_version=no ;;
11358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11359 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11360 shlibpath_var=LD_LIBRARY_PATH
11361 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11363 openbsd2.[89] | openbsd2.[89].*)
11364 shlibpath_overrides_runpath=no
11367 shlibpath_overrides_runpath=yes
11371 shlibpath_overrides_runpath=yes
11376 libname_spec='$name'
11379 library_names_spec='$libname${shared_ext} $libname.a'
11380 dynamic_linker='OS/2 ld.exe'
11381 shlibpath_var=LIBPATH
11384 osf3* | osf4* | osf5*)
11388 soname_spec='${libname}${release}${shared_ext}$major'
11389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11390 shlibpath_var=LD_LIBRARY_PATH
11391 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11392 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11404 soname_spec='${libname}${release}${shared_ext}$major'
11405 shlibpath_var=LD_LIBRARY_PATH
11406 shlibpath_overrides_runpath=yes
11407 hardcode_into_libs=yes
11408 # ldd complains unless libraries are executable
11409 postinstall_cmds='chmod +x $lib'
11414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11415 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11416 shlibpath_var=LD_LIBRARY_PATH
11417 shlibpath_overrides_runpath=yes
11418 if test "$with_gnu_ld" = yes; then
11426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11427 soname_spec='${libname}${release}${shared_ext}$major'
11428 shlibpath_var=LD_LIBRARY_PATH
11429 case $host_vendor in
11431 shlibpath_overrides_runpath=no
11433 runpath_var=LD_RUN_PATH
11441 shlibpath_overrides_runpath=no
11442 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11448 if test -d /usr/nec ;then
11450 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11451 soname_spec='$libname${shared_ext}.$major'
11452 shlibpath_var=LD_LIBRARY_PATH
11456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11457 version_type=freebsd-elf
11460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11461 soname_spec='${libname}${release}${shared_ext}$major'
11462 shlibpath_var=LD_LIBRARY_PATH
11463 shlibpath_overrides_runpath=yes
11464 hardcode_into_libs=yes
11465 if test "$with_gnu_ld" = yes; then
11466 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11468 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11471 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11475 sys_lib_dlsearch_path_spec='/usr/lib'
11479 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11484 shlibpath_var=LD_LIBRARY_PATH
11485 shlibpath_overrides_runpath=no
11486 hardcode_into_libs=yes
11491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492 soname_spec='${libname}${release}${shared_ext}$major'
11493 shlibpath_var=LD_LIBRARY_PATH
11500 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11501 $as_echo "$dynamic_linker" >&6; }
11502 test "$dynamic_linker" = no && can_build_shared=no
11504 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11505 if test "$GCC" = yes; then
11506 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11509 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11510 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11512 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11513 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11602 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11603 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11605 if test -n "$hardcode_libdir_flag_spec" ||
11606 test -n "$runpath_var" ||
11607 test "X$hardcode_automatic" = "Xyes" ; then
11609 # We can hardcode non-existent directories.
11610 if test "$hardcode_direct" != no &&
11611 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11612 # have to relink, otherwise we might link with an installed library
11613 # when we should be linking with a yet-to-be-installed one
11614 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11615 test "$hardcode_minus_L" != no; then
11616 # Linking always hardcodes the temporary library directory.
11617 hardcode_action=relink
11619 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11620 hardcode_action=immediate
11623 # We cannot hardcode anything, or else we can only hardcode existing
11625 hardcode_action=unsupported
11627 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11628 $as_echo "$hardcode_action" >&6; }
11630 if test "$hardcode_action" = relink ||
11631 test "$inherit_rpath" = yes; then
11632 # Fast installation is not supported
11633 enable_fast_install=no
11634 elif test "$shlibpath_overrides_runpath" = yes ||
11635 test "$enable_shared" = no; then
11636 # Fast installation is not necessary
11637 enable_fast_install=needless
11645 if test "x$enable_dlopen" != xyes; then
11646 enable_dlopen=unknown
11647 enable_dlopen_self=unknown
11648 enable_dlopen_self_static=unknown
11655 lt_cv_dlopen="load_add_on"
11657 lt_cv_dlopen_self=yes
11660 mingw* | pw32* | cegcc*)
11661 lt_cv_dlopen="LoadLibrary"
11666 lt_cv_dlopen="dlopen"
11671 # if libdl is installed we need to link against it
11672 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11673 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11674 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11675 $as_echo_n "(cached) " >&6
11677 ac_check_lib_save_LIBS=$LIBS
11679 cat >conftest.$ac_ext <<_ACEOF
11682 cat confdefs.h >>conftest.$ac_ext
11683 cat >>conftest.$ac_ext <<_ACEOF
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11701 rm -f conftest.$ac_objext conftest$ac_exeext
11702 if { (ac_try="$ac_link"
11703 case "(($ac_try" in
11704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11705 *) ac_try_echo=$ac_try;;
11707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11708 $as_echo "$ac_try_echo") >&5
11709 (eval "$ac_link") 2>conftest.er1
11711 grep -v '^ *+' conftest.er1 >conftest.err
11713 cat conftest.err >&5
11714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } && {
11716 test -z "$ac_c_werror_flag" ||
11717 test ! -s conftest.err
11718 } && test -s conftest$ac_exeext && {
11719 test "$cross_compiling" = yes ||
11720 $as_test_x conftest$ac_exeext
11722 ac_cv_lib_dl_dlopen=yes
11724 $as_echo "$as_me: failed program was:" >&5
11725 sed 's/^/| /' conftest.$ac_ext >&5
11727 ac_cv_lib_dl_dlopen=no
11730 rm -rf conftest.dSYM
11731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11732 conftest$ac_exeext conftest.$ac_ext
11733 LIBS=$ac_check_lib_save_LIBS
11735 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11736 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11737 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11738 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11741 lt_cv_dlopen="dyld"
11743 lt_cv_dlopen_self=yes
11750 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11751 $as_echo_n "checking for shl_load... " >&6; }
11752 if test "${ac_cv_func_shl_load+set}" = set; then
11753 $as_echo_n "(cached) " >&6
11755 cat >conftest.$ac_ext <<_ACEOF
11758 cat confdefs.h >>conftest.$ac_ext
11759 cat >>conftest.$ac_ext <<_ACEOF
11760 /* end confdefs.h. */
11761 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11763 #define shl_load innocuous_shl_load
11765 /* System header to define __stub macros and hopefully few prototypes,
11766 which can conflict with char shl_load (); below.
11767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11768 <limits.h> exists even on freestanding compilers. */
11771 # include <limits.h>
11773 # include <assert.h>
11778 /* Override any GCC internal prototype to avoid an error.
11779 Use char because int might match the return type of a GCC
11780 builtin and then its argument prototype would still apply. */
11785 /* The GNU C library defines this for functions which it implements
11786 to always fail with ENOSYS. Some functions are actually named
11787 something starting with __ and the normal name is an alias. */
11788 #if defined __stub_shl_load || defined __stub___shl_load
11795 return shl_load ();
11800 rm -f conftest.$ac_objext conftest$ac_exeext
11801 if { (ac_try="$ac_link"
11802 case "(($ac_try" in
11803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11804 *) ac_try_echo=$ac_try;;
11806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11807 $as_echo "$ac_try_echo") >&5
11808 (eval "$ac_link") 2>conftest.er1
11810 grep -v '^ *+' conftest.er1 >conftest.err
11812 cat conftest.err >&5
11813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); } && {
11815 test -z "$ac_c_werror_flag" ||
11816 test ! -s conftest.err
11817 } && test -s conftest$ac_exeext && {
11818 test "$cross_compiling" = yes ||
11819 $as_test_x conftest$ac_exeext
11821 ac_cv_func_shl_load=yes
11823 $as_echo "$as_me: failed program was:" >&5
11824 sed 's/^/| /' conftest.$ac_ext >&5
11826 ac_cv_func_shl_load=no
11829 rm -rf conftest.dSYM
11830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11831 conftest$ac_exeext conftest.$ac_ext
11833 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11834 $as_echo "$ac_cv_func_shl_load" >&6; }
11835 if test "x$ac_cv_func_shl_load" = x""yes; then
11836 lt_cv_dlopen="shl_load"
11838 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11839 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11840 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11841 $as_echo_n "(cached) " >&6
11843 ac_check_lib_save_LIBS=$LIBS
11845 cat >conftest.$ac_ext <<_ACEOF
11848 cat confdefs.h >>conftest.$ac_ext
11849 cat >>conftest.$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11852 /* Override any GCC internal prototype to avoid an error.
11853 Use char because int might match the return type of a GCC
11854 builtin and then its argument prototype would still apply. */
11862 return shl_load ();
11867 rm -f conftest.$ac_objext conftest$ac_exeext
11868 if { (ac_try="$ac_link"
11869 case "(($ac_try" in
11870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11871 *) ac_try_echo=$ac_try;;
11873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11874 $as_echo "$ac_try_echo") >&5
11875 (eval "$ac_link") 2>conftest.er1
11877 grep -v '^ *+' conftest.er1 >conftest.err
11879 cat conftest.err >&5
11880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); } && {
11882 test -z "$ac_c_werror_flag" ||
11883 test ! -s conftest.err
11884 } && test -s conftest$ac_exeext && {
11885 test "$cross_compiling" = yes ||
11886 $as_test_x conftest$ac_exeext
11888 ac_cv_lib_dld_shl_load=yes
11890 $as_echo "$as_me: failed program was:" >&5
11891 sed 's/^/| /' conftest.$ac_ext >&5
11893 ac_cv_lib_dld_shl_load=no
11896 rm -rf conftest.dSYM
11897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11902 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11903 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11904 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11906 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11907 $as_echo_n "checking for dlopen... " >&6; }
11908 if test "${ac_cv_func_dlopen+set}" = set; then
11909 $as_echo_n "(cached) " >&6
11911 cat >conftest.$ac_ext <<_ACEOF
11914 cat confdefs.h >>conftest.$ac_ext
11915 cat >>conftest.$ac_ext <<_ACEOF
11916 /* end confdefs.h. */
11917 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11919 #define dlopen innocuous_dlopen
11921 /* System header to define __stub macros and hopefully few prototypes,
11922 which can conflict with char dlopen (); below.
11923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11924 <limits.h> exists even on freestanding compilers. */
11927 # include <limits.h>
11929 # include <assert.h>
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11941 /* The GNU C library defines this for functions which it implements
11942 to always fail with ENOSYS. Some functions are actually named
11943 something starting with __ and the normal name is an alias. */
11944 #if defined __stub_dlopen || defined __stub___dlopen
11956 rm -f conftest.$ac_objext conftest$ac_exeext
11957 if { (ac_try="$ac_link"
11958 case "(($ac_try" in
11959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11960 *) ac_try_echo=$ac_try;;
11962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11963 $as_echo "$ac_try_echo") >&5
11964 (eval "$ac_link") 2>conftest.er1
11966 grep -v '^ *+' conftest.er1 >conftest.err
11968 cat conftest.err >&5
11969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); } && {
11971 test -z "$ac_c_werror_flag" ||
11972 test ! -s conftest.err
11973 } && test -s conftest$ac_exeext && {
11974 test "$cross_compiling" = yes ||
11975 $as_test_x conftest$ac_exeext
11977 ac_cv_func_dlopen=yes
11979 $as_echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11982 ac_cv_func_dlopen=no
11985 rm -rf conftest.dSYM
11986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11987 conftest$ac_exeext conftest.$ac_ext
11989 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11990 $as_echo "$ac_cv_func_dlopen" >&6; }
11991 if test "x$ac_cv_func_dlopen" = x""yes; then
11992 lt_cv_dlopen="dlopen"
11994 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11995 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11996 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11997 $as_echo_n "(cached) " >&6
11999 ac_check_lib_save_LIBS=$LIBS
12001 cat >conftest.$ac_ext <<_ACEOF
12004 cat confdefs.h >>conftest.$ac_ext
12005 cat >>conftest.$ac_ext <<_ACEOF
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12023 rm -f conftest.$ac_objext conftest$ac_exeext
12024 if { (ac_try="$ac_link"
12025 case "(($ac_try" in
12026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12027 *) ac_try_echo=$ac_try;;
12029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12030 $as_echo "$ac_try_echo") >&5
12031 (eval "$ac_link") 2>conftest.er1
12033 grep -v '^ *+' conftest.er1 >conftest.err
12035 cat conftest.err >&5
12036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037 (exit $ac_status); } && {
12038 test -z "$ac_c_werror_flag" ||
12039 test ! -s conftest.err
12040 } && test -s conftest$ac_exeext && {
12041 test "$cross_compiling" = yes ||
12042 $as_test_x conftest$ac_exeext
12044 ac_cv_lib_dl_dlopen=yes
12046 $as_echo "$as_me: failed program was:" >&5
12047 sed 's/^/| /' conftest.$ac_ext >&5
12049 ac_cv_lib_dl_dlopen=no
12052 rm -rf conftest.dSYM
12053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12054 conftest$ac_exeext conftest.$ac_ext
12055 LIBS=$ac_check_lib_save_LIBS
12057 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12058 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12059 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12060 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12062 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12063 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12064 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12065 $as_echo_n "(cached) " >&6
12067 ac_check_lib_save_LIBS=$LIBS
12068 LIBS="-lsvld $LIBS"
12069 cat >conftest.$ac_ext <<_ACEOF
12072 cat confdefs.h >>conftest.$ac_ext
12073 cat >>conftest.$ac_ext <<_ACEOF
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12091 rm -f conftest.$ac_objext conftest$ac_exeext
12092 if { (ac_try="$ac_link"
12093 case "(($ac_try" in
12094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12095 *) ac_try_echo=$ac_try;;
12097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12098 $as_echo "$ac_try_echo") >&5
12099 (eval "$ac_link") 2>conftest.er1
12101 grep -v '^ *+' conftest.er1 >conftest.err
12103 cat conftest.err >&5
12104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); } && {
12106 test -z "$ac_c_werror_flag" ||
12107 test ! -s conftest.err
12108 } && test -s conftest$ac_exeext && {
12109 test "$cross_compiling" = yes ||
12110 $as_test_x conftest$ac_exeext
12112 ac_cv_lib_svld_dlopen=yes
12114 $as_echo "$as_me: failed program was:" >&5
12115 sed 's/^/| /' conftest.$ac_ext >&5
12117 ac_cv_lib_svld_dlopen=no
12120 rm -rf conftest.dSYM
12121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12122 conftest$ac_exeext conftest.$ac_ext
12123 LIBS=$ac_check_lib_save_LIBS
12125 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12126 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12127 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12128 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12130 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12131 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12132 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12133 $as_echo_n "(cached) " >&6
12135 ac_check_lib_save_LIBS=$LIBS
12137 cat >conftest.$ac_ext <<_ACEOF
12140 cat confdefs.h >>conftest.$ac_ext
12141 cat >>conftest.$ac_ext <<_ACEOF
12142 /* end confdefs.h. */
12144 /* Override any GCC internal prototype to avoid an error.
12145 Use char because int might match the return type of a GCC
12146 builtin and then its argument prototype would still apply. */
12154 return dld_link ();
12159 rm -f conftest.$ac_objext conftest$ac_exeext
12160 if { (ac_try="$ac_link"
12161 case "(($ac_try" in
12162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12163 *) ac_try_echo=$ac_try;;
12165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12166 $as_echo "$ac_try_echo") >&5
12167 (eval "$ac_link") 2>conftest.er1
12169 grep -v '^ *+' conftest.er1 >conftest.err
12171 cat conftest.err >&5
12172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); } && {
12174 test -z "$ac_c_werror_flag" ||
12175 test ! -s conftest.err
12176 } && test -s conftest$ac_exeext && {
12177 test "$cross_compiling" = yes ||
12178 $as_test_x conftest$ac_exeext
12180 ac_cv_lib_dld_dld_link=yes
12182 $as_echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.$ac_ext >&5
12185 ac_cv_lib_dld_dld_link=no
12188 rm -rf conftest.dSYM
12189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12190 conftest$ac_exeext conftest.$ac_ext
12191 LIBS=$ac_check_lib_save_LIBS
12193 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12194 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12195 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12196 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12217 if test "x$lt_cv_dlopen" != xno; then
12223 case $lt_cv_dlopen in
12225 save_CPPFLAGS="$CPPFLAGS"
12226 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12228 save_LDFLAGS="$LDFLAGS"
12229 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12232 LIBS="$lt_cv_dlopen_libs $LIBS"
12234 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12235 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12236 if test "${lt_cv_dlopen_self+set}" = set; then
12237 $as_echo_n "(cached) " >&6
12239 if test "$cross_compiling" = yes; then :
12240 lt_cv_dlopen_self=cross
12242 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12243 lt_status=$lt_dlunknown
12244 cat > conftest.$ac_ext <<_LT_EOF
12245 #line 12245 "configure"
12246 #include "confdefs.h"
12255 # define LT_DLGLOBAL RTLD_GLOBAL
12258 # define LT_DLGLOBAL DL_GLOBAL
12260 # define LT_DLGLOBAL 0
12264 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12265 find out it does not work in some platform. */
12266 #ifndef LT_DLLAZY_OR_NOW
12268 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12271 # define LT_DLLAZY_OR_NOW DL_LAZY
12274 # define LT_DLLAZY_OR_NOW RTLD_NOW
12277 # define LT_DLLAZY_OR_NOW DL_NOW
12279 # define LT_DLLAZY_OR_NOW 0
12286 void fnord() { int i=42;}
12289 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12290 int status = $lt_dlunknown;
12294 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12295 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12296 /* dlclose (self); */
12304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12305 (eval $ac_link) 2>&5
12307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12309 (./conftest; exit; ) >&5 2>/dev/null
12311 case x$lt_status in
12312 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12313 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12314 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12317 # compilation failed
12318 lt_cv_dlopen_self=no
12325 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12326 $as_echo "$lt_cv_dlopen_self" >&6; }
12328 if test "x$lt_cv_dlopen_self" = xyes; then
12329 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12330 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12331 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12332 if test "${lt_cv_dlopen_self_static+set}" = set; then
12333 $as_echo_n "(cached) " >&6
12335 if test "$cross_compiling" = yes; then :
12336 lt_cv_dlopen_self_static=cross
12338 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12339 lt_status=$lt_dlunknown
12340 cat > conftest.$ac_ext <<_LT_EOF
12341 #line 12341 "configure"
12342 #include "confdefs.h"
12351 # define LT_DLGLOBAL RTLD_GLOBAL
12354 # define LT_DLGLOBAL DL_GLOBAL
12356 # define LT_DLGLOBAL 0
12360 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12361 find out it does not work in some platform. */
12362 #ifndef LT_DLLAZY_OR_NOW
12364 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12367 # define LT_DLLAZY_OR_NOW DL_LAZY
12370 # define LT_DLLAZY_OR_NOW RTLD_NOW
12373 # define LT_DLLAZY_OR_NOW DL_NOW
12375 # define LT_DLLAZY_OR_NOW 0
12382 void fnord() { int i=42;}
12385 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12386 int status = $lt_dlunknown;
12390 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12391 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12392 /* dlclose (self); */
12400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12401 (eval $ac_link) 2>&5
12403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12405 (./conftest; exit; ) >&5 2>/dev/null
12407 case x$lt_status in
12408 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12409 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12410 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12413 # compilation failed
12414 lt_cv_dlopen_self_static=no
12421 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12422 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12425 CPPFLAGS="$save_CPPFLAGS"
12426 LDFLAGS="$save_LDFLAGS"
12431 case $lt_cv_dlopen_self in
12432 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12433 *) enable_dlopen_self=unknown ;;
12436 case $lt_cv_dlopen_self_static in
12437 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12438 *) enable_dlopen_self_static=unknown ;;
12460 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12461 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12462 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12463 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12464 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12465 { $as_echo "$as_me:$LINENO: result: yes" >&5
12466 $as_echo "yes" >&6; }
12468 # FIXME - insert some real tests, host_os isn't really good enough
12471 if test -n "$STRIP" ; then
12472 striplib="$STRIP -x"
12473 old_striplib="$STRIP -S"
12474 { $as_echo "$as_me:$LINENO: result: yes" >&5
12475 $as_echo "yes" >&6; }
12477 { $as_echo "$as_me:$LINENO: result: no" >&5
12478 $as_echo "no" >&6; }
12482 { $as_echo "$as_me:$LINENO: result: no" >&5
12483 $as_echo "no" >&6; }
12499 # Report which library types will actually be built
12500 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12501 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12502 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12503 $as_echo "$can_build_shared" >&6; }
12505 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12506 $as_echo_n "checking whether to build shared libraries... " >&6; }
12507 test "$can_build_shared" = "no" && enable_shared=no
12509 # On AIX, shared libraries and static libraries use the same namespace, and
12510 # are all built from PIC.
12513 test "$enable_shared" = yes && enable_static=no
12514 if test -n "$RANLIB"; then
12515 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12516 postinstall_cmds='$RANLIB $lib'
12521 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12522 test "$enable_shared" = yes && enable_static=no
12526 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12527 $as_echo "$enable_shared" >&6; }
12529 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12530 $as_echo_n "checking whether to build static libraries... " >&6; }
12531 # Make sure either enable_shared or enable_static is yes.
12532 test "$enable_shared" = yes || enable_static=yes
12533 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12534 $as_echo "$enable_static" >&6; }
12541 ac_cpp='$CPP $CPPFLAGS'
12542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12560 ac_config_commands="$ac_config_commands libtool"
12565 # Only expand once:
12570 ac_config_files="$ac_config_files Makefile"
12572 cat >confcache <<\_ACEOF
12573 # This file is a shell script that caches the results of configure
12574 # tests run on this system so they can be shared between configure
12575 # scripts and configure runs, see configure's option --config-cache.
12576 # It is not useful on other systems. If it contains results you don't
12577 # want to keep, you may remove or edit it.
12579 # config.status only pays attention to the cache file if you give it
12580 # the --recheck option to rerun configure.
12582 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12583 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12584 # following values.
12588 # The following way of writing the cache mishandles newlines in values,
12589 # but we know of no workaround that is simple, portable, and efficient.
12590 # So, we kill variables containing newlines.
12591 # Ultrix sh set writes to stderr and can't be redirected directly,
12592 # and sets the high bit in the cache file unless we assign to the vars.
12594 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12595 eval ac_val=\$$ac_var
12599 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12600 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12603 _ | IFS | as_nl) ;; #(
12604 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12605 *) $as_unset $ac_var ;;
12611 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12612 *${as_nl}ac_space=\ *)
12613 # `set' does not quote correctly, so add quotes (double-quote
12614 # substitution turns \\\\ into \\, and sed turns \\ into \).
12617 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12620 # `set' quotes correctly as required by POSIX, so do not add quotes.
12621 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12630 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12632 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12634 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12635 if test -w "$cache_file"; then
12636 test "x$cache_file" != "x/dev/null" &&
12637 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12638 $as_echo "$as_me: updating cache $cache_file" >&6;}
12639 cat confcache >$cache_file
12641 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12642 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12647 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12648 # Let make expand exec_prefix.
12649 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12651 # Transform confdefs.h into DEFS.
12652 # Protect against shell expansion while executing Makefile rules.
12653 # Protect against Makefile macro expansion.
12655 # If the first sed substitution is executed (which looks for macros that
12656 # take arguments), then branch to the quote section. Otherwise,
12657 # look for a macro that doesn't take arguments.
12667 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
12669 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
12673 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12686 DEFS=`sed -n "$ac_script" confdefs.h`
12691 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12692 # 1. Remove the extension, and $U if already installed.
12693 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12694 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12695 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12696 # will be set to the directory where LIBOBJS objects are built.
12697 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12698 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12700 LIBOBJS=$ac_libobjs
12702 LTLIBOBJS=$ac_ltlibobjs
12705 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
12706 { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
12707 Usually this means the macro was only invoked conditionally." >&5
12708 $as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
12709 Usually this means the macro was only invoked conditionally." >&2;}
12710 { (exit 1); exit 1; }; }
12712 if test -n "$EXEEXT"; then
12714 am__EXEEXT_FALSE='#'
12716 am__EXEEXT_TRUE='#'
12720 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12721 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12722 Usually this means the macro was only invoked conditionally." >&5
12723 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12724 Usually this means the macro was only invoked conditionally." >&2;}
12725 { (exit 1); exit 1; }; }
12727 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12728 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12729 Usually this means the macro was only invoked conditionally." >&5
12730 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12731 Usually this means the macro was only invoked conditionally." >&2;}
12732 { (exit 1); exit 1; }; }
12734 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12735 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12736 Usually this means the macro was only invoked conditionally." >&5
12737 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12738 Usually this means the macro was only invoked conditionally." >&2;}
12739 { (exit 1); exit 1; }; }
12741 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
12742 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
12743 Usually this means the macro was only invoked conditionally." >&5
12744 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
12745 Usually this means the macro was only invoked conditionally." >&2;}
12746 { (exit 1); exit 1; }; }
12748 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
12749 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
12750 Usually this means the macro was only invoked conditionally." >&5
12751 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
12752 Usually this means the macro was only invoked conditionally." >&2;}
12753 { (exit 1); exit 1; }; }
12755 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
12756 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
12757 Usually this means the macro was only invoked conditionally." >&5
12758 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
12759 Usually this means the macro was only invoked conditionally." >&2;}
12760 { (exit 1); exit 1; }; }
12762 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
12763 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
12764 Usually this means the macro was only invoked conditionally." >&5
12765 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
12766 Usually this means the macro was only invoked conditionally." >&2;}
12767 { (exit 1); exit 1; }; }
12769 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
12770 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
12771 Usually this means the macro was only invoked conditionally." >&5
12772 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
12773 Usually this means the macro was only invoked conditionally." >&2;}
12774 { (exit 1); exit 1; }; }
12776 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
12777 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
12778 Usually this means the macro was only invoked conditionally." >&5
12779 $as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
12780 Usually this means the macro was only invoked conditionally." >&2;}
12781 { (exit 1); exit 1; }; }
12783 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12784 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12785 Usually this means the macro was only invoked conditionally." >&5
12786 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12787 Usually this means the macro was only invoked conditionally." >&2;}
12788 { (exit 1); exit 1; }; }
12791 : ${CONFIG_STATUS=./config.status}
12793 ac_clean_files_save=$ac_clean_files
12794 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12795 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12796 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12797 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12799 # Generated by $as_me.
12800 # Run this file to recreate the current configuration.
12801 # Compiler output produced by configure, useful for debugging
12802 # configure, is in config.log if it exists.
12805 ac_cs_recheck=false
12807 SHELL=\${CONFIG_SHELL-$SHELL}
12810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12811 ## --------------------- ##
12812 ## M4sh Initialization. ##
12813 ## --------------------- ##
12815 # Be more Bourne compatible
12816 DUALCASE=1; export DUALCASE # for MKS sh
12817 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12820 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12821 # is contrary to our usage. Disable this feature.
12822 alias -g '${1+"$@"}'='"$@"'
12823 setopt NO_GLOB_SUBST
12825 case `(set -o) 2>/dev/null` in
12826 *posix*) set -o posix ;;
12835 # Avoid depending upon Character Ranges.
12836 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12837 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12838 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12839 as_cr_digits='0123456789'
12840 as_cr_alnum=$as_cr_Letters$as_cr_digits
12845 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12846 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12847 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12848 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12849 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12850 as_echo='printf %s\n'
12851 as_echo_n='printf %s'
12853 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12854 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12855 as_echo_n='/usr/ucb/echo -n'
12857 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12858 as_echo_n_body='eval
12862 expr "X$arg" : "X\\(.*\\)$as_nl";
12863 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12865 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12867 export as_echo_n_body
12868 as_echo_n='sh -c $as_echo_n_body as_echo'
12870 export as_echo_body
12871 as_echo='sh -c $as_echo_body as_echo'
12874 # The user is always right.
12875 if test "${PATH_SEPARATOR+set}" != set; then
12877 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12878 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12883 # Support unset when possible.
12884 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12892 # We need space, tab and new line, in precisely that order. Quoting is
12893 # there to prevent editors from complaining about space-tab.
12894 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12895 # splitting by setting IFS to empty value.)
12898 # Find who we are. Look in the path if we contain no directory separator.
12900 *[\\/]* ) as_myself=$0 ;;
12901 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12902 for as_dir in $PATH
12905 test -z "$as_dir" && as_dir=.
12906 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12912 # We did not find ourselves, most probably we were run as `sh COMMAND'
12913 # in which case we are not to be found in the path.
12914 if test "x$as_myself" = x; then
12917 if test ! -f "$as_myself"; then
12918 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12919 { (exit 1); exit 1; }
12922 # Work around bugs in pre-3.0 UWIN ksh.
12923 for as_var in ENV MAIL MAILPATH
12924 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12936 # Required to use basename.
12937 if expr a : '\(a\)' >/dev/null 2>&1 &&
12938 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12944 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12945 as_basename=basename
12951 # Name of the executable.
12952 as_me=`$as_basename -- "$0" ||
12953 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12954 X"$0" : 'X\(//\)$' \| \
12955 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12957 sed '/^.*\/\([^/][^/]*\)\/*$/{
12976 as_lineno_1=$LINENO
12977 as_lineno_2=$LINENO
12978 test "x$as_lineno_1" != "x$as_lineno_2" &&
12979 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12981 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12982 # uniformly replaced by the line number. The first 'sed' inserts a
12983 # line-number line after each line using $LINENO; the second 'sed'
12984 # does the real work. The second script uses 'N' to pair each
12985 # line-number line with the line containing $LINENO, and appends
12986 # trailing '-' during substitution so that $LINENO is not a special
12987 # case at line end.
12988 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12989 # scripts with optimization help from Paolo Bonzini. Blame Lee
12990 # E. McMahon (1931-1989) for sed's syntax. :-)
13002 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13005 ' >$as_me.lineno &&
13006 chmod +x "$as_me.lineno" ||
13007 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13008 { (exit 1); exit 1; }; }
13010 # Don't try to exec as it changes $[0], causing all sort of problems
13011 # (the dirname of $[0] is not the place where we might find the
13012 # original and so on. Autoconf is especially sensitive to this).
13013 . "./$as_me.lineno"
13014 # Exit status is that of the last command.
13019 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13025 ECHO_C= ECHO_N= ECHO_T=
13026 case `echo -n x` in
13028 case `echo 'x\c'` in
13029 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13035 if expr a : '\(a\)' >/dev/null 2>&1 &&
13036 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13042 rm -f conf$$ conf$$.exe conf$$.file
13043 if test -d conf$$.dir; then
13044 rm -f conf$$.dir/conf$$.file
13047 mkdir conf$$.dir 2>/dev/null
13049 if (echo >conf$$.file) 2>/dev/null; then
13050 if ln -s conf$$.file conf$$ 2>/dev/null; then
13052 # ... but there are two gotchas:
13053 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13054 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13055 # In both cases, we have to default to `cp -p'.
13056 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13058 elif ln conf$$.file conf$$ 2>/dev/null; then
13066 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13067 rmdir conf$$.dir 2>/dev/null
13069 if mkdir -p . 2>/dev/null; then
13072 test -d ./-p && rmdir ./-p
13076 if test -x / >/dev/null 2>&1; then
13077 as_test_x='test -x'
13079 if ls -dL / >/dev/null 2>&1; then
13086 if test -d "$1"; then
13092 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13093 ???[sx]*):;;*)false;;esac;fi
13097 as_executable_p=$as_test_x
13099 # Sed expression to map a string onto a valid CPP name.
13100 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13102 # Sed expression to map a string onto a valid variable name.
13103 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13108 # Save the log message, to keep $[0] and so on meaningful, and to
13109 # report actual input values of CONFIG_FILES etc. instead of their
13110 # values after options handling.
13112 This file was extended by newlib $as_me 1.17.0, which was
13113 generated by GNU Autoconf 2.63. Invocation command line was
13115 CONFIG_FILES = $CONFIG_FILES
13116 CONFIG_HEADERS = $CONFIG_HEADERS
13117 CONFIG_LINKS = $CONFIG_LINKS
13118 CONFIG_COMMANDS = $CONFIG_COMMANDS
13121 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13126 case $ac_config_files in *"
13127 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13133 # Files that config.status was made for.
13134 config_files="$ac_config_files"
13135 config_commands="$ac_config_commands"
13139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13141 \`$as_me' instantiates files from templates according to the
13142 current configuration.
13144 Usage: $0 [OPTION]... [FILE]...
13146 -h, --help print this help, then exit
13147 -V, --version print version number and configuration settings, then exit
13148 -q, --quiet, --silent
13149 do not print progress messages
13150 -d, --debug don't remove temporary files
13151 --recheck update $as_me by reconfiguring in the same conditions
13152 --file=FILE[:TEMPLATE]
13153 instantiate the configuration file FILE
13155 Configuration files:
13158 Configuration commands:
13161 Report bugs to <bug-autoconf@gnu.org>."
13164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13166 newlib config.status 1.17.0
13167 configured by $0, generated by GNU Autoconf 2.63,
13168 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13170 Copyright (C) 2008 Free Software Foundation, Inc.
13171 This config.status script is free software; the Free Software Foundation
13172 gives unlimited permission to copy, distribute and modify it."
13179 test -n "\$AWK" || AWK=awk
13182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13183 # The default lists apply if the user does not specify any file.
13189 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13190 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13201 # Handling of the options.
13202 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13204 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13205 $as_echo "$ac_cs_version"; exit ;;
13206 --debug | --debu | --deb | --de | --d | -d )
13208 --file | --fil | --fi | --f )
13211 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13213 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13214 ac_need_defaults=false;;
13215 --he | --h | --help | --hel | -h )
13216 $as_echo "$ac_cs_usage"; exit ;;
13217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13218 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13221 # This is an error.
13222 -*) { $as_echo "$as_me: error: unrecognized option: $1
13223 Try \`$0 --help' for more information." >&2
13224 { (exit 1); exit 1; }; } ;;
13226 *) ac_config_targets="$ac_config_targets $1"
13227 ac_need_defaults=false ;;
13233 ac_configure_extra_args=
13235 if $ac_cs_silent; then
13237 ac_configure_extra_args="$ac_configure_extra_args --silent"
13241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13242 if \$ac_cs_recheck; then
13243 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13245 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13246 CONFIG_SHELL='$SHELL'
13247 export CONFIG_SHELL
13252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13256 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13257 ## Running $as_me. ##
13263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13267 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13270 # The HP-UX ksh and POSIX shell print the target directory to stdout
13271 # if CDPATH is set.
13272 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13274 sed_quote_subst='$sed_quote_subst'
13275 double_quote_subst='$double_quote_subst'
13276 delay_variable_subst='$delay_variable_subst'
13277 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13278 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13279 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13280 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13281 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13282 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13283 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13284 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13285 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13286 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13287 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13288 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13289 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13290 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13291 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13292 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13293 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13294 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13295 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13296 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13297 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13298 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13299 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13300 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13301 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13302 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13303 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13304 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13305 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13306 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13307 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13308 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13309 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13310 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13311 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13312 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13313 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13314 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13315 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13316 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13317 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13318 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13319 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13320 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13321 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13322 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13323 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"`'
13324 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"`'
13325 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13326 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13327 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13328 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13329 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13330 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13331 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13332 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13333 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13334 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13335 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13336 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13337 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13338 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13339 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13340 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13341 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13342 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13343 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13344 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13345 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13346 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13347 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13348 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13349 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13350 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13351 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13352 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13353 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13354 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13355 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13356 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13357 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13358 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13359 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13360 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13361 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13362 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13363 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13364 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13365 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13366 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13367 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13368 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13369 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13370 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13371 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13372 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13373 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13374 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13375 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13376 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13377 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13378 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13379 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13380 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13381 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13382 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13383 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13384 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13385 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13386 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13387 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13388 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13389 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13390 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13391 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13392 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13393 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13394 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13395 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13396 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13399 LTCFLAGS='$LTCFLAGS'
13400 compiler='$compiler_DEFAULT'
13402 # Quote evaled strings.
13413 deplibs_check_method \
13422 lt_cv_sys_global_symbol_pipe \
13423 lt_cv_sys_global_symbol_to_cdecl \
13424 lt_cv_sys_global_symbol_to_c_name_address \
13425 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13428 lt_prog_compiler_no_builtin_flag \
13429 lt_prog_compiler_wl \
13430 lt_prog_compiler_pic \
13431 lt_prog_compiler_static \
13432 lt_cv_prog_compiler_c_o \
13440 export_dynamic_flag_spec \
13441 whole_archive_flag_spec \
13442 compiler_needs_object \
13444 allow_undefined_flag \
13445 no_undefined_flag \
13446 hardcode_libdir_flag_spec \
13447 hardcode_libdir_flag_spec_ld \
13448 hardcode_libdir_separator \
13453 variables_saved_for_relink \
13455 library_names_spec \
13460 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13461 *[\\\\\\\`\\"\\\$]*)
13462 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13465 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13470 # Double-quote double-evaled strings.
13471 for var in reload_cmds \
13472 old_postinstall_cmds \
13473 old_postuninstall_cmds \
13475 extract_expsyms_cmds \
13476 old_archive_from_new_cmds \
13477 old_archive_from_expsyms_cmds \
13479 archive_expsym_cmds \
13481 module_expsym_cmds \
13482 export_symbols_cmds \
13485 postuninstall_cmds \
13487 sys_lib_search_path_spec \
13488 sys_lib_dlsearch_path_spec; do
13489 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13490 *[\\\\\\\`\\"\\\$]*)
13491 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13494 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13499 # Fix-up fallback echo if it was mangled by the above quoting rules.
13501 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13505 ac_aux_dir='$ac_aux_dir'
13506 xsi_shell='$xsi_shell'
13507 lt_shell_append='$lt_shell_append'
13509 # See if we are running on zsh, and set the options which allow our
13510 # commands through without removal of \ escapes INIT.
13511 if test -n "\${ZSH_VERSION+set}" ; then
13512 setopt NO_GLOB_SUBST
13518 TIMESTAMP='$TIMESTAMP'
13527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13529 # Handling of arguments.
13530 for ac_config_target in $ac_config_targets
13532 case $ac_config_target in
13533 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13534 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13535 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13537 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13538 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13539 { (exit 1); exit 1; }; };;
13544 # If the user did not use the arguments to specify the items to instantiate,
13545 # then the envvar interface is used. Set only those that are not.
13546 # We use the long form for the default assignment because of an extremely
13547 # bizarre bug on SunOS 4.1.3.
13548 if $ac_need_defaults; then
13549 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13550 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13553 # Have a temporary directory for convenience. Make it in the build tree
13554 # simply because there is no reason against having it here, and in addition,
13555 # creating and moving files from /tmp can sometimes cause problems.
13556 # Hook for its removal unless debugging.
13557 # Note that there is a small window in which the directory will not be cleaned:
13558 # after its creation but before its name has been assigned to `$tmp'.
13562 trap 'exit_status=$?
13563 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13565 trap '{ (exit 1); exit 1; }' 1 2 13 15
13567 # Create a (secure) tmp directory for tmp files.
13570 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13571 test -n "$tmp" && test -d "$tmp"
13574 tmp=./conf$$-$RANDOM
13575 (umask 077 && mkdir "$tmp")
13578 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13579 { (exit 1); exit 1; }
13582 # Set up the scripts for CONFIG_FILES section.
13583 # No need to generate them if there are no CONFIG_FILES.
13584 # This happens for instance with `./config.status config.h'.
13585 if test -n "$CONFIG_FILES"; then
13589 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13590 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13593 ac_cs_awk_cr=$ac_cr
13596 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13601 echo "cat >conf$$subs.awk <<_ACEOF" &&
13602 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13604 } >conf$$subs.sh ||
13605 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13606 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13607 { (exit 1); exit 1; }; }
13608 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13610 for ac_last_try in false false false false false :; do
13611 . ./conf$$subs.sh ||
13612 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13613 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13614 { (exit 1); exit 1; }; }
13616 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13617 if test $ac_delim_n = $ac_delim_num; then
13619 elif $ac_last_try; then
13620 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13621 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13622 { (exit 1); exit 1; }; }
13624 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13627 rm -f conf$$subs.sh
13629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13630 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13634 s/^/S["/; s/!.*/"]=/
13644 s/\(.\{148\}\).*/\1/
13646 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13651 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13658 s/\(.\{148\}\).*/\1/
13660 s/["\\]/\\&/g; s/^/"/; s/$/"/
13664 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13669 ' <conf$$subs.awk | sed '
13674 ' >>$CONFIG_STATUS || ac_write_fail=1
13675 rm -f conf$$subs.awk
13676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13678 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13679 for (key in S) S_is_set[key] = 1
13685 nfields = split(line, field, "@")
13687 len = length(field[1])
13688 for (i = 2; i < nfields; i++) {
13690 keylen = length(key)
13691 if (S_is_set[key]) {
13693 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13694 len += length(value) + length(field[++i])
13705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13706 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13707 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13710 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13711 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13712 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
13713 { (exit 1); exit 1; }; }
13716 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13717 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13718 # trailing colons and then remove the whole line if VPATH becomes empty
13719 # (actually we leave an empty line to preserve line numbers).
13720 if test "x$srcdir" = x.; then
13721 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13722 s/:*\$(srcdir):*/:/
13723 s/:*\${srcdir}:*/:/
13725 s/^\([^=]*=[ ]*\):*/\1/
13731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13732 fi # test -n "$CONFIG_FILES"
13735 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
13740 :[FHLC]) ac_mode=$ac_tag; continue;;
13742 case $ac_mode$ac_tag in
13744 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13745 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13746 { (exit 1); exit 1; }; };;
13747 :[FH]-) ac_tag=-:-;;
13748 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13765 -) ac_f="$tmp/stdin";;
13766 *) # Look for the file first in the build tree, then in the source tree
13767 # (if the path is not absolute). The absolute path cannot be DOS-style,
13768 # because $ac_f cannot contain `:'.
13772 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13774 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13775 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13776 { (exit 1); exit 1; }; };;
13778 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13779 ac_file_inputs="$ac_file_inputs '$ac_f'"
13782 # Let's still pretend it is `configure' which instantiates (i.e., don't
13783 # use $as_me), people would be surprised to read:
13784 # /* config.h. Generated by config.status. */
13785 configure_input='Generated from '`
13786 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13788 if test x"$ac_file" != x-; then
13789 configure_input="$ac_file. $configure_input"
13790 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13791 $as_echo "$as_me: creating $ac_file" >&6;}
13793 # Neutralize special characters interpreted by sed in replacement strings.
13794 case $configure_input in #(
13795 *\&* | *\|* | *\\* )
13796 ac_sed_conf_input=`$as_echo "$configure_input" |
13797 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13798 *) ac_sed_conf_input=$configure_input;;
13802 *:-:* | *:-) cat >"$tmp/stdin" \
13803 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13804 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13805 { (exit 1); exit 1; }; } ;;
13810 ac_dir=`$as_dirname -- "$ac_file" ||
13811 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13812 X"$ac_file" : 'X\(//\)[^/]' \| \
13813 X"$ac_file" : 'X\(//\)$' \| \
13814 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13815 $as_echo X"$ac_file" |
13816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13820 /^X\(\/\/\)[^/].*/{
13835 -*) as_dir=./$as_dir;;
13837 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13841 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13842 *) as_qdir=$as_dir;;
13844 as_dirs="'$as_qdir' $as_dirs"
13845 as_dir=`$as_dirname -- "$as_dir" ||
13846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13847 X"$as_dir" : 'X\(//\)[^/]' \| \
13848 X"$as_dir" : 'X\(//\)$' \| \
13849 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13850 $as_echo X"$as_dir" |
13851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13855 /^X\(\/\/\)[^/].*/{
13868 test -d "$as_dir" && break
13870 test -z "$as_dirs" || eval "mkdir $as_dirs"
13871 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13872 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13873 { (exit 1); exit 1; }; }; }
13877 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13879 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13880 # A ".." for each directory in $ac_dir_suffix.
13881 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13882 case $ac_top_builddir_sub in
13883 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13884 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13887 ac_abs_top_builddir=$ac_pwd
13888 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13889 # for backward compatibility:
13890 ac_top_builddir=$ac_top_build_prefix
13893 .) # We are building in place.
13895 ac_top_srcdir=$ac_top_builddir_sub
13896 ac_abs_top_srcdir=$ac_pwd ;;
13897 [\\/]* | ?:[\\/]* ) # Absolute name.
13898 ac_srcdir=$srcdir$ac_dir_suffix;
13899 ac_top_srcdir=$srcdir
13900 ac_abs_top_srcdir=$srcdir ;;
13901 *) # Relative name.
13902 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13903 ac_top_srcdir=$ac_top_build_prefix$srcdir
13904 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13906 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13916 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13917 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13919 ac_MKDIR_P=$MKDIR_P
13921 [\\/$]* | ?:[\\/]* ) ;;
13922 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13927 # If the template does not know about datarootdir, expand it.
13928 # FIXME: This hack should be removed a few years after 2.60.
13929 ac_datarootdir_hack=; ac_datarootdir_seen=
13942 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13943 *datarootdir*) ac_datarootdir_seen=yes;;
13944 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13945 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13946 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13949 ac_datarootdir_hack='
13950 s&@datadir@&$datadir&g
13951 s&@docdir@&$docdir&g
13952 s&@infodir@&$infodir&g
13953 s&@localedir@&$localedir&g
13954 s&@mandir@&$mandir&g
13955 s&\\\${datarootdir}&$datarootdir&g' ;;
13959 # Neutralize VPATH when `$srcdir' = `.'.
13960 # Shell code in configure.ac might set extrasub.
13961 # FIXME: do we really want to maintain this feature?
13962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13963 ac_sed_extra="$ac_vpsub
13966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13969 s|@configure_input@|$ac_sed_conf_input|;t t
13970 s&@top_builddir@&$ac_top_builddir_sub&;t t
13971 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13972 s&@srcdir@&$ac_srcdir&;t t
13973 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13974 s&@top_srcdir@&$ac_top_srcdir&;t t
13975 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13976 s&@builddir@&$ac_builddir&;t t
13977 s&@abs_builddir@&$ac_abs_builddir&;t t
13978 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13979 s&@INSTALL@&$ac_INSTALL&;t t
13980 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13981 $ac_datarootdir_hack
13983 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13984 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13985 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13986 { (exit 1); exit 1; }; }
13988 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13989 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13990 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13991 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13992 which seems to be undefined. Please make sure it is defined." >&5
13993 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13994 which seems to be undefined. Please make sure it is defined." >&2;}
13998 -) cat "$tmp/out" && rm -f "$tmp/out";;
13999 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14001 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14002 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14003 { (exit 1); exit 1; }; }
14007 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14008 $as_echo "$as_me: executing $ac_file commands" >&6;}
14013 case $ac_file$ac_mode in
14014 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14015 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14016 # are listed without --file. Let's play safe and only enable the eval
14017 # if we detect the quoting.
14018 case $CONFIG_FILES in
14019 *\'*) eval set x "$CONFIG_FILES" ;;
14020 *) set x $CONFIG_FILES ;;
14025 # Strip MF so we end up with the name of the file.
14026 mf=`echo "$mf" | sed -e 's/:.*$//'`
14027 # Check whether this is an Automake generated Makefile or not.
14028 # We used to match only the files named `Makefile.in', but
14029 # some people rename them; so instead we look at the file content.
14030 # Grep'ing the first line is not enough: some people post-process
14031 # each Makefile.in and add a new line on top of each file to say so.
14032 # Grep'ing the whole file is not good either: AIX grep has a line
14033 # limit of 2048, but all sed's we know have understand at least 4000.
14034 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14035 dirpart=`$as_dirname -- "$mf" ||
14036 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14037 X"$mf" : 'X\(//\)[^/]' \| \
14038 X"$mf" : 'X\(//\)$' \| \
14039 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14045 /^X\(\/\/\)[^/].*/{
14061 # Extract the definition of DEPDIR, am__include, and am__quote
14062 # from the Makefile without running `make'.
14063 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14064 test -z "$DEPDIR" && continue
14065 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14066 test -z "am__include" && continue
14067 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14068 # When using ansi2knr, U may be empty or an underscore; expand it
14069 U=`sed -n 's/^U = //p' < "$mf"`
14070 # Find all dependency output files, they are included files with
14071 # $(DEPDIR) in their names. We invoke sed twice because it is the
14072 # simplest approach to changing $(DEPDIR) to its actual value in the
14074 for file in `sed -n "
14075 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14076 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14077 # Make sure the directory exists.
14078 test -f "$dirpart/$file" && continue
14079 fdir=`$as_dirname -- "$file" ||
14080 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14081 X"$file" : 'X\(//\)[^/]' \| \
14082 X"$file" : 'X\(//\)$' \| \
14083 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14084 $as_echo X"$file" |
14085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14089 /^X\(\/\/\)[^/].*/{
14102 { as_dir=$dirpart/$fdir
14104 -*) as_dir=./$as_dir;;
14106 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14110 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14111 *) as_qdir=$as_dir;;
14113 as_dirs="'$as_qdir' $as_dirs"
14114 as_dir=`$as_dirname -- "$as_dir" ||
14115 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14116 X"$as_dir" : 'X\(//\)[^/]' \| \
14117 X"$as_dir" : 'X\(//\)$' \| \
14118 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14119 $as_echo X"$as_dir" |
14120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14124 /^X\(\/\/\)[^/].*/{
14137 test -d "$as_dir" && break
14139 test -z "$as_dirs" || eval "mkdir $as_dirs"
14140 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14141 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14142 { (exit 1); exit 1; }; }; }
14143 # echo "creating $dirpart/$file"
14144 echo '# dummy' > "$dirpart/$file"
14151 # See if we are running on zsh, and set the options which allow our
14152 # commands through without removal of \ escapes.
14153 if test -n "${ZSH_VERSION+set}" ; then
14154 setopt NO_GLOB_SUBST
14157 cfgfile="${ofile}T"
14158 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14161 cat <<_LT_EOF >> "$cfgfile"
14164 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14165 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14166 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14167 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14169 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14170 # 2006, 2007, 2008 Free Software Foundation, Inc.
14171 # Written by Gordon Matzigkeit, 1996
14173 # This file is part of GNU Libtool.
14175 # GNU Libtool is free software; you can redistribute it and/or
14176 # modify it under the terms of the GNU General Public License as
14177 # published by the Free Software Foundation; either version 2 of
14178 # the License, or (at your option) any later version.
14180 # As a special exception to the GNU General Public License,
14181 # if you distribute this file as part of a program or library that
14182 # is built using GNU Libtool, you may include this file under the
14183 # same distribution terms that you use for the rest of that program.
14185 # GNU Libtool is distributed in the hope that it will be useful,
14186 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14187 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14188 # GNU General Public License for more details.
14190 # You should have received a copy of the GNU General Public License
14191 # along with GNU Libtool; see the file COPYING. If not, a copy
14192 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14193 # obtained by writing to the Free Software Foundation, Inc.,
14194 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14197 # The names of the tagged configurations supported by this script.
14200 # ### BEGIN LIBTOOL CONFIG
14202 # A sed program that does not truncate output.
14205 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14206 Xsed="\$SED -e 1s/^X//"
14208 # Assembler program.
14211 # DLL creation program.
14214 # Object dumper program.
14217 # Which release of libtool.m4 was used?
14218 macro_version=$macro_version
14219 macro_revision=$macro_revision
14221 # Whether or not to build shared libraries.
14222 build_libtool_libs=$enable_shared
14224 # Whether or not to build static libraries.
14225 build_old_libs=$enable_static
14227 # What type of objects to build.
14230 # Whether or not to optimize for fast installation.
14231 fast_install=$enable_fast_install
14234 host_alias=$host_alias
14238 # The build system.
14239 build_alias=$build_alias
14243 # A grep program that handles long lines.
14249 # A literal string matcher.
14252 # A BSD- or MS-compatible name lister.
14255 # Whether we need soft or hard links.
14258 # What is the maximum length of a command?
14259 max_cmd_len=$max_cmd_len
14261 # Object file suffix (normally "o").
14264 # Executable file suffix (normally "").
14267 # whether the shell understands "unset".
14270 # turn spaces into newlines.
14273 # turn newlines into spaces.
14276 # How to create reloadable object files.
14277 reload_flag=$lt_reload_flag
14278 reload_cmds=$lt_reload_cmds
14280 # Method to check whether dependent libraries are shared objects.
14281 deplibs_check_method=$lt_deplibs_check_method
14283 # Command to use when deplibs_check_method == "file_magic".
14284 file_magic_cmd=$lt_file_magic_cmd
14288 AR_FLAGS=$lt_AR_FLAGS
14290 # A symbol stripping program.
14293 # Commands used to install an old-style archive.
14295 old_postinstall_cmds=$lt_old_postinstall_cmds
14296 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14301 # LTCC compiler flags.
14302 LTCFLAGS=$lt_CFLAGS
14304 # Take the output of nm and produce a listing of raw symbols and C names.
14305 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14307 # Transform the output of nm in a proper C declaration.
14308 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14310 # Transform the output of nm in a C name address pair.
14311 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14313 # Transform the output of nm in a C name address pair when lib prefix is needed.
14314 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14316 # The name of the directory that contains temporary libtool files.
14319 # Shell to use when invoking shell scripts.
14322 # An echo program that does not interpret backslashes.
14325 # Used to examine libraries when file_magic_cmd begins with "file".
14326 MAGIC_CMD=$MAGIC_CMD
14328 # Must we lock files when doing compilation?
14329 need_locks=$lt_need_locks
14331 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14332 DSYMUTIL=$lt_DSYMUTIL
14334 # Tool to change global to local symbols on Mac OS X.
14337 # Tool to manipulate fat objects and archives on Mac OS X.
14340 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14343 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14344 OTOOL64=$lt_OTOOL64
14346 # Old archive suffix (normally "a").
14349 # Shared library suffix (normally ".so").
14350 shrext_cmds=$lt_shrext_cmds
14352 # The commands to extract the exported symbol list from a shared archive.
14353 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14355 # Variables whose values should be saved in libtool wrapper scripts and
14356 # restored at link time.
14357 variables_saved_for_relink=$lt_variables_saved_for_relink
14359 # Do we need the "lib" prefix for modules?
14360 need_lib_prefix=$need_lib_prefix
14362 # Do we need a version for libraries?
14363 need_version=$need_version
14365 # Library versioning type.
14366 version_type=$version_type
14368 # Shared library runtime path variable.
14369 runpath_var=$runpath_var
14371 # Shared library path variable.
14372 shlibpath_var=$shlibpath_var
14374 # Is shlibpath searched before the hard-coded library search path?
14375 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14377 # Format of library name prefix.
14378 libname_spec=$lt_libname_spec
14380 # List of archive names. First name is the real one, the rest are links.
14381 # The last name is the one that the linker finds with -lNAME
14382 library_names_spec=$lt_library_names_spec
14384 # The coded name of the library, if different from the real name.
14385 soname_spec=$lt_soname_spec
14387 # Command to use after installation of a shared archive.
14388 postinstall_cmds=$lt_postinstall_cmds
14390 # Command to use after uninstallation of a shared archive.
14391 postuninstall_cmds=$lt_postuninstall_cmds
14393 # Commands used to finish a libtool library installation in a directory.
14394 finish_cmds=$lt_finish_cmds
14396 # As "finish_cmds", except a single script fragment to be evaled but
14398 finish_eval=$lt_finish_eval
14400 # Whether we should hardcode library paths into libraries.
14401 hardcode_into_libs=$hardcode_into_libs
14403 # Compile-time system search path for libraries.
14404 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14406 # Run-time system search path for libraries.
14407 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14409 # Whether dlopen is supported.
14410 dlopen_support=$enable_dlopen
14412 # Whether dlopen of programs is supported.
14413 dlopen_self=$enable_dlopen_self
14415 # Whether dlopen of statically linked programs is supported.
14416 dlopen_self_static=$enable_dlopen_self_static
14418 # Commands to strip libraries.
14419 old_striplib=$lt_old_striplib
14420 striplib=$lt_striplib
14423 # The linker used to build libraries.
14426 # Commands used to build an old-style archive.
14427 old_archive_cmds=$lt_old_archive_cmds
14429 # A language specific compiler.
14432 # Is the compiler the GNU compiler?
14435 # Compiler flag to turn off builtin functions.
14436 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14438 # How to pass a linker flag through the compiler.
14439 wl=$lt_lt_prog_compiler_wl
14441 # Additional compiler flags for building library objects.
14442 pic_flag=$lt_lt_prog_compiler_pic
14444 # Compiler flag to prevent dynamic linking.
14445 link_static_flag=$lt_lt_prog_compiler_static
14447 # Does compiler simultaneously support -c and -o options?
14448 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14450 # Whether or not to add -lc for building shared libraries.
14451 build_libtool_need_lc=$archive_cmds_need_lc
14453 # Whether or not to disallow shared libs when runtime libs are static.
14454 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14456 # Compiler flag to allow reflexive dlopens.
14457 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14459 # Compiler flag to generate shared objects directly from archives.
14460 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14462 # Whether the compiler copes with passing no objects directly.
14463 compiler_needs_object=$lt_compiler_needs_object
14465 # Create an old-style archive from a shared archive.
14466 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14468 # Create a temporary old-style archive to link instead of a shared archive.
14469 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14471 # Commands used to build a shared archive.
14472 archive_cmds=$lt_archive_cmds
14473 archive_expsym_cmds=$lt_archive_expsym_cmds
14475 # Commands used to build a loadable module if different from building
14476 # a shared archive.
14477 module_cmds=$lt_module_cmds
14478 module_expsym_cmds=$lt_module_expsym_cmds
14480 # Whether we are building with GNU ld or not.
14481 with_gnu_ld=$lt_with_gnu_ld
14483 # Flag that allows shared libraries with undefined symbols to be built.
14484 allow_undefined_flag=$lt_allow_undefined_flag
14486 # Flag that enforces no undefined symbols.
14487 no_undefined_flag=$lt_no_undefined_flag
14489 # Flag to hardcode \$libdir into a binary during linking.
14490 # This must work even if \$libdir does not exist
14491 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14493 # If ld is used when linking, flag to hardcode \$libdir into a binary
14494 # during linking. This must work even if \$libdir does not exist.
14495 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14497 # Whether we need a single "-rpath" flag with a separated argument.
14498 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14500 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14501 # DIR into the resulting binary.
14502 hardcode_direct=$hardcode_direct
14504 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14505 # DIR into the resulting binary and the resulting library dependency is
14506 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14507 # library is relocated.
14508 hardcode_direct_absolute=$hardcode_direct_absolute
14510 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14511 # into the resulting binary.
14512 hardcode_minus_L=$hardcode_minus_L
14514 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14515 # into the resulting binary.
14516 hardcode_shlibpath_var=$hardcode_shlibpath_var
14518 # Set to "yes" if building a shared library automatically hardcodes DIR
14519 # into the library and all subsequent libraries and executables linked
14521 hardcode_automatic=$hardcode_automatic
14523 # Set to yes if linker adds runtime paths of dependent libraries
14524 # to runtime path list.
14525 inherit_rpath=$inherit_rpath
14527 # Whether libtool must link a program against all its dependency libraries.
14528 link_all_deplibs=$link_all_deplibs
14530 # Fix the shell variable \$srcfile for the compiler.
14531 fix_srcfile_path=$lt_fix_srcfile_path
14533 # Set to "yes" if exported symbols are required.
14534 always_export_symbols=$always_export_symbols
14536 # The commands to list exported symbols.
14537 export_symbols_cmds=$lt_export_symbols_cmds
14539 # Symbols that should not be listed in the preloaded symbols.
14540 exclude_expsyms=$lt_exclude_expsyms
14542 # Symbols that must always be exported.
14543 include_expsyms=$lt_include_expsyms
14545 # Commands necessary for linking programs (against libraries) with templates.
14546 prelink_cmds=$lt_prelink_cmds
14548 # Specify filename containing input files.
14549 file_list_spec=$lt_file_list_spec
14551 # How to hardcode a shared library path into an executable.
14552 hardcode_action=$hardcode_action
14554 # ### END LIBTOOL CONFIG
14560 cat <<\_LT_EOF >> "$cfgfile"
14561 # AIX sometimes has problems with the GCC collect2 program. For some
14562 # reason, if we set the COLLECT_NAMES environment variable, the problems
14563 # vanish in a puff of smoke.
14564 if test "X${COLLECT_NAMES+set}" != Xset; then
14566 export COLLECT_NAMES
14573 ltmain="$ac_aux_dir/ltmain.sh"
14576 # We use sed instead of cat because bash on DJGPP gets confused if
14577 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14578 # text mode, it properly converts lines to CR/LF. This bash problem
14579 # is reportedly fixed, but why not run on old versions too?
14580 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14581 || (rm -f "$cfgfile"; exit 1)
14585 cat << \_LT_EOF >> "$cfgfile"
14587 # func_dirname file append nondir_replacement
14588 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14589 # otherwise set result to NONDIR_REPLACEMENT.
14593 */*) func_dirname_result="${1%/*}${2}" ;;
14594 * ) func_dirname_result="${3}" ;;
14598 # func_basename file
14601 func_basename_result="${1##*/}"
14604 # func_dirname_and_basename file append nondir_replacement
14605 # perform func_basename and func_dirname in a single function
14607 # dirname: Compute the dirname of FILE. If nonempty,
14608 # add APPEND to the result, otherwise set result
14609 # to NONDIR_REPLACEMENT.
14610 # value returned in "$func_dirname_result"
14611 # basename: Compute filename of FILE.
14612 # value retuned in "$func_basename_result"
14613 # Implementation must be kept synchronized with func_dirname
14614 # and func_basename. For efficiency, we do not delegate to
14615 # those functions but instead duplicate the functionality here.
14616 func_dirname_and_basename ()
14619 */*) func_dirname_result="${1%/*}${2}" ;;
14620 * ) func_dirname_result="${3}" ;;
14622 func_basename_result="${1##*/}"
14625 # func_stripname prefix suffix name
14626 # strip PREFIX and SUFFIX off of NAME.
14627 # PREFIX and SUFFIX must not contain globbing or regex special
14628 # characters, hashes, percent signs, but SUFFIX may contain a leading
14629 # dot (in which case that matches only a dot).
14632 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14633 # positional parameters, so assign one to ordinary parameter first.
14634 func_stripname_result=${3}
14635 func_stripname_result=${func_stripname_result#"${1}"}
14636 func_stripname_result=${func_stripname_result%"${2}"}
14642 func_opt_split_opt=${1%%=*}
14643 func_opt_split_arg=${1#*=}
14650 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14651 *) func_lo2o_result=${1} ;;
14655 # func_xform libobj-or-source
14658 func_xform_result=${1%.*}.lo
14661 # func_arith arithmetic-term...
14664 func_arith_result=$(( $* ))
14668 # STRING may not start with a hyphen.
14671 func_len_result=${#1}
14676 *) # Bourne compatible functions.
14677 cat << \_LT_EOF >> "$cfgfile"
14679 # func_dirname file append nondir_replacement
14680 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14681 # otherwise set result to NONDIR_REPLACEMENT.
14684 # Extract subdirectory from the argument.
14685 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14686 if test "X$func_dirname_result" = "X${1}"; then
14687 func_dirname_result="${3}"
14689 func_dirname_result="$func_dirname_result${2}"
14693 # func_basename file
14696 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14700 # func_stripname prefix suffix name
14701 # strip PREFIX and SUFFIX off of NAME.
14702 # PREFIX and SUFFIX must not contain globbing or regex special
14703 # characters, hashes, percent signs, but SUFFIX may contain a leading
14704 # dot (in which case that matches only a dot).
14705 # func_strip_suffix prefix name
14709 .*) func_stripname_result=`$ECHO "X${3}" \
14710 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14711 *) func_stripname_result=`$ECHO "X${3}" \
14712 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14717 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14718 my_sed_long_arg='1s/^-[^=]*=//'
14723 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14724 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14730 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14733 # func_xform libobj-or-source
14736 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14739 # func_arith arithmetic-term...
14742 func_arith_result=`expr "$@"`
14746 # STRING may not start with a hyphen.
14749 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14755 case $lt_shell_append in
14757 cat << \_LT_EOF >> "$cfgfile"
14759 # func_append var value
14760 # Append VALUE to the end of shell variable VAR.
14768 cat << \_LT_EOF >> "$cfgfile"
14770 # func_append var value
14771 # Append VALUE to the end of shell variable VAR.
14782 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14783 || (rm -f "$cfgfile"; exit 1)
14785 mv -f "$cfgfile" "$ofile" ||
14786 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14795 { (exit 0); exit 0; }
14797 chmod +x $CONFIG_STATUS
14798 ac_clean_files=$ac_clean_files_save
14800 test $ac_write_fail = 0 ||
14801 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14802 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14803 { (exit 1); exit 1; }; }
14806 # configure is writing to config.log, and then calls config.status.
14807 # config.status does its own redirection, appending to config.log.
14808 # Unfortunately, on DOS this fails, as config.log is still kept open
14809 # by configure, so config.status won't be able to write to it; its
14810 # output is simply discarded. So we exec the FD to /dev/null,
14811 # effectively closing config.log, so it can be properly (re)opened and
14812 # appended to by config.status. When coming back to configure, we
14813 # need to make the FD available again.
14814 if test "$no_create" != yes; then
14816 ac_config_status_args=
14817 test "$silent" = yes &&
14818 ac_config_status_args="$ac_config_status_args --quiet"
14820 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14822 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14823 # would make configure fail if this is the last instruction.
14824 $ac_cs_success || { (exit 1); exit 1; }
14826 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14827 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14828 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}