2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for newlib 1.18.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.18.0'
747 PACKAGE_STRING='newlib 1.18.0'
750 ac_unique_file="libc"
751 # Factoring default headers for most tests.
752 ac_includes_default="\
754 #ifdef HAVE_SYS_TYPES_H
755 # include <sys/types.h>
757 #ifdef HAVE_SYS_STAT_H
758 # include <sys/stat.h>
764 # ifdef HAVE_STDLIB_H
769 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
774 #ifdef HAVE_STRINGS_H
775 # include <strings.h>
777 #ifdef HAVE_INTTYPES_H
778 # include <inttypes.h>
787 enable_option_checking=no
788 ac_subst_vars='am__EXEEXT_FALSE
792 HAVE_LONG_DOUBLE_FALSE
793 HAVE_LONG_DOUBLE_TRUE
794 libc_cv_initfinit_array
804 LIBM_MACHINE_OBJECTLIST
863 MAINTAINER_MODE_FALSE
887 INSTALL_STRIP_PROGRAM
911 MAY_SUPPLY_SYSCALLS_FALSE
912 MAY_SUPPLY_SYSCALLS_TRUE
940 program_transform_name
952 enable_option_checking
953 enable_newlib_io_pos_args
954 enable_newlib_io_c99_formats
955 enable_newlib_io_long_long
956 enable_newlib_io_long_double
958 enable_newlib_iconv_encodings
959 enable_newlib_iconv_from_encodings
960 enable_newlib_iconv_to_encodings
961 enable_newlib_iconv_external_ccs
962 enable_newlib_atexit_dynamic_alloc
963 enable_newlib_reent_small
965 enable_target_optspace
966 enable_malloc_debugging
967 enable_newlib_multithread
969 enable_newlib_elix_level
970 enable_newlib_io_float
971 enable_newlib_supplied_syscalls
972 enable_dependency_tracking
973 enable_maintainer_mode
982 ac_precious_vars='build_alias
998 # Initialize some variables set by options.
1000 ac_init_version=false
1001 ac_unrecognized_opts=
1002 ac_unrecognized_sep=
1003 # The variables have the same names as the options, with
1004 # dashes changed to underlines.
1005 cache_file=/dev/null
1012 program_transform_name=s,x,x,
1020 # Installation directory options.
1021 # These are left unexpanded so users can "make install exec_prefix=/foo"
1022 # and all the variables that are supposed to be based on exec_prefix
1023 # by default will actually change.
1024 # Use braces instead of parens because sh, perl, etc. also accept them.
1025 # (The list follows the same order as the GNU Coding Standards.)
1026 bindir='${exec_prefix}/bin'
1027 sbindir='${exec_prefix}/sbin'
1028 libexecdir='${exec_prefix}/libexec'
1029 datarootdir='${prefix}/share'
1030 datadir='${datarootdir}'
1031 sysconfdir='${prefix}/etc'
1032 sharedstatedir='${prefix}/com'
1033 localstatedir='${prefix}/var'
1034 includedir='${prefix}/include'
1035 oldincludedir='/usr/include'
1036 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1037 infodir='${datarootdir}/info'
1042 libdir='${exec_prefix}/lib'
1043 localedir='${datarootdir}/locale'
1044 mandir='${datarootdir}/man'
1050 # If the previous option needs an argument, assign it.
1051 if test -n "$ac_prev"; then
1052 eval $ac_prev=\$ac_option
1058 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1062 # Accept the important Cygnus configure options, so we can diagnose typos.
1064 case $ac_dashdash$ac_option in
1068 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1070 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1071 bindir=$ac_optarg ;;
1073 -build | --build | --buil | --bui | --bu)
1074 ac_prev=build_alias ;;
1075 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1076 build_alias=$ac_optarg ;;
1078 -cache-file | --cache-file | --cache-fil | --cache-fi \
1079 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1080 ac_prev=cache_file ;;
1081 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1082 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1083 cache_file=$ac_optarg ;;
1085 --config-cache | -C)
1086 cache_file=config.cache ;;
1088 -datadir | --datadir | --datadi | --datad)
1090 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1091 datadir=$ac_optarg ;;
1093 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1094 | --dataroo | --dataro | --datar)
1095 ac_prev=datarootdir ;;
1096 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1097 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1098 datarootdir=$ac_optarg ;;
1100 -disable-* | --disable-*)
1101 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1105 { (exit 1); exit 1; }; }
1106 ac_useropt_orig=$ac_useropt
1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1110 "enable_$ac_useropt"
1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1113 ac_unrecognized_sep=', ';;
1115 eval enable_$ac_useropt=no ;;
1117 -docdir | --docdir | --docdi | --doc | --do)
1119 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1120 docdir=$ac_optarg ;;
1122 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1124 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1125 dvidir=$ac_optarg ;;
1127 -enable-* | --enable-*)
1128 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1132 { (exit 1); exit 1; }; }
1133 ac_useropt_orig=$ac_useropt
1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1137 "enable_$ac_useropt"
1139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1140 ac_unrecognized_sep=', ';;
1142 eval enable_$ac_useropt=\$ac_optarg ;;
1144 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1145 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1146 | --exec | --exe | --ex)
1147 ac_prev=exec_prefix ;;
1148 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1149 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1150 | --exec=* | --exe=* | --ex=*)
1151 exec_prefix=$ac_optarg ;;
1153 -gas | --gas | --ga | --g)
1154 # Obsolete; use --with-gas.
1157 -help | --help | --hel | --he | -h)
1158 ac_init_help=long ;;
1159 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1160 ac_init_help=recursive ;;
1161 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1162 ac_init_help=short ;;
1164 -host | --host | --hos | --ho)
1165 ac_prev=host_alias ;;
1166 -host=* | --host=* | --hos=* | --ho=*)
1167 host_alias=$ac_optarg ;;
1169 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1171 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1173 htmldir=$ac_optarg ;;
1175 -includedir | --includedir | --includedi | --included | --include \
1176 | --includ | --inclu | --incl | --inc)
1177 ac_prev=includedir ;;
1178 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1179 | --includ=* | --inclu=* | --incl=* | --inc=*)
1180 includedir=$ac_optarg ;;
1182 -infodir | --infodir | --infodi | --infod | --info | --inf)
1184 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1185 infodir=$ac_optarg ;;
1187 -libdir | --libdir | --libdi | --libd)
1189 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1190 libdir=$ac_optarg ;;
1192 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1193 | --libexe | --libex | --libe)
1194 ac_prev=libexecdir ;;
1195 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1196 | --libexe=* | --libex=* | --libe=*)
1197 libexecdir=$ac_optarg ;;
1199 -localedir | --localedir | --localedi | --localed | --locale)
1200 ac_prev=localedir ;;
1201 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1202 localedir=$ac_optarg ;;
1204 -localstatedir | --localstatedir | --localstatedi | --localstated \
1205 | --localstate | --localstat | --localsta | --localst | --locals)
1206 ac_prev=localstatedir ;;
1207 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1208 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1209 localstatedir=$ac_optarg ;;
1211 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1213 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1214 mandir=$ac_optarg ;;
1216 -nfp | --nfp | --nf)
1217 # Obsolete; use --without-fp.
1220 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1221 | --no-cr | --no-c | -n)
1224 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1225 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1228 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1229 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1230 | --oldin | --oldi | --old | --ol | --o)
1231 ac_prev=oldincludedir ;;
1232 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1233 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1234 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1235 oldincludedir=$ac_optarg ;;
1237 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1239 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1240 prefix=$ac_optarg ;;
1242 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1243 | --program-pre | --program-pr | --program-p)
1244 ac_prev=program_prefix ;;
1245 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1246 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1247 program_prefix=$ac_optarg ;;
1249 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1250 | --program-suf | --program-su | --program-s)
1251 ac_prev=program_suffix ;;
1252 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1253 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1254 program_suffix=$ac_optarg ;;
1256 -program-transform-name | --program-transform-name \
1257 | --program-transform-nam | --program-transform-na \
1258 | --program-transform-n | --program-transform- \
1259 | --program-transform | --program-transfor \
1260 | --program-transfo | --program-transf \
1261 | --program-trans | --program-tran \
1262 | --progr-tra | --program-tr | --program-t)
1263 ac_prev=program_transform_name ;;
1264 -program-transform-name=* | --program-transform-name=* \
1265 | --program-transform-nam=* | --program-transform-na=* \
1266 | --program-transform-n=* | --program-transform-=* \
1267 | --program-transform=* | --program-transfor=* \
1268 | --program-transfo=* | --program-transf=* \
1269 | --program-trans=* | --program-tran=* \
1270 | --progr-tra=* | --program-tr=* | --program-t=*)
1271 program_transform_name=$ac_optarg ;;
1273 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1275 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1276 pdfdir=$ac_optarg ;;
1278 -psdir | --psdir | --psdi | --psd | --ps)
1280 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1283 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1284 | -silent | --silent | --silen | --sile | --sil)
1287 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1289 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1291 sbindir=$ac_optarg ;;
1293 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1294 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1295 | --sharedst | --shareds | --shared | --share | --shar \
1297 ac_prev=sharedstatedir ;;
1298 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1299 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1300 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1302 sharedstatedir=$ac_optarg ;;
1304 -site | --site | --sit)
1306 -site=* | --site=* | --sit=*)
1309 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1311 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1312 srcdir=$ac_optarg ;;
1314 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1315 | --syscon | --sysco | --sysc | --sys | --sy)
1316 ac_prev=sysconfdir ;;
1317 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1318 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1319 sysconfdir=$ac_optarg ;;
1321 -target | --target | --targe | --targ | --tar | --ta | --t)
1322 ac_prev=target_alias ;;
1323 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1324 target_alias=$ac_optarg ;;
1326 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1329 -version | --version | --versio | --versi | --vers | -V)
1330 ac_init_version=: ;;
1333 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1334 # Reject names that are not valid shell variable names.
1335 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1336 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1337 { (exit 1); exit 1; }; }
1338 ac_useropt_orig=$ac_useropt
1339 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1340 case $ac_user_opts in
1344 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1345 ac_unrecognized_sep=', ';;
1347 eval with_$ac_useropt=\$ac_optarg ;;
1349 -without-* | --without-*)
1350 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1351 # Reject names that are not valid shell variable names.
1352 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1353 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1354 { (exit 1); exit 1; }; }
1355 ac_useropt_orig=$ac_useropt
1356 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1357 case $ac_user_opts in
1361 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1362 ac_unrecognized_sep=', ';;
1364 eval with_$ac_useropt=no ;;
1367 # Obsolete; use --with-x.
1370 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1371 | --x-incl | --x-inc | --x-in | --x-i)
1372 ac_prev=x_includes ;;
1373 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1374 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1375 x_includes=$ac_optarg ;;
1377 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1378 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1379 ac_prev=x_libraries ;;
1380 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1381 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1382 x_libraries=$ac_optarg ;;
1384 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1385 Try \`$0 --help' for more information." >&2
1386 { (exit 1); exit 1; }; }
1390 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1391 # Reject names that are not valid shell variable names.
1392 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1393 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1394 { (exit 1); exit 1; }; }
1395 eval $ac_envvar=\$ac_optarg
1396 export $ac_envvar ;;
1399 # FIXME: should be removed in autoconf 3.0.
1400 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1401 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1402 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1403 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1409 if test -n "$ac_prev"; then
1410 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1411 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1412 { (exit 1); exit 1; }; }
1415 if test -n "$ac_unrecognized_opts"; then
1416 case $enable_option_checking in
1418 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1419 { (exit 1); exit 1; }; } ;;
1420 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1424 # Check all directory arguments for consistency.
1425 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1426 datadir sysconfdir sharedstatedir localstatedir includedir \
1427 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1428 libdir localedir mandir
1430 eval ac_val=\$$ac_var
1431 # Remove trailing slashes.
1434 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1435 eval $ac_var=\$ac_val;;
1437 # Be sure to have absolute directory names.
1439 [\\/$]* | ?:[\\/]* ) continue;;
1440 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1442 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1443 { (exit 1); exit 1; }; }
1446 # There might be people who depend on the old broken behavior: `$host'
1447 # used to hold the argument of --host etc.
1448 # FIXME: To remove some day.
1451 target=$target_alias
1453 # FIXME: To remove some day.
1454 if test "x$host_alias" != x; then
1455 if test "x$build_alias" = x; then
1456 cross_compiling=maybe
1457 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1458 If a cross compiler is detected then cross compile mode will be used." >&2
1459 elif test "x$build_alias" != "x$host_alias"; then
1465 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1467 test "$silent" = yes && exec 6>/dev/null
1470 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1471 ac_ls_di=`ls -di .` &&
1472 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1473 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1474 { (exit 1); exit 1; }; }
1475 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1476 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1477 { (exit 1); exit 1; }; }
1480 # Find the source files, if location was not specified.
1481 if test -z "$srcdir"; then
1482 ac_srcdir_defaulted=yes
1483 # Try the directory containing this script, then the parent directory.
1484 ac_confdir=`$as_dirname -- "$as_myself" ||
1485 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1486 X"$as_myself" : 'X\(//\)[^/]' \| \
1487 X"$as_myself" : 'X\(//\)$' \| \
1488 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1489 $as_echo X"$as_myself" |
1490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1508 if test ! -r "$srcdir/$ac_unique_file"; then
1512 ac_srcdir_defaulted=no
1514 if test ! -r "$srcdir/$ac_unique_file"; then
1515 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1516 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1517 { (exit 1); exit 1; }; }
1519 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1521 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1522 { (exit 1); exit 1; }; }
1524 # When building in place, set srcdir=.
1525 if test "$ac_abs_confdir" = "$ac_pwd"; then
1528 # Remove unnecessary trailing slashes from srcdir.
1529 # Double slashes in file names in object file debugging info
1530 # mess up M-x gdb in Emacs.
1532 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1534 for ac_var in $ac_precious_vars; do
1535 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1536 eval ac_env_${ac_var}_value=\$${ac_var}
1537 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1538 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1542 # Report the --help message.
1544 if test "$ac_init_help" = "long"; then
1545 # Omit some internal or obsolete options to make the list less imposing.
1546 # This message is too long to be a string in the A/UX 3.1 sh.
1548 \`configure' configures newlib 1.18.0 to adapt to many kinds of systems.
1550 Usage: $0 [OPTION]... [VAR=VALUE]...
1552 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1553 VAR=VALUE. See below for descriptions of some of the useful variables.
1555 Defaults for the options are specified in brackets.
1558 -h, --help display this help and exit
1559 --help=short display options specific to this package
1560 --help=recursive display the short help of all the included packages
1561 -V, --version display version information and exit
1562 -q, --quiet, --silent do not print \`checking...' messages
1563 --cache-file=FILE cache test results in FILE [disabled]
1564 -C, --config-cache alias for \`--cache-file=config.cache'
1565 -n, --no-create do not create output files
1566 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1568 Installation directories:
1569 --prefix=PREFIX install architecture-independent files in PREFIX
1570 [$ac_default_prefix]
1571 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1574 By default, \`make install' will install all the files in
1575 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1576 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1577 for instance \`--prefix=\$HOME'.
1579 For better control, use the options below.
1581 Fine tuning of the installation directories:
1582 --bindir=DIR user executables [EPREFIX/bin]
1583 --sbindir=DIR system admin executables [EPREFIX/sbin]
1584 --libexecdir=DIR program executables [EPREFIX/libexec]
1585 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1586 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1587 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1588 --libdir=DIR object code libraries [EPREFIX/lib]
1589 --includedir=DIR C header files [PREFIX/include]
1590 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1591 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1592 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1593 --infodir=DIR info documentation [DATAROOTDIR/info]
1594 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1595 --mandir=DIR man documentation [DATAROOTDIR/man]
1596 --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
1597 --htmldir=DIR html documentation [DOCDIR]
1598 --dvidir=DIR dvi documentation [DOCDIR]
1599 --pdfdir=DIR pdf documentation [DOCDIR]
1600 --psdir=DIR ps documentation [DOCDIR]
1606 --program-prefix=PREFIX prepend PREFIX to installed program names
1607 --program-suffix=SUFFIX append SUFFIX to installed program names
1608 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1611 --build=BUILD configure for building on BUILD [guessed]
1612 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1616 if test -n "$ac_init_help"; then
1617 case $ac_init_help in
1618 short | recursive ) echo "Configuration of newlib 1.18.0:";;
1623 --disable-option-checking ignore unrecognized --enable/--with options
1624 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1625 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1626 --enable-newlib-io-pos-args enable printf-family positional arg support
1627 --enable-newlib-io-c99-formats enable C99 support in IO functions like printf/scanf
1628 --enable-newlib-io-long-long enable long long type support in IO functions like printf/scanf
1629 --enable-newlib-io-long-double enable long double type support in IO functions printf/scanf
1630 --enable-newlib-mb enable multibyte support
1631 --enable-newlib-iconv-encodings enable specific comma-separated list of bidirectional iconv encodings to be built-in
1632 --enable-newlib-iconv-from-encodings enable specific comma-separated list of \"from\" iconv encodings to be built-in
1633 --enable-newlib-iconv-to-encodings enable specific comma-separated list of \"to\" iconv encodings to be built-in
1634 --enable-newlib-iconv-external-ccs enable capabilities to load external CCS files for iconv
1635 --disable-newlib-atexit-alloc disable dynamic allocation of atexit entries
1636 --enable-newlib-reent-small enable small reentrant struct support
1637 --enable-multilib build many library versions (default)
1638 --enable-target-optspace optimize for space
1639 --enable-malloc-debugging indicate malloc debugging requested
1640 --enable-newlib-multithread enable support for multiple threads
1641 --enable-newlib-iconv enable iconv library support
1642 --enable-newlib-elix-level supply desired elix library level (1-4)
1643 --disable-newlib-io-float disable printf/scanf family float support
1644 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1645 --disable-dependency-tracking speeds up one-time build
1646 --enable-dependency-tracking do not reject slow dependency extractors
1647 --enable-maintainer-mode enable make rules and dependencies not useful
1648 (and sometimes confusing) to the casual installer
1649 --enable-shared[=PKGS] build shared libraries [default=yes]
1650 --enable-static[=PKGS] build static libraries [default=yes]
1651 --enable-fast-install[=PKGS]
1652 optimize for fast installation [default=yes]
1653 --disable-libtool-lock avoid locking (might break parallel builds)
1654 --enable-newlib-hw-fp Turn on hardware floating point math
1657 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1658 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1659 --with-pic try to use only PIC/non-PIC objects [default=use
1661 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1663 Some influential environment variables:
1664 CCAS assembler compiler command (defaults to CC)
1665 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1666 CC C compiler command
1667 CFLAGS C compiler flags
1668 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1669 nonstandard directory <lib dir>
1670 LIBS libraries to pass to the linker, e.g. -l<library>
1671 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1672 you have headers in a nonstandard directory <include dir>
1675 Use these variables to override the choices made by `configure' or to help
1676 it to find libraries and programs with nonstandard names/locations.
1682 if test "$ac_init_help" = "recursive"; then
1683 # If there are subdirs, report their specific --help.
1684 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1685 test -d "$ac_dir" ||
1686 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1691 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1693 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1694 # A ".." for each directory in $ac_dir_suffix.
1695 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1696 case $ac_top_builddir_sub in
1697 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1698 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1701 ac_abs_top_builddir=$ac_pwd
1702 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1703 # for backward compatibility:
1704 ac_top_builddir=$ac_top_build_prefix
1707 .) # We are building in place.
1709 ac_top_srcdir=$ac_top_builddir_sub
1710 ac_abs_top_srcdir=$ac_pwd ;;
1711 [\\/]* | ?:[\\/]* ) # Absolute name.
1712 ac_srcdir=$srcdir$ac_dir_suffix;
1713 ac_top_srcdir=$srcdir
1714 ac_abs_top_srcdir=$srcdir ;;
1716 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1717 ac_top_srcdir=$ac_top_build_prefix$srcdir
1718 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1720 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1722 cd "$ac_dir" || { ac_status=$?; continue; }
1723 # Check for guested configure.
1724 if test -f "$ac_srcdir/configure.gnu"; then
1726 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1727 elif test -f "$ac_srcdir/configure"; then
1729 $SHELL "$ac_srcdir/configure" --help=recursive
1731 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1733 cd "$ac_pwd" || { ac_status=$?; break; }
1737 test -n "$ac_init_help" && exit $ac_status
1738 if $ac_init_version; then
1740 newlib configure 1.18.0
1741 generated by GNU Autoconf 2.63
1743 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1744 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1745 This configure script is free software; the Free Software Foundation
1746 gives unlimited permission to copy, distribute and modify it.
1750 cat >config.log <<_ACEOF
1751 This file contains any messages produced by compilers while
1752 running configure, to aid debugging if configure makes a mistake.
1754 It was created by newlib $as_me 1.18.0, which was
1755 generated by GNU Autoconf 2.63. Invocation command line was
1767 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1768 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1769 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1770 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1771 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1773 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1774 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1776 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1777 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1778 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1779 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1780 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1781 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1782 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 test -z "$as_dir" && as_dir=.
1791 $as_echo "PATH: $as_dir"
1807 # Keep a trace of the command line.
1808 # Strip out --no-create and --no-recursion so they do not pile up.
1809 # Strip out --silent because we don't want to record it for future runs.
1810 # Also quote any args containing shell meta-characters.
1811 # Make two passes to allow for proper duplicate-argument suppression.
1815 ac_must_keep_next=false
1821 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1822 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1823 | -silent | --silent | --silen | --sile | --sil)
1826 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1829 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1831 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1832 if test $ac_must_keep_next = true; then
1833 ac_must_keep_next=false # Got value, back to normal.
1836 *=* | --config-cache | -C | -disable-* | --disable-* \
1837 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1838 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1839 | -with-* | --with-* | -without-* | --without-* | --x)
1840 case "$ac_configure_args0 " in
1841 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1844 -* ) ac_must_keep_next=true ;;
1847 ac_configure_args="$ac_configure_args '$ac_arg'"
1852 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1853 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1855 # When interrupted or exit'd, cleanup temporary files, and complete
1856 # config.log. We remove comments because anyway the quotes in there
1857 # would cause problems or look ugly.
1858 # WARNING: Use '\'' to represent an apostrophe within the trap.
1859 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1860 trap 'exit_status=$?
1861 # Save into config.log some information that might help in debugging.
1866 ## ---------------- ##
1867 ## Cache variables. ##
1868 ## ---------------- ##
1871 # The following way of writing the cache mishandles newlines in values,
1873 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1874 eval ac_val=\$$ac_var
1878 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1879 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1882 _ | IFS | as_nl) ;; #(
1883 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1884 *) $as_unset $ac_var ;;
1889 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1890 *${as_nl}ac_space=\ *)
1892 "s/'\''/'\''\\\\'\'''\''/g;
1893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1904 ## ----------------- ##
1905 ## Output variables. ##
1906 ## ----------------- ##
1909 for ac_var in $ac_subst_vars
1911 eval ac_val=\$$ac_var
1913 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1915 $as_echo "$ac_var='\''$ac_val'\''"
1919 if test -n "$ac_subst_files"; then
1921 ## ------------------- ##
1922 ## File substitutions. ##
1923 ## ------------------- ##
1926 for ac_var in $ac_subst_files
1928 eval ac_val=\$$ac_var
1930 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1932 $as_echo "$ac_var='\''$ac_val'\''"
1937 if test -s confdefs.h; then
1947 test "$ac_signal" != 0 &&
1948 $as_echo "$as_me: caught signal $ac_signal"
1949 $as_echo "$as_me: exit $exit_status"
1951 rm -f core *.core core.conftest.* &&
1952 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1955 for ac_signal in 1 2 13 15; do
1956 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1960 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1961 rm -f -r conftest* confdefs.h
1963 # Predefined preprocessor variables.
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_NAME "$PACKAGE_NAME"
1970 cat >>confdefs.h <<_ACEOF
1971 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1975 cat >>confdefs.h <<_ACEOF
1976 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1980 cat >>confdefs.h <<_ACEOF
1981 #define PACKAGE_STRING "$PACKAGE_STRING"
1985 cat >>confdefs.h <<_ACEOF
1986 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1990 # Let the site file select an alternate cache file if it wants to.
1991 # Prefer an explicitly selected file to automatically selected ones.
1994 if test -n "$CONFIG_SITE"; then
1995 ac_site_file1=$CONFIG_SITE
1996 elif test "x$prefix" != xNONE; then
1997 ac_site_file1=$prefix/share/config.site
1998 ac_site_file2=$prefix/etc/config.site
2000 ac_site_file1=$ac_default_prefix/share/config.site
2001 ac_site_file2=$ac_default_prefix/etc/config.site
2003 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2005 test "x$ac_site_file" = xNONE && continue
2006 if test -r "$ac_site_file"; then
2007 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2008 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2009 sed 's/^/| /' "$ac_site_file" >&5
2014 if test -r "$cache_file"; then
2015 # Some versions of bash will fail to source /dev/null (special
2016 # files actually), so we avoid doing that.
2017 if test -f "$cache_file"; then
2018 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2019 $as_echo "$as_me: loading cache $cache_file" >&6;}
2021 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2022 *) . "./$cache_file";;
2026 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2027 $as_echo "$as_me: creating cache $cache_file" >&6;}
2031 # Check that the precious variables saved in the cache have kept the same
2033 ac_cache_corrupted=false
2034 for ac_var in $ac_precious_vars; do
2035 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2036 eval ac_new_set=\$ac_env_${ac_var}_set
2037 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2038 eval ac_new_val=\$ac_env_${ac_var}_value
2039 case $ac_old_set,$ac_new_set in
2041 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2042 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2043 ac_cache_corrupted=: ;;
2045 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2046 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2047 ac_cache_corrupted=: ;;
2050 if test "x$ac_old_val" != "x$ac_new_val"; then
2051 # differences in whitespace do not lead to failure.
2052 ac_old_val_w=`echo x $ac_old_val`
2053 ac_new_val_w=`echo x $ac_new_val`
2054 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2055 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2056 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2057 ac_cache_corrupted=:
2059 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2060 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2061 eval $ac_var=\$ac_old_val
2063 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2064 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2065 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2066 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2069 # Pass precious variables to config.status.
2070 if test "$ac_new_set" = set; then
2072 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2073 *) ac_arg=$ac_var=$ac_new_val ;;
2075 case " $ac_configure_args " in
2076 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2077 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2081 if $ac_cache_corrupted; then
2082 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2084 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2085 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2086 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2087 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2088 { (exit 1); exit 1; }; }
2116 ac_cpp='$CPP $CPPFLAGS'
2117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2123 ac_config_headers="$ac_config_headers newlib.h:newlib.hin"
2127 for ac_dir in .. "$srcdir"/..; do
2128 if test -f "$ac_dir/install-sh"; then
2130 ac_install_sh="$ac_aux_dir/install-sh -c"
2132 elif test -f "$ac_dir/install.sh"; then
2134 ac_install_sh="$ac_aux_dir/install.sh -c"
2136 elif test -f "$ac_dir/shtool"; then
2138 ac_install_sh="$ac_aux_dir/shtool install -c"
2142 if test -z "$ac_aux_dir"; then
2143 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&5
2144 $as_echo "$as_me: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&2;}
2145 { (exit 1); exit 1; }; }
2148 # These three variables are undocumented and unsupported,
2149 # and are intended to be withdrawn in a future Autoconf release.
2150 # They can cause serious problems if a builder's source tree is in a directory
2151 # whose full name contains unusual characters.
2152 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2153 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2154 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2158 # Check whether --enable-newlib-io-pos-args was given.
2159 if test "${enable_newlib_io_pos_args+set}" = set; then
2160 enableval=$enable_newlib_io_pos_args; case "${enableval}" in
2161 yes) newlib_io_pos_args=yes ;;
2162 no) newlib_io_pos_args=no ;;
2163 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-pos-args option" >&5
2164 $as_echo "$as_me: error: bad value ${enableval} for newlib-io-pos-args option" >&2;}
2165 { (exit 1); exit 1; }; } ;;
2171 # Check whether --enable-newlib-io-c99-formats was given.
2172 if test "${enable_newlib_io_c99_formats+set}" = set; then
2173 enableval=$enable_newlib_io_c99_formats; case "${enableval}" in
2174 yes) newlib_io_c99_formats=yes;;
2175 no) newlib_io_c99_formats=no ;;
2176 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-c99-formats option" >&5
2177 $as_echo "$as_me: error: bad value ${enableval} for newlib-io-c99-formats option" >&2;}
2178 { (exit 1); exit 1; }; } ;;
2181 newlib_io_c99_formats=
2184 # Check whether --enable-newlib-io-long-long was given.
2185 if test "${enable_newlib_io_long_long+set}" = set; then
2186 enableval=$enable_newlib_io_long_long; case "${enableval}" in
2187 yes) newlib_io_long_long=yes;;
2188 no) newlib_io_long_long=no ;;
2189 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-long-long option" >&5
2190 $as_echo "$as_me: error: bad value ${enableval} for newlib-io-long-long option" >&2;}
2191 { (exit 1); exit 1; }; } ;;
2194 newlib_io_long_long=
2197 # Check whether --enable-newlib-io-long-double was given.
2198 if test "${enable_newlib_io_long_double+set}" = set; then
2199 enableval=$enable_newlib_io_long_double; case "${enableval}" in
2200 yes) newlib_io_long_double=yes;;
2201 no) newlib_io_long_double=no ;;
2202 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-long-double option" >&5
2203 $as_echo "$as_me: error: bad value ${enableval} for newlib-io-long-double option" >&2;}
2204 { (exit 1); exit 1; }; } ;;
2207 newlib_io_long_double=
2210 # Check whether --enable-newlib-mb was given.
2211 if test "${enable_newlib_mb+set}" = set; then
2212 enableval=$enable_newlib_mb; case "${enableval}" in
2213 yes) newlib_mb=yes;;
2215 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-mb option" >&5
2216 $as_echo "$as_me: error: bad value ${enableval} for newlib-mb option" >&2;}
2217 { (exit 1); exit 1; }; } ;;
2223 # Check whether --enable-newlib-iconv-encodings was given.
2224 if test "${enable_newlib_iconv_encodings+set}" = set; then
2225 enableval=$enable_newlib_iconv_encodings; if test x${enableval} = x; then
2226 { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv-encodings option - use comma-separated encodings list" >&5
2227 $as_echo "$as_me: error: bad value ${enableval} for newlib-iconv-encodings option - use comma-separated encodings list" >&2;}
2228 { (exit 1); exit 1; }; }
2230 iconv_encodings=${enableval}
2236 # Check whether --enable-newlib-iconv-from-encodings was given.
2237 if test "${enable_newlib_iconv_from_encodings+set}" = set; then
2238 enableval=$enable_newlib_iconv_from_encodings; if test x${enableval} = x; then
2239 { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv-from-encodings option - use comma-separated encodings list" >&5
2240 $as_echo "$as_me: error: bad value ${enableval} for newlib-iconv-from-encodings option - use comma-separated encodings list" >&2;}
2241 { (exit 1); exit 1; }; }
2243 iconv_from_encodings=${enableval}
2246 iconv_from_encodings=
2249 # Check whether --enable-newlib-iconv-to-encodings was given.
2250 if test "${enable_newlib_iconv_to_encodings+set}" = set; then
2251 enableval=$enable_newlib_iconv_to_encodings; if test x${enableval} = x; then
2252 { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv-to-encodings option - use comma-separated encodings list" >&5
2253 $as_echo "$as_me: error: bad value ${enableval} for newlib-iconv-to-encodings option - use comma-separated encodings list" >&2;}
2254 { (exit 1); exit 1; }; }
2256 iconv_to_encodings=${enableval}
2262 # Check whether --enable-newlib-iconv-external-ccs was given.
2263 if test "${enable_newlib_iconv_external_ccs+set}" = set; then
2264 enableval=$enable_newlib_iconv_external_ccs; if test "${newlib_iconv_external_ccs+set}" != set; then
2265 case "${enableval}" in
2266 yes) newlib_iconv_external_ccs=yes ;;
2267 no) newlib_iconv_external_ccs=no ;;
2268 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv-external-ccs option" >&5
2269 $as_echo "$as_me: error: bad value ${enableval} for newlib-iconv-external-ccs option" >&2;}
2270 { (exit 1); exit 1; }; } ;;
2274 newlib_iconv_external_ccs=${newlib_iconv_external_ccs}
2277 # Check whether --enable-newlib-atexit-dynamic-alloc was given.
2278 if test "${enable_newlib_atexit_dynamic_alloc+set}" = set; then
2279 enableval=$enable_newlib_atexit_dynamic_alloc; if test "${newlib_atexit_dynamic_alloc+set}" != set; then
2280 case "${enableval}" in
2281 yes) newlib_atexit_dynamic_alloc=yes ;;
2282 no) newlib_atexit_dynamic_alloc=no ;;
2283 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-atexit-dynamic-alloc option" >&5
2284 $as_echo "$as_me: error: bad value ${enableval} for newlib-atexit-dynamic-alloc option" >&2;}
2285 { (exit 1); exit 1; }; } ;;
2289 newlib_atexit_dynamic_alloc=${newlib_atexit_dynamic_alloc}
2292 # Check whether --enable-newlib-reent-small was given.
2293 if test "${enable_newlib_reent_small+set}" = set; then
2294 enableval=$enable_newlib_reent_small; case "${enableval}" in
2295 yes) newlib_reent_small=yes;;
2296 no) newlib_reent_small=no ;;
2297 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-reent-small option" >&5
2298 $as_echo "$as_me: error: bad value ${enableval} for newlib-reent-small option" >&2;}
2299 { (exit 1); exit 1; }; } ;;
2306 # Make sure we can run config.sub.
2307 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2308 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2309 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2310 { (exit 1); exit 1; }; }
2312 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2313 $as_echo_n "checking build system type... " >&6; }
2314 if test "${ac_cv_build+set}" = set; then
2315 $as_echo_n "(cached) " >&6
2317 ac_build_alias=$build_alias
2318 test "x$ac_build_alias" = x &&
2319 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2320 test "x$ac_build_alias" = x &&
2321 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2322 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2323 { (exit 1); exit 1; }; }
2324 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2325 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2326 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2327 { (exit 1); exit 1; }; }
2330 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2331 $as_echo "$ac_cv_build" >&6; }
2332 case $ac_cv_build in
2334 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2335 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2336 { (exit 1); exit 1; }; };;
2339 ac_save_IFS=$IFS; IFS='-'
2345 # Remember, the first character of IFS is used to create $*,
2346 # except with old shells:
2349 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2352 am__api_version='1.11'
2354 # Find a good install program. We prefer a C program (faster),
2355 # so one script is as good as another. But avoid the broken or
2356 # incompatible versions:
2357 # SysV /etc/install, /usr/sbin/install
2358 # SunOS /usr/etc/install
2359 # IRIX /sbin/install
2361 # AmigaOS /C/install, which installs bootblocks on floppy discs
2362 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2363 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2364 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2365 # OS/2's system install, which has a completely different semantic
2366 # ./install, which can be erroneously created by make from ./install.sh.
2367 # Reject install programs that cannot install multiple files.
2368 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2369 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2370 if test -z "$INSTALL"; then
2371 if test "${ac_cv_path_install+set}" = set; then
2372 $as_echo_n "(cached) " >&6
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir=.
2379 # Account for people who put trailing slashes in PATH elements.
2381 ./ | .// | /cC/* | \
2382 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2383 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2386 # OSF1 and SCO ODT 3.0 have their own names for install.
2387 # Don't use installbsd from OSF since it installs stuff as root
2389 for ac_prog in ginstall scoinst install; do
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2392 if test $ac_prog = install &&
2393 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2394 # AIX install. It has an incompatible calling convention.
2396 elif test $ac_prog = install &&
2397 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398 # program-specific install script used by HP pwplus--don't use.
2401 rm -rf conftest.one conftest.two conftest.dir
2402 echo one > conftest.one
2403 echo two > conftest.two
2405 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2406 test -s conftest.one && test -s conftest.two &&
2407 test -s conftest.dir/conftest.one &&
2408 test -s conftest.dir/conftest.two
2410 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2423 rm -rf conftest.one conftest.two conftest.dir
2426 if test "${ac_cv_path_install+set}" = set; then
2427 INSTALL=$ac_cv_path_install
2429 # As a last resort, use the slow shell script. Don't cache a
2430 # value for INSTALL within a source directory, because that will
2431 # break other packages using the cache if that directory is
2432 # removed, or if the value is a relative name.
2433 INSTALL=$ac_install_sh
2436 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2437 $as_echo "$INSTALL" >&6; }
2439 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2440 # It thinks the first close brace ends the variable substitution.
2441 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2443 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2445 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2447 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2448 $as_echo_n "checking whether build environment is sane... " >&6; }
2451 echo timestamp > conftest.file
2452 # Reject unsafe characters in $srcdir or the absolute working directory
2453 # name. Accept space and tab only in the latter.
2457 *[\\\"\#\$\&\'\`$am_lf]*)
2458 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2459 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2460 { (exit 1); exit 1; }; };;
2463 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2464 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2465 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2466 { (exit 1); exit 1; }; };;
2469 # Do `set' in a subshell so we don't clobber the current shell's
2470 # arguments. Must try -L first in case configure is actually a
2471 # symlink; some systems play weird games with the mod time of symlinks
2472 # (eg FreeBSD returns the mod time of the symlink's containing
2475 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2476 if test "$*" = "X"; then
2478 set X `ls -t "$srcdir/configure" conftest.file`
2481 if test "$*" != "X $srcdir/configure conftest.file" \
2482 && test "$*" != "X conftest.file $srcdir/configure"; then
2484 # If neither matched, then we have a broken ls. This can happen
2485 # if, for instance, CONFIG_SHELL is bash and it inherits a
2486 # broken ls alias from the environment. This has actually
2487 # happened. Such a system could not be considered "sane".
2488 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2489 alias in your environment" >&5
2490 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2491 alias in your environment" >&2;}
2492 { (exit 1); exit 1; }; }
2495 test "$2" = conftest.file
2501 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2502 Check your system clock" >&5
2503 $as_echo "$as_me: error: newly created file is older than distributed files!
2504 Check your system clock" >&2;}
2505 { (exit 1); exit 1; }; }
2507 { $as_echo "$as_me:$LINENO: result: yes" >&5
2508 $as_echo "yes" >&6; }
2509 test "$program_prefix" != NONE &&
2510 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2511 # Use a double $ so make ignores it.
2512 test "$program_suffix" != NONE &&
2513 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2514 # Double any \ or $.
2515 # By default was `s,x,x', remove it if useless.
2516 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2517 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2519 # expand $ac_aux_dir to an absolute path
2520 am_aux_dir=`cd $ac_aux_dir && pwd`
2522 if test x"${MISSING+set}" != xset; then
2525 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2527 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2530 # Use eval to expand $SHELL
2531 if eval "$MISSING --run true"; then
2532 am_missing_run="$MISSING --run "
2535 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2536 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2539 if test x"${install_sh}" != xset; then
2542 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2544 install_sh="\${SHELL} $am_aux_dir/install-sh"
2548 # Installed binaries are usually stripped using `strip' when the user
2549 # run `make install-strip'. However `strip' might not be the right
2550 # tool to use in cross-compilation environments, therefore Automake
2551 # will honor the `STRIP' environment variable to overrule this program.
2552 if test "$cross_compiling" != no; then
2553 if test -n "$ac_tool_prefix"; then
2554 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2555 set dummy ${ac_tool_prefix}strip; ac_word=$2
2556 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if test "${ac_cv_prog_STRIP+set}" = set; then
2559 $as_echo_n "(cached) " >&6
2561 if test -n "$STRIP"; then
2562 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir=.
2569 for ac_exec_ext in '' $ac_executable_extensions; do
2570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2571 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2572 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 STRIP=$ac_cv_prog_STRIP
2582 if test -n "$STRIP"; then
2583 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2584 $as_echo "$STRIP" >&6; }
2586 { $as_echo "$as_me:$LINENO: result: no" >&5
2587 $as_echo "no" >&6; }
2592 if test -z "$ac_cv_prog_STRIP"; then
2594 # Extract the first word of "strip", so it can be a program name with args.
2595 set dummy strip; ac_word=$2
2596 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 $as_echo_n "checking for $ac_word... " >&6; }
2598 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2599 $as_echo_n "(cached) " >&6
2601 if test -n "$ac_ct_STRIP"; then
2602 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir=.
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2611 ac_cv_prog_ac_ct_STRIP="strip"
2612 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2622 if test -n "$ac_ct_STRIP"; then
2623 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2624 $as_echo "$ac_ct_STRIP" >&6; }
2626 { $as_echo "$as_me:$LINENO: result: no" >&5
2627 $as_echo "no" >&6; }
2630 if test "x$ac_ct_STRIP" = x; then
2633 case $cross_compiling:$ac_tool_warned in
2635 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2637 ac_tool_warned=yes ;;
2642 STRIP="$ac_cv_prog_STRIP"
2646 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2648 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2649 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2650 if test -z "$MKDIR_P"; then
2651 if test "${ac_cv_path_mkdir+set}" = set; then
2652 $as_echo_n "(cached) " >&6
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2658 test -z "$as_dir" && as_dir=.
2659 for ac_prog in mkdir gmkdir; do
2660 for ac_exec_ext in '' $ac_executable_extensions; do
2661 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2662 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2663 'mkdir (GNU coreutils) '* | \
2664 'mkdir (coreutils) '* | \
2665 'mkdir (fileutils) '4.1*)
2666 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2676 if test "${ac_cv_path_mkdir+set}" = set; then
2677 MKDIR_P="$ac_cv_path_mkdir -p"
2679 # As a last resort, use the slow shell script. Don't cache a
2680 # value for MKDIR_P within a source directory, because that will
2681 # break other packages using the cache if that directory is
2682 # removed, or if the value is a relative name.
2683 test -d ./--version && rmdir ./--version
2684 MKDIR_P="$ac_install_sh -d"
2687 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2688 $as_echo "$MKDIR_P" >&6; }
2692 [\\/$]* | ?:[\\/]*) ;;
2693 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2696 for ac_prog in gawk mawk nawk awk
2698 # Extract the first word of "$ac_prog", so it can be a program name with args.
2699 set dummy $ac_prog; ac_word=$2
2700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2701 $as_echo_n "checking for $ac_word... " >&6; }
2702 if test "${ac_cv_prog_AWK+set}" = set; then
2703 $as_echo_n "(cached) " >&6
2705 if test -n "$AWK"; then
2706 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir=.
2713 for ac_exec_ext in '' $ac_executable_extensions; do
2714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715 ac_cv_prog_AWK="$ac_prog"
2716 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 if test -n "$AWK"; then
2727 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2728 $as_echo "$AWK" >&6; }
2730 { $as_echo "$as_me:$LINENO: result: no" >&5
2731 $as_echo "no" >&6; }
2735 test -n "$AWK" && break
2738 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2739 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2741 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2742 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2743 $as_echo_n "(cached) " >&6
2745 cat >conftest.make <<\_ACEOF
2748 @echo '@@@%%%=$(MAKE)=@@@%%%'
2750 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2751 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2753 eval ac_cv_prog_make_${ac_make}_set=yes;;
2755 eval ac_cv_prog_make_${ac_make}_set=no;;
2759 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2760 { $as_echo "$as_me:$LINENO: result: yes" >&5
2761 $as_echo "yes" >&6; }
2764 { $as_echo "$as_me:$LINENO: result: no" >&5
2765 $as_echo "no" >&6; }
2766 SET_MAKE="MAKE=${MAKE-make}"
2769 rm -rf .tst 2>/dev/null
2770 mkdir .tst 2>/dev/null
2771 if test -d .tst; then
2776 rmdir .tst 2>/dev/null
2778 DEPDIR="${am__leading_dot}deps"
2780 ac_config_commands="$ac_config_commands depfiles"
2783 am_make=${MAKE-make}
2784 cat > confinc << 'END'
2786 @echo this is the am__doit target
2789 # If we don't find an include directive, just comment out the code.
2790 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2791 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2795 # First try GNU make style include.
2796 echo "include confinc" > confmf
2797 # Ignore all kinds of additional output from `make'.
2798 case `$am_make -s -f confmf 2> /dev/null` in #(
2799 *the\ am__doit\ target*)
2805 # Now try BSD make style include.
2806 if test "$am__include" = "#"; then
2807 echo '.include "confinc"' > confmf
2808 case `$am_make -s -f confmf 2> /dev/null` in #(
2809 *the\ am__doit\ target*)
2810 am__include=.include
2818 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2819 $as_echo "$_am_result" >&6; }
2820 rm -f confinc confmf
2822 # Check whether --enable-dependency-tracking was given.
2823 if test "${enable_dependency_tracking+set}" = set; then
2824 enableval=$enable_dependency_tracking;
2827 if test "x$enable_dependency_tracking" != xno; then
2828 am_depcomp="$ac_aux_dir/depcomp"
2831 if test "x$enable_dependency_tracking" != xno; then
2841 # Check whether --enable-multilib was given.
2842 if test "${enable_multilib+set}" = set; then
2843 enableval=$enable_multilib; case "${enableval}" in
2844 yes) multilib=yes ;;
2846 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2847 $as_echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2848 { (exit 1); exit 1; }; } ;;
2854 # Check whether --enable-target-optspace was given.
2855 if test "${enable_target_optspace+set}" = set; then
2856 enableval=$enable_target_optspace; case "${enableval}" in
2857 yes) target_optspace=yes ;;
2858 no) target_optspace=no ;;
2859 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
2860 $as_echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
2861 { (exit 1); exit 1; }; } ;;
2867 # Check whether --enable-malloc-debugging was given.
2868 if test "${enable_malloc_debugging+set}" = set; then
2869 enableval=$enable_malloc_debugging; case "${enableval}" in
2870 yes) malloc_debugging=yes ;;
2871 no) malloc_debugging=no ;;
2872 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
2873 $as_echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
2874 { (exit 1); exit 1; }; } ;;
2880 # Check whether --enable-newlib-multithread was given.
2881 if test "${enable_newlib_multithread+set}" = set; then
2882 enableval=$enable_newlib_multithread; case "${enableval}" in
2883 yes) newlib_multithread=yes ;;
2884 no) newlib_multithread=no ;;
2885 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
2886 $as_echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
2887 { (exit 1); exit 1; }; } ;;
2890 newlib_multithread=yes
2893 # Check whether --enable-newlib-iconv was given.
2894 if test "${enable_newlib_iconv+set}" = set; then
2895 enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2896 case "${enableval}" in
2897 yes) newlib_iconv=yes ;;
2898 no) newlib_iconv=no ;;
2899 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
2900 $as_echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
2901 { (exit 1); exit 1; }; } ;;
2905 newlib_iconv=${newlib_iconv}
2908 # Check whether --enable-newlib-elix-level was given.
2909 if test "${enable_newlib_elix_level+set}" = set; then
2910 enableval=$enable_newlib_elix_level; case "${enableval}" in
2911 0) newlib_elix_level=0 ;;
2912 1) newlib_elix_level=1 ;;
2913 2) newlib_elix_level=2 ;;
2914 3) newlib_elix_level=3 ;;
2915 4) newlib_elix_level=4 ;;
2916 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
2917 $as_echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
2918 { (exit 1); exit 1; }; } ;;
2924 # Check whether --enable-newlib-io-float was given.
2925 if test "${enable_newlib_io_float+set}" = set; then
2926 enableval=$enable_newlib_io_float; case "${enableval}" in
2927 yes) newlib_io_float=yes ;;
2928 no) newlib_io_float=no ;;
2929 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
2930 $as_echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
2931 { (exit 1); exit 1; }; } ;;
2937 # Check whether --enable-newlib-supplied-syscalls was given.
2938 if test "${enable_newlib_supplied_syscalls+set}" = set; then
2939 enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2940 yes) newlib_may_supply_syscalls=yes ;;
2941 no) newlib_may_supply_syscalls=no ;;
2942 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2943 $as_echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2944 { (exit 1); exit 1; }; } ;;
2947 newlib_may_supply_syscalls=yes
2950 if test x${newlib_may_supply_syscalls} = xyes; then
2951 MAY_SUPPLY_SYSCALLS_TRUE=
2952 MAY_SUPPLY_SYSCALLS_FALSE='#'
2954 MAY_SUPPLY_SYSCALLS_TRUE='#'
2955 MAY_SUPPLY_SYSCALLS_FALSE=
2960 test -z "${with_target_subdir}" && with_target_subdir=.
2962 if test "${srcdir}" = "."; then
2963 if test "${with_target_subdir}" != "."; then
2964 newlib_basedir="${srcdir}/${with_multisrctop}../."
2966 newlib_basedir="${srcdir}/${with_multisrctop}."
2969 newlib_basedir="${srcdir}/."
2973 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2974 $as_echo_n "checking host system type... " >&6; }
2975 if test "${ac_cv_host+set}" = set; then
2976 $as_echo_n "(cached) " >&6
2978 if test "x$host_alias" = x; then
2979 ac_cv_host=$ac_cv_build
2981 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2982 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2983 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2984 { (exit 1); exit 1; }; }
2988 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2989 $as_echo "$ac_cv_host" >&6; }
2992 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2993 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2994 { (exit 1); exit 1; }; };;
2997 ac_save_IFS=$IFS; IFS='-'
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3011 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3012 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3013 # is not polluted with repeated "-I."
3014 am__isrc=' -I$(srcdir)'
3015 # test to see if srcdir already configured
3016 if test -f $srcdir/config.status; then
3017 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3018 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3019 { (exit 1); exit 1; }; }
3023 # test whether we have cygpath
3024 if test -z "$CYGPATH_W"; then
3025 if (cygpath --version) >/dev/null 2>/dev/null; then
3026 CYGPATH_W='cygpath -w'
3033 # Define the identity of the package.
3038 # Some tools Automake needs.
3040 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3043 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3046 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3049 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3052 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3054 # We need awk for the "check" target. The system "awk" is bad on
3056 # Always define AMTAR for backward compatibility.
3058 AMTAR=${AMTAR-"${am_missing_run}tar"}
3060 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3067 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
3068 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
3069 # are probably using a cross compiler, which will not be able to fully
3070 # link an executable. This should really be fixed in autoconf
3079 # Extract the first word of "gcc", so it can be a program name with args.
3080 set dummy gcc; ac_word=$2
3081 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if test "${ac_cv_prog_CC+set}" = set; then
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$CC"; then
3087 ac_cv_prog_CC="$CC" # Let the user override the test.
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3097 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 if test -n "$CC"; then
3108 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3109 $as_echo "$CC" >&6; }
3111 { $as_echo "$as_me:$LINENO: result: no" >&5
3112 $as_echo "no" >&6; }
3117 depcc="$CC" am_compiler_list=
3119 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3120 $as_echo_n "checking dependency style of $depcc... " >&6; }
3121 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3122 $as_echo_n "(cached) " >&6
3124 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3125 # We make a subdir and do the tests there. Otherwise we can end up
3126 # making bogus files that we don't know about and never remove. For
3127 # instance it was reported that on HP-UX the gcc test will end up
3128 # making a dummy file named `D' -- because `-MD' means `put the output
3131 # Copy depcomp to subdir because otherwise we won't find it if we're
3132 # using a relative directory.
3133 cp "$am_depcomp" conftest.dir
3135 # We will build objects and dependencies in a subdirectory because
3136 # it helps to detect inapplicable dependency modes. For instance
3137 # both Tru64's cc and ICC support -MD to output dependencies as a
3138 # side effect of compilation, but ICC will put the dependencies in
3139 # the current directory while Tru64 will put them in the object
3143 am_cv_CC_dependencies_compiler_type=none
3144 if test "$am_compiler_list" = ""; then
3145 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3148 case " $depcc " in #(
3149 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3152 for depmode in $am_compiler_list; do
3153 # Setup a source with many dependencies, because some compilers
3154 # like to wrap large dependency lists on column 80 (with \), and
3155 # we should not choose a depcomp mode which is confused by this.
3157 # We need to recreate these files for each test, as the compiler may
3158 # overwrite some of them when testing with obscure command lines.
3159 # This happens at least with the AIX C compiler.
3161 for i in 1 2 3 4 5 6; do
3162 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3163 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3164 # Solaris 8's {/usr,}/bin/sh.
3165 touch sub/conftst$i.h
3167 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3169 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3170 # mode. It turns out that the SunPro C++ compiler does not properly
3171 # handle `-M -o', and we need to detect this. Also, some Intel
3172 # versions had trouble with output in subdirs
3173 am__obj=sub/conftest.${OBJEXT-o}
3174 am__minus_obj="-o $am__obj"
3177 # This depmode causes a compiler race in universal mode.
3178 test "$am__universal" = false || continue
3181 # after this tag, mechanisms are not by side-effect, so they'll
3182 # only be used when explicitly requested
3183 if test "x$enable_dependency_tracking" = xyes; then
3189 msvisualcpp | msvcmsys)
3190 # This compiler won't grok `-c -o', but also, the minuso test has
3191 # not run yet. These depmodes are late enough in the game, and
3192 # so weak that their functioning should not be impacted.
3193 am__obj=conftest.${OBJEXT-o}
3198 if depmode=$depmode \
3199 source=sub/conftest.c object=$am__obj \
3200 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3201 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3202 >/dev/null 2>conftest.err &&
3203 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3204 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3205 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3206 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3207 # icc doesn't choke on unknown options, it will just issue warnings
3208 # or remarks (even with -Werror). So we grep stderr for any message
3209 # that says an option was ignored or not supported.
3210 # When given -MP, icc 7.0 and 7.1 complain thusly:
3211 # icc: Command line warning: ignoring option '-M'; no argument required
3212 # The diagnosis changed in icc 8.0:
3213 # icc: Command line remark: option '-MP' not supported
3214 if (grep 'ignoring option' conftest.err ||
3215 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3216 am_cv_CC_dependencies_compiler_type=$depmode
3225 am_cv_CC_dependencies_compiler_type=none
3229 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3230 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3231 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3234 test "x$enable_dependency_tracking" != xno \
3235 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3237 am__fastdepCC_FALSE='#'
3239 am__fastdepCC_TRUE='#'
3240 am__fastdepCC_FALSE=
3244 if test -z "$CC"; then
3245 # Extract the first word of "cc", so it can be a program name with args.
3246 set dummy cc; ac_word=$2
3247 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3248 $as_echo_n "checking for $ac_word... " >&6; }
3249 if test "${ac_cv_prog_CC+set}" = set; then
3250 $as_echo_n "(cached) " >&6
3252 if test -n "$CC"; then
3253 ac_cv_prog_CC="$CC" # Let the user override the test.
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3264 ac_prog_rejected=yes
3268 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 if test $ac_prog_rejected = yes; then
3276 # We found a bogon in the path, so make sure we never use it.
3277 set dummy $ac_cv_prog_CC
3279 if test $# != 0; then
3280 # We chose a different compiler from the bogus one.
3281 # However, it has the same basename, so the bogon will be chosen
3282 # first if we set CC to just the basename; use the full file name.
3284 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3290 if test -n "$CC"; then
3291 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3292 $as_echo "$CC" >&6; }
3294 { $as_echo "$as_me:$LINENO: result: no" >&5
3295 $as_echo "no" >&6; }
3299 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3300 $as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3301 { (exit 1); exit 1; }; }
3304 { $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
3305 $as_echo_n "checking whether we are using GNU C... " >&6; }
3306 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3307 $as_echo_n "(cached) " >&6
3309 cat > conftest.c <<EOF
3314 if { ac_try='${CC-cc} -E conftest.c'
3315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3320 ac_cv_c_compiler_gnu=yes
3322 ac_cv_c_compiler_gnu=no
3325 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3326 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3328 if test $ac_cv_c_compiler_gnu = yes; then
3330 ac_test_CFLAGS="${CFLAGS+set}"
3331 ac_save_CFLAGS="$CFLAGS"
3332 ac_test_CFLAGS=${CFLAGS+set}
3333 ac_save_CFLAGS=$CFLAGS
3334 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3335 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3336 if test "${ac_cv_prog_cc_g+set}" = set; then
3337 $as_echo_n "(cached) " >&6
3339 ac_save_c_werror_flag=$ac_c_werror_flag
3340 ac_c_werror_flag=yes
3343 cat >conftest.$ac_ext <<_ACEOF
3346 cat confdefs.h >>conftest.$ac_ext
3347 cat >>conftest.$ac_ext <<_ACEOF
3348 /* end confdefs.h. */
3358 rm -f conftest.$ac_objext
3359 if { (ac_try="$ac_compile"
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3365 $as_echo "$ac_try_echo") >&5
3366 (eval "$ac_compile") 2>conftest.er1
3368 grep -v '^ *+' conftest.er1 >conftest.err
3370 cat conftest.err >&5
3371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } && {
3373 test -z "$ac_c_werror_flag" ||
3374 test ! -s conftest.err
3375 } && test -s conftest.$ac_objext; then
3378 $as_echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3382 cat >conftest.$ac_ext <<_ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3397 rm -f conftest.$ac_objext
3398 if { (ac_try="$ac_compile"
3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3404 $as_echo "$ac_try_echo") >&5
3405 (eval "$ac_compile") 2>conftest.er1
3407 grep -v '^ *+' conftest.er1 >conftest.err
3409 cat conftest.err >&5
3410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } && {
3412 test -z "$ac_c_werror_flag" ||
3413 test ! -s conftest.err
3414 } && test -s conftest.$ac_objext; then
3417 $as_echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3420 ac_c_werror_flag=$ac_save_c_werror_flag
3422 cat >conftest.$ac_ext <<_ACEOF
3425 cat confdefs.h >>conftest.$ac_ext
3426 cat >>conftest.$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3437 rm -f conftest.$ac_objext
3438 if { (ac_try="$ac_compile"
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3444 $as_echo "$ac_try_echo") >&5
3445 (eval "$ac_compile") 2>conftest.er1
3447 grep -v '^ *+' conftest.er1 >conftest.err
3449 cat conftest.err >&5
3450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } && {
3452 test -z "$ac_c_werror_flag" ||
3453 test ! -s conftest.err
3454 } && test -s conftest.$ac_objext; then
3457 $as_echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 ac_c_werror_flag=$ac_save_c_werror_flag
3472 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3473 $as_echo "$ac_cv_prog_cc_g" >&6; }
3474 if test "$ac_test_CFLAGS" = set; then
3475 CFLAGS=$ac_save_CFLAGS
3476 elif test $ac_cv_prog_cc_g = yes; then
3477 if test "$GCC" = yes; then
3483 if test "$GCC" = yes; then
3489 if test "$ac_test_CFLAGS" = set; then
3490 CFLAGS="$ac_save_CFLAGS"
3491 elif test $ac_cv_prog_cc_g = yes; then
3498 test "${CFLAGS+set}" = set || CFLAGS="-g"
3502 if test -n "$ac_tool_prefix"; then
3503 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3504 set dummy ${ac_tool_prefix}as; ac_word=$2
3505 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3506 $as_echo_n "checking for $ac_word... " >&6; }
3507 if test "${ac_cv_prog_AS+set}" = set; then
3508 $as_echo_n "(cached) " >&6
3510 if test -n "$AS"; then
3511 ac_cv_prog_AS="$AS" # Let the user override the test.
3513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 test -z "$as_dir" && as_dir=.
3518 for ac_exec_ext in '' $ac_executable_extensions; do
3519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3520 ac_cv_prog_AS="${ac_tool_prefix}as"
3521 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 if test -n "$AS"; then
3532 { $as_echo "$as_me:$LINENO: result: $AS" >&5
3533 $as_echo "$AS" >&6; }
3535 { $as_echo "$as_me:$LINENO: result: no" >&5
3536 $as_echo "no" >&6; }
3541 if test -z "$ac_cv_prog_AS"; then
3543 # Extract the first word of "as", so it can be a program name with args.
3544 set dummy as; ac_word=$2
3545 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3548 $as_echo_n "(cached) " >&6
3550 if test -n "$ac_ct_AS"; then
3551 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560 ac_cv_prog_ac_ct_AS="as"
3561 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3571 if test -n "$ac_ct_AS"; then
3572 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3573 $as_echo "$ac_ct_AS" >&6; }
3575 { $as_echo "$as_me:$LINENO: result: no" >&5
3576 $as_echo "no" >&6; }
3579 if test "x$ac_ct_AS" = x; then
3582 case $cross_compiling:$ac_tool_warned in
3584 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3586 ac_tool_warned=yes ;;
3594 if test -n "$ac_tool_prefix"; then
3595 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3596 set dummy ${ac_tool_prefix}ar; ac_word=$2
3597 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if test "${ac_cv_prog_AR+set}" = set; then
3600 $as_echo_n "(cached) " >&6
3602 if test -n "$AR"; then
3603 ac_cv_prog_AR="$AR" # Let the user override the test.
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 test -z "$as_dir" && as_dir=.
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3612 ac_cv_prog_AR="${ac_tool_prefix}ar"
3613 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 if test -n "$AR"; then
3624 { $as_echo "$as_me:$LINENO: result: $AR" >&5
3625 $as_echo "$AR" >&6; }
3627 { $as_echo "$as_me:$LINENO: result: no" >&5
3628 $as_echo "no" >&6; }
3633 if test -z "$ac_cv_prog_AR"; then
3635 # Extract the first word of "ar", so it can be a program name with args.
3636 set dummy ar; ac_word=$2
3637 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3640 $as_echo_n "(cached) " >&6
3642 if test -n "$ac_ct_AR"; then
3643 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 ac_cv_prog_ac_ct_AR="ar"
3653 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3663 if test -n "$ac_ct_AR"; then
3664 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3665 $as_echo "$ac_ct_AR" >&6; }
3667 { $as_echo "$as_me:$LINENO: result: no" >&5
3668 $as_echo "no" >&6; }
3671 if test "x$ac_ct_AR" = x; then
3674 case $cross_compiling:$ac_tool_warned in
3676 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3678 ac_tool_warned=yes ;;
3686 if test -n "$ac_tool_prefix"; then
3687 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3688 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3689 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3690 $as_echo_n "checking for $ac_word... " >&6; }
3691 if test "${ac_cv_prog_RANLIB+set}" = set; then
3692 $as_echo_n "(cached) " >&6
3694 if test -n "$RANLIB"; then
3695 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701 test -z "$as_dir" && as_dir=.
3702 for ac_exec_ext in '' $ac_executable_extensions; do
3703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3704 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3705 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 RANLIB=$ac_cv_prog_RANLIB
3715 if test -n "$RANLIB"; then
3716 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3717 $as_echo "$RANLIB" >&6; }
3719 { $as_echo "$as_me:$LINENO: result: no" >&5
3720 $as_echo "no" >&6; }
3725 if test -z "$ac_cv_prog_RANLIB"; then
3726 ac_ct_RANLIB=$RANLIB
3727 # Extract the first word of "ranlib", so it can be a program name with args.
3728 set dummy ranlib; ac_word=$2
3729 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3732 $as_echo_n "(cached) " >&6
3734 if test -n "$ac_ct_RANLIB"; then
3735 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_ac_ct_RANLIB="ranlib"
3745 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3755 if test -n "$ac_ct_RANLIB"; then
3756 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3757 $as_echo "$ac_ct_RANLIB" >&6; }
3759 { $as_echo "$as_me:$LINENO: result: no" >&5
3760 $as_echo "no" >&6; }
3763 if test "x$ac_ct_RANLIB" = x; then
3766 case $cross_compiling:$ac_tool_warned in
3768 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3770 ac_tool_warned=yes ;;
3772 RANLIB=$ac_ct_RANLIB
3775 RANLIB="$ac_cv_prog_RANLIB"
3778 if test -n "$ac_tool_prefix"; then
3779 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3780 set dummy ${ac_tool_prefix}readelf; ac_word=$2
3781 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if test "${ac_cv_prog_READELF+set}" = set; then
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$READELF"; then
3787 ac_cv_prog_READELF="$READELF" # Let the user override the test.
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3797 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 READELF=$ac_cv_prog_READELF
3807 if test -n "$READELF"; then
3808 { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3809 $as_echo "$READELF" >&6; }
3811 { $as_echo "$as_me:$LINENO: result: no" >&5
3812 $as_echo "no" >&6; }
3817 if test -z "$ac_cv_prog_READELF"; then
3818 ac_ct_READELF=$READELF
3819 # Extract the first word of "readelf", so it can be a program name with args.
3820 set dummy readelf; ac_word=$2
3821 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3824 $as_echo_n "(cached) " >&6
3826 if test -n "$ac_ct_READELF"; then
3827 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir=.
3834 for ac_exec_ext in '' $ac_executable_extensions; do
3835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3836 ac_cv_prog_ac_ct_READELF="readelf"
3837 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3847 if test -n "$ac_ct_READELF"; then
3848 { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3849 $as_echo "$ac_ct_READELF" >&6; }
3851 { $as_echo "$as_me:$LINENO: result: no" >&5
3852 $as_echo "no" >&6; }
3855 if test "x$ac_ct_READELF" = x; then
3858 case $cross_compiling:$ac_tool_warned in
3860 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3862 ac_tool_warned=yes ;;
3864 READELF=$ac_ct_READELF
3867 READELF="$ac_cv_prog_READELF"
3871 # Find a good install program. We prefer a C program (faster),
3872 # so one script is as good as another. But avoid the broken or
3873 # incompatible versions:
3874 # SysV /etc/install, /usr/sbin/install
3875 # SunOS /usr/etc/install
3876 # IRIX /sbin/install
3878 # AmigaOS /C/install, which installs bootblocks on floppy discs
3879 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3880 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3881 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3882 # OS/2's system install, which has a completely different semantic
3883 # ./install, which can be erroneously created by make from ./install.sh.
3884 # Reject install programs that cannot install multiple files.
3885 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3886 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3887 if test -z "$INSTALL"; then
3888 if test "${ac_cv_path_install+set}" = set; then
3889 $as_echo_n "(cached) " >&6
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895 test -z "$as_dir" && as_dir=.
3896 # Account for people who put trailing slashes in PATH elements.
3898 ./ | .// | /cC/* | \
3899 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3900 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3903 # OSF1 and SCO ODT 3.0 have their own names for install.
3904 # Don't use installbsd from OSF since it installs stuff as root
3906 for ac_prog in ginstall scoinst install; do
3907 for ac_exec_ext in '' $ac_executable_extensions; do
3908 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3909 if test $ac_prog = install &&
3910 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3911 # AIX install. It has an incompatible calling convention.
3913 elif test $ac_prog = install &&
3914 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3915 # program-specific install script used by HP pwplus--don't use.
3918 rm -rf conftest.one conftest.two conftest.dir
3919 echo one > conftest.one
3920 echo two > conftest.two
3922 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3923 test -s conftest.one && test -s conftest.two &&
3924 test -s conftest.dir/conftest.one &&
3925 test -s conftest.dir/conftest.two
3927 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3940 rm -rf conftest.one conftest.two conftest.dir
3943 if test "${ac_cv_path_install+set}" = set; then
3944 INSTALL=$ac_cv_path_install
3946 # As a last resort, use the slow shell script. Don't cache a
3947 # value for INSTALL within a source directory, because that will
3948 # break other packages using the cache if that directory is
3949 # removed, or if the value is a relative name.
3950 INSTALL=$ac_install_sh
3953 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3954 $as_echo "$INSTALL" >&6; }
3956 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3957 # It thinks the first close brace ends the variable substitution.
3958 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3960 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3962 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3965 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
3966 ac_given_INSTALL=$INSTALL
3969 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3970 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3971 # Check whether --enable-maintainer-mode was given.
3972 if test "${enable_maintainer_mode+set}" = set; then
3973 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3975 USE_MAINTAINER_MODE=no
3978 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3979 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3980 if test $USE_MAINTAINER_MODE = yes; then
3981 MAINTAINER_MODE_TRUE=
3982 MAINTAINER_MODE_FALSE='#'
3984 MAINTAINER_MODE_TRUE='#'
3985 MAINTAINER_MODE_FALSE=
3988 MAINT=$MAINTAINER_MODE_TRUE
3991 # By default we simply use the C compiler to build assembly code.
3993 test "${CCAS+set}" = set || CCAS=$CC
3994 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3999 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
4000 # at least currently, we never actually build a program, so we never
4001 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
4002 # fails, because we are probably configuring with a cross compiler
4003 # which can't create executables. So we include AC_EXEEXT to keep
4004 # automake happy, but we don't execute it, since we don't care about
4011 . ${newlib_basedir}/configure.host
4013 newlib_cflags="${newlib_cflags} -fno-builtin"
4015 NEWLIB_CFLAGS=${newlib_cflags}
4021 if test x${newlib_elix_level} = x0; then
4023 ELIX_LEVEL_0_FALSE='#'
4025 ELIX_LEVEL_0_TRUE='#'
4029 if test x${newlib_elix_level} = x1; then
4031 ELIX_LEVEL_1_FALSE='#'
4033 ELIX_LEVEL_1_TRUE='#'
4037 if test x${newlib_elix_level} = x2; then
4039 ELIX_LEVEL_2_FALSE='#'
4041 ELIX_LEVEL_2_TRUE='#'
4045 if test x${newlib_elix_level} = x3; then
4047 ELIX_LEVEL_3_FALSE='#'
4049 ELIX_LEVEL_3_TRUE='#'
4053 if test x${newlib_elix_level} = x4; then
4055 ELIX_LEVEL_4_FALSE='#'
4057 ELIX_LEVEL_4_TRUE='#'
4062 if test x${use_libtool} = xyes; then
4064 USE_LIBTOOL_FALSE='#'
4066 USE_LIBTOOL_TRUE='#'
4071 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
4072 # use oext, which is set in configure.host based on the target platform.
4085 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4086 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4087 if test "${ac_cv_path_SED+set}" = set; then
4088 $as_echo_n "(cached) " >&6
4090 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4091 for ac_i in 1 2 3 4 5 6 7; do
4092 ac_script="$ac_script$as_nl$ac_script"
4094 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4095 $as_unset ac_script || ac_script=
4096 if test -z "$SED"; then
4097 ac_path_SED_found=false
4098 # Loop through the user's path and test for each of PROGNAME-LIST
4099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir=.
4104 for ac_prog in sed gsed; do
4105 for ac_exec_ext in '' $ac_executable_extensions; do
4106 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4107 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4108 # Check for GNU ac_path_SED and select it if it is found.
4109 # Check for GNU $ac_path_SED
4110 case `"$ac_path_SED" --version 2>&1` in
4112 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4115 $as_echo_n 0123456789 >"conftest.in"
4118 cat "conftest.in" "conftest.in" >"conftest.tmp"
4119 mv "conftest.tmp" "conftest.in"
4120 cp "conftest.in" "conftest.nl"
4121 $as_echo '' >> "conftest.nl"
4122 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4123 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4124 ac_count=`expr $ac_count + 1`
4125 if test $ac_count -gt ${ac_path_SED_max-0}; then
4126 # Best one so far, save it but keep looking for a better one
4127 ac_cv_path_SED="$ac_path_SED"
4128 ac_path_SED_max=$ac_count
4130 # 10*(2^10) chars as input seems more than enough
4131 test $ac_count -gt 10 && break
4133 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4136 $ac_path_SED_found && break 3
4141 if test -z "$ac_cv_path_SED"; then
4142 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4143 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4144 { (exit 1); exit 1; }; }
4151 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4152 $as_echo "$ac_cv_path_SED" >&6; }
4153 SED="$ac_cv_path_SED"
4156 test -z "$SED" && SED=sed
4157 Xsed="$SED -e 1s/^X//"
4169 for ac_prog in gawk mawk nawk awk
4171 # Extract the first word of "$ac_prog", so it can be a program name with args.
4172 set dummy $ac_prog; ac_word=$2
4173 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4174 $as_echo_n "checking for $ac_word... " >&6; }
4175 if test "${ac_cv_prog_AWK+set}" = set; then
4176 $as_echo_n "(cached) " >&6
4178 if test -n "$AWK"; then
4179 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4185 test -z "$as_dir" && as_dir=.
4186 for ac_exec_ext in '' $ac_executable_extensions; do
4187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4188 ac_cv_prog_AWK="$ac_prog"
4189 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 if test -n "$AWK"; then
4200 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
4201 $as_echo "$AWK" >&6; }
4203 { $as_echo "$as_me:$LINENO: result: no" >&5
4204 $as_echo "no" >&6; }
4208 test -n "$AWK" && break
4211 if test "${use_libtool}" = "yes"; then
4212 enable_win32_dll=yes
4215 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4216 if test -n "$ac_tool_prefix"; then
4217 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4218 set dummy ${ac_tool_prefix}as; ac_word=$2
4219 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4220 $as_echo_n "checking for $ac_word... " >&6; }
4221 if test "${ac_cv_prog_AS+set}" = set; then
4222 $as_echo_n "(cached) " >&6
4224 if test -n "$AS"; then
4225 ac_cv_prog_AS="$AS" # Let the user override the test.
4227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 test -z "$as_dir" && as_dir=.
4232 for ac_exec_ext in '' $ac_executable_extensions; do
4233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4234 ac_cv_prog_AS="${ac_tool_prefix}as"
4235 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 if test -n "$AS"; then
4246 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4247 $as_echo "$AS" >&6; }
4249 { $as_echo "$as_me:$LINENO: result: no" >&5
4250 $as_echo "no" >&6; }
4255 if test -z "$ac_cv_prog_AS"; then
4257 # Extract the first word of "as", so it can be a program name with args.
4258 set dummy as; ac_word=$2
4259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4260 $as_echo_n "checking for $ac_word... " >&6; }
4261 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4262 $as_echo_n "(cached) " >&6
4264 if test -n "$ac_ct_AS"; then
4265 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271 test -z "$as_dir" && as_dir=.
4272 for ac_exec_ext in '' $ac_executable_extensions; do
4273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4274 ac_cv_prog_ac_ct_AS="as"
4275 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4285 if test -n "$ac_ct_AS"; then
4286 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4287 $as_echo "$ac_ct_AS" >&6; }
4289 { $as_echo "$as_me:$LINENO: result: no" >&5
4290 $as_echo "no" >&6; }
4293 if test "x$ac_ct_AS" = x; then
4296 case $cross_compiling:$ac_tool_warned in
4298 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4300 ac_tool_warned=yes ;;
4308 if test -n "$ac_tool_prefix"; then
4309 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4310 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4311 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4314 $as_echo_n "(cached) " >&6
4316 if test -n "$DLLTOOL"; then
4317 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir=.
4324 for ac_exec_ext in '' $ac_executable_extensions; do
4325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4326 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4327 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 DLLTOOL=$ac_cv_prog_DLLTOOL
4337 if test -n "$DLLTOOL"; then
4338 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4339 $as_echo "$DLLTOOL" >&6; }
4341 { $as_echo "$as_me:$LINENO: result: no" >&5
4342 $as_echo "no" >&6; }
4347 if test -z "$ac_cv_prog_DLLTOOL"; then
4348 ac_ct_DLLTOOL=$DLLTOOL
4349 # Extract the first word of "dlltool", so it can be a program name with args.
4350 set dummy dlltool; ac_word=$2
4351 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$ac_ct_DLLTOOL"; then
4357 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4377 if test -n "$ac_ct_DLLTOOL"; then
4378 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4379 $as_echo "$ac_ct_DLLTOOL" >&6; }
4381 { $as_echo "$as_me:$LINENO: result: no" >&5
4382 $as_echo "no" >&6; }
4385 if test "x$ac_ct_DLLTOOL" = x; then
4388 case $cross_compiling:$ac_tool_warned in
4390 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392 ac_tool_warned=yes ;;
4394 DLLTOOL=$ac_ct_DLLTOOL
4397 DLLTOOL="$ac_cv_prog_DLLTOOL"
4400 if test -n "$ac_tool_prefix"; then
4401 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4402 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$OBJDUMP"; then
4409 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4419 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 OBJDUMP=$ac_cv_prog_OBJDUMP
4429 if test -n "$OBJDUMP"; then
4430 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4431 $as_echo "$OBJDUMP" >&6; }
4433 { $as_echo "$as_me:$LINENO: result: no" >&5
4434 $as_echo "no" >&6; }
4439 if test -z "$ac_cv_prog_OBJDUMP"; then
4440 ac_ct_OBJDUMP=$OBJDUMP
4441 # Extract the first word of "objdump", so it can be a program name with args.
4442 set dummy objdump; ac_word=$2
4443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$ac_ct_OBJDUMP"; then
4449 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir=.
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4458 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4459 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4469 if test -n "$ac_ct_OBJDUMP"; then
4470 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4471 $as_echo "$ac_ct_OBJDUMP" >&6; }
4473 { $as_echo "$as_me:$LINENO: result: no" >&5
4474 $as_echo "no" >&6; }
4477 if test "x$ac_ct_OBJDUMP" = x; then
4480 case $cross_compiling:$ac_tool_warned in
4482 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4484 ac_tool_warned=yes ;;
4486 OBJDUMP=$ac_ct_OBJDUMP
4489 OBJDUMP="$ac_cv_prog_OBJDUMP"
4495 test -z "$AS" && AS=as
4501 test -z "$DLLTOOL" && DLLTOOL=dlltool
4507 test -z "$OBJDUMP" && OBJDUMP=objdump
4517 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4518 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4523 macro_version='2.2.6'
4524 macro_revision='1.3012'
4538 ltmain="$ac_aux_dir/ltmain.sh"
4541 ac_cpp='$CPP $CPPFLAGS'
4542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4545 if test -n "$ac_tool_prefix"; then
4546 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4547 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4548 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if test "${ac_cv_prog_CC+set}" = set; then
4551 $as_echo_n "(cached) " >&6
4553 if test -n "$CC"; then
4554 ac_cv_prog_CC="$CC" # Let the user override the test.
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir=.
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4563 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4564 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4574 if test -n "$CC"; then
4575 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4576 $as_echo "$CC" >&6; }
4578 { $as_echo "$as_me:$LINENO: result: no" >&5
4579 $as_echo "no" >&6; }
4584 if test -z "$ac_cv_prog_CC"; then
4586 # Extract the first word of "gcc", so it can be a program name with args.
4587 set dummy gcc; ac_word=$2
4588 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4589 $as_echo_n "checking for $ac_word... " >&6; }
4590 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4591 $as_echo_n "(cached) " >&6
4593 if test -n "$ac_ct_CC"; then
4594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600 test -z "$as_dir" && as_dir=.
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4603 ac_cv_prog_ac_ct_CC="gcc"
4604 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4614 if test -n "$ac_ct_CC"; then
4615 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4616 $as_echo "$ac_ct_CC" >&6; }
4618 { $as_echo "$as_me:$LINENO: result: no" >&5
4619 $as_echo "no" >&6; }
4622 if test "x$ac_ct_CC" = x; then
4625 case $cross_compiling:$ac_tool_warned in
4627 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4629 ac_tool_warned=yes ;;
4637 if test -z "$CC"; then
4638 if test -n "$ac_tool_prefix"; then
4639 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4640 set dummy ${ac_tool_prefix}cc; ac_word=$2
4641 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if test "${ac_cv_prog_CC+set}" = set; then
4644 $as_echo_n "(cached) " >&6
4646 if test -n "$CC"; then
4647 ac_cv_prog_CC="$CC" # Let the user override the test.
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir=.
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4656 ac_cv_prog_CC="${ac_tool_prefix}cc"
4657 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 if test -n "$CC"; then
4668 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4669 $as_echo "$CC" >&6; }
4671 { $as_echo "$as_me:$LINENO: result: no" >&5
4672 $as_echo "no" >&6; }
4678 if test -z "$CC"; then
4679 # Extract the first word of "cc", so it can be a program name with args.
4680 set dummy cc; ac_word=$2
4681 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if test "${ac_cv_prog_CC+set}" = set; then
4684 $as_echo_n "(cached) " >&6
4686 if test -n "$CC"; then
4687 ac_cv_prog_CC="$CC" # Let the user override the test.
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 test -z "$as_dir" && as_dir=.
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4697 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4698 ac_prog_rejected=yes
4702 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 if test $ac_prog_rejected = yes; then
4710 # We found a bogon in the path, so make sure we never use it.
4711 set dummy $ac_cv_prog_CC
4713 if test $# != 0; then
4714 # We chose a different compiler from the bogus one.
4715 # However, it has the same basename, so the bogon will be chosen
4716 # first if we set CC to just the basename; use the full file name.
4718 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4724 if test -n "$CC"; then
4725 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4726 $as_echo "$CC" >&6; }
4728 { $as_echo "$as_me:$LINENO: result: no" >&5
4729 $as_echo "no" >&6; }
4734 if test -z "$CC"; then
4735 if test -n "$ac_tool_prefix"; then
4736 for ac_prog in cl.exe
4738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4740 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4741 $as_echo_n "checking for $ac_word... " >&6; }
4742 if test "${ac_cv_prog_CC+set}" = set; then
4743 $as_echo_n "(cached) " >&6
4745 if test -n "$CC"; then
4746 ac_cv_prog_CC="$CC" # Let the user override the test.
4748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4752 test -z "$as_dir" && as_dir=.
4753 for ac_exec_ext in '' $ac_executable_extensions; do
4754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4755 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4756 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4766 if test -n "$CC"; then
4767 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4768 $as_echo "$CC" >&6; }
4770 { $as_echo "$as_me:$LINENO: result: no" >&5
4771 $as_echo "no" >&6; }
4775 test -n "$CC" && break
4778 if test -z "$CC"; then
4780 for ac_prog in cl.exe
4782 # Extract the first word of "$ac_prog", so it can be a program name with args.
4783 set dummy $ac_prog; ac_word=$2
4784 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4787 $as_echo_n "(cached) " >&6
4789 if test -n "$ac_ct_CC"; then
4790 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4799 ac_cv_prog_ac_ct_CC="$ac_prog"
4800 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4810 if test -n "$ac_ct_CC"; then
4811 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4812 $as_echo "$ac_ct_CC" >&6; }
4814 { $as_echo "$as_me:$LINENO: result: no" >&5
4815 $as_echo "no" >&6; }
4819 test -n "$ac_ct_CC" && break
4822 if test "x$ac_ct_CC" = x; then
4825 case $cross_compiling:$ac_tool_warned in
4827 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4829 ac_tool_warned=yes ;;
4838 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4840 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4841 See \`config.log' for more details." >&5
4842 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4843 See \`config.log' for more details." >&2;}
4844 { (exit 1); exit 1; }; }; }
4846 # Provide some information about the compiler.
4847 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4850 { (ac_try="$ac_compiler --version >&5"
4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4856 $as_echo "$ac_try_echo") >&5
4857 (eval "$ac_compiler --version >&5") 2>&5
4859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }
4861 { (ac_try="$ac_compiler -v >&5"
4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 *) ac_try_echo=$ac_try;;
4866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4867 $as_echo "$ac_try_echo") >&5
4868 (eval "$ac_compiler -v >&5") 2>&5
4870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); }
4872 { (ac_try="$ac_compiler -V >&5"
4874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4875 *) ac_try_echo=$ac_try;;
4877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4878 $as_echo "$ac_try_echo") >&5
4879 (eval "$ac_compiler -V >&5") 2>&5
4881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }
4884 cat >conftest.$ac_ext <<_ACEOF
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4899 ac_clean_files_save=$ac_clean_files
4900 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4901 # Try to create an executable without -o first, disregard a.out.
4902 # It will help us diagnose broken compilers, and finding out an intuition
4904 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4905 $as_echo_n "checking for C compiler default output file name... " >&6; }
4906 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4908 # The possible output files:
4909 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4912 for ac_file in $ac_files
4915 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4916 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4921 if { (ac_try="$ac_link_default"
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4927 $as_echo "$ac_try_echo") >&5
4928 (eval "$ac_link_default") 2>&5
4930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; then
4932 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4933 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4934 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4935 # so that the user can short-circuit this test for compilers unknown to
4937 for ac_file in $ac_files ''
4939 test -f "$ac_file" || continue
4941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4944 # We found the default executable, but exeext='' is most
4948 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4950 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4952 # We set ac_cv_exeext here because the later test for it is not
4953 # safe: cross compilers may not add the suffix if given an `-o'
4954 # argument, so we may need to know it at that point already.
4955 # Even if this section looks crufty: it has the advantage of
4962 test "$ac_cv_exeext" = no && ac_cv_exeext=
4968 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4969 $as_echo "$ac_file" >&6; }
4970 if test -z "$ac_file"; then
4971 $as_echo "$as_me: failed program was:" >&5
4972 sed 's/^/| /' conftest.$ac_ext >&5
4974 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4976 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
4977 See \`config.log' for more details." >&5
4978 $as_echo "$as_me: error: C compiler cannot create executables
4979 See \`config.log' for more details." >&2;}
4980 { (exit 77); exit 77; }; }; }
4983 ac_exeext=$ac_cv_exeext
4985 # Check that the compiler produces executables we can run. If not, either
4986 # the compiler is broken, or we cross compile.
4987 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4988 $as_echo_n "checking whether the C compiler works... " >&6; }
4989 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4990 # If not cross compiling, check that we can run a simple program.
4991 if test "$cross_compiling" != yes; then
4992 if { ac_try='./$ac_file'
4993 { (case "(($ac_try" in
4994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4995 *) ac_try_echo=$ac_try;;
4997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4998 $as_echo "$ac_try_echo") >&5
4999 (eval "$ac_try") 2>&5
5001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); }; }; then
5005 if test "$cross_compiling" = maybe; then
5008 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5010 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
5011 If you meant to cross compile, use \`--host'.
5012 See \`config.log' for more details." >&5
5013 $as_echo "$as_me: error: cannot run C compiled programs.
5014 If you meant to cross compile, use \`--host'.
5015 See \`config.log' for more details." >&2;}
5016 { (exit 1); exit 1; }; }; }
5020 { $as_echo "$as_me:$LINENO: result: yes" >&5
5021 $as_echo "yes" >&6; }
5023 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5024 ac_clean_files=$ac_clean_files_save
5025 # Check that the compiler produces executables we can run. If not, either
5026 # the compiler is broken, or we cross compile.
5027 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
5028 $as_echo_n "checking whether we are cross compiling... " >&6; }
5029 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
5030 $as_echo "$cross_compiling" >&6; }
5032 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
5033 $as_echo_n "checking for suffix of executables... " >&6; }
5034 if { (ac_try="$ac_link"
5036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5037 *) ac_try_echo=$ac_try;;
5039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5040 $as_echo "$ac_try_echo") >&5
5041 (eval "$ac_link") 2>&5
5043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; then
5045 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5046 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5047 # work properly (i.e., refer to `conftest.exe'), while it won't with
5049 for ac_file in conftest.exe conftest conftest.*; do
5050 test -f "$ac_file" || continue
5052 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5053 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5059 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5061 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
5062 See \`config.log' for more details." >&5
5063 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
5064 See \`config.log' for more details." >&2;}
5065 { (exit 1); exit 1; }; }; }
5068 rm -f conftest$ac_cv_exeext
5069 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
5070 $as_echo "$ac_cv_exeext" >&6; }
5072 rm -f conftest.$ac_ext
5073 EXEEXT=$ac_cv_exeext
5075 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
5076 $as_echo_n "checking for suffix of object files... " >&6; }
5077 if test "${ac_cv_objext+set}" = set; then
5078 $as_echo_n "(cached) " >&6
5080 cat >conftest.$ac_ext <<_ACEOF
5083 cat confdefs.h >>conftest.$ac_ext
5084 cat >>conftest.$ac_ext <<_ACEOF
5085 /* end confdefs.h. */
5095 rm -f conftest.o conftest.obj
5096 if { (ac_try="$ac_compile"
5098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5099 *) ac_try_echo=$ac_try;;
5101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5102 $as_echo "$ac_try_echo") >&5
5103 (eval "$ac_compile") 2>&5
5105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); }; then
5107 for ac_file in conftest.o conftest.obj conftest.*; do
5108 test -f "$ac_file" || continue;
5110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5111 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5116 $as_echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.$ac_ext >&5
5119 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5121 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
5122 See \`config.log' for more details." >&5
5123 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
5124 See \`config.log' for more details." >&2;}
5125 { (exit 1); exit 1; }; }; }
5128 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5130 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
5131 $as_echo "$ac_cv_objext" >&6; }
5132 OBJEXT=$ac_cv_objext
5134 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5135 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5136 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5137 $as_echo_n "(cached) " >&6
5139 cat >conftest.$ac_ext <<_ACEOF
5142 cat confdefs.h >>conftest.$ac_ext
5143 cat >>conftest.$ac_ext <<_ACEOF
5144 /* end confdefs.h. */
5157 rm -f conftest.$ac_objext
5158 if { (ac_try="$ac_compile"
5160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5161 *) ac_try_echo=$ac_try;;
5163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5164 $as_echo "$ac_try_echo") >&5
5165 (eval "$ac_compile") 2>conftest.er1
5167 grep -v '^ *+' conftest.er1 >conftest.err
5169 cat conftest.err >&5
5170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); } && {
5172 test -z "$ac_c_werror_flag" ||
5173 test ! -s conftest.err
5174 } && test -s conftest.$ac_objext; then
5177 $as_echo "$as_me: failed program was:" >&5
5178 sed 's/^/| /' conftest.$ac_ext >&5
5183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5184 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5187 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5188 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5189 if test $ac_compiler_gnu = yes; then
5194 ac_test_CFLAGS=${CFLAGS+set}
5195 ac_save_CFLAGS=$CFLAGS
5196 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5197 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5198 if test "${ac_cv_prog_cc_g+set}" = set; then
5199 $as_echo_n "(cached) " >&6
5201 ac_save_c_werror_flag=$ac_c_werror_flag
5202 ac_c_werror_flag=yes
5205 cat >conftest.$ac_ext <<_ACEOF
5208 cat confdefs.h >>conftest.$ac_ext
5209 cat >>conftest.$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5220 rm -f conftest.$ac_objext
5221 if { (ac_try="$ac_compile"
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5227 $as_echo "$ac_try_echo") >&5
5228 (eval "$ac_compile") 2>conftest.er1
5230 grep -v '^ *+' conftest.er1 >conftest.err
5232 cat conftest.err >&5
5233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); } && {
5235 test -z "$ac_c_werror_flag" ||
5236 test ! -s conftest.err
5237 } && test -s conftest.$ac_objext; then
5240 $as_echo "$as_me: failed program was:" >&5
5241 sed 's/^/| /' conftest.$ac_ext >&5
5244 cat >conftest.$ac_ext <<_ACEOF
5247 cat confdefs.h >>conftest.$ac_ext
5248 cat >>conftest.$ac_ext <<_ACEOF
5249 /* end confdefs.h. */
5259 rm -f conftest.$ac_objext
5260 if { (ac_try="$ac_compile"
5262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5263 *) ac_try_echo=$ac_try;;
5265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5266 $as_echo "$ac_try_echo") >&5
5267 (eval "$ac_compile") 2>conftest.er1
5269 grep -v '^ *+' conftest.er1 >conftest.err
5271 cat conftest.err >&5
5272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } && {
5274 test -z "$ac_c_werror_flag" ||
5275 test ! -s conftest.err
5276 } && test -s conftest.$ac_objext; then
5279 $as_echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.$ac_ext >&5
5282 ac_c_werror_flag=$ac_save_c_werror_flag
5284 cat >conftest.$ac_ext <<_ACEOF
5287 cat confdefs.h >>conftest.$ac_ext
5288 cat >>conftest.$ac_ext <<_ACEOF
5289 /* end confdefs.h. */
5299 rm -f conftest.$ac_objext
5300 if { (ac_try="$ac_compile"
5302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5303 *) ac_try_echo=$ac_try;;
5305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5306 $as_echo "$ac_try_echo") >&5
5307 (eval "$ac_compile") 2>conftest.er1
5309 grep -v '^ *+' conftest.er1 >conftest.err
5311 cat conftest.err >&5
5312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); } && {
5314 test -z "$ac_c_werror_flag" ||
5315 test ! -s conftest.err
5316 } && test -s conftest.$ac_objext; then
5319 $as_echo "$as_me: failed program was:" >&5
5320 sed 's/^/| /' conftest.$ac_ext >&5
5325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332 ac_c_werror_flag=$ac_save_c_werror_flag
5334 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5335 $as_echo "$ac_cv_prog_cc_g" >&6; }
5336 if test "$ac_test_CFLAGS" = set; then
5337 CFLAGS=$ac_save_CFLAGS
5338 elif test $ac_cv_prog_cc_g = yes; then
5339 if test "$GCC" = yes; then
5345 if test "$GCC" = yes; then
5351 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5352 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5353 if test "${ac_cv_prog_cc_c89+set}" = set; then
5354 $as_echo_n "(cached) " >&6
5356 ac_cv_prog_cc_c89=no
5358 cat >conftest.$ac_ext <<_ACEOF
5361 cat confdefs.h >>conftest.$ac_ext
5362 cat >>conftest.$ac_ext <<_ACEOF
5363 /* end confdefs.h. */
5366 #include <sys/types.h>
5367 #include <sys/stat.h>
5368 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5369 struct buf { int x; };
5370 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5371 static char *e (p, i)
5377 static char *f (char * (*g) (char **, int), char **p, ...)
5382 s = g (p, va_arg (v,int));
5387 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5388 function prototypes and stuff, but not '\xHH' hex character constants.
5389 These don't provoke an error unfortunately, instead are silently treated
5390 as 'x'. The following induces an error, until -std is added to get
5391 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5392 array size at least. It's necessary to write '\x00'==0 to get something
5393 that's true only with -std. */
5394 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5396 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5397 inside strings and character constants. */
5399 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5401 int test (int i, double x);
5402 struct s1 {int (*f) (int a);};
5403 struct s2 {int (*f) (double a);};
5404 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5410 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5415 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5416 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5418 CC="$ac_save_CC $ac_arg"
5419 rm -f conftest.$ac_objext
5420 if { (ac_try="$ac_compile"
5422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5423 *) ac_try_echo=$ac_try;;
5425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5426 $as_echo "$ac_try_echo") >&5
5427 (eval "$ac_compile") 2>conftest.er1
5429 grep -v '^ *+' conftest.er1 >conftest.err
5431 cat conftest.err >&5
5432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); } && {
5434 test -z "$ac_c_werror_flag" ||
5435 test ! -s conftest.err
5436 } && test -s conftest.$ac_objext; then
5437 ac_cv_prog_cc_c89=$ac_arg
5439 $as_echo "$as_me: failed program was:" >&5
5440 sed 's/^/| /' conftest.$ac_ext >&5
5445 rm -f core conftest.err conftest.$ac_objext
5446 test "x$ac_cv_prog_cc_c89" != "xno" && break
5448 rm -f conftest.$ac_ext
5453 case "x$ac_cv_prog_cc_c89" in
5455 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5456 $as_echo "none needed" >&6; } ;;
5458 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5459 $as_echo "unsupported" >&6; } ;;
5461 CC="$CC $ac_cv_prog_cc_c89"
5462 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5463 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5468 ac_cpp='$CPP $CPPFLAGS'
5469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5473 depcc="$CC" am_compiler_list=
5475 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5476 $as_echo_n "checking dependency style of $depcc... " >&6; }
5477 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5478 $as_echo_n "(cached) " >&6
5480 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5481 # We make a subdir and do the tests there. Otherwise we can end up
5482 # making bogus files that we don't know about and never remove. For
5483 # instance it was reported that on HP-UX the gcc test will end up
5484 # making a dummy file named `D' -- because `-MD' means `put the output
5487 # Copy depcomp to subdir because otherwise we won't find it if we're
5488 # using a relative directory.
5489 cp "$am_depcomp" conftest.dir
5491 # We will build objects and dependencies in a subdirectory because
5492 # it helps to detect inapplicable dependency modes. For instance
5493 # both Tru64's cc and ICC support -MD to output dependencies as a
5494 # side effect of compilation, but ICC will put the dependencies in
5495 # the current directory while Tru64 will put them in the object
5499 am_cv_CC_dependencies_compiler_type=none
5500 if test "$am_compiler_list" = ""; then
5501 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5504 case " $depcc " in #(
5505 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5508 for depmode in $am_compiler_list; do
5509 # Setup a source with many dependencies, because some compilers
5510 # like to wrap large dependency lists on column 80 (with \), and
5511 # we should not choose a depcomp mode which is confused by this.
5513 # We need to recreate these files for each test, as the compiler may
5514 # overwrite some of them when testing with obscure command lines.
5515 # This happens at least with the AIX C compiler.
5517 for i in 1 2 3 4 5 6; do
5518 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5519 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5520 # Solaris 8's {/usr,}/bin/sh.
5521 touch sub/conftst$i.h
5523 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5525 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5526 # mode. It turns out that the SunPro C++ compiler does not properly
5527 # handle `-M -o', and we need to detect this. Also, some Intel
5528 # versions had trouble with output in subdirs
5529 am__obj=sub/conftest.${OBJEXT-o}
5530 am__minus_obj="-o $am__obj"
5533 # This depmode causes a compiler race in universal mode.
5534 test "$am__universal" = false || continue
5537 # after this tag, mechanisms are not by side-effect, so they'll
5538 # only be used when explicitly requested
5539 if test "x$enable_dependency_tracking" = xyes; then
5545 msvisualcpp | msvcmsys)
5546 # This compiler won't grok `-c -o', but also, the minuso test has
5547 # not run yet. These depmodes are late enough in the game, and
5548 # so weak that their functioning should not be impacted.
5549 am__obj=conftest.${OBJEXT-o}
5554 if depmode=$depmode \
5555 source=sub/conftest.c object=$am__obj \
5556 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5557 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5558 >/dev/null 2>conftest.err &&
5559 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5560 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5561 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5562 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5563 # icc doesn't choke on unknown options, it will just issue warnings
5564 # or remarks (even with -Werror). So we grep stderr for any message
5565 # that says an option was ignored or not supported.
5566 # When given -MP, icc 7.0 and 7.1 complain thusly:
5567 # icc: Command line warning: ignoring option '-M'; no argument required
5568 # The diagnosis changed in icc 8.0:
5569 # icc: Command line remark: option '-MP' not supported
5570 if (grep 'ignoring option' conftest.err ||
5571 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5572 am_cv_CC_dependencies_compiler_type=$depmode
5581 am_cv_CC_dependencies_compiler_type=none
5585 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5586 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5587 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5590 test "x$enable_dependency_tracking" != xno \
5591 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5593 am__fastdepCC_FALSE='#'
5595 am__fastdepCC_TRUE='#'
5596 am__fastdepCC_FALSE=
5600 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5601 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5602 if test "${ac_cv_path_GREP+set}" = set; then
5603 $as_echo_n "(cached) " >&6
5605 if test -z "$GREP"; then
5606 ac_path_GREP_found=false
5607 # Loop through the user's path and test for each of PROGNAME-LIST
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5612 test -z "$as_dir" && as_dir=.
5613 for ac_prog in grep ggrep; do
5614 for ac_exec_ext in '' $ac_executable_extensions; do
5615 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5616 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5617 # Check for GNU ac_path_GREP and select it if it is found.
5618 # Check for GNU $ac_path_GREP
5619 case `"$ac_path_GREP" --version 2>&1` in
5621 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5624 $as_echo_n 0123456789 >"conftest.in"
5627 cat "conftest.in" "conftest.in" >"conftest.tmp"
5628 mv "conftest.tmp" "conftest.in"
5629 cp "conftest.in" "conftest.nl"
5630 $as_echo 'GREP' >> "conftest.nl"
5631 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5632 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5633 ac_count=`expr $ac_count + 1`
5634 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5635 # Best one so far, save it but keep looking for a better one
5636 ac_cv_path_GREP="$ac_path_GREP"
5637 ac_path_GREP_max=$ac_count
5639 # 10*(2^10) chars as input seems more than enough
5640 test $ac_count -gt 10 && break
5642 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5645 $ac_path_GREP_found && break 3
5650 if test -z "$ac_cv_path_GREP"; then
5651 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5652 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5653 { (exit 1); exit 1; }; }
5656 ac_cv_path_GREP=$GREP
5660 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5661 $as_echo "$ac_cv_path_GREP" >&6; }
5662 GREP="$ac_cv_path_GREP"
5665 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5666 $as_echo_n "checking for egrep... " >&6; }
5667 if test "${ac_cv_path_EGREP+set}" = set; then
5668 $as_echo_n "(cached) " >&6
5670 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5671 then ac_cv_path_EGREP="$GREP -E"
5673 if test -z "$EGREP"; then
5674 ac_path_EGREP_found=false
5675 # Loop through the user's path and test for each of PROGNAME-LIST
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5680 test -z "$as_dir" && as_dir=.
5681 for ac_prog in egrep; do
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5684 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5685 # Check for GNU ac_path_EGREP and select it if it is found.
5686 # Check for GNU $ac_path_EGREP
5687 case `"$ac_path_EGREP" --version 2>&1` in
5689 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5692 $as_echo_n 0123456789 >"conftest.in"
5695 cat "conftest.in" "conftest.in" >"conftest.tmp"
5696 mv "conftest.tmp" "conftest.in"
5697 cp "conftest.in" "conftest.nl"
5698 $as_echo 'EGREP' >> "conftest.nl"
5699 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5700 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5701 ac_count=`expr $ac_count + 1`
5702 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5703 # Best one so far, save it but keep looking for a better one
5704 ac_cv_path_EGREP="$ac_path_EGREP"
5705 ac_path_EGREP_max=$ac_count
5707 # 10*(2^10) chars as input seems more than enough
5708 test $ac_count -gt 10 && break
5710 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5713 $ac_path_EGREP_found && break 3
5718 if test -z "$ac_cv_path_EGREP"; then
5719 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5720 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5721 { (exit 1); exit 1; }; }
5724 ac_cv_path_EGREP=$EGREP
5729 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5730 $as_echo "$ac_cv_path_EGREP" >&6; }
5731 EGREP="$ac_cv_path_EGREP"
5734 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5735 $as_echo_n "checking for fgrep... " >&6; }
5736 if test "${ac_cv_path_FGREP+set}" = set; then
5737 $as_echo_n "(cached) " >&6
5739 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5740 then ac_cv_path_FGREP="$GREP -F"
5742 if test -z "$FGREP"; then
5743 ac_path_FGREP_found=false
5744 # Loop through the user's path and test for each of PROGNAME-LIST
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5749 test -z "$as_dir" && as_dir=.
5750 for ac_prog in fgrep; do
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5753 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5754 # Check for GNU ac_path_FGREP and select it if it is found.
5755 # Check for GNU $ac_path_FGREP
5756 case `"$ac_path_FGREP" --version 2>&1` in
5758 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5761 $as_echo_n 0123456789 >"conftest.in"
5764 cat "conftest.in" "conftest.in" >"conftest.tmp"
5765 mv "conftest.tmp" "conftest.in"
5766 cp "conftest.in" "conftest.nl"
5767 $as_echo 'FGREP' >> "conftest.nl"
5768 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5769 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5770 ac_count=`expr $ac_count + 1`
5771 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5772 # Best one so far, save it but keep looking for a better one
5773 ac_cv_path_FGREP="$ac_path_FGREP"
5774 ac_path_FGREP_max=$ac_count
5776 # 10*(2^10) chars as input seems more than enough
5777 test $ac_count -gt 10 && break
5779 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5782 $ac_path_FGREP_found && break 3
5787 if test -z "$ac_cv_path_FGREP"; then
5788 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5789 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5790 { (exit 1); exit 1; }; }
5793 ac_cv_path_FGREP=$FGREP
5798 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5799 $as_echo "$ac_cv_path_FGREP" >&6; }
5800 FGREP="$ac_cv_path_FGREP"
5803 test -z "$GREP" && GREP=grep
5823 # Check whether --with-gnu-ld was given.
5824 if test "${with_gnu_ld+set}" = set; then
5825 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5831 if test "$GCC" = yes; then
5832 # Check if gcc -print-prog-name=ld gives a path.
5833 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5834 $as_echo_n "checking for ld used by $CC... " >&6; }
5837 # gcc leaves a trailing carriage return which upsets mingw
5838 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5840 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5843 # Accept absolute paths.
5845 re_direlt='/[^/][^/]*/\.\./'
5846 # Canonicalize the pathname of ld
5847 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5848 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5849 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5851 test -z "$LD" && LD="$ac_prog"
5854 # If it fails, then pretend we aren't using GCC.
5858 # If it is relative, then search for the first ld in PATH.
5862 elif test "$with_gnu_ld" = yes; then
5863 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5864 $as_echo_n "checking for GNU ld... " >&6; }
5866 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5867 $as_echo_n "checking for non-GNU ld... " >&6; }
5869 if test "${lt_cv_path_LD+set}" = set; then
5870 $as_echo_n "(cached) " >&6
5872 if test -z "$LD"; then
5873 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5874 for ac_dir in $PATH; do
5876 test -z "$ac_dir" && ac_dir=.
5877 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5878 lt_cv_path_LD="$ac_dir/$ac_prog"
5879 # Check to see if the program is GNU ld. I'd rather use --version,
5880 # but apparently some variants of GNU ld only accept -v.
5881 # Break only if it was the GNU/non-GNU ld that we prefer.
5882 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5883 *GNU* | *'with BFD'*)
5884 test "$with_gnu_ld" != no && break
5887 test "$with_gnu_ld" != yes && break
5894 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5899 if test -n "$LD"; then
5900 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5901 $as_echo "$LD" >&6; }
5903 { $as_echo "$as_me:$LINENO: result: no" >&5
5904 $as_echo "no" >&6; }
5906 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5907 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5908 { (exit 1); exit 1; }; }
5909 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5910 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5911 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5912 $as_echo_n "(cached) " >&6
5914 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5915 case `$LD -v 2>&1 </dev/null` in
5916 *GNU* | *'with BFD'*)
5917 lt_cv_prog_gnu_ld=yes
5920 lt_cv_prog_gnu_ld=no
5924 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5925 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5926 with_gnu_ld=$lt_cv_prog_gnu_ld
5936 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5937 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5938 if test "${lt_cv_path_NM+set}" = set; then
5939 $as_echo_n "(cached) " >&6
5941 if test -n "$NM"; then
5942 # Let the user override the test.
5945 lt_nm_to_check="${ac_tool_prefix}nm"
5946 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5947 lt_nm_to_check="$lt_nm_to_check nm"
5949 for lt_tmp_nm in $lt_nm_to_check; do
5950 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5951 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5953 test -z "$ac_dir" && ac_dir=.
5954 tmp_nm="$ac_dir/$lt_tmp_nm"
5955 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5956 # Check to see if the nm accepts a BSD-compat flag.
5957 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5958 # nm: unknown option "B" ignored
5959 # Tru64's nm complains that /dev/null is an invalid object file
5960 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5961 */dev/null* | *'Invalid file or object type'*)
5962 lt_cv_path_NM="$tmp_nm -B"
5966 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5968 lt_cv_path_NM="$tmp_nm -p"
5972 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5973 continue # so that we can try to find one that supports BSD flags
5982 : ${lt_cv_path_NM=no}
5985 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5986 $as_echo "$lt_cv_path_NM" >&6; }
5987 if test "$lt_cv_path_NM" != "no"; then
5990 # Didn't find any BSD compatible name lister, look for dumpbin.
5991 if test -n "$ac_tool_prefix"; then
5992 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5994 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5995 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5996 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5999 $as_echo_n "(cached) " >&6
6001 if test -n "$DUMPBIN"; then
6002 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6011 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6012 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 DUMPBIN=$ac_cv_prog_DUMPBIN
6022 if test -n "$DUMPBIN"; then
6023 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6024 $as_echo "$DUMPBIN" >&6; }
6026 { $as_echo "$as_me:$LINENO: result: no" >&5
6027 $as_echo "no" >&6; }
6031 test -n "$DUMPBIN" && break
6034 if test -z "$DUMPBIN"; then
6035 ac_ct_DUMPBIN=$DUMPBIN
6036 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6038 # Extract the first word of "$ac_prog", so it can be a program name with args.
6039 set dummy $ac_prog; ac_word=$2
6040 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6043 $as_echo_n "(cached) " >&6
6045 if test -n "$ac_ct_DUMPBIN"; then
6046 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6052 test -z "$as_dir" && as_dir=.
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6055 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6056 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6066 if test -n "$ac_ct_DUMPBIN"; then
6067 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6068 $as_echo "$ac_ct_DUMPBIN" >&6; }
6070 { $as_echo "$as_me:$LINENO: result: no" >&5
6071 $as_echo "no" >&6; }
6075 test -n "$ac_ct_DUMPBIN" && break
6078 if test "x$ac_ct_DUMPBIN" = x; then
6081 case $cross_compiling:$ac_tool_warned in
6083 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6085 ac_tool_warned=yes ;;
6087 DUMPBIN=$ac_ct_DUMPBIN
6092 if test "$DUMPBIN" != ":"; then
6096 test -z "$NM" && NM=nm
6103 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6104 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6105 if test "${lt_cv_nm_interface+set}" = set; then
6106 $as_echo_n "(cached) " >&6
6108 lt_cv_nm_interface="BSD nm"
6109 echo "int some_variable = 0;" > conftest.$ac_ext
6110 (eval echo "\"\$as_me:6110: $ac_compile\"" >&5)
6111 (eval "$ac_compile" 2>conftest.err)
6112 cat conftest.err >&5
6113 (eval echo "\"\$as_me:6113: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6114 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6115 cat conftest.err >&5
6116 (eval echo "\"\$as_me:6116: output\"" >&5)
6117 cat conftest.out >&5
6118 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6119 lt_cv_nm_interface="MS dumpbin"
6123 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6124 $as_echo "$lt_cv_nm_interface" >&6; }
6126 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
6127 $as_echo_n "checking whether ln -s works... " >&6; }
6129 if test "$LN_S" = "ln -s"; then
6130 { $as_echo "$as_me:$LINENO: result: yes" >&5
6131 $as_echo "yes" >&6; }
6133 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6134 $as_echo "no, using $LN_S" >&6; }
6137 # find the maximum length of command line arguments
6138 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6139 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6140 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6141 $as_echo_n "(cached) " >&6
6148 # On DJGPP, this test can blow up pretty badly due to problems in libc
6149 # (any single argument exceeding 2000 bytes causes a buffer overrun
6150 # during glob expansion). Even if it were fixed, the result of this
6151 # check would be larger than it should be.
6152 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6156 # Under GNU Hurd, this test is not required because there is
6157 # no limit to the length of command line arguments.
6158 # Libtool will interpret -1 as no limit whatsoever
6159 lt_cv_sys_max_cmd_len=-1;
6162 cygwin* | mingw* | cegcc*)
6163 # On Win9x/ME, this test blows up -- it succeeds, but takes
6164 # about 5 minutes as the teststring grows exponentially.
6165 # Worse, since 9x/ME are not pre-emptively multitasking,
6166 # you end up with a "frozen" computer, even though with patience
6167 # the test eventually succeeds (with a max line length of 256k).
6168 # Instead, let's just punt: use the minimum linelength reported by
6169 # all of the supported platforms: 8192 (on NT/2K/XP).
6170 lt_cv_sys_max_cmd_len=8192;
6174 # On AmigaOS with pdksh, this test takes hours, literally.
6175 # So we just punt and use a minimum line length of 8192.
6176 lt_cv_sys_max_cmd_len=8192;
6179 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6180 # This has been around since 386BSD, at least. Likely further.
6181 if test -x /sbin/sysctl; then
6182 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6183 elif test -x /usr/sbin/sysctl; then
6184 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6186 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6188 # And add a safety zone
6189 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6190 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6194 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6195 lt_cv_sys_max_cmd_len=196608
6199 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6200 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6201 # nice to cause kernel panics so lets avoid the loop below.
6202 # First set a reasonable default.
6203 lt_cv_sys_max_cmd_len=16384
6205 if test -x /sbin/sysconfig; then
6206 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6207 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6212 lt_cv_sys_max_cmd_len=102400
6214 sysv5* | sco5v6* | sysv4.2uw2*)
6215 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6216 if test -n "$kargmax"; then
6217 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6219 lt_cv_sys_max_cmd_len=32768
6223 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6224 if test -n "$lt_cv_sys_max_cmd_len"; then
6225 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6226 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6228 # Make teststring a little bigger before we do anything with it.
6229 # a 1K string should be a reasonable start.
6230 for i in 1 2 3 4 5 6 7 8 ; do
6231 teststring=$teststring$teststring
6233 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6234 # If test is not a shell built-in, we'll probably end up computing a
6235 # maximum length that is only half of the actual maximum length, but
6237 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6238 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6239 test $i != 17 # 1/2 MB should be enough
6242 teststring=$teststring$teststring
6244 # Only check the string length outside the loop.
6245 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6247 # Add a significant safety factor because C++ compilers can tack on
6248 # massive amounts of additional arguments before passing them to the
6249 # linker. It appears as though 1/2 is a usable value.
6250 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6257 if test -n $lt_cv_sys_max_cmd_len ; then
6258 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6259 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6261 { $as_echo "$as_me:$LINENO: result: none" >&5
6262 $as_echo "none" >&6; }
6264 max_cmd_len=$lt_cv_sys_max_cmd_len
6275 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6276 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6277 # Try some XSI features
6280 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6282 && eval 'test $(( 1 + 1 )) -eq 2 \
6283 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6285 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6286 $as_echo "$xsi_shell" >&6; }
6289 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6290 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6292 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6294 && lt_shell_append=yes
6295 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6296 $as_echo "$lt_shell_append" >&6; }
6299 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6309 # test EBCDIC or ASCII
6310 case `echo X|tr X '\101'` in
6311 A) # ASCII based system
6312 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6313 lt_SP2NL='tr \040 \012'
6314 lt_NL2SP='tr \015\012 \040\040'
6316 *) # EBCDIC based system
6317 lt_SP2NL='tr \100 \n'
6318 lt_NL2SP='tr \r\n \100\100'
6330 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6331 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6332 if test "${lt_cv_ld_reload_flag+set}" = set; then
6333 $as_echo_n "(cached) " >&6
6335 lt_cv_ld_reload_flag='-r'
6337 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6338 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6339 reload_flag=$lt_cv_ld_reload_flag
6340 case $reload_flag in
6342 *) reload_flag=" $reload_flag" ;;
6344 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6347 if test "$GCC" = yes; then
6348 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6350 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6363 if test -n "$ac_tool_prefix"; then
6364 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6365 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6366 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6367 $as_echo_n "checking for $ac_word... " >&6; }
6368 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6369 $as_echo_n "(cached) " >&6
6371 if test -n "$OBJDUMP"; then
6372 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6378 test -z "$as_dir" && as_dir=.
6379 for ac_exec_ext in '' $ac_executable_extensions; do
6380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6381 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6382 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 OBJDUMP=$ac_cv_prog_OBJDUMP
6392 if test -n "$OBJDUMP"; then
6393 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6394 $as_echo "$OBJDUMP" >&6; }
6396 { $as_echo "$as_me:$LINENO: result: no" >&5
6397 $as_echo "no" >&6; }
6402 if test -z "$ac_cv_prog_OBJDUMP"; then
6403 ac_ct_OBJDUMP=$OBJDUMP
6404 # Extract the first word of "objdump", so it can be a program name with args.
6405 set dummy objdump; ac_word=$2
6406 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6407 $as_echo_n "checking for $ac_word... " >&6; }
6408 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6409 $as_echo_n "(cached) " >&6
6411 if test -n "$ac_ct_OBJDUMP"; then
6412 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418 test -z "$as_dir" && as_dir=.
6419 for ac_exec_ext in '' $ac_executable_extensions; do
6420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6421 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6422 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6431 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6432 if test -n "$ac_ct_OBJDUMP"; then
6433 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6434 $as_echo "$ac_ct_OBJDUMP" >&6; }
6436 { $as_echo "$as_me:$LINENO: result: no" >&5
6437 $as_echo "no" >&6; }
6440 if test "x$ac_ct_OBJDUMP" = x; then
6443 case $cross_compiling:$ac_tool_warned in
6445 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6447 ac_tool_warned=yes ;;
6449 OBJDUMP=$ac_ct_OBJDUMP
6452 OBJDUMP="$ac_cv_prog_OBJDUMP"
6455 test -z "$OBJDUMP" && OBJDUMP=objdump
6462 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6463 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6464 if test "${lt_cv_deplibs_check_method+set}" = set; then
6465 $as_echo_n "(cached) " >&6
6467 lt_cv_file_magic_cmd='$MAGIC_CMD'
6468 lt_cv_file_magic_test_file=
6469 lt_cv_deplibs_check_method='unknown'
6470 # Need to set the preceding variable on all platforms that support
6471 # interlibrary dependencies.
6472 # 'none' -- dependencies not supported.
6473 # `unknown' -- same as none, but documents that we really don't know.
6474 # 'pass_all' -- all dependencies passed with no checks.
6475 # 'test_compile' -- check by making test program.
6476 # 'file_magic [[regex]]' -- check by looking for files in library path
6477 # which responds to the $file_magic_cmd with a given extended regex.
6478 # If you have `file' or equivalent on your system and you're not sure
6479 # whether `pass_all' will *always* work, you probably want this one.
6483 lt_cv_deplibs_check_method=pass_all
6487 lt_cv_deplibs_check_method=pass_all
6491 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6492 lt_cv_file_magic_cmd='/usr/bin/file -L'
6493 lt_cv_file_magic_test_file=/shlib/libc.so
6497 # func_win32_libid is a shell function defined in ltmain.sh
6498 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6499 lt_cv_file_magic_cmd='func_win32_libid'
6503 # Base MSYS/MinGW do not provide the 'file' command needed by
6504 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6505 # unless we find 'file', for example because we are cross-compiling.
6506 if ( file / ) >/dev/null 2>&1; then
6507 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6508 lt_cv_file_magic_cmd='func_win32_libid'
6510 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6511 lt_cv_file_magic_cmd='$OBJDUMP -f'
6516 # use the weaker test based on 'objdump'. See mingw*.
6517 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6518 lt_cv_file_magic_cmd='$OBJDUMP -f'
6521 darwin* | rhapsody*)
6522 lt_cv_deplibs_check_method=pass_all
6525 freebsd* | dragonfly*)
6526 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6529 # Not sure whether the presence of OpenBSD here was a mistake.
6530 # Let's accept both of them until this is cleared up.
6531 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6532 lt_cv_file_magic_cmd=/usr/bin/file
6533 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6537 lt_cv_deplibs_check_method=pass_all
6542 lt_cv_deplibs_check_method=pass_all
6545 hpux10.20* | hpux11*)
6546 lt_cv_file_magic_cmd=/usr/bin/file
6549 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6550 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6553 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]'
6554 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6557 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6558 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6564 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6565 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6568 irix5* | irix6* | nonstopux*)
6570 *-32|*"-32 ") libmagic=32-bit;;
6571 *-n32|*"-n32 ") libmagic=N32;;
6572 *-64|*"-64 ") libmagic=64-bit;;
6573 *) libmagic=never-match;;
6575 lt_cv_deplibs_check_method=pass_all
6578 # This must be Linux ELF.
6579 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6580 lt_cv_deplibs_check_method=pass_all
6584 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6585 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6587 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6592 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6593 lt_cv_file_magic_cmd=/usr/bin/file
6594 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6598 lt_cv_deplibs_check_method=pass_all
6602 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6603 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6605 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6609 osf3* | osf4* | osf5*)
6610 lt_cv_deplibs_check_method=pass_all
6614 lt_cv_deplibs_check_method=pass_all
6618 lt_cv_deplibs_check_method=pass_all
6621 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6622 lt_cv_deplibs_check_method=pass_all
6626 case $host_vendor in
6628 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]'
6629 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6632 lt_cv_deplibs_check_method=pass_all
6635 lt_cv_file_magic_cmd='/bin/file'
6636 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6639 lt_cv_file_magic_cmd='/bin/file'
6640 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6641 lt_cv_file_magic_test_file=/lib/libc.so
6644 lt_cv_deplibs_check_method=pass_all
6647 lt_cv_deplibs_check_method=pass_all
6653 lt_cv_deplibs_check_method=pass_all
6658 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6659 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6660 file_magic_cmd=$lt_cv_file_magic_cmd
6661 deplibs_check_method=$lt_cv_deplibs_check_method
6662 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6675 if test -n "$ac_tool_prefix"; then
6676 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6677 set dummy ${ac_tool_prefix}ar; ac_word=$2
6678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_AR+set}" = set; then
6681 $as_echo_n "(cached) " >&6
6683 if test -n "$AR"; then
6684 ac_cv_prog_AR="$AR" # Let the user override the test.
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_AR="${ac_tool_prefix}ar"
6694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 if test -n "$AR"; then
6705 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6706 $as_echo "$AR" >&6; }
6708 { $as_echo "$as_me:$LINENO: result: no" >&5
6709 $as_echo "no" >&6; }
6714 if test -z "$ac_cv_prog_AR"; then
6716 # Extract the first word of "ar", so it can be a program name with args.
6717 set dummy ar; ac_word=$2
6718 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6719 $as_echo_n "checking for $ac_word... " >&6; }
6720 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6721 $as_echo_n "(cached) " >&6
6723 if test -n "$ac_ct_AR"; then
6724 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6733 ac_cv_prog_ac_ct_AR="ar"
6734 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6743 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6744 if test -n "$ac_ct_AR"; then
6745 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6746 $as_echo "$ac_ct_AR" >&6; }
6748 { $as_echo "$as_me:$LINENO: result: no" >&5
6749 $as_echo "no" >&6; }
6752 if test "x$ac_ct_AR" = x; then
6755 case $cross_compiling:$ac_tool_warned in
6757 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6759 ac_tool_warned=yes ;;
6767 test -z "$AR" && AR=ar
6768 test -z "$AR_FLAGS" && AR_FLAGS=cru
6780 if test -n "$ac_tool_prefix"; then
6781 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6782 set dummy ${ac_tool_prefix}strip; ac_word=$2
6783 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6784 $as_echo_n "checking for $ac_word... " >&6; }
6785 if test "${ac_cv_prog_STRIP+set}" = set; then
6786 $as_echo_n "(cached) " >&6
6788 if test -n "$STRIP"; then
6789 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6798 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6799 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6808 STRIP=$ac_cv_prog_STRIP
6809 if test -n "$STRIP"; then
6810 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6811 $as_echo "$STRIP" >&6; }
6813 { $as_echo "$as_me:$LINENO: result: no" >&5
6814 $as_echo "no" >&6; }
6819 if test -z "$ac_cv_prog_STRIP"; then
6821 # Extract the first word of "strip", so it can be a program name with args.
6822 set dummy strip; ac_word=$2
6823 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6824 $as_echo_n "checking for $ac_word... " >&6; }
6825 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6826 $as_echo_n "(cached) " >&6
6828 if test -n "$ac_ct_STRIP"; then
6829 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 test -z "$as_dir" && as_dir=.
6836 for ac_exec_ext in '' $ac_executable_extensions; do
6837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6838 ac_cv_prog_ac_ct_STRIP="strip"
6839 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6848 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6849 if test -n "$ac_ct_STRIP"; then
6850 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6851 $as_echo "$ac_ct_STRIP" >&6; }
6853 { $as_echo "$as_me:$LINENO: result: no" >&5
6854 $as_echo "no" >&6; }
6857 if test "x$ac_ct_STRIP" = x; then
6860 case $cross_compiling:$ac_tool_warned in
6862 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6864 ac_tool_warned=yes ;;
6869 STRIP="$ac_cv_prog_STRIP"
6872 test -z "$STRIP" && STRIP=:
6879 if test -n "$ac_tool_prefix"; then
6880 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6881 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6883 $as_echo_n "checking for $ac_word... " >&6; }
6884 if test "${ac_cv_prog_RANLIB+set}" = set; then
6885 $as_echo_n "(cached) " >&6
6887 if test -n "$RANLIB"; then
6888 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894 test -z "$as_dir" && as_dir=.
6895 for ac_exec_ext in '' $ac_executable_extensions; do
6896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6897 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6898 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6907 RANLIB=$ac_cv_prog_RANLIB
6908 if test -n "$RANLIB"; then
6909 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6910 $as_echo "$RANLIB" >&6; }
6912 { $as_echo "$as_me:$LINENO: result: no" >&5
6913 $as_echo "no" >&6; }
6918 if test -z "$ac_cv_prog_RANLIB"; then
6919 ac_ct_RANLIB=$RANLIB
6920 # Extract the first word of "ranlib", so it can be a program name with args.
6921 set dummy ranlib; ac_word=$2
6922 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6925 $as_echo_n "(cached) " >&6
6927 if test -n "$ac_ct_RANLIB"; then
6928 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 test -z "$as_dir" && as_dir=.
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6937 ac_cv_prog_ac_ct_RANLIB="ranlib"
6938 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6947 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6948 if test -n "$ac_ct_RANLIB"; then
6949 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6950 $as_echo "$ac_ct_RANLIB" >&6; }
6952 { $as_echo "$as_me:$LINENO: result: no" >&5
6953 $as_echo "no" >&6; }
6956 if test "x$ac_ct_RANLIB" = x; then
6959 case $cross_compiling:$ac_tool_warned in
6961 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6963 ac_tool_warned=yes ;;
6965 RANLIB=$ac_ct_RANLIB
6968 RANLIB="$ac_cv_prog_RANLIB"
6971 test -z "$RANLIB" && RANLIB=:
6978 # Determine commands to create old-style static archives.
6979 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6980 old_postinstall_cmds='chmod 644 $oldlib'
6981 old_postuninstall_cmds=
6983 if test -n "$RANLIB"; then
6986 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6989 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6992 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7028 # If no C compiler was specified, use CC.
7031 # If no C compiler flags were specified, use CFLAGS.
7032 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7034 # Allow CC to be a program name with arguments.
7038 # Check for command to grab the raw symbol name followed by C symbol from nm.
7039 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7040 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7041 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7042 $as_echo_n "(cached) " >&6
7045 # These are sane defaults that work on at least a few old systems.
7046 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7048 # Character class describing NM global symbol codes.
7049 symcode='[BCDEGRST]'
7051 # Regexp to match symbols that can be accessed directly from C.
7052 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7054 # Define system-specific variables.
7059 cygwin* | mingw* | pw32* | cegcc*)
7060 symcode='[ABCDGISTW]'
7063 if test "$host_cpu" = ia64; then
7064 symcode='[ABCDEGRST]'
7068 symcode='[BCDEGRST]'
7071 symcode='[BCDEGQRST]'
7082 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7090 # If we're using GNU nm, then use its standard symbol codes.
7091 case `$NM -V 2>&1` in
7092 *GNU* | *'with BFD'*)
7093 symcode='[ABCDGIRSTW]' ;;
7096 # Transform an extracted symbol line into a proper C declaration.
7097 # Some systems (esp. on ia64) link data and code symbols differently,
7098 # so use this general approach.
7099 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7101 # Transform an extracted symbol line into symbol name and symbol address
7102 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7103 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'"
7105 # Handle CRLF in mingw tool chain
7109 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7113 # Try without a prefix underscore, then with it.
7114 for ac_symprfx in "" "_"; do
7116 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7117 symxfrm="\\1 $ac_symprfx\\2 \\2"
7119 # Write the raw and C identifiers.
7120 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7121 # Fake it for dumpbin and say T for any non-static function
7122 # and D for any global variable.
7123 # Also find C++ and __fastcall symbols from MSVC++,
7124 # which start with @ or ?.
7125 lt_cv_sys_global_symbol_pipe="$AWK '"\
7126 " {last_section=section; section=\$ 3};"\
7127 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7128 " \$ 0!~/External *\|/{next};"\
7129 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7130 " {if(hide[section]) next};"\
7131 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7132 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7133 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7134 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7135 " ' prfx=^$ac_symprfx"
7137 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7140 # Check to see that the pipe works correctly.
7144 cat > conftest.$ac_ext <<_LT_EOF
7149 void nm_test_func(void);
7150 void nm_test_func(void){}
7154 int main(){nm_test_var='a';nm_test_func();return(0);}
7157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7158 (eval $ac_compile) 2>&5
7160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; then
7162 # Now try to grab the symbols.
7164 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7165 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); } && test -s "$nlist"; then
7169 # Try sorting and uniquifying the output.
7170 if sort "$nlist" | uniq > "$nlist"T; then
7171 mv -f "$nlist"T "$nlist"
7176 # Make sure that we snagged all the symbols we need.
7177 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7178 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7179 cat <<_LT_EOF > conftest.$ac_ext
7185 # Now generate the symbol file.
7186 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7188 cat <<_LT_EOF >> conftest.$ac_ext
7190 /* The mapping between symbol names and symbols. */
7195 lt__PROGRAM__LTX_preloaded_symbols[] =
7197 { "@PROGRAM@", (void *) 0 },
7199 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7200 cat <<\_LT_EOF >> conftest.$ac_ext
7204 /* This works around a problem in FreeBSD linker */
7205 #ifdef FREEBSD_WORKAROUND
7206 static const void *lt_preloaded_setup() {
7207 return lt__PROGRAM__LTX_preloaded_symbols;
7215 # Now try linking the two files.
7216 mv conftest.$ac_objext conftstm.$ac_objext
7217 lt_save_LIBS="$LIBS"
7218 lt_save_CFLAGS="$CFLAGS"
7219 LIBS="conftstm.$ac_objext"
7220 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7222 (eval $ac_link) 2>&5
7224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7228 LIBS="$lt_save_LIBS"
7229 CFLAGS="$lt_save_CFLAGS"
7231 echo "cannot find nm_test_func in $nlist" >&5
7234 echo "cannot find nm_test_var in $nlist" >&5
7237 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7240 echo "$progname: failed program was:" >&5
7241 cat conftest.$ac_ext >&5
7243 rm -rf conftest* conftst*
7245 # Do not use the global_symbol_pipe unless it works.
7246 if test "$pipe_works" = yes; then
7249 lt_cv_sys_global_symbol_pipe=
7255 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7256 lt_cv_sys_global_symbol_to_cdecl=
7258 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7259 { $as_echo "$as_me:$LINENO: result: failed" >&5
7260 $as_echo "failed" >&6; }
7262 { $as_echo "$as_me:$LINENO: result: ok" >&5
7263 $as_echo "ok" >&6; }
7288 # Check whether --enable-libtool-lock was given.
7289 if test "${enable_libtool_lock+set}" = set; then
7290 enableval=$enable_libtool_lock;
7293 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7295 # Some flags need to be propagated to the compiler or linker for good
7299 # Find out which ABI we are using.
7300 echo 'int i;' > conftest.$ac_ext
7301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7302 (eval $ac_compile) 2>&5
7304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305 (exit $ac_status); }; then
7306 case `/usr/bin/file conftest.$ac_objext` in
7318 # Find out which ABI we are using.
7319 echo '#line 7319 "configure"' > conftest.$ac_ext
7320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7321 (eval $ac_compile) 2>&5
7323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); }; then
7325 if test "$lt_cv_prog_gnu_ld" = yes; then
7326 case `/usr/bin/file conftest.$ac_objext` in
7328 LD="${LD-ld} -melf32bsmip"
7331 LD="${LD-ld} -melf32bmipn32"
7334 LD="${LD-ld} -melf64bmip"
7338 case `/usr/bin/file conftest.$ac_objext` in
7354 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7355 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7356 # Find out which ABI we are using.
7357 echo 'int i;' > conftest.$ac_ext
7358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7359 (eval $ac_compile) 2>&5
7361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); }; then
7363 case `/usr/bin/file conftest.o` in
7366 x86_64-*kfreebsd*-gnu)
7367 LD="${LD-ld} -m elf_i386_fbsd"
7370 LD="${LD-ld} -m elf_i386"
7372 ppc64-*linux*|powerpc64-*linux*)
7373 LD="${LD-ld} -m elf32ppclinux"
7376 LD="${LD-ld} -m elf_s390"
7379 LD="${LD-ld} -m elf32_sparc"
7385 x86_64-*kfreebsd*-gnu)
7386 LD="${LD-ld} -m elf_x86_64_fbsd"
7389 LD="${LD-ld} -m elf_x86_64"
7391 ppc*-*linux*|powerpc*-*linux*)
7392 LD="${LD-ld} -m elf64ppc"
7394 s390*-*linux*|s390*-*tpf*)
7395 LD="${LD-ld} -m elf64_s390"
7398 LD="${LD-ld} -m elf64_sparc"
7408 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7409 SAVE_CFLAGS="$CFLAGS"
7410 CFLAGS="$CFLAGS -belf"
7411 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7412 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7413 if test "${lt_cv_cc_needs_belf+set}" = set; then
7414 $as_echo_n "(cached) " >&6
7417 ac_cpp='$CPP $CPPFLAGS'
7418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7422 cat >conftest.$ac_ext <<_ACEOF
7425 cat confdefs.h >>conftest.$ac_ext
7426 cat >>conftest.$ac_ext <<_ACEOF
7427 /* end confdefs.h. */
7437 rm -f conftest.$ac_objext conftest$ac_exeext
7438 if { (ac_try="$ac_link"
7440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7441 *) ac_try_echo=$ac_try;;
7443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7444 $as_echo "$ac_try_echo") >&5
7445 (eval "$ac_link") 2>conftest.er1
7447 grep -v '^ *+' conftest.er1 >conftest.err
7449 cat conftest.err >&5
7450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } && {
7452 test -z "$ac_c_werror_flag" ||
7453 test ! -s conftest.err
7454 } && test -s conftest$ac_exeext && {
7455 test "$cross_compiling" = yes ||
7456 $as_test_x conftest$ac_exeext
7458 lt_cv_cc_needs_belf=yes
7460 $as_echo "$as_me: failed program was:" >&5
7461 sed 's/^/| /' conftest.$ac_ext >&5
7463 lt_cv_cc_needs_belf=no
7466 rm -rf conftest.dSYM
7467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7468 conftest$ac_exeext conftest.$ac_ext
7470 ac_cpp='$CPP $CPPFLAGS'
7471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7476 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7477 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7478 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7479 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7480 CFLAGS="$SAVE_CFLAGS"
7484 # Find out which ABI we are using.
7485 echo 'int i;' > conftest.$ac_ext
7486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7487 (eval $ac_compile) 2>&5
7489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); }; then
7491 case `/usr/bin/file conftest.o` in
7493 case $lt_cv_prog_gnu_ld in
7494 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7496 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7508 need_locks="$enable_libtool_lock"
7512 rhapsody* | darwin*)
7513 if test -n "$ac_tool_prefix"; then
7514 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7515 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7516 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7517 $as_echo_n "checking for $ac_word... " >&6; }
7518 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7519 $as_echo_n "(cached) " >&6
7521 if test -n "$DSYMUTIL"; then
7522 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 test -z "$as_dir" && as_dir=.
7529 for ac_exec_ext in '' $ac_executable_extensions; do
7530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7532 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7542 if test -n "$DSYMUTIL"; then
7543 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7544 $as_echo "$DSYMUTIL" >&6; }
7546 { $as_echo "$as_me:$LINENO: result: no" >&5
7547 $as_echo "no" >&6; }
7552 if test -z "$ac_cv_prog_DSYMUTIL"; then
7553 ac_ct_DSYMUTIL=$DSYMUTIL
7554 # Extract the first word of "dsymutil", so it can be a program name with args.
7555 set dummy dsymutil; ac_word=$2
7556 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7557 $as_echo_n "checking for $ac_word... " >&6; }
7558 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7559 $as_echo_n "(cached) " >&6
7561 if test -n "$ac_ct_DSYMUTIL"; then
7562 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 test -z "$as_dir" && as_dir=.
7569 for ac_exec_ext in '' $ac_executable_extensions; do
7570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7571 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7572 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7582 if test -n "$ac_ct_DSYMUTIL"; then
7583 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7584 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7586 { $as_echo "$as_me:$LINENO: result: no" >&5
7587 $as_echo "no" >&6; }
7590 if test "x$ac_ct_DSYMUTIL" = x; then
7593 case $cross_compiling:$ac_tool_warned in
7595 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7597 ac_tool_warned=yes ;;
7599 DSYMUTIL=$ac_ct_DSYMUTIL
7602 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7605 if test -n "$ac_tool_prefix"; then
7606 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7607 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7608 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7609 $as_echo_n "checking for $ac_word... " >&6; }
7610 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7611 $as_echo_n "(cached) " >&6
7613 if test -n "$NMEDIT"; then
7614 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620 test -z "$as_dir" && as_dir=.
7621 for ac_exec_ext in '' $ac_executable_extensions; do
7622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7623 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7624 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 NMEDIT=$ac_cv_prog_NMEDIT
7634 if test -n "$NMEDIT"; then
7635 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7636 $as_echo "$NMEDIT" >&6; }
7638 { $as_echo "$as_me:$LINENO: result: no" >&5
7639 $as_echo "no" >&6; }
7644 if test -z "$ac_cv_prog_NMEDIT"; then
7645 ac_ct_NMEDIT=$NMEDIT
7646 # Extract the first word of "nmedit", so it can be a program name with args.
7647 set dummy nmedit; ac_word=$2
7648 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7649 $as_echo_n "checking for $ac_word... " >&6; }
7650 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7651 $as_echo_n "(cached) " >&6
7653 if test -n "$ac_ct_NMEDIT"; then
7654 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7660 test -z "$as_dir" && as_dir=.
7661 for ac_exec_ext in '' $ac_executable_extensions; do
7662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7663 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7664 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7674 if test -n "$ac_ct_NMEDIT"; then
7675 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7676 $as_echo "$ac_ct_NMEDIT" >&6; }
7678 { $as_echo "$as_me:$LINENO: result: no" >&5
7679 $as_echo "no" >&6; }
7682 if test "x$ac_ct_NMEDIT" = x; then
7685 case $cross_compiling:$ac_tool_warned in
7687 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7689 ac_tool_warned=yes ;;
7691 NMEDIT=$ac_ct_NMEDIT
7694 NMEDIT="$ac_cv_prog_NMEDIT"
7697 if test -n "$ac_tool_prefix"; then
7698 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7699 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7701 $as_echo_n "checking for $ac_word... " >&6; }
7702 if test "${ac_cv_prog_LIPO+set}" = set; then
7703 $as_echo_n "(cached) " >&6
7705 if test -n "$LIPO"; then
7706 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7712 test -z "$as_dir" && as_dir=.
7713 for ac_exec_ext in '' $ac_executable_extensions; do
7714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7715 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7716 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 LIPO=$ac_cv_prog_LIPO
7726 if test -n "$LIPO"; then
7727 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7728 $as_echo "$LIPO" >&6; }
7730 { $as_echo "$as_me:$LINENO: result: no" >&5
7731 $as_echo "no" >&6; }
7736 if test -z "$ac_cv_prog_LIPO"; then
7738 # Extract the first word of "lipo", so it can be a program name with args.
7739 set dummy lipo; ac_word=$2
7740 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7741 $as_echo_n "checking for $ac_word... " >&6; }
7742 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7743 $as_echo_n "(cached) " >&6
7745 if test -n "$ac_ct_LIPO"; then
7746 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7752 test -z "$as_dir" && as_dir=.
7753 for ac_exec_ext in '' $ac_executable_extensions; do
7754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7755 ac_cv_prog_ac_ct_LIPO="lipo"
7756 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7766 if test -n "$ac_ct_LIPO"; then
7767 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7768 $as_echo "$ac_ct_LIPO" >&6; }
7770 { $as_echo "$as_me:$LINENO: result: no" >&5
7771 $as_echo "no" >&6; }
7774 if test "x$ac_ct_LIPO" = x; then
7777 case $cross_compiling:$ac_tool_warned in
7779 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7781 ac_tool_warned=yes ;;
7786 LIPO="$ac_cv_prog_LIPO"
7789 if test -n "$ac_tool_prefix"; then
7790 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7791 set dummy ${ac_tool_prefix}otool; ac_word=$2
7792 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7793 $as_echo_n "checking for $ac_word... " >&6; }
7794 if test "${ac_cv_prog_OTOOL+set}" = set; then
7795 $as_echo_n "(cached) " >&6
7797 if test -n "$OTOOL"; then
7798 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7804 test -z "$as_dir" && as_dir=.
7805 for ac_exec_ext in '' $ac_executable_extensions; do
7806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7807 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7808 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7817 OTOOL=$ac_cv_prog_OTOOL
7818 if test -n "$OTOOL"; then
7819 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7820 $as_echo "$OTOOL" >&6; }
7822 { $as_echo "$as_me:$LINENO: result: no" >&5
7823 $as_echo "no" >&6; }
7828 if test -z "$ac_cv_prog_OTOOL"; then
7830 # Extract the first word of "otool", so it can be a program name with args.
7831 set dummy otool; ac_word=$2
7832 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7833 $as_echo_n "checking for $ac_word... " >&6; }
7834 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7835 $as_echo_n "(cached) " >&6
7837 if test -n "$ac_ct_OTOOL"; then
7838 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7844 test -z "$as_dir" && as_dir=.
7845 for ac_exec_ext in '' $ac_executable_extensions; do
7846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7847 ac_cv_prog_ac_ct_OTOOL="otool"
7848 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7857 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7858 if test -n "$ac_ct_OTOOL"; then
7859 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7860 $as_echo "$ac_ct_OTOOL" >&6; }
7862 { $as_echo "$as_me:$LINENO: result: no" >&5
7863 $as_echo "no" >&6; }
7866 if test "x$ac_ct_OTOOL" = x; then
7869 case $cross_compiling:$ac_tool_warned in
7871 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7873 ac_tool_warned=yes ;;
7878 OTOOL="$ac_cv_prog_OTOOL"
7881 if test -n "$ac_tool_prefix"; then
7882 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7883 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7884 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7885 $as_echo_n "checking for $ac_word... " >&6; }
7886 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7887 $as_echo_n "(cached) " >&6
7889 if test -n "$OTOOL64"; then
7890 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7900 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 OTOOL64=$ac_cv_prog_OTOOL64
7910 if test -n "$OTOOL64"; then
7911 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7912 $as_echo "$OTOOL64" >&6; }
7914 { $as_echo "$as_me:$LINENO: result: no" >&5
7915 $as_echo "no" >&6; }
7920 if test -z "$ac_cv_prog_OTOOL64"; then
7921 ac_ct_OTOOL64=$OTOOL64
7922 # Extract the first word of "otool64", so it can be a program name with args.
7923 set dummy otool64; ac_word=$2
7924 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7925 $as_echo_n "checking for $ac_word... " >&6; }
7926 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7927 $as_echo_n "(cached) " >&6
7929 if test -n "$ac_ct_OTOOL64"; then
7930 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936 test -z "$as_dir" && as_dir=.
7937 for ac_exec_ext in '' $ac_executable_extensions; do
7938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7939 ac_cv_prog_ac_ct_OTOOL64="otool64"
7940 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7950 if test -n "$ac_ct_OTOOL64"; then
7951 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7952 $as_echo "$ac_ct_OTOOL64" >&6; }
7954 { $as_echo "$as_me:$LINENO: result: no" >&5
7955 $as_echo "no" >&6; }
7958 if test "x$ac_ct_OTOOL64" = x; then
7961 case $cross_compiling:$ac_tool_warned in
7963 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7965 ac_tool_warned=yes ;;
7967 OTOOL64=$ac_ct_OTOOL64
7970 OTOOL64="$ac_cv_prog_OTOOL64"
7999 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8000 $as_echo_n "checking for -single_module linker flag... " >&6; }
8001 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8002 $as_echo_n "(cached) " >&6
8004 lt_cv_apple_cc_single_mod=no
8005 if test -z "${LT_MULTI_MODULE}"; then
8006 # By default we will add the -single_module flag. You can override
8007 # by either setting the environment variable LT_MULTI_MODULE
8008 # non-empty at configure time, or by adding -multi_module to the
8010 rm -rf libconftest.dylib*
8011 echo "int foo(void){return 1;}" > conftest.c
8012 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8013 -dynamiclib -Wl,-single_module conftest.c" >&5
8014 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8015 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8017 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8018 lt_cv_apple_cc_single_mod=yes
8020 cat conftest.err >&5
8022 rm -rf libconftest.dylib*
8026 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8027 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8028 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8029 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8030 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8031 $as_echo_n "(cached) " >&6
8033 lt_cv_ld_exported_symbols_list=no
8034 save_LDFLAGS=$LDFLAGS
8035 echo "_main" > conftest.sym
8036 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8037 cat >conftest.$ac_ext <<_ACEOF
8040 cat confdefs.h >>conftest.$ac_ext
8041 cat >>conftest.$ac_ext <<_ACEOF
8042 /* end confdefs.h. */
8052 rm -f conftest.$ac_objext conftest$ac_exeext
8053 if { (ac_try="$ac_link"
8055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8056 *) ac_try_echo=$ac_try;;
8058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8059 $as_echo "$ac_try_echo") >&5
8060 (eval "$ac_link") 2>conftest.er1
8062 grep -v '^ *+' conftest.er1 >conftest.err
8064 cat conftest.err >&5
8065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8066 (exit $ac_status); } && {
8067 test -z "$ac_c_werror_flag" ||
8068 test ! -s conftest.err
8069 } && test -s conftest$ac_exeext && {
8070 test "$cross_compiling" = yes ||
8071 $as_test_x conftest$ac_exeext
8073 lt_cv_ld_exported_symbols_list=yes
8075 $as_echo "$as_me: failed program was:" >&5
8076 sed 's/^/| /' conftest.$ac_ext >&5
8078 lt_cv_ld_exported_symbols_list=no
8081 rm -rf conftest.dSYM
8082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8083 conftest$ac_exeext conftest.$ac_ext
8084 LDFLAGS="$save_LDFLAGS"
8087 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8088 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8090 rhapsody* | darwin1.[012])
8091 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8093 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8094 darwin*) # darwin 5.x on
8095 # if running on 10.5 or later, the deployment target defaults
8096 # to the OS version, if on x86, and 10.4, the deployment
8097 # target defaults to 10.4. Don't you love it?
8098 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8099 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8100 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8102 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8104 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8108 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8109 _lt_dar_single_mod='$single_module'
8111 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8112 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8114 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8116 if test "$DSYMUTIL" != ":"; then
8117 _lt_dsymutil='~$DSYMUTIL $lib || :'
8125 ac_cpp='$CPP $CPPFLAGS'
8126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8129 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
8130 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8131 # On Suns, sometimes $CPP names a directory.
8132 if test -n "$CPP" && test -d "$CPP"; then
8135 if test -z "$CPP"; then
8136 if test "${ac_cv_prog_CPP+set}" = set; then
8137 $as_echo_n "(cached) " >&6
8139 # Double quotes because CPP needs to be expanded
8140 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8143 for ac_c_preproc_warn_flag in '' yes
8145 # Use a header file that comes with gcc, so configuring glibc
8146 # with a fresh cross-compiler works.
8147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8148 # <limits.h> exists even on freestanding compilers.
8149 # On the NeXT, cc -E runs the code through the compiler's parser,
8150 # not just through cpp. "Syntax error" is here to catch this case.
8151 cat >conftest.$ac_ext <<_ACEOF
8154 cat confdefs.h >>conftest.$ac_ext
8155 cat >>conftest.$ac_ext <<_ACEOF
8156 /* end confdefs.h. */
8158 # include <limits.h>
8160 # include <assert.h>
8164 if { (ac_try="$ac_cpp conftest.$ac_ext"
8166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8167 *) ac_try_echo=$ac_try;;
8169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8170 $as_echo "$ac_try_echo") >&5
8171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8173 grep -v '^ *+' conftest.er1 >conftest.err
8175 cat conftest.err >&5
8176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); } >/dev/null && {
8178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8179 test ! -s conftest.err
8183 $as_echo "$as_me: failed program was:" >&5
8184 sed 's/^/| /' conftest.$ac_ext >&5
8186 # Broken: fails on valid input.
8190 rm -f conftest.err conftest.$ac_ext
8192 # OK, works on sane cases. Now check whether nonexistent headers
8193 # can be detected and how.
8194 cat >conftest.$ac_ext <<_ACEOF
8197 cat confdefs.h >>conftest.$ac_ext
8198 cat >>conftest.$ac_ext <<_ACEOF
8199 /* end confdefs.h. */
8200 #include <ac_nonexistent.h>
8202 if { (ac_try="$ac_cpp conftest.$ac_ext"
8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8205 *) ac_try_echo=$ac_try;;
8207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8208 $as_echo "$ac_try_echo") >&5
8209 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8211 grep -v '^ *+' conftest.er1 >conftest.err
8213 cat conftest.err >&5
8214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } >/dev/null && {
8216 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8217 test ! -s conftest.err
8219 # Broken: success on invalid input.
8222 $as_echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8225 # Passes both tests.
8230 rm -f conftest.err conftest.$ac_ext
8233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8234 rm -f conftest.err conftest.$ac_ext
8235 if $ac_preproc_ok; then
8247 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
8248 $as_echo "$CPP" >&6; }
8250 for ac_c_preproc_warn_flag in '' yes
8252 # Use a header file that comes with gcc, so configuring glibc
8253 # with a fresh cross-compiler works.
8254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8255 # <limits.h> exists even on freestanding compilers.
8256 # On the NeXT, cc -E runs the code through the compiler's parser,
8257 # not just through cpp. "Syntax error" is here to catch this case.
8258 cat >conftest.$ac_ext <<_ACEOF
8261 cat confdefs.h >>conftest.$ac_ext
8262 cat >>conftest.$ac_ext <<_ACEOF
8263 /* end confdefs.h. */
8265 # include <limits.h>
8267 # include <assert.h>
8271 if { (ac_try="$ac_cpp conftest.$ac_ext"
8273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8274 *) ac_try_echo=$ac_try;;
8276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8277 $as_echo "$ac_try_echo") >&5
8278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8280 grep -v '^ *+' conftest.er1 >conftest.err
8282 cat conftest.err >&5
8283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); } >/dev/null && {
8285 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8286 test ! -s conftest.err
8290 $as_echo "$as_me: failed program was:" >&5
8291 sed 's/^/| /' conftest.$ac_ext >&5
8293 # Broken: fails on valid input.
8297 rm -f conftest.err conftest.$ac_ext
8299 # OK, works on sane cases. Now check whether nonexistent headers
8300 # can be detected and how.
8301 cat >conftest.$ac_ext <<_ACEOF
8304 cat confdefs.h >>conftest.$ac_ext
8305 cat >>conftest.$ac_ext <<_ACEOF
8306 /* end confdefs.h. */
8307 #include <ac_nonexistent.h>
8309 if { (ac_try="$ac_cpp conftest.$ac_ext"
8311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8312 *) ac_try_echo=$ac_try;;
8314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8315 $as_echo "$ac_try_echo") >&5
8316 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8318 grep -v '^ *+' conftest.er1 >conftest.err
8320 cat conftest.err >&5
8321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); } >/dev/null && {
8323 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8324 test ! -s conftest.err
8326 # Broken: success on invalid input.
8329 $as_echo "$as_me: failed program was:" >&5
8330 sed 's/^/| /' conftest.$ac_ext >&5
8332 # Passes both tests.
8337 rm -f conftest.err conftest.$ac_ext
8340 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8341 rm -f conftest.err conftest.$ac_ext
8342 if $ac_preproc_ok; then
8345 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8347 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
8348 See \`config.log' for more details." >&5
8349 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
8350 See \`config.log' for more details." >&2;}
8351 { (exit 1); exit 1; }; }; }
8355 ac_cpp='$CPP $CPPFLAGS'
8356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8361 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8362 $as_echo_n "checking for ANSI C header files... " >&6; }
8363 if test "${ac_cv_header_stdc+set}" = set; then
8364 $as_echo_n "(cached) " >&6
8366 cat >conftest.$ac_ext <<_ACEOF
8369 cat confdefs.h >>conftest.$ac_ext
8370 cat >>conftest.$ac_ext <<_ACEOF
8371 /* end confdefs.h. */
8385 rm -f conftest.$ac_objext
8386 if { (ac_try="$ac_compile"
8388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8389 *) ac_try_echo=$ac_try;;
8391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8392 $as_echo "$ac_try_echo") >&5
8393 (eval "$ac_compile") 2>conftest.er1
8395 grep -v '^ *+' conftest.er1 >conftest.err
8397 cat conftest.err >&5
8398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); } && {
8400 test -z "$ac_c_werror_flag" ||
8401 test ! -s conftest.err
8402 } && test -s conftest.$ac_objext; then
8403 ac_cv_header_stdc=yes
8405 $as_echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.$ac_ext >&5
8408 ac_cv_header_stdc=no
8411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8413 if test $ac_cv_header_stdc = yes; then
8414 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8415 cat >conftest.$ac_ext <<_ACEOF
8418 cat confdefs.h >>conftest.$ac_ext
8419 cat >>conftest.$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8425 $EGREP "memchr" >/dev/null 2>&1; then
8428 ac_cv_header_stdc=no
8434 if test $ac_cv_header_stdc = yes; then
8435 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8436 cat >conftest.$ac_ext <<_ACEOF
8439 cat confdefs.h >>conftest.$ac_ext
8440 cat >>conftest.$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8446 $EGREP "free" >/dev/null 2>&1; then
8449 ac_cv_header_stdc=no
8455 if test $ac_cv_header_stdc = yes; then
8456 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8457 if test "$cross_compiling" = yes; then
8460 cat >conftest.$ac_ext <<_ACEOF
8463 cat confdefs.h >>conftest.$ac_ext
8464 cat >>conftest.$ac_ext <<_ACEOF
8465 /* end confdefs.h. */
8468 #if ((' ' & 0x0FF) == 0x020)
8469 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8470 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8472 # define ISLOWER(c) \
8473 (('a' <= (c) && (c) <= 'i') \
8474 || ('j' <= (c) && (c) <= 'r') \
8475 || ('s' <= (c) && (c) <= 'z'))
8476 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8479 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8484 for (i = 0; i < 256; i++)
8485 if (XOR (islower (i), ISLOWER (i))
8486 || toupper (i) != TOUPPER (i))
8491 rm -f conftest$ac_exeext
8492 if { (ac_try="$ac_link"
8494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8495 *) ac_try_echo=$ac_try;;
8497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8498 $as_echo "$ac_try_echo") >&5
8499 (eval "$ac_link") 2>&5
8501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8503 { (case "(($ac_try" in
8504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8505 *) ac_try_echo=$ac_try;;
8507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8508 $as_echo "$ac_try_echo") >&5
8509 (eval "$ac_try") 2>&5
8511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); }; }; then
8515 $as_echo "$as_me: program exited with status $ac_status" >&5
8516 $as_echo "$as_me: failed program was:" >&5
8517 sed 's/^/| /' conftest.$ac_ext >&5
8520 ac_cv_header_stdc=no
8522 rm -rf conftest.dSYM
8523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8529 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8530 $as_echo "$ac_cv_header_stdc" >&6; }
8531 if test $ac_cv_header_stdc = yes; then
8533 cat >>confdefs.h <<\_ACEOF
8534 #define STDC_HEADERS 1
8539 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8549 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8550 inttypes.h stdint.h unistd.h
8552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8553 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8554 $as_echo_n "checking for $ac_header... " >&6; }
8555 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8556 $as_echo_n "(cached) " >&6
8558 cat >conftest.$ac_ext <<_ACEOF
8561 cat confdefs.h >>conftest.$ac_ext
8562 cat >>conftest.$ac_ext <<_ACEOF
8563 /* end confdefs.h. */
8564 $ac_includes_default
8566 #include <$ac_header>
8568 rm -f conftest.$ac_objext
8569 if { (ac_try="$ac_compile"
8571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8572 *) ac_try_echo=$ac_try;;
8574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8575 $as_echo "$ac_try_echo") >&5
8576 (eval "$ac_compile") 2>conftest.er1
8578 grep -v '^ *+' conftest.er1 >conftest.err
8580 cat conftest.err >&5
8581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); } && {
8583 test -z "$ac_c_werror_flag" ||
8584 test ! -s conftest.err
8585 } && test -s conftest.$ac_objext; then
8586 eval "$as_ac_Header=yes"
8588 $as_echo "$as_me: failed program was:" >&5
8589 sed 's/^/| /' conftest.$ac_ext >&5
8591 eval "$as_ac_Header=no"
8594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8596 ac_res=`eval 'as_val=${'$as_ac_Header'}
8597 $as_echo "$as_val"'`
8598 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8599 $as_echo "$ac_res" >&6; }
8600 as_val=`eval 'as_val=${'$as_ac_Header'}
8601 $as_echo "$as_val"'`
8602 if test "x$as_val" = x""yes; then
8603 cat >>confdefs.h <<_ACEOF
8604 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8613 for ac_header in dlfcn.h
8615 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8616 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8617 $as_echo_n "checking for $ac_header... " >&6; }
8618 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8619 $as_echo_n "(cached) " >&6
8621 cat >conftest.$ac_ext <<_ACEOF
8624 cat confdefs.h >>conftest.$ac_ext
8625 cat >>conftest.$ac_ext <<_ACEOF
8626 /* end confdefs.h. */
8627 $ac_includes_default
8629 #include <$ac_header>
8631 rm -f conftest.$ac_objext
8632 if { (ac_try="$ac_compile"
8634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8635 *) ac_try_echo=$ac_try;;
8637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8638 $as_echo "$ac_try_echo") >&5
8639 (eval "$ac_compile") 2>conftest.er1
8641 grep -v '^ *+' conftest.er1 >conftest.err
8643 cat conftest.err >&5
8644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); } && {
8646 test -z "$ac_c_werror_flag" ||
8647 test ! -s conftest.err
8648 } && test -s conftest.$ac_objext; then
8649 eval "$as_ac_Header=yes"
8651 $as_echo "$as_me: failed program was:" >&5
8652 sed 's/^/| /' conftest.$ac_ext >&5
8654 eval "$as_ac_Header=no"
8657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8659 ac_res=`eval 'as_val=${'$as_ac_Header'}
8660 $as_echo "$as_val"'`
8661 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8662 $as_echo "$ac_res" >&6; }
8663 as_val=`eval 'as_val=${'$as_ac_Header'}
8664 $as_echo "$as_val"'`
8665 if test "x$as_val" = x""yes; then
8666 cat >>confdefs.h <<_ACEOF
8667 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8684 # Check whether --enable-shared was given.
8685 if test "${enable_shared+set}" = set; then
8686 enableval=$enable_shared; p=${PACKAGE-default}
8688 yes) enable_shared=yes ;;
8689 no) enable_shared=no ;;
8692 # Look at the argument we got. We use all the common list separators.
8693 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8694 for pkg in $enableval; do
8696 if test "X$pkg" = "X$p"; then
8715 # Check whether --enable-static was given.
8716 if test "${enable_static+set}" = set; then
8717 enableval=$enable_static; p=${PACKAGE-default}
8719 yes) enable_static=yes ;;
8720 no) enable_static=no ;;
8723 # Look at the argument we got. We use all the common list separators.
8724 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8725 for pkg in $enableval; do
8727 if test "X$pkg" = "X$p"; then
8747 # Check whether --with-pic was given.
8748 if test "${with_pic+set}" = set; then
8749 withval=$with_pic; pic_mode="$withval"
8755 test -z "$pic_mode" && pic_mode=default
8763 # Check whether --enable-fast-install was given.
8764 if test "${enable_fast_install+set}" = set; then
8765 enableval=$enable_fast_install; p=${PACKAGE-default}
8767 yes) enable_fast_install=yes ;;
8768 no) enable_fast_install=no ;;
8770 enable_fast_install=no
8771 # Look at the argument we got. We use all the common list separators.
8772 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8773 for pkg in $enableval; do
8775 if test "X$pkg" = "X$p"; then
8776 enable_fast_install=yes
8783 enable_fast_install=yes
8796 # This can be used to rebuild libtool when needed
8797 LIBTOOL_DEPS="$ltmain"
8799 # Always use our own libtool.
8800 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8826 test -z "$LN_S" && LN_S="ln -s"
8841 if test -n "${ZSH_VERSION+set}" ; then
8842 setopt NO_GLOB_SUBST
8845 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8846 $as_echo_n "checking for objdir... " >&6; }
8847 if test "${lt_cv_objdir+set}" = set; then
8848 $as_echo_n "(cached) " >&6
8850 rm -f .libs 2>/dev/null
8851 mkdir .libs 2>/dev/null
8852 if test -d .libs; then
8855 # MS-DOS does not allow filenames that begin with a dot.
8858 rmdir .libs 2>/dev/null
8860 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8861 $as_echo "$lt_cv_objdir" >&6; }
8862 objdir=$lt_cv_objdir
8868 cat >>confdefs.h <<_ACEOF
8869 #define LT_OBJDIR "$lt_cv_objdir/"
8890 # AIX sometimes has problems with the GCC collect2 program. For some
8891 # reason, if we set the COLLECT_NAMES environment variable, the problems
8892 # vanish in a puff of smoke.
8893 if test "X${COLLECT_NAMES+set}" != Xset; then
8895 export COLLECT_NAMES
8900 # Sed substitution that helps us do robust quoting. It backslashifies
8901 # metacharacters that are still active within double-quoted strings.
8902 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8904 # Same as above, but do not quote variable references.
8905 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8907 # Sed substitution to delay expansion of an escaped shell variable in a
8908 # double_quote_subst'ed string.
8909 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8911 # Sed substitution to delay expansion of an escaped single quote.
8912 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8914 # Sed substitution to avoid accidental globbing in evaled expressions
8915 no_glob_subst='s/\*/\\\*/g'
8919 can_build_shared=yes
8921 # All known linkers require a `.a' archive for static linking (except MSVC,
8922 # which needs '.lib').
8925 with_gnu_ld="$lt_cv_prog_gnu_ld"
8928 old_CFLAGS="$CFLAGS"
8930 # Set sane defaults for various variables
8931 test -z "$CC" && CC=cc
8932 test -z "$LTCC" && LTCC=$CC
8933 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8934 test -z "$LD" && LD=ld
8935 test -z "$ac_objext" && ac_objext=o
8937 for cc_temp in $compiler""; do
8939 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8940 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8945 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8948 # Only perform the check for file, if the check method requires it
8949 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8950 case $deplibs_check_method in
8952 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8953 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8954 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8955 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8956 $as_echo_n "(cached) " >&6
8960 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8963 lt_save_MAGIC_CMD="$MAGIC_CMD"
8964 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8965 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8966 for ac_dir in $ac_dummy; do
8968 test -z "$ac_dir" && ac_dir=.
8969 if test -f $ac_dir/${ac_tool_prefix}file; then
8970 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8971 if test -n "$file_magic_test_file"; then
8972 case $deplibs_check_method in
8974 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8975 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8976 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8977 $EGREP "$file_magic_regex" > /dev/null; then
8982 *** Warning: the command libtool uses to detect shared libraries,
8983 *** $file_magic_cmd, produces output that libtool cannot recognize.
8984 *** The result is that libtool may fail to recognize shared libraries
8985 *** as such. This will affect the creation of libtool libraries that
8986 *** depend on shared libraries, but programs linked with such libtool
8987 *** libraries will work regardless of this problem. Nevertheless, you
8988 *** may want to report the problem to your system manager and/or to
8989 *** bug-libtool@gnu.org
8999 MAGIC_CMD="$lt_save_MAGIC_CMD"
9004 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9005 if test -n "$MAGIC_CMD"; then
9006 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9007 $as_echo "$MAGIC_CMD" >&6; }
9009 { $as_echo "$as_me:$LINENO: result: no" >&5
9010 $as_echo "no" >&6; }
9017 if test -z "$lt_cv_path_MAGIC_CMD"; then
9018 if test -n "$ac_tool_prefix"; then
9019 { $as_echo "$as_me:$LINENO: checking for file" >&5
9020 $as_echo_n "checking for file... " >&6; }
9021 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9022 $as_echo_n "(cached) " >&6
9026 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9029 lt_save_MAGIC_CMD="$MAGIC_CMD"
9030 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9031 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9032 for ac_dir in $ac_dummy; do
9034 test -z "$ac_dir" && ac_dir=.
9035 if test -f $ac_dir/file; then
9036 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9037 if test -n "$file_magic_test_file"; then
9038 case $deplibs_check_method in
9040 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9041 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9042 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9043 $EGREP "$file_magic_regex" > /dev/null; then
9048 *** Warning: the command libtool uses to detect shared libraries,
9049 *** $file_magic_cmd, produces output that libtool cannot recognize.
9050 *** The result is that libtool may fail to recognize shared libraries
9051 *** as such. This will affect the creation of libtool libraries that
9052 *** depend on shared libraries, but programs linked with such libtool
9053 *** libraries will work regardless of this problem. Nevertheless, you
9054 *** may want to report the problem to your system manager and/or to
9055 *** bug-libtool@gnu.org
9065 MAGIC_CMD="$lt_save_MAGIC_CMD"
9070 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9071 if test -n "$MAGIC_CMD"; then
9072 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9073 $as_echo "$MAGIC_CMD" >&6; }
9075 { $as_echo "$as_me:$LINENO: result: no" >&5
9076 $as_echo "no" >&6; }
9089 # Use C for the default configuration in the libtool script
9093 ac_cpp='$CPP $CPPFLAGS'
9094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9099 # Source file extension for C test sources.
9102 # Object file extension for compiled C test sources.
9106 # Code to be used in simple compile tests
9107 lt_simple_compile_test_code="int some_variable = 0;"
9109 # Code to be used in simple link tests
9110 lt_simple_link_test_code='int main(){return(0);}'
9118 # If no C compiler was specified, use CC.
9121 # If no C compiler flags were specified, use CFLAGS.
9122 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9124 # Allow CC to be a program name with arguments.
9127 # Save the default compiler, since it gets overwritten when the other
9128 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9129 compiler_DEFAULT=$CC
9131 # save warnings/boilerplate of simple test code
9132 ac_outfile=conftest.$ac_objext
9133 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9134 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9135 _lt_compiler_boilerplate=`cat conftest.err`
9138 ac_outfile=conftest.$ac_objext
9139 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9140 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9141 _lt_linker_boilerplate=`cat conftest.err`
9146 ## There is no encapsulation within the following macros, do not change
9147 ## the running order or otherwise move them around unless you know exactly
9148 ## what you are doing...
9149 if test -n "$compiler"; then
9151 lt_prog_compiler_no_builtin_flag=
9153 if test "$GCC" = yes; then
9154 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9156 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9157 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9158 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9159 $as_echo_n "(cached) " >&6
9161 lt_cv_prog_compiler_rtti_exceptions=no
9162 ac_outfile=conftest.$ac_objext
9163 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9164 lt_compiler_flag="-fno-rtti -fno-exceptions"
9165 # Insert the option either (1) after the last *FLAGS variable, or
9166 # (2) before a word containing "conftest.", or (3) at the end.
9167 # Note that $ac_compile itself does not contain backslashes and begins
9168 # with a dollar sign (not a hyphen), so the echo should work correctly.
9169 # The option is referenced via a variable to avoid confusing sed.
9170 lt_compile=`echo "$ac_compile" | $SED \
9171 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9172 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9173 -e 's:$: $lt_compiler_flag:'`
9174 (eval echo "\"\$as_me:9174: $lt_compile\"" >&5)
9175 (eval "$lt_compile" 2>conftest.err)
9177 cat conftest.err >&5
9178 echo "$as_me:9178: \$? = $ac_status" >&5
9179 if (exit $ac_status) && test -s "$ac_outfile"; then
9180 # The compiler can only warn and ignore the option if not recognized
9181 # So say no if there are warnings other than the usual output.
9182 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9183 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9184 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9185 lt_cv_prog_compiler_rtti_exceptions=yes
9191 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9192 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9194 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9195 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9207 lt_prog_compiler_wl=
9208 lt_prog_compiler_pic=
9209 lt_prog_compiler_static=
9211 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9214 if test "$GCC" = yes; then
9215 lt_prog_compiler_wl='-Wl,'
9216 lt_prog_compiler_static='-static'
9220 # All AIX code is PIC.
9221 if test "$host_cpu" = ia64; then
9222 # AIX 5 now supports IA64 processor
9223 lt_prog_compiler_static='-Bstatic'
9230 # see comment about AmigaOS4 .so support
9231 lt_prog_compiler_pic='-fPIC'
9234 # FIXME: we need at least 68020 code to build shared libraries, but
9235 # adding the `-m68020' flag to GCC prevents building anything better,
9237 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9242 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9243 # PIC is the default for these OSes.
9246 mingw* | cygwin* | pw32* | os2* | cegcc*)
9247 # This hack is so that the source file can tell whether it is being
9248 # built for inclusion in a dll (and should export symbols for example).
9249 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9250 # (--disable-auto-import) libraries
9251 lt_prog_compiler_pic='-DDLL_EXPORT'
9254 darwin* | rhapsody*)
9255 # PIC is the default on this platform
9256 # Common symbols not allowed in MH_DYLIB files
9257 lt_prog_compiler_pic='-fno-common'
9261 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9262 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9263 # sets the default TLS model and affects inlining.
9269 lt_prog_compiler_pic='-fPIC'
9275 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9276 # Instead, we relocate shared libraries at runtime.
9280 # Just because we use GCC doesn't mean we suddenly get shared libraries
9281 # on systems that don't support them.
9282 lt_prog_compiler_can_build_shared=no
9287 # QNX uses GNU C++, but need to define -shared option too, otherwise
9289 lt_prog_compiler_pic='-fPIC -shared'
9293 if test -d /usr/nec; then
9294 lt_prog_compiler_pic=-Kconform_pic
9299 lt_prog_compiler_pic='-fPIC'
9303 # PORTME Check for flag to pass linker flags through the system compiler.
9306 lt_prog_compiler_wl='-Wl,'
9307 if test "$host_cpu" = ia64; then
9308 # AIX 5 now supports IA64 processor
9309 lt_prog_compiler_static='-Bstatic'
9311 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9315 mingw* | cygwin* | pw32* | os2* | cegcc*)
9316 # This hack is so that the source file can tell whether it is being
9317 # built for inclusion in a dll (and should export symbols for example).
9318 lt_prog_compiler_pic='-DDLL_EXPORT'
9321 hpux9* | hpux10* | hpux11*)
9322 lt_prog_compiler_wl='-Wl,'
9323 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9330 lt_prog_compiler_pic='+Z'
9333 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9334 lt_prog_compiler_static='${wl}-a ${wl}archive'
9337 irix5* | irix6* | nonstopux*)
9338 lt_prog_compiler_wl='-Wl,'
9339 # PIC (with -KPIC) is the default.
9340 lt_prog_compiler_static='-non_shared'
9343 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9344 case $cc_basename in
9345 # old Intel for x86_64 which still supported -KPIC.
9347 lt_prog_compiler_wl='-Wl,'
9348 lt_prog_compiler_pic='-KPIC'
9349 lt_prog_compiler_static='-static'
9351 # icc used to be incompatible with GCC.
9352 # ICC 10 doesn't accept -KPIC any more.
9354 lt_prog_compiler_wl='-Wl,'
9355 lt_prog_compiler_pic='-fPIC'
9356 lt_prog_compiler_static='-static'
9358 # Lahey Fortran 8.1.
9360 lt_prog_compiler_wl='-Wl,'
9361 lt_prog_compiler_pic='--shared'
9362 lt_prog_compiler_static='--static'
9364 pgcc* | pgf77* | pgf90* | pgf95*)
9365 # Portland Group compilers (*not* the Pentium gcc compiler,
9366 # which looks to be a dead project)
9367 lt_prog_compiler_wl='-Wl,'
9368 lt_prog_compiler_pic='-fpic'
9369 lt_prog_compiler_static='-Bstatic'
9372 lt_prog_compiler_wl='-Wl,'
9373 # All Alpha code is PIC.
9374 lt_prog_compiler_static='-non_shared'
9377 # IBM XL C 8.0/Fortran 10.1 on PPC
9378 lt_prog_compiler_wl='-Wl,'
9379 lt_prog_compiler_pic='-qpic'
9380 lt_prog_compiler_static='-qstaticlink'
9383 case `$CC -V 2>&1 | sed 5q` in
9386 lt_prog_compiler_pic='-KPIC'
9387 lt_prog_compiler_static='-Bstatic'
9388 lt_prog_compiler_wl='-Wl,'
9391 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9392 lt_prog_compiler_pic='-KPIC'
9393 lt_prog_compiler_static='-Bstatic'
9394 lt_prog_compiler_wl=''
9402 lt_prog_compiler_pic='-KPIC'
9403 lt_prog_compiler_static='-Bstatic'
9407 # QNX uses GNU C++, but need to define -shared option too, otherwise
9409 lt_prog_compiler_pic='-fPIC -shared'
9412 osf3* | osf4* | osf5*)
9413 lt_prog_compiler_wl='-Wl,'
9414 # All OSF/1 code is PIC.
9415 lt_prog_compiler_static='-non_shared'
9419 lt_prog_compiler_static='-non_shared'
9423 lt_prog_compiler_pic='-KPIC'
9424 lt_prog_compiler_static='-Bstatic'
9425 case $cc_basename in
9427 lt_prog_compiler_wl='-Qoption ld ';;
9429 lt_prog_compiler_wl='-Wl,';;
9434 lt_prog_compiler_wl='-Qoption ld '
9435 lt_prog_compiler_pic='-PIC'
9436 lt_prog_compiler_static='-Bstatic'
9439 sysv4 | sysv4.2uw2* | sysv4.3*)
9440 lt_prog_compiler_wl='-Wl,'
9441 lt_prog_compiler_pic='-KPIC'
9442 lt_prog_compiler_static='-Bstatic'
9446 if test -d /usr/nec ;then
9447 lt_prog_compiler_pic='-Kconform_pic'
9448 lt_prog_compiler_static='-Bstatic'
9452 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9453 lt_prog_compiler_wl='-Wl,'
9454 lt_prog_compiler_pic='-KPIC'
9455 lt_prog_compiler_static='-Bstatic'
9459 lt_prog_compiler_wl='-Wl,'
9460 lt_prog_compiler_can_build_shared=no
9464 lt_prog_compiler_pic='-pic'
9465 lt_prog_compiler_static='-Bstatic'
9469 lt_prog_compiler_can_build_shared=no
9475 # For platforms which do not support PIC, -DPIC is meaningless:
9477 lt_prog_compiler_pic=
9480 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9483 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9484 $as_echo "$lt_prog_compiler_pic" >&6; }
9492 # Check to make sure the PIC flag actually works.
9494 if test -n "$lt_prog_compiler_pic"; then
9495 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9496 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9497 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9498 $as_echo_n "(cached) " >&6
9500 lt_cv_prog_compiler_pic_works=no
9501 ac_outfile=conftest.$ac_objext
9502 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9503 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9504 # Insert the option either (1) after the last *FLAGS variable, or
9505 # (2) before a word containing "conftest.", or (3) at the end.
9506 # Note that $ac_compile itself does not contain backslashes and begins
9507 # with a dollar sign (not a hyphen), so the echo should work correctly.
9508 # The option is referenced via a variable to avoid confusing sed.
9509 lt_compile=`echo "$ac_compile" | $SED \
9510 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9512 -e 's:$: $lt_compiler_flag:'`
9513 (eval echo "\"\$as_me:9513: $lt_compile\"" >&5)
9514 (eval "$lt_compile" 2>conftest.err)
9516 cat conftest.err >&5
9517 echo "$as_me:9517: \$? = $ac_status" >&5
9518 if (exit $ac_status) && test -s "$ac_outfile"; then
9519 # The compiler can only warn and ignore the option if not recognized
9520 # So say no if there are warnings other than the usual output.
9521 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9522 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9523 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9524 lt_cv_prog_compiler_pic_works=yes
9530 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9531 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9533 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9534 case $lt_prog_compiler_pic in
9536 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9539 lt_prog_compiler_pic=
9540 lt_prog_compiler_can_build_shared=no
9551 # Check to make sure the static flag actually works.
9553 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9554 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9555 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9556 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9557 $as_echo_n "(cached) " >&6
9559 lt_cv_prog_compiler_static_works=no
9560 save_LDFLAGS="$LDFLAGS"
9561 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9562 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9563 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9564 # The linker can only warn and ignore the option if not recognized
9565 # So say no if there are warnings
9566 if test -s conftest.err; then
9567 # Append any errors to the config.log.
9568 cat conftest.err 1>&5
9569 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9570 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9571 if diff conftest.exp conftest.er2 >/dev/null; then
9572 lt_cv_prog_compiler_static_works=yes
9575 lt_cv_prog_compiler_static_works=yes
9579 LDFLAGS="$save_LDFLAGS"
9582 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9583 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9585 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9588 lt_prog_compiler_static=
9597 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9598 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9599 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9600 $as_echo_n "(cached) " >&6
9602 lt_cv_prog_compiler_c_o=no
9603 $RM -r conftest 2>/dev/null
9607 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9609 lt_compiler_flag="-o out/conftest2.$ac_objext"
9610 # Insert the option either (1) after the last *FLAGS variable, or
9611 # (2) before a word containing "conftest.", or (3) at the end.
9612 # Note that $ac_compile itself does not contain backslashes and begins
9613 # with a dollar sign (not a hyphen), so the echo should work correctly.
9614 lt_compile=`echo "$ac_compile" | $SED \
9615 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9616 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9617 -e 's:$: $lt_compiler_flag:'`
9618 (eval echo "\"\$as_me:9618: $lt_compile\"" >&5)
9619 (eval "$lt_compile" 2>out/conftest.err)
9621 cat out/conftest.err >&5
9622 echo "$as_me:9622: \$? = $ac_status" >&5
9623 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9625 # The compiler can only warn and ignore the option if not recognized
9626 # So say no if there are warnings
9627 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9628 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9629 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9630 lt_cv_prog_compiler_c_o=yes
9635 # SGI C++ compiler will create directory out/ii_files/ for
9636 # template instantiation
9637 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9638 $RM out/* && rmdir out
9644 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9645 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9652 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9653 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9654 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9655 $as_echo_n "(cached) " >&6
9657 lt_cv_prog_compiler_c_o=no
9658 $RM -r conftest 2>/dev/null
9662 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9664 lt_compiler_flag="-o out/conftest2.$ac_objext"
9665 # Insert the option either (1) after the last *FLAGS variable, or
9666 # (2) before a word containing "conftest.", or (3) at the end.
9667 # Note that $ac_compile itself does not contain backslashes and begins
9668 # with a dollar sign (not a hyphen), so the echo should work correctly.
9669 lt_compile=`echo "$ac_compile" | $SED \
9670 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9671 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9672 -e 's:$: $lt_compiler_flag:'`
9673 (eval echo "\"\$as_me:9673: $lt_compile\"" >&5)
9674 (eval "$lt_compile" 2>out/conftest.err)
9676 cat out/conftest.err >&5
9677 echo "$as_me:9677: \$? = $ac_status" >&5
9678 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9680 # The compiler can only warn and ignore the option if not recognized
9681 # So say no if there are warnings
9682 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9683 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9684 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9685 lt_cv_prog_compiler_c_o=yes
9690 # SGI C++ compiler will create directory out/ii_files/ for
9691 # template instantiation
9692 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9693 $RM out/* && rmdir out
9699 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9700 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9705 hard_links="nottested"
9706 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9707 # do not overwrite the value of need_locks provided by the user
9708 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9709 $as_echo_n "checking if we can lock with hard links... " >&6; }
9712 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9714 ln conftest.a conftest.b 2>&5 || hard_links=no
9715 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9716 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9717 $as_echo "$hard_links" >&6; }
9718 if test "$hard_links" = no; then
9719 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9720 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9732 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9733 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9736 allow_undefined_flag=
9737 always_export_symbols=no
9739 archive_expsym_cmds=
9740 compiler_needs_object=no
9741 enable_shared_with_static_runtimes=no
9742 export_dynamic_flag_spec=
9743 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9744 hardcode_automatic=no
9746 hardcode_direct_absolute=no
9747 hardcode_libdir_flag_spec=
9748 hardcode_libdir_flag_spec_ld=
9749 hardcode_libdir_separator=
9751 hardcode_shlibpath_var=unsupported
9753 link_all_deplibs=unknown
9756 old_archive_from_new_cmds=
9757 old_archive_from_expsyms_cmds=
9758 thread_safe_flag_spec=
9759 whole_archive_flag_spec=
9760 # include_expsyms should be a list of space-separated symbols to be *always*
9761 # included in the symbol list
9763 # exclude_expsyms can be an extended regexp of symbols to exclude
9764 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9765 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9766 # as well as any symbol that contains `d'.
9767 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9768 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9769 # platforms (ab)use it in PIC code, but their linkers get confused if
9770 # the symbol is explicitly referenced. Since portable code cannot
9771 # rely on this symbol name, it's probably fine to never include it in
9772 # preloaded symbol tables.
9773 # Exclude shared library initialization/finalization symbols.
9774 extract_expsyms_cmds=
9777 cygwin* | mingw* | pw32* | cegcc*)
9778 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9779 # When not using gcc, we currently assume that we are using
9780 # Microsoft Visual C++.
9781 if test "$GCC" != yes; then
9786 # we just hope/assume this is gcc and not c89 (= MSVC++)
9795 if test "$with_gnu_ld" = yes; then
9796 # If archive_cmds runs LD, not CC, wlarc should be empty
9799 # Set some defaults for GNU ld with shared library support. These
9800 # are reset later if shared libraries are not supported. Putting them
9801 # here allows them to be overridden if necessary.
9802 runpath_var=LD_RUN_PATH
9803 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9804 export_dynamic_flag_spec='${wl}--export-dynamic'
9805 # ancient GNU ld didn't support --whole-archive et. al.
9806 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9807 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9809 whole_archive_flag_spec=
9811 supports_anon_versioning=no
9812 case `$LD -v 2>&1` in
9813 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9814 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9815 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9816 *\ 2.11.*) ;; # other 2.11 versions
9817 *) supports_anon_versioning=yes ;;
9820 # See if GNU ld supports shared libraries.
9823 # On AIX/PPC, the GNU linker is very broken
9824 if test "$host_cpu" != ia64; then
9828 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9829 *** to be unable to reliably create shared libraries on AIX.
9830 *** Therefore, libtool is disabling shared libraries support. If you
9831 *** really care for shared libraries, you may want to modify your PATH
9832 *** so that a non-GNU linker is found, and then restart.
9841 # see comment about AmigaOS4 .so support
9842 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9843 archive_expsym_cmds=''
9846 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)'
9847 hardcode_libdir_flag_spec='-L$libdir'
9848 hardcode_minus_L=yes
9854 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9855 allow_undefined_flag=unsupported
9856 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9857 # support --undefined. This deserves some investigation. FIXME
9858 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9864 cygwin* | mingw* | pw32* | cegcc*)
9865 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9866 # as there is no search path for DLLs.
9867 hardcode_libdir_flag_spec='-L$libdir'
9868 allow_undefined_flag=unsupported
9869 always_export_symbols=no
9870 enable_shared_with_static_runtimes=yes
9871 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9873 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9874 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9875 # If the export-symbols file already is a .def file (1st line
9876 # is EXPORTS), use it as is; otherwise, prepend...
9877 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9878 cp $export_symbols $output_objdir/$soname.def;
9880 echo EXPORTS > $output_objdir/$soname.def;
9881 cat $export_symbols >> $output_objdir/$soname.def;
9883 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9891 hardcode_shlibpath_var=no
9892 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9893 export_dynamic_flag_spec='${wl}-E'
9894 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9895 # Instead, shared libraries are loaded at an image base (0x10000000 by
9896 # default) and relocated if they conflict, which is a slow very memory
9897 # consuming and fragmenting process. To avoid this, we pick a random,
9898 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9899 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9900 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9901 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'
9904 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9906 if test "$host_os" = linux-dietlibc; then
9907 case $cc_basename in
9908 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9911 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9912 && test "$tmp_diet" = no
9915 tmp_sharedflag='-shared'
9916 case $cc_basename,$host_cpu in
9917 pgcc*) # Portland Group C compiler
9918 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'
9919 tmp_addflag=' $pic_flag'
9921 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9922 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'
9923 tmp_addflag=' $pic_flag -Mnomain' ;;
9924 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9925 tmp_addflag=' -i_dynamic' ;;
9926 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9927 tmp_addflag=' -i_dynamic -nofor_main' ;;
9928 ifc* | ifort*) # Intel Fortran compiler
9929 tmp_addflag=' -nofor_main' ;;
9930 lf95*) # Lahey Fortran 8.1
9931 whole_archive_flag_spec=
9932 tmp_sharedflag='--shared' ;;
9933 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9934 tmp_sharedflag='-qmkshrobj'
9937 case `$CC -V 2>&1 | sed 5q` in
9938 *Sun\ C*) # Sun C 5.9
9939 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'
9940 compiler_needs_object=yes
9941 tmp_sharedflag='-G' ;;
9942 *Sun\ F*) # Sun Fortran 8.3
9943 tmp_sharedflag='-G' ;;
9945 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9947 if test "x$supports_anon_versioning" = xyes; then
9948 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9949 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9950 echo "local: *; };" >> $output_objdir/$libname.ver~
9951 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9954 case $cc_basename in
9956 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9957 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9958 hardcode_libdir_flag_spec=
9959 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9960 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9961 if test "x$supports_anon_versioning" = xyes; then
9962 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9963 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9964 echo "local: *; };" >> $output_objdir/$libname.ver~
9965 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9975 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9976 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9979 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9980 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9985 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9989 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9990 *** create shared libraries on Solaris systems. Therefore, libtool
9991 *** is disabling shared libraries support. We urge you to upgrade GNU
9992 *** binutils to release 2.9.1 or newer. Another option is to modify
9993 *** your PATH or compiler configuration so that the native linker is
9994 *** used, and then restart.
9997 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9998 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9999 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10005 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10006 case `$LD -v 2>&1` in
10007 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10011 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10012 *** reliably create shared libraries on SCO systems. Therefore, libtool
10013 *** is disabling shared libraries support. We urge you to upgrade GNU
10014 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10015 *** your PATH or compiler configuration so that the native linker is
10016 *** used, and then restart.
10021 # For security reasons, it is highly recommended that you always
10022 # use absolute paths for naming shared libraries, and exclude the
10023 # DT_RUNPATH tag from executables and libraries. But doing so
10024 # requires that you compile everything twice, which is a pain.
10025 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10026 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10028 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10037 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10039 hardcode_direct=yes
10040 hardcode_shlibpath_var=no
10044 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10045 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10046 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10053 if test "$ld_shlibs" = no; then
10055 hardcode_libdir_flag_spec=
10056 export_dynamic_flag_spec=
10057 whole_archive_flag_spec=
10060 # PORTME fill in a description of your system's linker (not GNU ld)
10063 allow_undefined_flag=unsupported
10064 always_export_symbols=yes
10065 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'
10066 # Note: this linker hardcodes the directories in LIBPATH if there
10067 # are no directories specified by -L.
10068 hardcode_minus_L=yes
10069 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10070 # Neither direct hardcoding nor static linking is supported with a
10072 hardcode_direct=unsupported
10077 if test "$host_cpu" = ia64; then
10078 # On IA64, the linker does run time linking by default, so we don't
10079 # have to do anything special.
10080 aix_use_runtimelinking=no
10081 exp_sym_flag='-Bexport'
10084 # If we're using GNU nm, then we don't want the "-C" option.
10085 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10086 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10087 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'
10089 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'
10091 aix_use_runtimelinking=no
10093 # Test if we are trying to use run time linking or normal
10094 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10095 # need to do runtime linking.
10096 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10097 for ld_flag in $LDFLAGS; do
10098 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10099 aix_use_runtimelinking=yes
10106 exp_sym_flag='-bexport'
10107 no_entry_flag='-bnoentry'
10110 # When large executables or shared objects are built, AIX ld can
10111 # have problems creating the table of contents. If linking a library
10112 # or program results in "error TOC overflow" add -mminimal-toc to
10113 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10114 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10117 hardcode_direct=yes
10118 hardcode_direct_absolute=yes
10119 hardcode_libdir_separator=':'
10120 link_all_deplibs=yes
10121 file_list_spec='${wl}-f,'
10123 if test "$GCC" = yes; then
10124 case $host_os in aix4.[012]|aix4.[012].*)
10125 # We only want to do this on AIX 4.2 and lower, the check
10126 # below for broken collect2 doesn't work under 4.3+
10127 collect2name=`${CC} -print-prog-name=collect2`
10128 if test -f "$collect2name" &&
10129 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10131 # We have reworked collect2
10134 # We have old collect2
10135 hardcode_direct=unsupported
10136 # It fails to find uninstalled libraries when the uninstalled
10137 # path is not listed in the libpath. Setting hardcode_minus_L
10138 # to unsupported forces relinking
10139 hardcode_minus_L=yes
10140 hardcode_libdir_flag_spec='-L$libdir'
10141 hardcode_libdir_separator=
10145 shared_flag='-shared'
10146 if test "$aix_use_runtimelinking" = yes; then
10147 shared_flag="$shared_flag "'${wl}-G'
10151 if test "$host_cpu" = ia64; then
10152 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10153 # chokes on -Wl,-G. The following line is correct:
10156 if test "$aix_use_runtimelinking" = yes; then
10157 shared_flag='${wl}-G'
10159 shared_flag='${wl}-bM:SRE'
10164 export_dynamic_flag_spec='${wl}-bexpall'
10165 # It seems that -bexpall does not export symbols beginning with
10166 # underscore (_), so it is better to generate a list of symbols to export.
10167 always_export_symbols=yes
10168 if test "$aix_use_runtimelinking" = yes; then
10169 # Warning - without using the other runtime loading flags (-brtl),
10170 # -berok will link without error, but may produce a broken library.
10171 allow_undefined_flag='-berok'
10172 # Determine the default libpath from the value encoded in an
10173 # empty executable.
10174 cat >conftest.$ac_ext <<_ACEOF
10177 cat confdefs.h >>conftest.$ac_ext
10178 cat >>conftest.$ac_ext <<_ACEOF
10179 /* end confdefs.h. */
10189 rm -f conftest.$ac_objext conftest$ac_exeext
10190 if { (ac_try="$ac_link"
10191 case "(($ac_try" in
10192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10193 *) ac_try_echo=$ac_try;;
10195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10196 $as_echo "$ac_try_echo") >&5
10197 (eval "$ac_link") 2>conftest.er1
10199 grep -v '^ *+' conftest.er1 >conftest.err
10201 cat conftest.err >&5
10202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } && {
10204 test -z "$ac_c_werror_flag" ||
10205 test ! -s conftest.err
10206 } && test -s conftest$ac_exeext && {
10207 test "$cross_compiling" = yes ||
10208 $as_test_x conftest$ac_exeext
10211 lt_aix_libpath_sed='
10212 /Import File Strings/,/^$/ {
10218 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10219 # Check for a 64-bit object if we didn't find anything.
10220 if test -z "$aix_libpath"; then
10221 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10224 $as_echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.$ac_ext >&5
10230 rm -rf conftest.dSYM
10231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10232 conftest$ac_exeext conftest.$ac_ext
10233 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10235 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10236 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"
10238 if test "$host_cpu" = ia64; then
10239 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10240 allow_undefined_flag="-z nodefs"
10241 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"
10243 # Determine the default libpath from the value encoded in an
10244 # empty executable.
10245 cat >conftest.$ac_ext <<_ACEOF
10248 cat confdefs.h >>conftest.$ac_ext
10249 cat >>conftest.$ac_ext <<_ACEOF
10250 /* end confdefs.h. */
10260 rm -f conftest.$ac_objext conftest$ac_exeext
10261 if { (ac_try="$ac_link"
10262 case "(($ac_try" in
10263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10264 *) ac_try_echo=$ac_try;;
10266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10267 $as_echo "$ac_try_echo") >&5
10268 (eval "$ac_link") 2>conftest.er1
10270 grep -v '^ *+' conftest.er1 >conftest.err
10272 cat conftest.err >&5
10273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } && {
10275 test -z "$ac_c_werror_flag" ||
10276 test ! -s conftest.err
10277 } && test -s conftest$ac_exeext && {
10278 test "$cross_compiling" = yes ||
10279 $as_test_x conftest$ac_exeext
10282 lt_aix_libpath_sed='
10283 /Import File Strings/,/^$/ {
10289 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10290 # Check for a 64-bit object if we didn't find anything.
10291 if test -z "$aix_libpath"; then
10292 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10295 $as_echo "$as_me: failed program was:" >&5
10296 sed 's/^/| /' conftest.$ac_ext >&5
10301 rm -rf conftest.dSYM
10302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10303 conftest$ac_exeext conftest.$ac_ext
10304 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10306 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10307 # Warning - without using the other run time loading flags,
10308 # -berok will link without error, but may produce a broken library.
10309 no_undefined_flag=' ${wl}-bernotok'
10310 allow_undefined_flag=' ${wl}-berok'
10311 # Exported symbols can be pulled into shared objects from archives
10312 whole_archive_flag_spec='$convenience'
10313 archive_cmds_need_lc=yes
10314 # This is similar to how AIX traditionally builds its shared libraries.
10315 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'
10323 # see comment about AmigaOS4 .so support
10324 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10325 archive_expsym_cmds=''
10328 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)'
10329 hardcode_libdir_flag_spec='-L$libdir'
10330 hardcode_minus_L=yes
10336 export_dynamic_flag_spec=-rdynamic
10339 cygwin* | mingw* | pw32* | cegcc*)
10340 # When not using gcc, we currently assume that we are using
10341 # Microsoft Visual C++.
10342 # hardcode_libdir_flag_spec is actually meaningless, as there is
10343 # no search path for DLLs.
10344 hardcode_libdir_flag_spec=' '
10345 allow_undefined_flag=unsupported
10346 # Tell ltmain to make .lib files, not .a files.
10348 # Tell ltmain to make .dll files, not .so files.
10350 # FIXME: Setting linknames here is a bad hack.
10351 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10352 # The linker will automatically build a .lib file if we build a DLL.
10353 old_archive_from_new_cmds='true'
10354 # FIXME: Should let the user specify the lib program.
10355 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10356 fix_srcfile_path='`cygpath -w "$srcfile"`'
10357 enable_shared_with_static_runtimes=yes
10360 darwin* | rhapsody*)
10363 archive_cmds_need_lc=no
10365 hardcode_automatic=yes
10366 hardcode_shlibpath_var=unsupported
10367 whole_archive_flag_spec=''
10368 link_all_deplibs=yes
10369 allow_undefined_flag="$_lt_dar_allow_undefined"
10370 case $cc_basename in
10371 ifort*) _lt_dar_can_shared=yes ;;
10372 *) _lt_dar_can_shared=$GCC ;;
10374 if test "$_lt_dar_can_shared" = "yes"; then
10375 output_verbose_link_cmd=echo
10376 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10377 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10378 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}"
10379 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}"
10388 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10389 hardcode_libdir_flag_spec='-L$libdir'
10390 hardcode_shlibpath_var=no
10397 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10398 # support. Future versions do this automatically, but an explicit c++rt0.o
10399 # does not break anything, and helps significantly (at the cost of a little
10402 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10403 hardcode_libdir_flag_spec='-R$libdir'
10404 hardcode_direct=yes
10405 hardcode_shlibpath_var=no
10408 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10410 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10411 hardcode_direct=yes
10412 hardcode_minus_L=yes
10413 hardcode_shlibpath_var=no
10416 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10417 freebsd* | dragonfly*)
10418 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10419 hardcode_libdir_flag_spec='-R$libdir'
10420 hardcode_direct=yes
10421 hardcode_shlibpath_var=no
10425 if test "$GCC" = yes; then
10426 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'
10428 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'
10430 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10431 hardcode_libdir_separator=:
10432 hardcode_direct=yes
10434 # hardcode_minus_L: Not really in the search PATH,
10435 # but as the default location of the library.
10436 hardcode_minus_L=yes
10437 export_dynamic_flag_spec='${wl}-E'
10441 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10442 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10444 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10446 if test "$with_gnu_ld" = no; then
10447 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10448 hardcode_libdir_flag_spec_ld='+b $libdir'
10449 hardcode_libdir_separator=:
10450 hardcode_direct=yes
10451 hardcode_direct_absolute=yes
10452 export_dynamic_flag_spec='${wl}-E'
10453 # hardcode_minus_L: Not really in the search PATH,
10454 # but as the default location of the library.
10455 hardcode_minus_L=yes
10460 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10463 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10466 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10469 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10475 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10478 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10481 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10485 if test "$with_gnu_ld" = no; then
10486 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10487 hardcode_libdir_separator=:
10492 hardcode_shlibpath_var=no
10495 hardcode_direct=yes
10496 hardcode_direct_absolute=yes
10497 export_dynamic_flag_spec='${wl}-E'
10499 # hardcode_minus_L: Not really in the search PATH,
10500 # but as the default location of the library.
10501 hardcode_minus_L=yes
10507 irix5* | irix6* | nonstopux*)
10508 if test "$GCC" = yes; then
10509 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'
10510 # Try to use the -exported_symbol ld option, if it does not
10511 # work, assume that -exports_file does not work either and
10512 # implicitly export all symbols.
10513 save_LDFLAGS="$LDFLAGS"
10514 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10515 cat >conftest.$ac_ext <<_ACEOF
10518 rm -f conftest.$ac_objext conftest$ac_exeext
10519 if { (ac_try="$ac_link"
10520 case "(($ac_try" in
10521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10522 *) ac_try_echo=$ac_try;;
10524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10525 $as_echo "$ac_try_echo") >&5
10526 (eval "$ac_link") 2>conftest.er1
10528 grep -v '^ *+' conftest.er1 >conftest.err
10530 cat conftest.err >&5
10531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); } && {
10533 test -z "$ac_c_werror_flag" ||
10534 test ! -s conftest.err
10535 } && test -s conftest$ac_exeext && {
10536 test "$cross_compiling" = yes ||
10537 $as_test_x conftest$ac_exeext
10539 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'
10542 $as_echo "$as_me: failed program was:" >&5
10543 sed 's/^/| /' conftest.$ac_ext >&5
10548 rm -rf conftest.dSYM
10549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10550 conftest$ac_exeext conftest.$ac_ext
10551 LDFLAGS="$save_LDFLAGS"
10553 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'
10554 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'
10556 archive_cmds_need_lc='no'
10557 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10558 hardcode_libdir_separator=:
10560 link_all_deplibs=yes
10564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10565 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10567 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10569 hardcode_libdir_flag_spec='-R$libdir'
10570 hardcode_direct=yes
10571 hardcode_shlibpath_var=no
10575 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10576 hardcode_direct=yes
10577 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10578 hardcode_libdir_separator=:
10579 hardcode_shlibpath_var=no
10586 if test -f /usr/libexec/ld.so; then
10587 hardcode_direct=yes
10588 hardcode_shlibpath_var=no
10589 hardcode_direct_absolute=yes
10590 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10591 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10592 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10593 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10594 export_dynamic_flag_spec='${wl}-E'
10597 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10598 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10599 hardcode_libdir_flag_spec='-R$libdir'
10602 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10603 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10613 hardcode_libdir_flag_spec='-L$libdir'
10614 hardcode_minus_L=yes
10615 allow_undefined_flag=unsupported
10616 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'
10617 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10621 if test "$GCC" = yes; then
10622 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10623 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'
10625 allow_undefined_flag=' -expect_unresolved \*'
10626 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'
10628 archive_cmds_need_lc='no'
10629 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10630 hardcode_libdir_separator=:
10633 osf4* | osf5*) # as osf3* with the addition of -msym flag
10634 if test "$GCC" = yes; then
10635 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10636 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'
10637 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10639 allow_undefined_flag=' -expect_unresolved \*'
10640 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'
10641 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~
10642 $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'
10644 # Both c and cxx compiler support -rpath directly
10645 hardcode_libdir_flag_spec='-rpath $libdir'
10647 archive_cmds_need_lc='no'
10648 hardcode_libdir_separator=:
10652 no_undefined_flag=' -z defs'
10653 if test "$GCC" = yes; then
10655 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10656 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10657 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10659 case `$CC -V 2>&1` in
10662 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10663 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10664 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10668 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10669 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10670 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10674 hardcode_libdir_flag_spec='-R$libdir'
10675 hardcode_shlibpath_var=no
10677 solaris2.[0-5] | solaris2.[0-5].*) ;;
10679 # The compiler driver will combine and reorder linker options,
10680 # but understands `-z linker_flag'. GCC discards it without `$wl',
10681 # but is careful enough not to reorder.
10682 # Supported since Solaris 2.6 (maybe 2.5.1?)
10683 if test "$GCC" = yes; then
10684 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10686 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10690 link_all_deplibs=yes
10694 if test "x$host_vendor" = xsequent; then
10695 # Use $CC to link under sequent, because it throws in some extra .o
10696 # files that make .init and .fini sections work.
10697 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10699 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10701 hardcode_libdir_flag_spec='-L$libdir'
10702 hardcode_direct=yes
10703 hardcode_minus_L=yes
10704 hardcode_shlibpath_var=no
10708 case $host_vendor in
10710 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10711 hardcode_direct=yes # is this really true???
10714 ## LD is ld it makes a PLAMLIB
10715 ## CC just makes a GrossModule.
10716 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10717 reload_cmds='$CC -r -o $output$reload_objs'
10721 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10722 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10725 runpath_var='LD_RUN_PATH'
10726 hardcode_shlibpath_var=no
10730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10731 hardcode_shlibpath_var=no
10732 export_dynamic_flag_spec='-Bexport'
10736 if test -d /usr/nec; then
10737 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10738 hardcode_shlibpath_var=no
10739 runpath_var=LD_RUN_PATH
10740 hardcode_runpath_var=yes
10745 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10746 no_undefined_flag='${wl}-z,text'
10747 archive_cmds_need_lc=no
10748 hardcode_shlibpath_var=no
10749 runpath_var='LD_RUN_PATH'
10751 if test "$GCC" = yes; then
10752 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10753 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10755 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10756 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10760 sysv5* | sco3.2v5* | sco5v6*)
10761 # Note: We can NOT use -z defs as we might desire, because we do not
10762 # link with -lc, and that would cause any symbols used from libc to
10763 # always be unresolved, which means just about no library would
10764 # ever link correctly. If we're not using GNU ld we use -z text
10765 # though, which does catch some bad symbols but isn't as heavy-handed
10767 no_undefined_flag='${wl}-z,text'
10768 allow_undefined_flag='${wl}-z,nodefs'
10769 archive_cmds_need_lc=no
10770 hardcode_shlibpath_var=no
10771 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10772 hardcode_libdir_separator=':'
10773 link_all_deplibs=yes
10774 export_dynamic_flag_spec='${wl}-Bexport'
10775 runpath_var='LD_RUN_PATH'
10777 if test "$GCC" = yes; then
10778 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10781 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10782 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10787 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10788 hardcode_libdir_flag_spec='-L$libdir'
10789 hardcode_shlibpath_var=no
10797 if test x$host_vendor = xsni; then
10799 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10800 export_dynamic_flag_spec='${wl}-Blargedynsym'
10806 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10807 $as_echo "$ld_shlibs" >&6; }
10808 test "$ld_shlibs" = no && can_build_shared=no
10810 with_gnu_ld=$with_gnu_ld
10827 # Do we need to explicitly link libc?
10829 case "x$archive_cmds_need_lc" in
10831 # Assume -lc should be added
10832 archive_cmds_need_lc=yes
10834 if test "$enable_shared" = yes && test "$GCC" = yes; then
10835 case $archive_cmds in
10837 # FIXME: we may have to deal with multi-command sequences.
10840 # Test whether the compiler implicitly links with -lc since on some
10841 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10842 # to ld, don't add -lc before -lgcc.
10843 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10844 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10845 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
10846 $as_echo_n "(cached) " >&6
10849 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10852 (eval $ac_compile) 2>&5
10854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); } 2>conftest.err; then
10858 libobjs=conftest.$ac_objext
10860 wl=$lt_prog_compiler_wl
10861 pic_flag=$lt_prog_compiler_pic
10867 lt_save_allow_undefined_flag=$allow_undefined_flag
10868 allow_undefined_flag=
10869 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10870 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); }
10875 lt_cv_archive_cmds_need_lc=no
10877 lt_cv_archive_cmds_need_lc=yes
10879 allow_undefined_flag=$lt_save_allow_undefined_flag
10881 cat conftest.err 1>&5
10886 { $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
10887 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10888 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11051 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11052 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11054 if test "$GCC" = yes; then
11056 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11057 *) lt_awk_arg="/^libraries:/" ;;
11059 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11060 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11061 # if the path contains ";" then we assume it to be the separator
11062 # otherwise default to the standard path separator (i.e. ":") - it is
11063 # assumed that no part of a normal pathname contains ";" but that should
11064 # okay in the real world where ";" in dirpaths is itself problematic.
11065 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11067 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11069 # Ok, now we have the path, separated by spaces, we can step through it
11070 # and add multilib dir if necessary.
11071 lt_tmp_lt_search_path_spec=
11072 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11073 for lt_sys_path in $lt_search_path_spec; do
11074 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11075 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11077 test -d "$lt_sys_path" && \
11078 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11081 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11082 BEGIN {RS=" "; FS="/|\n";} {
11085 for (lt_i = NF; lt_i > 0; lt_i--) {
11086 if ($lt_i != "" && $lt_i != ".") {
11087 if ($lt_i == "..") {
11090 if (lt_count == 0) {
11091 lt_foo="/" $lt_i lt_foo;
11098 if (lt_foo != "") { lt_freq[lt_foo]++; }
11099 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11101 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11103 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11105 library_names_spec=
11106 libname_spec='lib$name'
11110 postuninstall_cmds=
11114 shlibpath_overrides_runpath=unknown
11116 dynamic_linker="$host_os ld.so"
11117 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11118 need_lib_prefix=unknown
11119 hardcode_into_libs=no
11121 # when you set need_version to no, make sure it does not cause -set_version
11122 # flags to be left without arguments
11123 need_version=unknown
11128 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11129 shlibpath_var=LIBPATH
11131 # AIX 3 has no versioning support, so we append a major version to the name.
11132 soname_spec='${libname}${release}${shared_ext}$major'
11139 hardcode_into_libs=yes
11140 if test "$host_cpu" = ia64; then
11141 # AIX 5 supports IA64
11142 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11143 shlibpath_var=LD_LIBRARY_PATH
11145 # With GCC up to 2.95.x, collect2 would create an import file
11146 # for dependence libraries. The import file would start with
11147 # the line `#! .'. This would cause the generated library to
11148 # depend on `.', always an invalid library. This was fixed in
11149 # development snapshots of GCC prior to 3.0.
11151 aix4 | aix4.[01] | aix4.[01].*)
11152 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11154 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11157 can_build_shared=no
11161 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11162 # soname into executable. Probably we can add versioning support to
11163 # collect2, so additional links can be useful in future.
11164 if test "$aix_use_runtimelinking" = yes; then
11165 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11166 # instead of lib<name>.a to let people know that these are not
11167 # typical AIX shared libraries.
11168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11170 # We preserve .a as extension for shared libraries through AIX4.2
11171 # and later when we are not doing run time linking.
11172 library_names_spec='${libname}${release}.a $libname.a'
11173 soname_spec='${libname}${release}${shared_ext}$major'
11175 shlibpath_var=LIBPATH
11182 # Since July 2007 AmigaOS4 officially supports .so libraries.
11183 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11187 library_names_spec='$libname.ixlibrary $libname.a'
11188 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11189 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'
11195 library_names_spec='${libname}${shared_ext}'
11196 dynamic_linker="$host_os ld.so"
11197 shlibpath_var=LIBRARY_PATH
11203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11204 soname_spec='${libname}${release}${shared_ext}$major'
11205 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11206 shlibpath_var=LD_LIBRARY_PATH
11207 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11208 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11209 # the default ld.so.conf also contains /usr/contrib/lib and
11210 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11211 # libtool to hard-code these into programs
11214 cygwin* | mingw* | pw32* | cegcc*)
11215 version_type=windows
11220 case $GCC,$host_os in
11221 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11222 library_names_spec='$libname.dll.a'
11223 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11224 postinstall_cmds='base_file=`basename \${file}`~
11225 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11226 dldir=$destdir/`dirname \$dlpath`~
11227 test -d \$dldir || mkdir -p \$dldir~
11228 $install_prog $dir/$dlname \$dldir/$dlname~
11229 chmod a+x \$dldir/$dlname~
11230 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11231 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11233 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11234 dlpath=$dir/\$dldll~
11236 shlibpath_overrides_runpath=yes
11240 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11241 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11242 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11245 # MinGW DLLs use traditional 'lib' prefix
11246 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11247 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11248 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11249 # It is most probably a Windows format PATH printed by
11250 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11251 # path with ; separators, and with drive letters. We can handle the
11252 # drive letters (cygwin fileutils understands them), so leave them,
11253 # especially as we might pass files found there to a mingw objdump,
11254 # which wouldn't understand a cygwinified path. Ahh.
11255 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11257 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11261 # pw32 DLLs use 'pw' prefix rather than 'lib'
11262 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11268 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11271 dynamic_linker='Win32 ld.exe'
11272 # FIXME: first we should search . and the directory the executable is in
11276 darwin* | rhapsody*)
11277 dynamic_linker="$host_os dyld"
11278 version_type=darwin
11281 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11282 soname_spec='${libname}${release}${major}$shared_ext'
11283 shlibpath_overrides_runpath=yes
11284 shlibpath_var=DYLD_LIBRARY_PATH
11285 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11287 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11288 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11296 soname_spec='${libname}${release}${shared_ext}$major'
11297 shlibpath_var=LD_LIBRARY_PATH
11304 freebsd* | dragonfly*)
11305 # DragonFly does not have aout. When/if they implement a new
11306 # versioning mechanism, adjust this.
11307 if test -x /usr/bin/objformat; then
11308 objformat=`/usr/bin/objformat`
11311 freebsd[123]*) objformat=aout ;;
11312 *) objformat=elf ;;
11315 version_type=freebsd-$objformat
11316 case $version_type in
11318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11323 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11327 shlibpath_var=LD_LIBRARY_PATH
11330 shlibpath_overrides_runpath=yes
11332 freebsd3.[01]* | freebsdelf3.[01]*)
11333 shlibpath_overrides_runpath=yes
11334 hardcode_into_libs=yes
11336 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11337 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11338 shlibpath_overrides_runpath=no
11339 hardcode_into_libs=yes
11341 *) # from 4.6 on, and DragonFly
11342 shlibpath_overrides_runpath=yes
11343 hardcode_into_libs=yes
11352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11353 soname_spec='${libname}${release}${shared_ext}$major'
11354 shlibpath_var=LD_LIBRARY_PATH
11355 hardcode_into_libs=yes
11358 hpux9* | hpux10* | hpux11*)
11359 # Give a soname corresponding to the major version so that dld.sl refuses to
11360 # link against other versions.
11367 hardcode_into_libs=yes
11368 dynamic_linker="$host_os dld.so"
11369 shlibpath_var=LD_LIBRARY_PATH
11370 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11372 soname_spec='${libname}${release}${shared_ext}$major'
11373 if test "X$HPUX_IA64_MODE" = X32; then
11374 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11376 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11378 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11382 hardcode_into_libs=yes
11383 dynamic_linker="$host_os dld.sl"
11384 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11385 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11387 soname_spec='${libname}${release}${shared_ext}$major'
11388 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11389 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11393 dynamic_linker="$host_os dld.sl"
11394 shlibpath_var=SHLIB_PATH
11395 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11397 soname_spec='${libname}${release}${shared_ext}$major'
11400 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11401 postinstall_cmds='chmod 555 $lib'
11408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11409 soname_spec='${libname}${release}${shared_ext}$major'
11410 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11411 shlibpath_var=LD_LIBRARY_PATH
11412 shlibpath_overrides_runpath=no
11413 hardcode_into_libs=yes
11416 irix5* | irix6* | nonstopux*)
11418 nonstopux*) version_type=nonstopux ;;
11420 if test "$lt_cv_prog_gnu_ld" = yes; then
11428 soname_spec='${libname}${release}${shared_ext}$major'
11429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11431 irix5* | nonstopux*)
11432 libsuff= shlibsuff=
11435 case $LD in # libtool.m4 will add one of these switches to LD
11436 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11437 libsuff= shlibsuff= libmagic=32-bit;;
11438 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11439 libsuff=32 shlibsuff=N32 libmagic=N32;;
11440 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11441 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11442 *) libsuff= shlibsuff= libmagic=never-match;;
11446 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11447 shlibpath_overrides_runpath=no
11448 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11449 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11450 hardcode_into_libs=yes
11453 # No shared lib support for Linux oldld, aout, or coff.
11454 linux*oldld* | linux*aout* | linux*coff*)
11458 # This must be Linux ELF.
11459 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11464 soname_spec='${libname}${release}${shared_ext}$major'
11465 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11466 shlibpath_var=LD_LIBRARY_PATH
11467 shlibpath_overrides_runpath=no
11469 # Some binutils ld are patched to set DT_RUNPATH
11470 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
11471 $as_echo_n "(cached) " >&6
11473 lt_cv_shlibpath_overrides_runpath=no
11474 save_LDFLAGS=$LDFLAGS
11475 save_libdir=$libdir
11476 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11477 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11478 cat >conftest.$ac_ext <<_ACEOF
11481 cat confdefs.h >>conftest.$ac_ext
11482 cat >>conftest.$ac_ext <<_ACEOF
11483 /* end confdefs.h. */
11493 rm -f conftest.$ac_objext conftest$ac_exeext
11494 if { (ac_try="$ac_link"
11495 case "(($ac_try" in
11496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11497 *) ac_try_echo=$ac_try;;
11499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11500 $as_echo "$ac_try_echo") >&5
11501 (eval "$ac_link") 2>conftest.er1
11503 grep -v '^ *+' conftest.er1 >conftest.err
11505 cat conftest.err >&5
11506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); } && {
11508 test -z "$ac_c_werror_flag" ||
11509 test ! -s conftest.err
11510 } && test -s conftest$ac_exeext && {
11511 test "$cross_compiling" = yes ||
11512 $as_test_x conftest$ac_exeext
11514 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11515 lt_cv_shlibpath_overrides_runpath=yes
11519 $as_echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.$ac_ext >&5
11525 rm -rf conftest.dSYM
11526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11527 conftest$ac_exeext conftest.$ac_ext
11528 LDFLAGS=$save_LDFLAGS
11529 libdir=$save_libdir
11533 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11535 # This implies no fast_install, which is unacceptable.
11536 # Some rework will be needed to allow for fast_install
11537 # before this can be enabled.
11538 hardcode_into_libs=yes
11540 # Append ld.so.conf contents to the search path
11541 if test -f /etc/ld.so.conf; then
11542 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' ' '`
11543 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11546 # We used to test for /lib/ld.so.1 and disable shared libraries on
11547 # powerpc, because MkLinux only supported shared libraries with the
11548 # GNU dynamic linker. Since this was broken with cross compilers,
11549 # most powerpc-linux boxes support dynamic linking these days and
11550 # people can always --disable-shared, the test was removed, and we
11551 # assume the GNU/Linux dynamic linker is in use.
11552 dynamic_linker='GNU/Linux ld.so'
11559 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11561 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11562 dynamic_linker='NetBSD (a.out) ld.so'
11564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11565 soname_spec='${libname}${release}${shared_ext}$major'
11566 dynamic_linker='NetBSD ld.elf_so'
11568 shlibpath_var=LD_LIBRARY_PATH
11569 shlibpath_overrides_runpath=yes
11570 hardcode_into_libs=yes
11575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11576 shlibpath_var=LD_LIBRARY_PATH
11577 shlibpath_overrides_runpath=yes
11584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585 soname_spec='${libname}${release}${shared_ext}$major'
11586 shlibpath_var=LD_LIBRARY_PATH
11587 shlibpath_overrides_runpath=no
11588 hardcode_into_libs=yes
11589 dynamic_linker='ldqnx.so'
11594 sys_lib_dlsearch_path_spec="/usr/lib"
11596 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11598 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11599 *) need_version=no ;;
11601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11602 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11603 shlibpath_var=LD_LIBRARY_PATH
11604 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11606 openbsd2.[89] | openbsd2.[89].*)
11607 shlibpath_overrides_runpath=no
11610 shlibpath_overrides_runpath=yes
11614 shlibpath_overrides_runpath=yes
11619 libname_spec='$name'
11622 library_names_spec='$libname${shared_ext} $libname.a'
11623 dynamic_linker='OS/2 ld.exe'
11624 shlibpath_var=LIBPATH
11627 osf3* | osf4* | osf5*)
11631 soname_spec='${libname}${release}${shared_ext}$major'
11632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11633 shlibpath_var=LD_LIBRARY_PATH
11634 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11635 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647 soname_spec='${libname}${release}${shared_ext}$major'
11648 shlibpath_var=LD_LIBRARY_PATH
11649 shlibpath_overrides_runpath=yes
11650 hardcode_into_libs=yes
11651 # ldd complains unless libraries are executable
11652 postinstall_cmds='chmod +x $lib'
11657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11658 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11659 shlibpath_var=LD_LIBRARY_PATH
11660 shlibpath_overrides_runpath=yes
11661 if test "$with_gnu_ld" = yes; then
11669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11670 soname_spec='${libname}${release}${shared_ext}$major'
11671 shlibpath_var=LD_LIBRARY_PATH
11672 case $host_vendor in
11674 shlibpath_overrides_runpath=no
11676 runpath_var=LD_RUN_PATH
11684 shlibpath_overrides_runpath=no
11685 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11691 if test -d /usr/nec ;then
11693 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11694 soname_spec='$libname${shared_ext}.$major'
11695 shlibpath_var=LD_LIBRARY_PATH
11699 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11700 version_type=freebsd-elf
11703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11704 soname_spec='${libname}${release}${shared_ext}$major'
11705 shlibpath_var=LD_LIBRARY_PATH
11706 shlibpath_overrides_runpath=yes
11707 hardcode_into_libs=yes
11708 if test "$with_gnu_ld" = yes; then
11709 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11711 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11714 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11718 sys_lib_dlsearch_path_spec='/usr/lib'
11722 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11727 shlibpath_var=LD_LIBRARY_PATH
11728 shlibpath_overrides_runpath=no
11729 hardcode_into_libs=yes
11734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11735 soname_spec='${libname}${release}${shared_ext}$major'
11736 shlibpath_var=LD_LIBRARY_PATH
11743 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11744 $as_echo "$dynamic_linker" >&6; }
11745 test "$dynamic_linker" = no && can_build_shared=no
11747 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11748 if test "$GCC" = yes; then
11749 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11752 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11753 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11755 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11756 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11845 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11846 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11848 if test -n "$hardcode_libdir_flag_spec" ||
11849 test -n "$runpath_var" ||
11850 test "X$hardcode_automatic" = "Xyes" ; then
11852 # We can hardcode non-existent directories.
11853 if test "$hardcode_direct" != no &&
11854 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11855 # have to relink, otherwise we might link with an installed library
11856 # when we should be linking with a yet-to-be-installed one
11857 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11858 test "$hardcode_minus_L" != no; then
11859 # Linking always hardcodes the temporary library directory.
11860 hardcode_action=relink
11862 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11863 hardcode_action=immediate
11866 # We cannot hardcode anything, or else we can only hardcode existing
11868 hardcode_action=unsupported
11870 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11871 $as_echo "$hardcode_action" >&6; }
11873 if test "$hardcode_action" = relink ||
11874 test "$inherit_rpath" = yes; then
11875 # Fast installation is not supported
11876 enable_fast_install=no
11877 elif test "$shlibpath_overrides_runpath" = yes ||
11878 test "$enable_shared" = no; then
11879 # Fast installation is not necessary
11880 enable_fast_install=needless
11888 if test "x$enable_dlopen" != xyes; then
11889 enable_dlopen=unknown
11890 enable_dlopen_self=unknown
11891 enable_dlopen_self_static=unknown
11898 lt_cv_dlopen="load_add_on"
11900 lt_cv_dlopen_self=yes
11903 mingw* | pw32* | cegcc*)
11904 lt_cv_dlopen="LoadLibrary"
11909 lt_cv_dlopen="dlopen"
11914 # if libdl is installed we need to link against it
11915 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11916 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11917 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11918 $as_echo_n "(cached) " >&6
11920 ac_check_lib_save_LIBS=$LIBS
11922 cat >conftest.$ac_ext <<_ACEOF
11925 cat confdefs.h >>conftest.$ac_ext
11926 cat >>conftest.$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11944 rm -f conftest.$ac_objext conftest$ac_exeext
11945 if { (ac_try="$ac_link"
11946 case "(($ac_try" in
11947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11948 *) ac_try_echo=$ac_try;;
11950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11951 $as_echo "$ac_try_echo") >&5
11952 (eval "$ac_link") 2>conftest.er1
11954 grep -v '^ *+' conftest.er1 >conftest.err
11956 cat conftest.err >&5
11957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); } && {
11959 test -z "$ac_c_werror_flag" ||
11960 test ! -s conftest.err
11961 } && test -s conftest$ac_exeext && {
11962 test "$cross_compiling" = yes ||
11963 $as_test_x conftest$ac_exeext
11965 ac_cv_lib_dl_dlopen=yes
11967 $as_echo "$as_me: failed program was:" >&5
11968 sed 's/^/| /' conftest.$ac_ext >&5
11970 ac_cv_lib_dl_dlopen=no
11973 rm -rf conftest.dSYM
11974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11975 conftest$ac_exeext conftest.$ac_ext
11976 LIBS=$ac_check_lib_save_LIBS
11978 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11979 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11980 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11981 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11984 lt_cv_dlopen="dyld"
11986 lt_cv_dlopen_self=yes
11993 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11994 $as_echo_n "checking for shl_load... " >&6; }
11995 if test "${ac_cv_func_shl_load+set}" = set; then
11996 $as_echo_n "(cached) " >&6
11998 cat >conftest.$ac_ext <<_ACEOF
12001 cat confdefs.h >>conftest.$ac_ext
12002 cat >>conftest.$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12004 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12006 #define shl_load innocuous_shl_load
12008 /* System header to define __stub macros and hopefully few prototypes,
12009 which can conflict with char shl_load (); below.
12010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12011 <limits.h> exists even on freestanding compilers. */
12014 # include <limits.h>
12016 # include <assert.h>
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12028 /* The GNU C library defines this for functions which it implements
12029 to always fail with ENOSYS. Some functions are actually named
12030 something starting with __ and the normal name is an alias. */
12031 #if defined __stub_shl_load || defined __stub___shl_load
12038 return shl_load ();
12043 rm -f conftest.$ac_objext conftest$ac_exeext
12044 if { (ac_try="$ac_link"
12045 case "(($ac_try" in
12046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12047 *) ac_try_echo=$ac_try;;
12049 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12050 $as_echo "$ac_try_echo") >&5
12051 (eval "$ac_link") 2>conftest.er1
12053 grep -v '^ *+' conftest.er1 >conftest.err
12055 cat conftest.err >&5
12056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); } && {
12058 test -z "$ac_c_werror_flag" ||
12059 test ! -s conftest.err
12060 } && test -s conftest$ac_exeext && {
12061 test "$cross_compiling" = yes ||
12062 $as_test_x conftest$ac_exeext
12064 ac_cv_func_shl_load=yes
12066 $as_echo "$as_me: failed program was:" >&5
12067 sed 's/^/| /' conftest.$ac_ext >&5
12069 ac_cv_func_shl_load=no
12072 rm -rf conftest.dSYM
12073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12074 conftest$ac_exeext conftest.$ac_ext
12076 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12077 $as_echo "$ac_cv_func_shl_load" >&6; }
12078 if test "x$ac_cv_func_shl_load" = x""yes; then
12079 lt_cv_dlopen="shl_load"
12081 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12082 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12083 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12084 $as_echo_n "(cached) " >&6
12086 ac_check_lib_save_LIBS=$LIBS
12088 cat >conftest.$ac_ext <<_ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12105 return shl_load ();
12110 rm -f conftest.$ac_objext conftest$ac_exeext
12111 if { (ac_try="$ac_link"
12112 case "(($ac_try" in
12113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12114 *) ac_try_echo=$ac_try;;
12116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12117 $as_echo "$ac_try_echo") >&5
12118 (eval "$ac_link") 2>conftest.er1
12120 grep -v '^ *+' conftest.er1 >conftest.err
12122 cat conftest.err >&5
12123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); } && {
12125 test -z "$ac_c_werror_flag" ||
12126 test ! -s conftest.err
12127 } && test -s conftest$ac_exeext && {
12128 test "$cross_compiling" = yes ||
12129 $as_test_x conftest$ac_exeext
12131 ac_cv_lib_dld_shl_load=yes
12133 $as_echo "$as_me: failed program was:" >&5
12134 sed 's/^/| /' conftest.$ac_ext >&5
12136 ac_cv_lib_dld_shl_load=no
12139 rm -rf conftest.dSYM
12140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12141 conftest$ac_exeext conftest.$ac_ext
12142 LIBS=$ac_check_lib_save_LIBS
12144 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12145 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12146 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
12147 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12149 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12150 $as_echo_n "checking for dlopen... " >&6; }
12151 if test "${ac_cv_func_dlopen+set}" = set; then
12152 $as_echo_n "(cached) " >&6
12154 cat >conftest.$ac_ext <<_ACEOF
12157 cat confdefs.h >>conftest.$ac_ext
12158 cat >>conftest.$ac_ext <<_ACEOF
12159 /* end confdefs.h. */
12160 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12162 #define dlopen innocuous_dlopen
12164 /* System header to define __stub macros and hopefully few prototypes,
12165 which can conflict with char dlopen (); below.
12166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12167 <limits.h> exists even on freestanding compilers. */
12170 # include <limits.h>
12172 # include <assert.h>
12177 /* Override any GCC internal prototype to avoid an error.
12178 Use char because int might match the return type of a GCC
12179 builtin and then its argument prototype would still apply. */
12184 /* The GNU C library defines this for functions which it implements
12185 to always fail with ENOSYS. Some functions are actually named
12186 something starting with __ and the normal name is an alias. */
12187 #if defined __stub_dlopen || defined __stub___dlopen
12199 rm -f conftest.$ac_objext conftest$ac_exeext
12200 if { (ac_try="$ac_link"
12201 case "(($ac_try" in
12202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12203 *) ac_try_echo=$ac_try;;
12205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12206 $as_echo "$ac_try_echo") >&5
12207 (eval "$ac_link") 2>conftest.er1
12209 grep -v '^ *+' conftest.er1 >conftest.err
12211 cat conftest.err >&5
12212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } && {
12214 test -z "$ac_c_werror_flag" ||
12215 test ! -s conftest.err
12216 } && test -s conftest$ac_exeext && {
12217 test "$cross_compiling" = yes ||
12218 $as_test_x conftest$ac_exeext
12220 ac_cv_func_dlopen=yes
12222 $as_echo "$as_me: failed program was:" >&5
12223 sed 's/^/| /' conftest.$ac_ext >&5
12225 ac_cv_func_dlopen=no
12228 rm -rf conftest.dSYM
12229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12230 conftest$ac_exeext conftest.$ac_ext
12232 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12233 $as_echo "$ac_cv_func_dlopen" >&6; }
12234 if test "x$ac_cv_func_dlopen" = x""yes; then
12235 lt_cv_dlopen="dlopen"
12237 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12238 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12239 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12240 $as_echo_n "(cached) " >&6
12242 ac_check_lib_save_LIBS=$LIBS
12244 cat >conftest.$ac_ext <<_ACEOF
12247 cat confdefs.h >>conftest.$ac_ext
12248 cat >>conftest.$ac_ext <<_ACEOF
12249 /* end confdefs.h. */
12251 /* Override any GCC internal prototype to avoid an error.
12252 Use char because int might match the return type of a GCC
12253 builtin and then its argument prototype would still apply. */
12266 rm -f conftest.$ac_objext conftest$ac_exeext
12267 if { (ac_try="$ac_link"
12268 case "(($ac_try" in
12269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12270 *) ac_try_echo=$ac_try;;
12272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12273 $as_echo "$ac_try_echo") >&5
12274 (eval "$ac_link") 2>conftest.er1
12276 grep -v '^ *+' conftest.er1 >conftest.err
12278 cat conftest.err >&5
12279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); } && {
12281 test -z "$ac_c_werror_flag" ||
12282 test ! -s conftest.err
12283 } && test -s conftest$ac_exeext && {
12284 test "$cross_compiling" = yes ||
12285 $as_test_x conftest$ac_exeext
12287 ac_cv_lib_dl_dlopen=yes
12289 $as_echo "$as_me: failed program was:" >&5
12290 sed 's/^/| /' conftest.$ac_ext >&5
12292 ac_cv_lib_dl_dlopen=no
12295 rm -rf conftest.dSYM
12296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12297 conftest$ac_exeext conftest.$ac_ext
12298 LIBS=$ac_check_lib_save_LIBS
12300 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12301 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12302 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12303 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12305 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12306 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12307 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12308 $as_echo_n "(cached) " >&6
12310 ac_check_lib_save_LIBS=$LIBS
12311 LIBS="-lsvld $LIBS"
12312 cat >conftest.$ac_ext <<_ACEOF
12315 cat confdefs.h >>conftest.$ac_ext
12316 cat >>conftest.$ac_ext <<_ACEOF
12317 /* end confdefs.h. */
12319 /* Override any GCC internal prototype to avoid an error.
12320 Use char because int might match the return type of a GCC
12321 builtin and then its argument prototype would still apply. */
12334 rm -f conftest.$ac_objext conftest$ac_exeext
12335 if { (ac_try="$ac_link"
12336 case "(($ac_try" in
12337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12338 *) ac_try_echo=$ac_try;;
12340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12341 $as_echo "$ac_try_echo") >&5
12342 (eval "$ac_link") 2>conftest.er1
12344 grep -v '^ *+' conftest.er1 >conftest.err
12346 cat conftest.err >&5
12347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } && {
12349 test -z "$ac_c_werror_flag" ||
12350 test ! -s conftest.err
12351 } && test -s conftest$ac_exeext && {
12352 test "$cross_compiling" = yes ||
12353 $as_test_x conftest$ac_exeext
12355 ac_cv_lib_svld_dlopen=yes
12357 $as_echo "$as_me: failed program was:" >&5
12358 sed 's/^/| /' conftest.$ac_ext >&5
12360 ac_cv_lib_svld_dlopen=no
12363 rm -rf conftest.dSYM
12364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12365 conftest$ac_exeext conftest.$ac_ext
12366 LIBS=$ac_check_lib_save_LIBS
12368 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12369 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12370 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12371 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12373 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12374 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12375 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12376 $as_echo_n "(cached) " >&6
12378 ac_check_lib_save_LIBS=$LIBS
12380 cat >conftest.$ac_ext <<_ACEOF
12383 cat confdefs.h >>conftest.$ac_ext
12384 cat >>conftest.$ac_ext <<_ACEOF
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12397 return dld_link ();
12402 rm -f conftest.$ac_objext conftest$ac_exeext
12403 if { (ac_try="$ac_link"
12404 case "(($ac_try" in
12405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12406 *) ac_try_echo=$ac_try;;
12408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12409 $as_echo "$ac_try_echo") >&5
12410 (eval "$ac_link") 2>conftest.er1
12412 grep -v '^ *+' conftest.er1 >conftest.err
12414 cat conftest.err >&5
12415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } && {
12417 test -z "$ac_c_werror_flag" ||
12418 test ! -s conftest.err
12419 } && test -s conftest$ac_exeext && {
12420 test "$cross_compiling" = yes ||
12421 $as_test_x conftest$ac_exeext
12423 ac_cv_lib_dld_dld_link=yes
12425 $as_echo "$as_me: failed program was:" >&5
12426 sed 's/^/| /' conftest.$ac_ext >&5
12428 ac_cv_lib_dld_dld_link=no
12431 rm -rf conftest.dSYM
12432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12433 conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_check_lib_save_LIBS
12436 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12437 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12438 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12439 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12460 if test "x$lt_cv_dlopen" != xno; then
12466 case $lt_cv_dlopen in
12468 save_CPPFLAGS="$CPPFLAGS"
12469 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12471 save_LDFLAGS="$LDFLAGS"
12472 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12475 LIBS="$lt_cv_dlopen_libs $LIBS"
12477 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12478 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12479 if test "${lt_cv_dlopen_self+set}" = set; then
12480 $as_echo_n "(cached) " >&6
12482 if test "$cross_compiling" = yes; then :
12483 lt_cv_dlopen_self=cross
12485 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12486 lt_status=$lt_dlunknown
12487 cat > conftest.$ac_ext <<_LT_EOF
12488 #line 12488 "configure"
12489 #include "confdefs.h"
12498 # define LT_DLGLOBAL RTLD_GLOBAL
12501 # define LT_DLGLOBAL DL_GLOBAL
12503 # define LT_DLGLOBAL 0
12507 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12508 find out it does not work in some platform. */
12509 #ifndef LT_DLLAZY_OR_NOW
12511 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12514 # define LT_DLLAZY_OR_NOW DL_LAZY
12517 # define LT_DLLAZY_OR_NOW RTLD_NOW
12520 # define LT_DLLAZY_OR_NOW DL_NOW
12522 # define LT_DLLAZY_OR_NOW 0
12529 void fnord() { int i=42;}
12532 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12533 int status = $lt_dlunknown;
12537 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12538 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12539 /* dlclose (self); */
12547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12548 (eval $ac_link) 2>&5
12550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12552 (./conftest; exit; ) >&5 2>/dev/null
12554 case x$lt_status in
12555 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12556 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12557 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12560 # compilation failed
12561 lt_cv_dlopen_self=no
12568 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12569 $as_echo "$lt_cv_dlopen_self" >&6; }
12571 if test "x$lt_cv_dlopen_self" = xyes; then
12572 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12573 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12574 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12575 if test "${lt_cv_dlopen_self_static+set}" = set; then
12576 $as_echo_n "(cached) " >&6
12578 if test "$cross_compiling" = yes; then :
12579 lt_cv_dlopen_self_static=cross
12581 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12582 lt_status=$lt_dlunknown
12583 cat > conftest.$ac_ext <<_LT_EOF
12584 #line 12584 "configure"
12585 #include "confdefs.h"
12594 # define LT_DLGLOBAL RTLD_GLOBAL
12597 # define LT_DLGLOBAL DL_GLOBAL
12599 # define LT_DLGLOBAL 0
12603 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12604 find out it does not work in some platform. */
12605 #ifndef LT_DLLAZY_OR_NOW
12607 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12610 # define LT_DLLAZY_OR_NOW DL_LAZY
12613 # define LT_DLLAZY_OR_NOW RTLD_NOW
12616 # define LT_DLLAZY_OR_NOW DL_NOW
12618 # define LT_DLLAZY_OR_NOW 0
12625 void fnord() { int i=42;}
12628 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12629 int status = $lt_dlunknown;
12633 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12634 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12635 /* dlclose (self); */
12643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12644 (eval $ac_link) 2>&5
12646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12648 (./conftest; exit; ) >&5 2>/dev/null
12650 case x$lt_status in
12651 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12652 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12653 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12656 # compilation failed
12657 lt_cv_dlopen_self_static=no
12664 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12665 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12668 CPPFLAGS="$save_CPPFLAGS"
12669 LDFLAGS="$save_LDFLAGS"
12674 case $lt_cv_dlopen_self in
12675 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12676 *) enable_dlopen_self=unknown ;;
12679 case $lt_cv_dlopen_self_static in
12680 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12681 *) enable_dlopen_self_static=unknown ;;
12703 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12704 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12705 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12706 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12707 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12708 { $as_echo "$as_me:$LINENO: result: yes" >&5
12709 $as_echo "yes" >&6; }
12711 # FIXME - insert some real tests, host_os isn't really good enough
12714 if test -n "$STRIP" ; then
12715 striplib="$STRIP -x"
12716 old_striplib="$STRIP -S"
12717 { $as_echo "$as_me:$LINENO: result: yes" >&5
12718 $as_echo "yes" >&6; }
12720 { $as_echo "$as_me:$LINENO: result: no" >&5
12721 $as_echo "no" >&6; }
12725 { $as_echo "$as_me:$LINENO: result: no" >&5
12726 $as_echo "no" >&6; }
12742 # Report which library types will actually be built
12743 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12744 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12745 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12746 $as_echo "$can_build_shared" >&6; }
12748 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12749 $as_echo_n "checking whether to build shared libraries... " >&6; }
12750 test "$can_build_shared" = "no" && enable_shared=no
12752 # On AIX, shared libraries and static libraries use the same namespace, and
12753 # are all built from PIC.
12756 test "$enable_shared" = yes && enable_static=no
12757 if test -n "$RANLIB"; then
12758 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12759 postinstall_cmds='$RANLIB $lib'
12764 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12765 test "$enable_shared" = yes && enable_static=no
12769 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12770 $as_echo "$enable_shared" >&6; }
12772 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12773 $as_echo_n "checking whether to build static libraries... " >&6; }
12774 # Make sure either enable_shared or enable_static is yes.
12775 test "$enable_shared" = yes || enable_static=yes
12776 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12777 $as_echo "$enable_static" >&6; }
12784 ac_cpp='$CPP $CPPFLAGS'
12785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12803 ac_config_commands="$ac_config_commands libtool"
12808 # Only expand once:
12813 # Check whether --enable-newlib_hw_fp was given.
12814 if test "${enable_newlib_hw_fp+set}" = set; then
12815 enableval=$enable_newlib_hw_fp; case "${enableval}" in
12816 yes) newlib_hw_fp=true ;;
12817 no) newlib_hw_fp=false ;;
12818 *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-newlib-hw-fp" >&5
12819 $as_echo "$as_me: error: bad value ${enableval} for --enable-newlib-hw-fp" >&2;}
12820 { (exit 1); exit 1; }; } ;;
12826 if test x$newlib_hw_fp = xtrue; then
12828 NEWLIB_HW_FP_FALSE='#'
12830 NEWLIB_HW_FP_TRUE='#'
12831 NEWLIB_HW_FP_FALSE=
12835 # These get added in the top-level configure.in, except in the case where
12836 # newlib is being built natively.
12837 LIBC_INCLUDE_GREP=`echo ${CC} | grep \/libc\/include`
12838 abs_newlib_basedir=`cd ${newlib_basedir} && pwd`
12839 if test -z "${LIBC_INCLUDE_GREP}"; then
12840 CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${abs_newlib_basedir}/libc/include"
12842 CC_FOR_NEWLIB="${CC}"
12848 subdirs="$subdirs libc"
12850 subdirs="$subdirs libm"
12853 if test -z "${with_multisubdir}"; then
12854 subdirs="$subdirs doc"
12860 if test x$have_doc = xyes; then
12871 i[34567]86-pc-linux-*)
12872 subdirs="$subdirs iconvdata"
12874 EXTRA_DIRS=iconvdata
12881 if test "x${have_crt0}" = "xyes"; then
12890 if test -n "${crt1_dir}"; then
12891 CRT1_DIR=${crt1_dir}/
12896 if test -n "${libm_machine_dir}"; then
12897 LIBM_MACHINE_OBJECTLIST=libm/machine/${libm_machine_dir}/objectlist.awk.in
12901 if test -n "${machine_dir}"; then
12902 MACHINE_OBJECTLIST=libc/machine/${machine_dir}/objectlist.awk.in
12906 if test -n "${sys_dir}"; then
12907 SYS_OBJECTLIST=libc/sys/${sys_dir}/objectlist.awk.in
12911 if test "${have_sys_mach_dir}" = "yes"; then
12912 SYS_MACH_OBJECTLIST=libc/sys/${sys_dir}/machine/${machine_dir}/objectlist.awk.in
12916 if test -n "${posix_dir}"; then
12917 POSIX_OBJECTLIST=libc/${posix_dir}/objectlist.awk.in
12921 if test -n "${signal_dir}"; then
12922 SIGNAL_OBJECTLIST=libc/${signal_dir}/objectlist.awk.in
12926 if test -n "${syscall_dir}"; then
12927 SYSCALL_OBJECTLIST=libc/${syscall_dir}/objectlist.awk.in
12931 if test -n "${unix_dir}"; then
12932 UNIX_OBJECTLIST=libc/${unix_dir}/objectlist.awk.in
12936 if test -n "${stdio64_dir}"; then
12937 STDIO64_OBJECTLIST=libc/${stdio64_dir}/objectlist.awk.in
12941 # Put a plausible default for CC_FOR_BUILD in Makefile.
12942 if test -z "$CC_FOR_BUILD"; then
12947 if test "${newlib_elix_level}" -gt "0"; then
12948 cat >>confdefs.h <<_ACEOF
12949 #define _ELIX_LEVEL ${newlib_elix_level}
12954 if test "${newlib_io_c99_formats}" = "yes"; then
12955 cat >>confdefs.h <<_ACEOF
12956 #define _WANT_IO_C99_FORMATS 1
12961 if test "${newlib_io_long_long}" = "yes"; then
12962 cat >>confdefs.h <<_ACEOF
12963 #define _WANT_IO_LONG_LONG 1
12968 if test "${newlib_io_long_double}" = "yes"; then
12969 cat >>confdefs.h <<_ACEOF
12970 #define _WANT_IO_LONG_DOUBLE 1
12975 if test "${newlib_io_pos_args}" = "yes"; then
12976 cat >>confdefs.h <<_ACEOF
12977 #define _WANT_IO_POS_ARGS 1
12982 if test "${newlib_reent_small}" = "yes"; then
12983 cat >>confdefs.h <<_ACEOF
12984 #define _WANT_REENT_SMALL 1
12989 if test "${newlib_mb}" = "yes"; then
12990 cat >>confdefs.h <<_ACEOF
12991 #define _MB_CAPABLE 1
12994 cat >>confdefs.h <<_ACEOF
12995 #define _MB_LEN_MAX 8
12999 cat >>confdefs.h <<_ACEOF
13000 #define _MB_LEN_MAX 1
13005 if test "${newlib_iconv_external_ccs}" = "yes"; then
13006 cat >>confdefs.h <<_ACEOF
13007 #define _ICONV_ENABLE_EXTERNAL_CCS 1
13012 cat >>confdefs.h <<_ACEOF
13013 #define _NEWLIB_VERSION "1.18.0"
13017 if test "${multilib}" = "yes"; then
13018 multilib_arg="--enable-multilib"
13023 if test "${newlib_iconv}" = "yes"; then
13024 cat >>confdefs.h <<_ACEOF
13025 #define _ICONV_ENABLED 1
13030 if test "x${newlib_iconv_external_ccs}" = "xyes"; then
13031 if test "x${newlib_iconv}" = "x"; then
13032 { { $as_echo "$as_me:$LINENO: error: --enable-newlib-iconv-external-ccs option can't be used if iconv library is disabled" >&5
13033 $as_echo "$as_me: error: --enable-newlib-iconv-external-ccs option can't be used if iconv library is disabled" >&2;}
13034 { (exit use --enable-newlib-iconv to enable it.); exit use --enable-newlib-iconv to enable it.; }; }
13036 cat >>confdefs.h <<_ACEOF
13037 #define _ICONV_ENABLE_EXTERNAL_CCS 1
13042 if test "${newlib_atexit_dynamic_alloc}" = "yes"; then
13043 cat >>confdefs.h <<_ACEOF
13044 #define _ATEXIT_DYNAMIC_ALLOC 1
13050 if test "x${iconv_encodings}" != "x" \
13051 || test "x${iconv_to_encodings}" != "x" \
13052 || test "x${iconv_from_encodings}" != "x"; then
13053 if test "x${newlib_iconv}" = "x"; then
13054 { { $as_echo "$as_me:$LINENO: error: --enable-newlib-iconv-encodings, --enable-newlib-iconv-from-encodings and --enable-newlib-iconv-to-encodings option can't be used if iconv library is disabled, use --enable-newlib-iconv to enable it." >&5
13055 $as_echo "$as_me: error: --enable-newlib-iconv-encodings, --enable-newlib-iconv-from-encodings and --enable-newlib-iconv-to-encodings option can't be used if iconv library is disabled, use --enable-newlib-iconv to enable it." >&2;}
13056 { (exit 1); exit 1; }; }
13059 iconv_encodings=`echo "${iconv_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
13060 iconv_to_encodings=`echo "${iconv_to_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
13061 iconv_from_encodings=`echo "${iconv_from_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
13063 available_encodings=`cat "${srcdir}/libc/iconv/encoding.aliases" | sed -e '/^#.*/d'`
13066 iconv_encodings1="${iconv_encodings}"
13068 for encoding in ${iconv_encodings1}; do
13069 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
13070 if test $? != "0"; then
13071 { { $as_echo "$as_me:$LINENO: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&5
13072 $as_echo "$as_me: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&2;}
13073 { (exit 1); exit 1; }; }
13075 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
13076 iconv_encodings="${iconv_encodings} ${encoding1}"
13078 for encoding in ${iconv_encodings}; do
13079 opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
13080 cat >>confdefs.h <<_ACEOF
13084 opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
13085 cat >>confdefs.h <<_ACEOF
13091 iconv_encodings1="${iconv_to_encodings}"
13092 iconv_to_encodings=""
13093 for encoding in ${iconv_encodings1}; do
13094 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
13095 if test $? != "0"; then
13096 { { $as_echo "$as_me:$LINENO: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&5
13097 $as_echo "$as_me: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&2;}
13098 { (exit 1); exit 1; }; }
13100 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
13101 iconv_to_encodings="${iconv_to_encodings} ${encoding1}"
13103 for encoding in ${iconv_to_encodings}; do
13104 opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
13105 cat >>confdefs.h <<_ACEOF
13111 iconv_encodings1="${iconv_from_encodings}"
13112 iconv_from_encodings=""
13113 for encoding in ${iconv_encodings1}; do
13114 result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"`
13115 if test $? != "0"; then
13116 { { $as_echo "$as_me:$LINENO: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&5
13117 $as_echo "$as_me: error: ${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings" >&2;}
13118 { (exit 1); exit 1; }; }
13120 encoding1=`echo "${result}" | sed -e 's/\(^[^ ]*\).*$/\1/'`
13121 iconv_from_encodings="${iconv_from_encodings} ${encoding1}"
13123 for encoding in ${iconv_from_encodings}; do
13124 opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
13125 cat >>confdefs.h <<_ACEOF
13132 { $as_echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
13133 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
13134 if test "${libc_cv_initfinit_array+set}" = set; then
13135 $as_echo_n "(cached) " >&6
13137 cat > conftest.c <<EOF
13138 int _start (void) { return 0; }
13139 int __start (void) { return 0; }
13140 int foo (void) { return 1; }
13141 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
13143 if { ac_try='${CC} $CFLAGS $CPPFLAGS -c -o conftest conftest.c
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }
13151 if ${READELF} -S conftest | grep -e INIT_ARRAY > /dev/null; then
13152 libc_cv_initfinit_array=yes
13154 libc_cv_initfinit_array=no
13157 libc_cv_initfinit_array=no
13161 { $as_echo "$as_me:$LINENO: result: $libc_cv_initfinit_array" >&5
13162 $as_echo "$libc_cv_initfinit_array" >&6; }
13164 if test $libc_cv_initfinit_array = yes; then
13165 cat >>confdefs.h <<_ACEOF
13166 #define HAVE_INITFINI_ARRAY 1
13171 { $as_echo "$as_me:$LINENO: checking whether long double type exists" >&5
13172 $as_echo_n "checking whether long double type exists... " >&6; }
13173 if test "${acnewlib_cv_type_long_double+set}" = set; then
13174 $as_echo_n "(cached) " >&6
13176 cat > conftest.c <<EOF
13177 /* Check two ways: float.h defines and direct type declaration. */
13179 #if defined(LDBL_MANT_DIG)
13180 #define _HAVE_LONG_DOUBLE
13182 #error "LDBL != DBL"
13184 long double test() {
13185 long double ld = 0.0L;
13189 if { ac_try='${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c
13191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13192 (eval $ac_try) 2>&5
13194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); }; }
13197 acnewlib_cv_type_long_double=yes;
13199 acnewlib_cv_type_long_double=no;
13203 { $as_echo "$as_me:$LINENO: result: $acnewlib_cv_type_long_double" >&5
13204 $as_echo "$acnewlib_cv_type_long_double" >&6; }
13205 if test $acnewlib_cv_type_long_double = yes; then
13206 cat >>confdefs.h <<_ACEOF
13207 #define _HAVE_LONG_DOUBLE 1
13211 if test x"$acnewlib_cv_type_long_double" = x"yes"; then
13212 HAVE_LONG_DOUBLE_TRUE=
13213 HAVE_LONG_DOUBLE_FALSE='#'
13215 HAVE_LONG_DOUBLE_TRUE='#'
13216 HAVE_LONG_DOUBLE_FALSE=
13220 { $as_echo "$as_me:$LINENO: checking whether long double equals double" >&5
13221 $as_echo_n "checking whether long double equals double... " >&6; }
13222 if test "${newlib_cv_ldbl_eq_dbl+set}" = set; then
13223 $as_echo_n "(cached) " >&6
13225 cat > conftest.c <<EOF
13227 #if DBL_MANT_DIG == LDBL_MANT_DIG && LDBL_MIN_EXP == DBL_MIN_EXP && \
13228 LDBL_MAX_EXP == DBL_MAX_EXP
13229 #define _LDBL_EQ_DBL
13231 #error "LDBL != DBL"
13234 if { ac_try='${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c
13236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13237 (eval $ac_try) 2>&5
13239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); }; }
13242 newlib_cv_ldbl_eq_dbl=yes;
13244 newlib_cv_ldbl_eq_dbl=no;
13248 { $as_echo "$as_me:$LINENO: result: $newlib_cv_ldbl_eq_dbl" >&5
13249 $as_echo "$newlib_cv_ldbl_eq_dbl" >&6; }
13250 if test $newlib_cv_ldbl_eq_dbl = yes; then
13251 cat >>confdefs.h <<_ACEOF
13252 #define _LDBL_EQ_DBL 1
13259 ac_config_files="$ac_config_files Makefile"
13261 cat >confcache <<\_ACEOF
13262 # This file is a shell script that caches the results of configure
13263 # tests run on this system so they can be shared between configure
13264 # scripts and configure runs, see configure's option --config-cache.
13265 # It is not useful on other systems. If it contains results you don't
13266 # want to keep, you may remove or edit it.
13268 # config.status only pays attention to the cache file if you give it
13269 # the --recheck option to rerun configure.
13271 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13272 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13273 # following values.
13277 # The following way of writing the cache mishandles newlines in values,
13278 # but we know of no workaround that is simple, portable, and efficient.
13279 # So, we kill variables containing newlines.
13280 # Ultrix sh set writes to stderr and can't be redirected directly,
13281 # and sets the high bit in the cache file unless we assign to the vars.
13283 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13284 eval ac_val=\$$ac_var
13288 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13289 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13292 _ | IFS | as_nl) ;; #(
13293 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13294 *) $as_unset $ac_var ;;
13300 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13301 *${as_nl}ac_space=\ *)
13302 # `set' does not quote correctly, so add quotes (double-quote
13303 # substitution turns \\\\ into \\, and sed turns \\ into \).
13306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13309 # `set' quotes correctly as required by POSIX, so do not add quotes.
13310 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13319 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13321 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13323 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13324 if test -w "$cache_file"; then
13325 test "x$cache_file" != "x/dev/null" &&
13326 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13327 $as_echo "$as_me: updating cache $cache_file" >&6;}
13328 cat confcache >$cache_file
13330 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13331 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13336 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13337 # Let make expand exec_prefix.
13338 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13340 DEFS=-DHAVE_CONFIG_H
13344 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13345 # 1. Remove the extension, and $U if already installed.
13346 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13347 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13348 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13349 # will be set to the directory where LIBOBJS objects are built.
13350 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13351 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13353 LIBOBJS=$ac_libobjs
13355 LTLIBOBJS=$ac_ltlibobjs
13358 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
13359 { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
13360 Usually this means the macro was only invoked conditionally." >&5
13361 $as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
13362 Usually this means the macro was only invoked conditionally." >&2;}
13363 { (exit 1); exit 1; }; }
13365 if test -n "$EXEEXT"; then
13367 am__EXEEXT_FALSE='#'
13369 am__EXEEXT_TRUE='#'
13373 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13374 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13375 Usually this means the macro was only invoked conditionally." >&5
13376 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13377 Usually this means the macro was only invoked conditionally." >&2;}
13378 { (exit 1); exit 1; }; }
13380 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13381 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13382 Usually this means the macro was only invoked conditionally." >&5
13383 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13384 Usually this means the macro was only invoked conditionally." >&2;}
13385 { (exit 1); exit 1; }; }
13387 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13388 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13389 Usually this means the macro was only invoked conditionally." >&5
13390 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13391 Usually this means the macro was only invoked conditionally." >&2;}
13392 { (exit 1); exit 1; }; }
13394 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
13395 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
13396 Usually this means the macro was only invoked conditionally." >&5
13397 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
13398 Usually this means the macro was only invoked conditionally." >&2;}
13399 { (exit 1); exit 1; }; }
13401 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
13402 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
13403 Usually this means the macro was only invoked conditionally." >&5
13404 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
13405 Usually this means the macro was only invoked conditionally." >&2;}
13406 { (exit 1); exit 1; }; }
13408 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
13409 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
13410 Usually this means the macro was only invoked conditionally." >&5
13411 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
13412 Usually this means the macro was only invoked conditionally." >&2;}
13413 { (exit 1); exit 1; }; }
13415 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
13416 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
13417 Usually this means the macro was only invoked conditionally." >&5
13418 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
13419 Usually this means the macro was only invoked conditionally." >&2;}
13420 { (exit 1); exit 1; }; }
13422 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
13423 { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
13424 Usually this means the macro was only invoked conditionally." >&5
13425 $as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
13426 Usually this means the macro was only invoked conditionally." >&2;}
13427 { (exit 1); exit 1; }; }
13429 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
13430 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
13431 Usually this means the macro was only invoked conditionally." >&5
13432 $as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
13433 Usually this means the macro was only invoked conditionally." >&2;}
13434 { (exit 1); exit 1; }; }
13436 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13437 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13438 Usually this means the macro was only invoked conditionally." >&5
13439 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13440 Usually this means the macro was only invoked conditionally." >&2;}
13441 { (exit 1); exit 1; }; }
13443 if test -z "${NEWLIB_HW_FP_TRUE}" && test -z "${NEWLIB_HW_FP_FALSE}"; then
13444 { { $as_echo "$as_me:$LINENO: error: conditional \"NEWLIB_HW_FP\" was never defined.
13445 Usually this means the macro was only invoked conditionally." >&5
13446 $as_echo "$as_me: error: conditional \"NEWLIB_HW_FP\" was never defined.
13447 Usually this means the macro was only invoked conditionally." >&2;}
13448 { (exit 1); exit 1; }; }
13450 if test -z "${HAVE_DOC_TRUE}" && test -z "${HAVE_DOC_FALSE}"; then
13451 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DOC\" was never defined.
13452 Usually this means the macro was only invoked conditionally." >&5
13453 $as_echo "$as_me: error: conditional \"HAVE_DOC\" was never defined.
13454 Usually this means the macro was only invoked conditionally." >&2;}
13455 { (exit 1); exit 1; }; }
13457 if test -z "${HAVE_LONG_DOUBLE_TRUE}" && test -z "${HAVE_LONG_DOUBLE_FALSE}"; then
13458 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_LONG_DOUBLE\" was never defined.
13459 Usually this means the macro was only invoked conditionally." >&5
13460 $as_echo "$as_me: error: conditional \"HAVE_LONG_DOUBLE\" was never defined.
13461 Usually this means the macro was only invoked conditionally." >&2;}
13462 { (exit 1); exit 1; }; }
13465 : ${CONFIG_STATUS=./config.status}
13467 ac_clean_files_save=$ac_clean_files
13468 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13469 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13470 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13471 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13473 # Generated by $as_me.
13474 # Run this file to recreate the current configuration.
13475 # Compiler output produced by configure, useful for debugging
13476 # configure, is in config.log if it exists.
13479 ac_cs_recheck=false
13481 SHELL=\${CONFIG_SHELL-$SHELL}
13484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13485 ## --------------------- ##
13486 ## M4sh Initialization. ##
13487 ## --------------------- ##
13489 # Be more Bourne compatible
13490 DUALCASE=1; export DUALCASE # for MKS sh
13491 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13494 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13495 # is contrary to our usage. Disable this feature.
13496 alias -g '${1+"$@"}'='"$@"'
13497 setopt NO_GLOB_SUBST
13499 case `(set -o) 2>/dev/null` in
13500 *posix*) set -o posix ;;
13509 # Avoid depending upon Character Ranges.
13510 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13511 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13512 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13513 as_cr_digits='0123456789'
13514 as_cr_alnum=$as_cr_Letters$as_cr_digits
13519 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13520 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13521 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13522 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13523 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13524 as_echo='printf %s\n'
13525 as_echo_n='printf %s'
13527 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13528 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13529 as_echo_n='/usr/ucb/echo -n'
13531 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13532 as_echo_n_body='eval
13536 expr "X$arg" : "X\\(.*\\)$as_nl";
13537 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13539 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13541 export as_echo_n_body
13542 as_echo_n='sh -c $as_echo_n_body as_echo'
13544 export as_echo_body
13545 as_echo='sh -c $as_echo_body as_echo'
13548 # The user is always right.
13549 if test "${PATH_SEPARATOR+set}" != set; then
13551 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13552 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13557 # Support unset when possible.
13558 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13566 # We need space, tab and new line, in precisely that order. Quoting is
13567 # there to prevent editors from complaining about space-tab.
13568 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13569 # splitting by setting IFS to empty value.)
13572 # Find who we are. Look in the path if we contain no directory separator.
13574 *[\\/]* ) as_myself=$0 ;;
13575 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13576 for as_dir in $PATH
13579 test -z "$as_dir" && as_dir=.
13580 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13586 # We did not find ourselves, most probably we were run as `sh COMMAND'
13587 # in which case we are not to be found in the path.
13588 if test "x$as_myself" = x; then
13591 if test ! -f "$as_myself"; then
13592 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13593 { (exit 1); exit 1; }
13596 # Work around bugs in pre-3.0 UWIN ksh.
13597 for as_var in ENV MAIL MAILPATH
13598 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13610 # Required to use basename.
13611 if expr a : '\(a\)' >/dev/null 2>&1 &&
13612 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13618 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13619 as_basename=basename
13625 # Name of the executable.
13626 as_me=`$as_basename -- "$0" ||
13627 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13628 X"$0" : 'X\(//\)$' \| \
13629 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13631 sed '/^.*\/\([^/][^/]*\)\/*$/{
13650 as_lineno_1=$LINENO
13651 as_lineno_2=$LINENO
13652 test "x$as_lineno_1" != "x$as_lineno_2" &&
13653 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13655 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13656 # uniformly replaced by the line number. The first 'sed' inserts a
13657 # line-number line after each line using $LINENO; the second 'sed'
13658 # does the real work. The second script uses 'N' to pair each
13659 # line-number line with the line containing $LINENO, and appends
13660 # trailing '-' during substitution so that $LINENO is not a special
13661 # case at line end.
13662 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13663 # scripts with optimization help from Paolo Bonzini. Blame Lee
13664 # E. McMahon (1931-1989) for sed's syntax. :-)
13676 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13679 ' >$as_me.lineno &&
13680 chmod +x "$as_me.lineno" ||
13681 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13682 { (exit 1); exit 1; }; }
13684 # Don't try to exec as it changes $[0], causing all sort of problems
13685 # (the dirname of $[0] is not the place where we might find the
13686 # original and so on. Autoconf is especially sensitive to this).
13687 . "./$as_me.lineno"
13688 # Exit status is that of the last command.
13693 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13699 ECHO_C= ECHO_N= ECHO_T=
13700 case `echo -n x` in
13702 case `echo 'x\c'` in
13703 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13709 if expr a : '\(a\)' >/dev/null 2>&1 &&
13710 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13716 rm -f conf$$ conf$$.exe conf$$.file
13717 if test -d conf$$.dir; then
13718 rm -f conf$$.dir/conf$$.file
13721 mkdir conf$$.dir 2>/dev/null
13723 if (echo >conf$$.file) 2>/dev/null; then
13724 if ln -s conf$$.file conf$$ 2>/dev/null; then
13726 # ... but there are two gotchas:
13727 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13728 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13729 # In both cases, we have to default to `cp -p'.
13730 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13732 elif ln conf$$.file conf$$ 2>/dev/null; then
13740 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13741 rmdir conf$$.dir 2>/dev/null
13743 if mkdir -p . 2>/dev/null; then
13746 test -d ./-p && rmdir ./-p
13750 if test -x / >/dev/null 2>&1; then
13751 as_test_x='test -x'
13753 if ls -dL / >/dev/null 2>&1; then
13760 if test -d "$1"; then
13766 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13767 ???[sx]*):;;*)false;;esac;fi
13771 as_executable_p=$as_test_x
13773 # Sed expression to map a string onto a valid CPP name.
13774 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13776 # Sed expression to map a string onto a valid variable name.
13777 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13782 # Save the log message, to keep $[0] and so on meaningful, and to
13783 # report actual input values of CONFIG_FILES etc. instead of their
13784 # values after options handling.
13786 This file was extended by newlib $as_me 1.18.0, which was
13787 generated by GNU Autoconf 2.63. Invocation command line was
13789 CONFIG_FILES = $CONFIG_FILES
13790 CONFIG_HEADERS = $CONFIG_HEADERS
13791 CONFIG_LINKS = $CONFIG_LINKS
13792 CONFIG_COMMANDS = $CONFIG_COMMANDS
13795 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13800 case $ac_config_files in *"
13801 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13804 case $ac_config_headers in *"
13805 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13810 # Files that config.status was made for.
13811 config_files="$ac_config_files"
13812 config_headers="$ac_config_headers"
13813 config_commands="$ac_config_commands"
13817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13819 \`$as_me' instantiates files from templates according to the
13820 current configuration.
13822 Usage: $0 [OPTION]... [FILE]...
13824 -h, --help print this help, then exit
13825 -V, --version print version number and configuration settings, then exit
13826 -q, --quiet, --silent
13827 do not print progress messages
13828 -d, --debug don't remove temporary files
13829 --recheck update $as_me by reconfiguring in the same conditions
13830 --file=FILE[:TEMPLATE]
13831 instantiate the configuration file FILE
13832 --header=FILE[:TEMPLATE]
13833 instantiate the configuration header FILE
13835 Configuration files:
13838 Configuration headers:
13841 Configuration commands:
13844 Report bugs to <bug-autoconf@gnu.org>."
13847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13849 newlib config.status 1.18.0
13850 configured by $0, generated by GNU Autoconf 2.63,
13851 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13853 Copyright (C) 2008 Free Software Foundation, Inc.
13854 This config.status script is free software; the Free Software Foundation
13855 gives unlimited permission to copy, distribute and modify it."
13862 test -n "\$AWK" || AWK=awk
13865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13866 # The default lists apply if the user does not specify any file.
13872 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13873 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13884 # Handling of the options.
13885 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13887 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13888 $as_echo "$ac_cs_version"; exit ;;
13889 --debug | --debu | --deb | --de | --d | -d )
13891 --file | --fil | --fi | --f )
13894 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13896 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13897 ac_need_defaults=false;;
13898 --header | --heade | --head | --hea )
13901 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13903 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13904 ac_need_defaults=false;;
13906 # Conflict between --help and --header
13907 { $as_echo "$as_me: error: ambiguous option: $1
13908 Try \`$0 --help' for more information." >&2
13909 { (exit 1); exit 1; }; };;
13910 --help | --hel | -h )
13911 $as_echo "$ac_cs_usage"; exit ;;
13912 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13913 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13916 # This is an error.
13917 -*) { $as_echo "$as_me: error: unrecognized option: $1
13918 Try \`$0 --help' for more information." >&2
13919 { (exit 1); exit 1; }; } ;;
13921 *) ac_config_targets="$ac_config_targets $1"
13922 ac_need_defaults=false ;;
13928 ac_configure_extra_args=
13930 if $ac_cs_silent; then
13932 ac_configure_extra_args="$ac_configure_extra_args --silent"
13936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13937 if \$ac_cs_recheck; then
13938 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13940 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13941 CONFIG_SHELL='$SHELL'
13942 export CONFIG_SHELL
13947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13951 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13952 ## Running $as_me. ##
13958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13962 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13965 # The HP-UX ksh and POSIX shell print the target directory to stdout
13966 # if CDPATH is set.
13967 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13969 sed_quote_subst='$sed_quote_subst'
13970 double_quote_subst='$double_quote_subst'
13971 delay_variable_subst='$delay_variable_subst'
13972 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13973 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13974 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13975 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13976 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13977 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13978 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13979 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13980 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13981 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13982 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13983 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13984 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13985 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13986 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13987 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13988 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13989 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13990 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13991 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13992 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13993 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13994 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13995 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13996 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13997 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13998 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13999 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14000 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14001 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14002 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14003 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14004 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14005 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14006 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14007 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14008 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14009 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14010 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14011 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14012 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14013 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14014 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14015 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14016 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14017 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14018 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"`'
14019 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"`'
14020 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14021 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14022 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14023 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14024 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14025 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14026 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14027 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14028 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14029 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14030 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14031 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14032 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14033 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14034 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14035 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14036 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14037 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14038 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14039 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14040 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14041 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14042 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14043 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14044 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14045 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14046 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14047 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14048 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14049 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14050 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14051 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14052 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14053 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14054 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14055 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14056 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14057 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14058 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14059 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14060 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14061 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14062 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14063 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14064 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14065 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14066 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14067 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14068 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14069 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14070 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14071 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14072 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14073 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14074 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14075 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14076 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14077 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14078 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14079 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14080 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14081 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14082 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14083 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14084 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14085 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14086 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14087 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14088 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14089 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14090 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14091 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14094 LTCFLAGS='$LTCFLAGS'
14095 compiler='$compiler_DEFAULT'
14097 # Quote evaled strings.
14108 deplibs_check_method \
14117 lt_cv_sys_global_symbol_pipe \
14118 lt_cv_sys_global_symbol_to_cdecl \
14119 lt_cv_sys_global_symbol_to_c_name_address \
14120 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14123 lt_prog_compiler_no_builtin_flag \
14124 lt_prog_compiler_wl \
14125 lt_prog_compiler_pic \
14126 lt_prog_compiler_static \
14127 lt_cv_prog_compiler_c_o \
14135 export_dynamic_flag_spec \
14136 whole_archive_flag_spec \
14137 compiler_needs_object \
14139 allow_undefined_flag \
14140 no_undefined_flag \
14141 hardcode_libdir_flag_spec \
14142 hardcode_libdir_flag_spec_ld \
14143 hardcode_libdir_separator \
14148 variables_saved_for_relink \
14150 library_names_spec \
14155 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14156 *[\\\\\\\`\\"\\\$]*)
14157 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14160 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14165 # Double-quote double-evaled strings.
14166 for var in reload_cmds \
14167 old_postinstall_cmds \
14168 old_postuninstall_cmds \
14170 extract_expsyms_cmds \
14171 old_archive_from_new_cmds \
14172 old_archive_from_expsyms_cmds \
14174 archive_expsym_cmds \
14176 module_expsym_cmds \
14177 export_symbols_cmds \
14180 postuninstall_cmds \
14182 sys_lib_search_path_spec \
14183 sys_lib_dlsearch_path_spec; do
14184 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14185 *[\\\\\\\`\\"\\\$]*)
14186 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14189 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14194 # Fix-up fallback echo if it was mangled by the above quoting rules.
14196 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14200 ac_aux_dir='$ac_aux_dir'
14201 xsi_shell='$xsi_shell'
14202 lt_shell_append='$lt_shell_append'
14204 # See if we are running on zsh, and set the options which allow our
14205 # commands through without removal of \ escapes INIT.
14206 if test -n "\${ZSH_VERSION+set}" ; then
14207 setopt NO_GLOB_SUBST
14213 TIMESTAMP='$TIMESTAMP'
14221 with_multisubdir=${with_multisubdir}
14222 ac_configure_args="${multilib_arg} ${ac_configure_args}"
14223 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
14224 newlib_basedir=${newlib_basedir}
14226 LDFLAGS="${LDFLAGS}"
14231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14233 # Handling of arguments.
14234 for ac_config_target in $ac_config_targets
14236 case $ac_config_target in
14237 "newlib.h") CONFIG_HEADERS="$CONFIG_HEADERS newlib.h:newlib.hin" ;;
14238 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14239 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14240 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14242 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14243 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14244 { (exit 1); exit 1; }; };;
14249 # If the user did not use the arguments to specify the items to instantiate,
14250 # then the envvar interface is used. Set only those that are not.
14251 # We use the long form for the default assignment because of an extremely
14252 # bizarre bug on SunOS 4.1.3.
14253 if $ac_need_defaults; then
14254 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14255 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14256 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14259 # Have a temporary directory for convenience. Make it in the build tree
14260 # simply because there is no reason against having it here, and in addition,
14261 # creating and moving files from /tmp can sometimes cause problems.
14262 # Hook for its removal unless debugging.
14263 # Note that there is a small window in which the directory will not be cleaned:
14264 # after its creation but before its name has been assigned to `$tmp'.
14268 trap 'exit_status=$?
14269 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14271 trap '{ (exit 1); exit 1; }' 1 2 13 15
14273 # Create a (secure) tmp directory for tmp files.
14276 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14277 test -n "$tmp" && test -d "$tmp"
14280 tmp=./conf$$-$RANDOM
14281 (umask 077 && mkdir "$tmp")
14284 $as_echo "$as_me: cannot create a temporary directory in ." >&2
14285 { (exit 1); exit 1; }
14288 # Set up the scripts for CONFIG_FILES section.
14289 # No need to generate them if there are no CONFIG_FILES.
14290 # This happens for instance with `./config.status config.h'.
14291 if test -n "$CONFIG_FILES"; then
14295 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14296 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14299 ac_cs_awk_cr=$ac_cr
14302 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14307 echo "cat >conf$$subs.awk <<_ACEOF" &&
14308 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14310 } >conf$$subs.sh ||
14311 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14312 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14313 { (exit 1); exit 1; }; }
14314 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14316 for ac_last_try in false false false false false :; do
14317 . ./conf$$subs.sh ||
14318 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14319 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14320 { (exit 1); exit 1; }; }
14322 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14323 if test $ac_delim_n = $ac_delim_num; then
14325 elif $ac_last_try; then
14326 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14327 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14328 { (exit 1); exit 1; }; }
14330 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14333 rm -f conf$$subs.sh
14335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14336 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14340 s/^/S["/; s/!.*/"]=/
14350 s/\(.\{148\}\).*/\1/
14352 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14357 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14364 s/\(.\{148\}\).*/\1/
14366 s/["\\]/\\&/g; s/^/"/; s/$/"/
14370 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14375 ' <conf$$subs.awk | sed '
14380 ' >>$CONFIG_STATUS || ac_write_fail=1
14381 rm -f conf$$subs.awk
14382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14384 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14385 for (key in S) S_is_set[key] = 1
14391 nfields = split(line, field, "@")
14393 len = length(field[1])
14394 for (i = 2; i < nfields; i++) {
14396 keylen = length(key)
14397 if (S_is_set[key]) {
14399 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14400 len += length(value) + length(field[++i])
14411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14412 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14413 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14416 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14417 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14418 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
14419 { (exit 1); exit 1; }; }
14422 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14423 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14424 # trailing colons and then remove the whole line if VPATH becomes empty
14425 # (actually we leave an empty line to preserve line numbers).
14426 if test "x$srcdir" = x.; then
14427 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14428 s/:*\$(srcdir):*/:/
14429 s/:*\${srcdir}:*/:/
14431 s/^\([^=]*=[ ]*\):*/\1/
14437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14438 fi # test -n "$CONFIG_FILES"
14440 # Set up the scripts for CONFIG_HEADERS section.
14441 # No need to generate them if there are no CONFIG_HEADERS.
14442 # This happens for instance with `./config.status Makefile'.
14443 if test -n "$CONFIG_HEADERS"; then
14444 cat >"$tmp/defines.awk" <<\_ACAWK ||
14448 # Transform confdefs.h into an awk script `defines.awk', embedded as
14449 # here-document in config.status, that substitutes the proper values into
14450 # config.h.in to produce config.h.
14452 # Create a delimiter string that does not exist in confdefs.h, to ease
14453 # handling of long lines.
14455 for ac_last_try in false false :; do
14456 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14457 if test -z "$ac_t"; then
14459 elif $ac_last_try; then
14460 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14461 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14462 { (exit 1); exit 1; }; }
14464 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14468 # For the awk script, D is an array of macro values keyed by name,
14469 # likewise P contains macro parameters if any. Preserve backslash
14470 # newline sequences.
14472 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14474 s/.\{148\}/&'"$ac_delim"'/g
14477 s/^[ ]*#[ ]*define[ ][ ]*/ /
14484 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14486 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14490 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14491 D["\1"]=" \3\\\\\\n"\\/p
14493 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14498 s/.\{148\}/&'"$ac_delim"'/g
14503 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14506 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14508 ' <confdefs.h | sed '
14509 s/'"$ac_delim"'/"\\\
14510 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14513 for (key in D) D_is_set[key] = 1
14516 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14518 split(line, arg, " ")
14519 if (arg[1] == "#") {
14523 defundef = substr(arg[1], 2)
14526 split(mac1, mac2, "(") #)
14528 prefix = substr(line, 1, index(line, defundef) - 1)
14529 if (D_is_set[macro]) {
14530 # Preserve the white space surrounding the "#".
14531 print prefix "define", macro P[macro] D[macro]
14534 # Replace #undef with comments. This is necessary, for example,
14535 # in the case of _POSIX_SOURCE, which is predefined and required
14536 # on some systems where configure will not decide to define it.
14537 if (defundef == "undef") {
14538 print "/*", prefix defundef, macro, "*/"
14546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14547 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14548 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14549 { (exit 1); exit 1; }; }
14550 fi # test -n "$CONFIG_HEADERS"
14553 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14558 :[FHLC]) ac_mode=$ac_tag; continue;;
14560 case $ac_mode$ac_tag in
14562 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14563 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14564 { (exit 1); exit 1; }; };;
14565 :[FH]-) ac_tag=-:-;;
14566 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14583 -) ac_f="$tmp/stdin";;
14584 *) # Look for the file first in the build tree, then in the source tree
14585 # (if the path is not absolute). The absolute path cannot be DOS-style,
14586 # because $ac_f cannot contain `:'.
14590 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14592 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14593 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14594 { (exit 1); exit 1; }; };;
14596 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14597 ac_file_inputs="$ac_file_inputs '$ac_f'"
14600 # Let's still pretend it is `configure' which instantiates (i.e., don't
14601 # use $as_me), people would be surprised to read:
14602 # /* config.h. Generated by config.status. */
14603 configure_input='Generated from '`
14604 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14606 if test x"$ac_file" != x-; then
14607 configure_input="$ac_file. $configure_input"
14608 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14609 $as_echo "$as_me: creating $ac_file" >&6;}
14611 # Neutralize special characters interpreted by sed in replacement strings.
14612 case $configure_input in #(
14613 *\&* | *\|* | *\\* )
14614 ac_sed_conf_input=`$as_echo "$configure_input" |
14615 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14616 *) ac_sed_conf_input=$configure_input;;
14620 *:-:* | *:-) cat >"$tmp/stdin" \
14621 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14622 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14623 { (exit 1); exit 1; }; } ;;
14628 ac_dir=`$as_dirname -- "$ac_file" ||
14629 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14630 X"$ac_file" : 'X\(//\)[^/]' \| \
14631 X"$ac_file" : 'X\(//\)$' \| \
14632 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14633 $as_echo X"$ac_file" |
14634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14638 /^X\(\/\/\)[^/].*/{
14653 -*) as_dir=./$as_dir;;
14655 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14659 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14660 *) as_qdir=$as_dir;;
14662 as_dirs="'$as_qdir' $as_dirs"
14663 as_dir=`$as_dirname -- "$as_dir" ||
14664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14665 X"$as_dir" : 'X\(//\)[^/]' \| \
14666 X"$as_dir" : 'X\(//\)$' \| \
14667 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14668 $as_echo X"$as_dir" |
14669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14673 /^X\(\/\/\)[^/].*/{
14686 test -d "$as_dir" && break
14688 test -z "$as_dirs" || eval "mkdir $as_dirs"
14689 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14690 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14691 { (exit 1); exit 1; }; }; }
14695 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14697 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14698 # A ".." for each directory in $ac_dir_suffix.
14699 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14700 case $ac_top_builddir_sub in
14701 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14702 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14705 ac_abs_top_builddir=$ac_pwd
14706 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14707 # for backward compatibility:
14708 ac_top_builddir=$ac_top_build_prefix
14711 .) # We are building in place.
14713 ac_top_srcdir=$ac_top_builddir_sub
14714 ac_abs_top_srcdir=$ac_pwd ;;
14715 [\\/]* | ?:[\\/]* ) # Absolute name.
14716 ac_srcdir=$srcdir$ac_dir_suffix;
14717 ac_top_srcdir=$srcdir
14718 ac_abs_top_srcdir=$srcdir ;;
14719 *) # Relative name.
14720 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14721 ac_top_srcdir=$ac_top_build_prefix$srcdir
14722 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14724 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14734 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14735 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14737 ac_MKDIR_P=$MKDIR_P
14739 [\\/$]* | ?:[\\/]* ) ;;
14740 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14745 # If the template does not know about datarootdir, expand it.
14746 # FIXME: This hack should be removed a few years after 2.60.
14747 ac_datarootdir_hack=; ac_datarootdir_seen=
14760 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14761 *datarootdir*) ac_datarootdir_seen=yes;;
14762 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14763 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14764 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14767 ac_datarootdir_hack='
14768 s&@datadir@&$datadir&g
14769 s&@docdir@&$docdir&g
14770 s&@infodir@&$infodir&g
14771 s&@localedir@&$localedir&g
14772 s&@mandir@&$mandir&g
14773 s&\\\${datarootdir}&$datarootdir&g' ;;
14777 # Neutralize VPATH when `$srcdir' = `.'.
14778 # Shell code in configure.ac might set extrasub.
14779 # FIXME: do we really want to maintain this feature?
14780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14781 ac_sed_extra="$ac_vpsub
14784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14786 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14787 s|@configure_input@|$ac_sed_conf_input|;t t
14788 s&@top_builddir@&$ac_top_builddir_sub&;t t
14789 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14790 s&@srcdir@&$ac_srcdir&;t t
14791 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14792 s&@top_srcdir@&$ac_top_srcdir&;t t
14793 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14794 s&@builddir@&$ac_builddir&;t t
14795 s&@abs_builddir@&$ac_abs_builddir&;t t
14796 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14797 s&@INSTALL@&$ac_INSTALL&;t t
14798 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14799 $ac_datarootdir_hack
14801 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14802 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14803 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14804 { (exit 1); exit 1; }; }
14806 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14807 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14808 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14809 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14810 which seems to be undefined. Please make sure it is defined." >&5
14811 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14812 which seems to be undefined. Please make sure it is defined." >&2;}
14816 -) cat "$tmp/out" && rm -f "$tmp/out";;
14817 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14819 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14820 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14821 { (exit 1); exit 1; }; }
14827 if test x"$ac_file" != x-; then
14829 $as_echo "/* $configure_input */" \
14830 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14831 } >"$tmp/config.h" \
14832 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14833 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14834 { (exit 1); exit 1; }; }
14835 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14836 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14837 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14840 mv "$tmp/config.h" "$ac_file" \
14841 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14842 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14843 { (exit 1); exit 1; }; }
14846 $as_echo "/* $configure_input */" \
14847 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14848 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14849 $as_echo "$as_me: error: could not create -" >&2;}
14850 { (exit 1); exit 1; }; }
14852 # Compute "$ac_file"'s index in $config_headers.
14855 for _am_header in $config_headers :; do
14856 case $_am_header in
14857 $_am_arg | $_am_arg:* )
14860 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14863 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14864 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14865 X"$_am_arg" : 'X\(//\)[^/]' \| \
14866 X"$_am_arg" : 'X\(//\)$' \| \
14867 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14868 $as_echo X"$_am_arg" |
14869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14873 /^X\(\/\/\)[^/].*/{
14885 s/.*/./; q'`/stamp-h$_am_stamp_count
14888 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14889 $as_echo "$as_me: executing $ac_file commands" >&6;}
14894 case $ac_file$ac_mode in
14895 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14896 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14897 # are listed without --file. Let's play safe and only enable the eval
14898 # if we detect the quoting.
14899 case $CONFIG_FILES in
14900 *\'*) eval set x "$CONFIG_FILES" ;;
14901 *) set x $CONFIG_FILES ;;
14906 # Strip MF so we end up with the name of the file.
14907 mf=`echo "$mf" | sed -e 's/:.*$//'`
14908 # Check whether this is an Automake generated Makefile or not.
14909 # We used to match only the files named `Makefile.in', but
14910 # some people rename them; so instead we look at the file content.
14911 # Grep'ing the first line is not enough: some people post-process
14912 # each Makefile.in and add a new line on top of each file to say so.
14913 # Grep'ing the whole file is not good either: AIX grep has a line
14914 # limit of 2048, but all sed's we know have understand at least 4000.
14915 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14916 dirpart=`$as_dirname -- "$mf" ||
14917 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14918 X"$mf" : 'X\(//\)[^/]' \| \
14919 X"$mf" : 'X\(//\)$' \| \
14920 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14926 /^X\(\/\/\)[^/].*/{
14942 # Extract the definition of DEPDIR, am__include, and am__quote
14943 # from the Makefile without running `make'.
14944 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14945 test -z "$DEPDIR" && continue
14946 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14947 test -z "am__include" && continue
14948 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14949 # When using ansi2knr, U may be empty or an underscore; expand it
14950 U=`sed -n 's/^U = //p' < "$mf"`
14951 # Find all dependency output files, they are included files with
14952 # $(DEPDIR) in their names. We invoke sed twice because it is the
14953 # simplest approach to changing $(DEPDIR) to its actual value in the
14955 for file in `sed -n "
14956 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14957 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14958 # Make sure the directory exists.
14959 test -f "$dirpart/$file" && continue
14960 fdir=`$as_dirname -- "$file" ||
14961 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14962 X"$file" : 'X\(//\)[^/]' \| \
14963 X"$file" : 'X\(//\)$' \| \
14964 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14965 $as_echo X"$file" |
14966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14970 /^X\(\/\/\)[^/].*/{
14983 { as_dir=$dirpart/$fdir
14985 -*) as_dir=./$as_dir;;
14987 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14991 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14992 *) as_qdir=$as_dir;;
14994 as_dirs="'$as_qdir' $as_dirs"
14995 as_dir=`$as_dirname -- "$as_dir" ||
14996 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14997 X"$as_dir" : 'X\(//\)[^/]' \| \
14998 X"$as_dir" : 'X\(//\)$' \| \
14999 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15000 $as_echo X"$as_dir" |
15001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15005 /^X\(\/\/\)[^/].*/{
15018 test -d "$as_dir" && break
15020 test -z "$as_dirs" || eval "mkdir $as_dirs"
15021 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15022 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15023 { (exit 1); exit 1; }; }; }
15024 # echo "creating $dirpart/$file"
15025 echo '# dummy' > "$dirpart/$file"
15032 # See if we are running on zsh, and set the options which allow our
15033 # commands through without removal of \ escapes.
15034 if test -n "${ZSH_VERSION+set}" ; then
15035 setopt NO_GLOB_SUBST
15038 cfgfile="${ofile}T"
15039 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15042 cat <<_LT_EOF >> "$cfgfile"
15045 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15046 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15047 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15048 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15050 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15051 # 2006, 2007, 2008 Free Software Foundation, Inc.
15052 # Written by Gordon Matzigkeit, 1996
15054 # This file is part of GNU Libtool.
15056 # GNU Libtool is free software; you can redistribute it and/or
15057 # modify it under the terms of the GNU General Public License as
15058 # published by the Free Software Foundation; either version 2 of
15059 # the License, or (at your option) any later version.
15061 # As a special exception to the GNU General Public License,
15062 # if you distribute this file as part of a program or library that
15063 # is built using GNU Libtool, you may include this file under the
15064 # same distribution terms that you use for the rest of that program.
15066 # GNU Libtool is distributed in the hope that it will be useful,
15067 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15068 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15069 # GNU General Public License for more details.
15071 # You should have received a copy of the GNU General Public License
15072 # along with GNU Libtool; see the file COPYING. If not, a copy
15073 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15074 # obtained by writing to the Free Software Foundation, Inc.,
15075 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15078 # The names of the tagged configurations supported by this script.
15081 # ### BEGIN LIBTOOL CONFIG
15083 # A sed program that does not truncate output.
15086 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15087 Xsed="\$SED -e 1s/^X//"
15089 # Assembler program.
15092 # DLL creation program.
15095 # Object dumper program.
15098 # Which release of libtool.m4 was used?
15099 macro_version=$macro_version
15100 macro_revision=$macro_revision
15102 # Whether or not to build shared libraries.
15103 build_libtool_libs=$enable_shared
15105 # Whether or not to build static libraries.
15106 build_old_libs=$enable_static
15108 # What type of objects to build.
15111 # Whether or not to optimize for fast installation.
15112 fast_install=$enable_fast_install
15115 host_alias=$host_alias
15119 # The build system.
15120 build_alias=$build_alias
15124 # A grep program that handles long lines.
15130 # A literal string matcher.
15133 # A BSD- or MS-compatible name lister.
15136 # Whether we need soft or hard links.
15139 # What is the maximum length of a command?
15140 max_cmd_len=$max_cmd_len
15142 # Object file suffix (normally "o").
15145 # Executable file suffix (normally "").
15148 # whether the shell understands "unset".
15151 # turn spaces into newlines.
15154 # turn newlines into spaces.
15157 # How to create reloadable object files.
15158 reload_flag=$lt_reload_flag
15159 reload_cmds=$lt_reload_cmds
15161 # Method to check whether dependent libraries are shared objects.
15162 deplibs_check_method=$lt_deplibs_check_method
15164 # Command to use when deplibs_check_method == "file_magic".
15165 file_magic_cmd=$lt_file_magic_cmd
15169 AR_FLAGS=$lt_AR_FLAGS
15171 # A symbol stripping program.
15174 # Commands used to install an old-style archive.
15176 old_postinstall_cmds=$lt_old_postinstall_cmds
15177 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15182 # LTCC compiler flags.
15183 LTCFLAGS=$lt_CFLAGS
15185 # Take the output of nm and produce a listing of raw symbols and C names.
15186 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15188 # Transform the output of nm in a proper C declaration.
15189 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15191 # Transform the output of nm in a C name address pair.
15192 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15194 # Transform the output of nm in a C name address pair when lib prefix is needed.
15195 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15197 # The name of the directory that contains temporary libtool files.
15200 # Shell to use when invoking shell scripts.
15203 # An echo program that does not interpret backslashes.
15206 # Used to examine libraries when file_magic_cmd begins with "file".
15207 MAGIC_CMD=$MAGIC_CMD
15209 # Must we lock files when doing compilation?
15210 need_locks=$lt_need_locks
15212 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15213 DSYMUTIL=$lt_DSYMUTIL
15215 # Tool to change global to local symbols on Mac OS X.
15218 # Tool to manipulate fat objects and archives on Mac OS X.
15221 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15224 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15225 OTOOL64=$lt_OTOOL64
15227 # Old archive suffix (normally "a").
15230 # Shared library suffix (normally ".so").
15231 shrext_cmds=$lt_shrext_cmds
15233 # The commands to extract the exported symbol list from a shared archive.
15234 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15236 # Variables whose values should be saved in libtool wrapper scripts and
15237 # restored at link time.
15238 variables_saved_for_relink=$lt_variables_saved_for_relink
15240 # Do we need the "lib" prefix for modules?
15241 need_lib_prefix=$need_lib_prefix
15243 # Do we need a version for libraries?
15244 need_version=$need_version
15246 # Library versioning type.
15247 version_type=$version_type
15249 # Shared library runtime path variable.
15250 runpath_var=$runpath_var
15252 # Shared library path variable.
15253 shlibpath_var=$shlibpath_var
15255 # Is shlibpath searched before the hard-coded library search path?
15256 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15258 # Format of library name prefix.
15259 libname_spec=$lt_libname_spec
15261 # List of archive names. First name is the real one, the rest are links.
15262 # The last name is the one that the linker finds with -lNAME
15263 library_names_spec=$lt_library_names_spec
15265 # The coded name of the library, if different from the real name.
15266 soname_spec=$lt_soname_spec
15268 # Command to use after installation of a shared archive.
15269 postinstall_cmds=$lt_postinstall_cmds
15271 # Command to use after uninstallation of a shared archive.
15272 postuninstall_cmds=$lt_postuninstall_cmds
15274 # Commands used to finish a libtool library installation in a directory.
15275 finish_cmds=$lt_finish_cmds
15277 # As "finish_cmds", except a single script fragment to be evaled but
15279 finish_eval=$lt_finish_eval
15281 # Whether we should hardcode library paths into libraries.
15282 hardcode_into_libs=$hardcode_into_libs
15284 # Compile-time system search path for libraries.
15285 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15287 # Run-time system search path for libraries.
15288 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15290 # Whether dlopen is supported.
15291 dlopen_support=$enable_dlopen
15293 # Whether dlopen of programs is supported.
15294 dlopen_self=$enable_dlopen_self
15296 # Whether dlopen of statically linked programs is supported.
15297 dlopen_self_static=$enable_dlopen_self_static
15299 # Commands to strip libraries.
15300 old_striplib=$lt_old_striplib
15301 striplib=$lt_striplib
15304 # The linker used to build libraries.
15307 # Commands used to build an old-style archive.
15308 old_archive_cmds=$lt_old_archive_cmds
15310 # A language specific compiler.
15313 # Is the compiler the GNU compiler?
15316 # Compiler flag to turn off builtin functions.
15317 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15319 # How to pass a linker flag through the compiler.
15320 wl=$lt_lt_prog_compiler_wl
15322 # Additional compiler flags for building library objects.
15323 pic_flag=$lt_lt_prog_compiler_pic
15325 # Compiler flag to prevent dynamic linking.
15326 link_static_flag=$lt_lt_prog_compiler_static
15328 # Does compiler simultaneously support -c and -o options?
15329 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15331 # Whether or not to add -lc for building shared libraries.
15332 build_libtool_need_lc=$archive_cmds_need_lc
15334 # Whether or not to disallow shared libs when runtime libs are static.
15335 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15337 # Compiler flag to allow reflexive dlopens.
15338 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15340 # Compiler flag to generate shared objects directly from archives.
15341 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15343 # Whether the compiler copes with passing no objects directly.
15344 compiler_needs_object=$lt_compiler_needs_object
15346 # Create an old-style archive from a shared archive.
15347 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15349 # Create a temporary old-style archive to link instead of a shared archive.
15350 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15352 # Commands used to build a shared archive.
15353 archive_cmds=$lt_archive_cmds
15354 archive_expsym_cmds=$lt_archive_expsym_cmds
15356 # Commands used to build a loadable module if different from building
15357 # a shared archive.
15358 module_cmds=$lt_module_cmds
15359 module_expsym_cmds=$lt_module_expsym_cmds
15361 # Whether we are building with GNU ld or not.
15362 with_gnu_ld=$lt_with_gnu_ld
15364 # Flag that allows shared libraries with undefined symbols to be built.
15365 allow_undefined_flag=$lt_allow_undefined_flag
15367 # Flag that enforces no undefined symbols.
15368 no_undefined_flag=$lt_no_undefined_flag
15370 # Flag to hardcode \$libdir into a binary during linking.
15371 # This must work even if \$libdir does not exist
15372 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15374 # If ld is used when linking, flag to hardcode \$libdir into a binary
15375 # during linking. This must work even if \$libdir does not exist.
15376 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15378 # Whether we need a single "-rpath" flag with a separated argument.
15379 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15381 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15382 # DIR into the resulting binary.
15383 hardcode_direct=$hardcode_direct
15385 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15386 # DIR into the resulting binary and the resulting library dependency is
15387 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15388 # library is relocated.
15389 hardcode_direct_absolute=$hardcode_direct_absolute
15391 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15392 # into the resulting binary.
15393 hardcode_minus_L=$hardcode_minus_L
15395 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15396 # into the resulting binary.
15397 hardcode_shlibpath_var=$hardcode_shlibpath_var
15399 # Set to "yes" if building a shared library automatically hardcodes DIR
15400 # into the library and all subsequent libraries and executables linked
15402 hardcode_automatic=$hardcode_automatic
15404 # Set to yes if linker adds runtime paths of dependent libraries
15405 # to runtime path list.
15406 inherit_rpath=$inherit_rpath
15408 # Whether libtool must link a program against all its dependency libraries.
15409 link_all_deplibs=$link_all_deplibs
15411 # Fix the shell variable \$srcfile for the compiler.
15412 fix_srcfile_path=$lt_fix_srcfile_path
15414 # Set to "yes" if exported symbols are required.
15415 always_export_symbols=$always_export_symbols
15417 # The commands to list exported symbols.
15418 export_symbols_cmds=$lt_export_symbols_cmds
15420 # Symbols that should not be listed in the preloaded symbols.
15421 exclude_expsyms=$lt_exclude_expsyms
15423 # Symbols that must always be exported.
15424 include_expsyms=$lt_include_expsyms
15426 # Commands necessary for linking programs (against libraries) with templates.
15427 prelink_cmds=$lt_prelink_cmds
15429 # Specify filename containing input files.
15430 file_list_spec=$lt_file_list_spec
15432 # How to hardcode a shared library path into an executable.
15433 hardcode_action=$hardcode_action
15435 # ### END LIBTOOL CONFIG
15441 cat <<\_LT_EOF >> "$cfgfile"
15442 # AIX sometimes has problems with the GCC collect2 program. For some
15443 # reason, if we set the COLLECT_NAMES environment variable, the problems
15444 # vanish in a puff of smoke.
15445 if test "X${COLLECT_NAMES+set}" != Xset; then
15447 export COLLECT_NAMES
15454 ltmain="$ac_aux_dir/ltmain.sh"
15457 # We use sed instead of cat because bash on DJGPP gets confused if
15458 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15459 # text mode, it properly converts lines to CR/LF. This bash problem
15460 # is reportedly fixed, but why not run on old versions too?
15461 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15462 || (rm -f "$cfgfile"; exit 1)
15466 cat << \_LT_EOF >> "$cfgfile"
15468 # func_dirname file append nondir_replacement
15469 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15470 # otherwise set result to NONDIR_REPLACEMENT.
15474 */*) func_dirname_result="${1%/*}${2}" ;;
15475 * ) func_dirname_result="${3}" ;;
15479 # func_basename file
15482 func_basename_result="${1##*/}"
15485 # func_dirname_and_basename file append nondir_replacement
15486 # perform func_basename and func_dirname in a single function
15488 # dirname: Compute the dirname of FILE. If nonempty,
15489 # add APPEND to the result, otherwise set result
15490 # to NONDIR_REPLACEMENT.
15491 # value returned in "$func_dirname_result"
15492 # basename: Compute filename of FILE.
15493 # value retuned in "$func_basename_result"
15494 # Implementation must be kept synchronized with func_dirname
15495 # and func_basename. For efficiency, we do not delegate to
15496 # those functions but instead duplicate the functionality here.
15497 func_dirname_and_basename ()
15500 */*) func_dirname_result="${1%/*}${2}" ;;
15501 * ) func_dirname_result="${3}" ;;
15503 func_basename_result="${1##*/}"
15506 # func_stripname prefix suffix name
15507 # strip PREFIX and SUFFIX off of NAME.
15508 # PREFIX and SUFFIX must not contain globbing or regex special
15509 # characters, hashes, percent signs, but SUFFIX may contain a leading
15510 # dot (in which case that matches only a dot).
15513 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15514 # positional parameters, so assign one to ordinary parameter first.
15515 func_stripname_result=${3}
15516 func_stripname_result=${func_stripname_result#"${1}"}
15517 func_stripname_result=${func_stripname_result%"${2}"}
15523 func_opt_split_opt=${1%%=*}
15524 func_opt_split_arg=${1#*=}
15531 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15532 *) func_lo2o_result=${1} ;;
15536 # func_xform libobj-or-source
15539 func_xform_result=${1%.*}.lo
15542 # func_arith arithmetic-term...
15545 func_arith_result=$(( $* ))
15549 # STRING may not start with a hyphen.
15552 func_len_result=${#1}
15557 *) # Bourne compatible functions.
15558 cat << \_LT_EOF >> "$cfgfile"
15560 # func_dirname file append nondir_replacement
15561 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15562 # otherwise set result to NONDIR_REPLACEMENT.
15565 # Extract subdirectory from the argument.
15566 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15567 if test "X$func_dirname_result" = "X${1}"; then
15568 func_dirname_result="${3}"
15570 func_dirname_result="$func_dirname_result${2}"
15574 # func_basename file
15577 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15581 # func_stripname prefix suffix name
15582 # strip PREFIX and SUFFIX off of NAME.
15583 # PREFIX and SUFFIX must not contain globbing or regex special
15584 # characters, hashes, percent signs, but SUFFIX may contain a leading
15585 # dot (in which case that matches only a dot).
15586 # func_strip_suffix prefix name
15590 .*) func_stripname_result=`$ECHO "X${3}" \
15591 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15592 *) func_stripname_result=`$ECHO "X${3}" \
15593 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15598 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15599 my_sed_long_arg='1s/^-[^=]*=//'
15604 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15605 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15611 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15614 # func_xform libobj-or-source
15617 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15620 # func_arith arithmetic-term...
15623 func_arith_result=`expr "$@"`
15627 # STRING may not start with a hyphen.
15630 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15636 case $lt_shell_append in
15638 cat << \_LT_EOF >> "$cfgfile"
15640 # func_append var value
15641 # Append VALUE to the end of shell variable VAR.
15649 cat << \_LT_EOF >> "$cfgfile"
15651 # func_append var value
15652 # Append VALUE to the end of shell variable VAR.
15663 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15664 || (rm -f "$cfgfile"; exit 1)
15666 mv -f "$cfgfile" "$ofile" ||
15667 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15671 "Makefile":F) if test -n "$CONFIG_FILES"; then
15673 . ${newlib_basedir}/../config-ml.in
15680 { (exit 0); exit 0; }
15682 chmod +x $CONFIG_STATUS
15683 ac_clean_files=$ac_clean_files_save
15685 test $ac_write_fail = 0 ||
15686 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15687 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15688 { (exit 1); exit 1; }; }
15691 # configure is writing to config.log, and then calls config.status.
15692 # config.status does its own redirection, appending to config.log.
15693 # Unfortunately, on DOS this fails, as config.log is still kept open
15694 # by configure, so config.status won't be able to write to it; its
15695 # output is simply discarded. So we exec the FD to /dev/null,
15696 # effectively closing config.log, so it can be properly (re)opened and
15697 # appended to by config.status. When coming back to configure, we
15698 # need to make the FD available again.
15699 if test "$no_create" != yes; then
15701 ac_config_status_args=
15702 test "$silent" = yes &&
15703 ac_config_status_args="$ac_config_status_args --quiet"
15705 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15707 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15708 # would make configure fail if this is the last instruction.
15709 $ac_cs_success || { (exit 1); exit 1; }
15713 # CONFIG_SUBDIRS section.
15715 if test "$no_recursion" != yes; then
15717 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15718 # so they do not pile up.
15719 ac_sub_configure_args=
15721 eval "set x $ac_configure_args"
15725 if test -n "$ac_prev"; then
15730 -cache-file | --cache-file | --cache-fil | --cache-fi \
15731 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15732 ac_prev=cache_file ;;
15733 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15734 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15737 --config-cache | -C)
15739 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15741 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15743 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15745 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15747 --disable-option-checking)
15751 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15753 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
15757 # Always prepend --prefix to ensure using the same prefix
15758 # in subdir configurations.
15759 ac_arg="--prefix=$prefix"
15761 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15763 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15766 if test "$silent" = yes; then
15767 ac_sub_configure_args="--silent $ac_sub_configure_args"
15770 # Always prepend --disable-option-checking to silence warnings, since
15771 # different subdirs can have different --enable and --with options.
15772 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15775 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15777 # Do not complain, so a configure script can configure whichever
15778 # parts of a large source tree are present.
15779 test -d "$srcdir/$ac_dir" || continue
15781 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15782 $as_echo "$as_me:$LINENO: $ac_msg" >&5
15783 $as_echo "$ac_msg" >&6
15786 -*) as_dir=./$as_dir;;
15788 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15792 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15793 *) as_qdir=$as_dir;;
15795 as_dirs="'$as_qdir' $as_dirs"
15796 as_dir=`$as_dirname -- "$as_dir" ||
15797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15798 X"$as_dir" : 'X\(//\)[^/]' \| \
15799 X"$as_dir" : 'X\(//\)$' \| \
15800 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15801 $as_echo X"$as_dir" |
15802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15806 /^X\(\/\/\)[^/].*/{
15819 test -d "$as_dir" && break
15821 test -z "$as_dirs" || eval "mkdir $as_dirs"
15822 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15823 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15824 { (exit 1); exit 1; }; }; }
15828 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15830 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15831 # A ".." for each directory in $ac_dir_suffix.
15832 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15833 case $ac_top_builddir_sub in
15834 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15835 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15838 ac_abs_top_builddir=$ac_pwd
15839 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15840 # for backward compatibility:
15841 ac_top_builddir=$ac_top_build_prefix
15844 .) # We are building in place.
15846 ac_top_srcdir=$ac_top_builddir_sub
15847 ac_abs_top_srcdir=$ac_pwd ;;
15848 [\\/]* | ?:[\\/]* ) # Absolute name.
15849 ac_srcdir=$srcdir$ac_dir_suffix;
15850 ac_top_srcdir=$srcdir
15851 ac_abs_top_srcdir=$srcdir ;;
15852 *) # Relative name.
15853 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15854 ac_top_srcdir=$ac_top_build_prefix$srcdir
15855 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15857 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15862 # Check for guested configure; otherwise get Cygnus style configure.
15863 if test -f "$ac_srcdir/configure.gnu"; then
15864 ac_sub_configure=$ac_srcdir/configure.gnu
15865 elif test -f "$ac_srcdir/configure"; then
15866 ac_sub_configure=$ac_srcdir/configure
15867 elif test -f "$ac_srcdir/configure.in"; then
15868 # This should be Cygnus configure.
15869 ac_sub_configure=$ac_aux_dir/configure
15871 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
15872 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15876 # The recursion is here.
15877 if test -n "$ac_sub_configure"; then
15878 # Make the cache file name correct relative to the subdirectory.
15879 case $cache_file in
15880 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15881 *) # Relative name.
15882 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15885 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
15886 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15887 # The eval makes quoting arguments work.
15888 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15889 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15890 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
15891 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
15892 { (exit 1); exit 1; }; }
15898 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15899 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15900 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}