2 # From configure.ac Id: configure.ac,v 1.9 2004/01/23 09:41:32 rob Exp .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for MPEG Audio Decoder 0.15.1b.
6 # Report bugs to <support@underbit.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh -c $as_echo_n_body as_echo'
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
99 # Find who we are. Look in the path if we contain no directory separator.
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x; then
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
137 # Required to use basename.
138 if expr a : '\(a\)' >/dev/null 2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001; then
145 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 # Name of the executable.
153 as_me=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
176 if test "x$CONFIG_SHELL" = x; then
177 if (eval ":") 2>/dev/null; then
183 if test $as_have_required = yes && (eval ":
193 as_func_ret_success () {
196 as_func_ret_failure () {
201 if as_func_success; then
205 echo as_func_success failed.
208 if as_func_failure; then
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev/null; then
243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
244 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
247 test -z "$as_dir" && as_dir=.
250 for as_base in sh bash ksh sh5; do
251 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
258 for as_shell in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev/null <<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix*) set -o posix ;;
280 CONFIG_SHELL=$as_shell
282 if { "$as_shell" 2> /dev/null <<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
291 case `(set -o) 2>/dev/null` in
292 *posix*) set -o posix ;;
308 as_func_ret_success () {
311 as_func_ret_failure () {
316 if as_func_success; then
320 echo as_func_success failed.
323 if as_func_failure; then
325 echo as_func_failure succeeded.
328 if as_func_ret_success; then
332 echo as_func_ret_success failed.
335 if as_func_ret_failure; then
337 echo as_func_ret_failure succeeded.
340 if ( set x; as_func_ret_success y && test x = "$1" ); then
344 echo positional parameters were not saved.
347 test $exitcode = 0) || { (exit 1); exit 1; }
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
364 if test "x$CONFIG_SHELL" != x; then
365 for as_var in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no; then
374 echo This script requires a shell more modern than all the
375 echo shells that I found on your system. Please install a
376 echo modern shell, or manually run the script under such a
377 echo shell if you do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
397 as_func_ret_success () {
400 as_func_ret_failure () {
405 if as_func_success; then
409 echo as_func_success failed.
412 if as_func_failure; then
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433 echo positional parameters were not saved.
436 test \$exitcode = 0") || {
437 echo No shell found that supports shell functions.
438 echo Please tell bug-autoconf@gnu.org about your system,
439 echo including any error possibly output before this message.
440 echo This can help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476 chmod +x "$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
484 # Exit status is that of the last command.
489 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
495 ECHO_C= ECHO_N= ECHO_T=
499 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 if expr a : '\(a\)' >/dev/null 2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001; then
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 elif ln conf$$.file conf$$ 2>/dev/null; then
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
542 test -d ./-p && rmdir ./-p
546 if test -x / >/dev/null 2>&1; then
549 if ls -dL / >/dev/null 2>&1; then
556 if test -d "$1"; then
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
567 as_executable_p=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
578 # Check that we are running under the correct shell.
579 SHELL=${CONFIG_SHELL-/bin/sh}
583 # Remove one level of quotation (which was required for Make).
584 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
589 if test "X$1" = X--no-reexec; then
590 # Discard the --no-reexec flag, and continue.
592 elif test "X$1" = X--fallback-echo; then
593 # Avoid inline document here, it may be left over
595 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
596 # Yippee, $ECHO works!
599 # Restart under the correct shell.
600 exec $SHELL "$0" --no-reexec ${1+"$@"}
603 if test "X$1" = X--fallback-echo; then
604 # used as fallback echo
612 # The HP-UX ksh and POSIX shell print the target directory to stdout
614 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
616 if test -z "$lt_ECHO"; then
617 if test "X${echo_test_string+set}" != Xset; then
618 # find a string as large as possible, as long as the shell can cope with it
619 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
620 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
621 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
622 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
629 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
630 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # The Solaris, AIX, and Digital Unix default echo programs unquote
635 # backslashes. This makes it impossible to quote backslashes using
636 # echo "$something" | sed 's/\\/\\\\/g'
638 # So, first we look for a working echo in the user's PATH.
640 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
641 for dir in $PATH /usr/ucb; do
643 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
644 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646 test "X$echo_testing_string" = "X$echo_test_string"; then
653 if test "X$ECHO" = Xecho; then
654 # We didn't find a better echo, so look for alternatives.
655 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
656 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 # This shell has a builtin print -r that does the trick.
660 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
661 test "X$CONFIG_SHELL" != X/bin/ksh; then
662 # If we have ksh, try running configure again with it.
663 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
664 export ORIGINAL_CONFIG_SHELL
665 CONFIG_SHELL=/bin/ksh
667 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
671 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
672 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
673 test "X$echo_testing_string" = "X$echo_test_string"; then
676 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677 test "X$echo_testing_string" = 'X\t' &&
678 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679 test "X$echo_testing_string" = "X$echo_test_string"; then
680 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
682 SHELL="$CONFIG_SHELL"
684 ECHO="$CONFIG_SHELL $0 --fallback-echo"
685 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686 test "X$echo_testing_string" = 'X\t' &&
687 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688 test "X$echo_testing_string" = "X$echo_test_string"; then
689 ECHO="$CONFIG_SHELL $0 --fallback-echo"
691 # maybe with a smaller string...
694 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
702 if test "$prev" != 'sed 50q "$0"'; then
703 echo_test_string=`eval $prev`
704 export echo_test_string
705 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
707 # Oops. We lost completely, so just stick with echo.
716 # Copy echo and quote the copy suitably for passing to libtool from
717 # the Makefile, instead of quoting the original, which is used later.
719 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
726 exec 7<&0 </dev/null 6>&1
729 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
730 # so uname gets run too.
731 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
736 ac_default_prefix=/usr/local
738 ac_config_libobj_dir=.
744 SHELL=${CONFIG_SHELL-/bin/sh}
746 # Identity of this package.
747 PACKAGE_NAME='MPEG Audio Decoder'
748 PACKAGE_TARNAME='libmad'
749 PACKAGE_VERSION='0.15.1b'
750 PACKAGE_STRING='MPEG Audio Decoder 0.15.1b'
751 PACKAGE_BUGREPORT='support@underbit.com'
753 ac_unique_file="decoder.h"
754 # Factoring default headers for most tests.
755 ac_includes_default="\
757 #ifdef HAVE_SYS_TYPES_H
758 # include <sys/types.h>
760 #ifdef HAVE_SYS_STAT_H
761 # include <sys/stat.h>
767 # ifdef HAVE_STDLIB_H
772 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
777 #ifdef HAVE_STRINGS_H
778 # include <strings.h>
780 #ifdef HAVE_INTTYPES_H
781 # include <inttypes.h>
790 ac_subst_vars='LTLIBOBJS
816 am__fastdepCCAS_FALSE
853 INSTALL_STRIP_PROGRAM
895 program_transform_name
907 enable_option_checking
908 enable_dependency_tracking
925 ac_precious_vars='build_alias
938 # Initialize some variables set by options.
940 ac_init_version=false
941 ac_unrecognized_opts=
943 # The variables have the same names as the options, with
944 # dashes changed to underlines.
952 program_transform_name=s,x,x,
960 # Installation directory options.
961 # These are left unexpanded so users can "make install exec_prefix=/foo"
962 # and all the variables that are supposed to be based on exec_prefix
963 # by default will actually change.
964 # Use braces instead of parens because sh, perl, etc. also accept them.
965 # (The list follows the same order as the GNU Coding Standards.)
966 bindir='${exec_prefix}/bin'
967 sbindir='${exec_prefix}/sbin'
968 libexecdir='${exec_prefix}/libexec'
969 datarootdir='${prefix}/share'
970 datadir='${datarootdir}'
971 sysconfdir='${prefix}/etc'
972 sharedstatedir='${prefix}/com'
973 localstatedir='${prefix}/var'
974 includedir='${prefix}/include'
975 oldincludedir='/usr/include'
976 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
977 infodir='${datarootdir}/info'
982 libdir='${exec_prefix}/lib'
983 localedir='${datarootdir}/locale'
984 mandir='${datarootdir}/man'
990 # If the previous option needs an argument, assign it.
991 if test -n "$ac_prev"; then
992 eval $ac_prev=\$ac_option
998 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1002 # Accept the important Cygnus configure options, so we can diagnose typos.
1004 case $ac_dashdash$ac_option in
1008 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1010 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1011 bindir=$ac_optarg ;;
1013 -build | --build | --buil | --bui | --bu)
1014 ac_prev=build_alias ;;
1015 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1016 build_alias=$ac_optarg ;;
1018 -cache-file | --cache-file | --cache-fil | --cache-fi \
1019 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1020 ac_prev=cache_file ;;
1021 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1022 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1023 cache_file=$ac_optarg ;;
1025 --config-cache | -C)
1026 cache_file=config.cache ;;
1028 -datadir | --datadir | --datadi | --datad)
1030 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1031 datadir=$ac_optarg ;;
1033 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1034 | --dataroo | --dataro | --datar)
1035 ac_prev=datarootdir ;;
1036 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1037 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1038 datarootdir=$ac_optarg ;;
1040 -disable-* | --disable-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1045 { (exit 1); exit 1; }; }
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "enable_$ac_useropt"
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1055 eval enable_$ac_useropt=no ;;
1057 -docdir | --docdir | --docdi | --doc | --do)
1059 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1060 docdir=$ac_optarg ;;
1062 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1064 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1065 dvidir=$ac_optarg ;;
1067 -enable-* | --enable-*)
1068 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1071 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1072 { (exit 1); exit 1; }; }
1073 ac_useropt_orig=$ac_useropt
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1077 "enable_$ac_useropt"
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1082 eval enable_$ac_useropt=\$ac_optarg ;;
1084 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1085 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1086 | --exec | --exe | --ex)
1087 ac_prev=exec_prefix ;;
1088 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1089 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1090 | --exec=* | --exe=* | --ex=*)
1091 exec_prefix=$ac_optarg ;;
1093 -gas | --gas | --ga | --g)
1094 # Obsolete; use --with-gas.
1097 -help | --help | --hel | --he | -h)
1098 ac_init_help=long ;;
1099 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1100 ac_init_help=recursive ;;
1101 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1102 ac_init_help=short ;;
1104 -host | --host | --hos | --ho)
1105 ac_prev=host_alias ;;
1106 -host=* | --host=* | --hos=* | --ho=*)
1107 host_alias=$ac_optarg ;;
1109 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1111 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1113 htmldir=$ac_optarg ;;
1115 -includedir | --includedir | --includedi | --included | --include \
1116 | --includ | --inclu | --incl | --inc)
1117 ac_prev=includedir ;;
1118 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1119 | --includ=* | --inclu=* | --incl=* | --inc=*)
1120 includedir=$ac_optarg ;;
1122 -infodir | --infodir | --infodi | --infod | --info | --inf)
1124 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1125 infodir=$ac_optarg ;;
1127 -libdir | --libdir | --libdi | --libd)
1129 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1130 libdir=$ac_optarg ;;
1132 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1133 | --libexe | --libex | --libe)
1134 ac_prev=libexecdir ;;
1135 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1136 | --libexe=* | --libex=* | --libe=*)
1137 libexecdir=$ac_optarg ;;
1139 -localedir | --localedir | --localedi | --localed | --locale)
1140 ac_prev=localedir ;;
1141 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1142 localedir=$ac_optarg ;;
1144 -localstatedir | --localstatedir | --localstatedi | --localstated \
1145 | --localstate | --localstat | --localsta | --localst | --locals)
1146 ac_prev=localstatedir ;;
1147 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1148 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1149 localstatedir=$ac_optarg ;;
1151 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1153 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1154 mandir=$ac_optarg ;;
1156 -nfp | --nfp | --nf)
1157 # Obsolete; use --without-fp.
1160 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1161 | --no-cr | --no-c | -n)
1164 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1165 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1168 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1169 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1170 | --oldin | --oldi | --old | --ol | --o)
1171 ac_prev=oldincludedir ;;
1172 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1173 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1174 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1175 oldincludedir=$ac_optarg ;;
1177 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1179 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1180 prefix=$ac_optarg ;;
1182 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1183 | --program-pre | --program-pr | --program-p)
1184 ac_prev=program_prefix ;;
1185 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1186 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1187 program_prefix=$ac_optarg ;;
1189 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1190 | --program-suf | --program-su | --program-s)
1191 ac_prev=program_suffix ;;
1192 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1193 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1194 program_suffix=$ac_optarg ;;
1196 -program-transform-name | --program-transform-name \
1197 | --program-transform-nam | --program-transform-na \
1198 | --program-transform-n | --program-transform- \
1199 | --program-transform | --program-transfor \
1200 | --program-transfo | --program-transf \
1201 | --program-trans | --program-tran \
1202 | --progr-tra | --program-tr | --program-t)
1203 ac_prev=program_transform_name ;;
1204 -program-transform-name=* | --program-transform-name=* \
1205 | --program-transform-nam=* | --program-transform-na=* \
1206 | --program-transform-n=* | --program-transform-=* \
1207 | --program-transform=* | --program-transfor=* \
1208 | --program-transfo=* | --program-transf=* \
1209 | --program-trans=* | --program-tran=* \
1210 | --progr-tra=* | --program-tr=* | --program-t=*)
1211 program_transform_name=$ac_optarg ;;
1213 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1215 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1216 pdfdir=$ac_optarg ;;
1218 -psdir | --psdir | --psdi | --psd | --ps)
1220 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1224 | -silent | --silent | --silen | --sile | --sil)
1227 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1229 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1231 sbindir=$ac_optarg ;;
1233 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1234 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1235 | --sharedst | --shareds | --shared | --share | --shar \
1237 ac_prev=sharedstatedir ;;
1238 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1239 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1240 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1242 sharedstatedir=$ac_optarg ;;
1244 -site | --site | --sit)
1246 -site=* | --site=* | --sit=*)
1249 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1251 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1252 srcdir=$ac_optarg ;;
1254 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1255 | --syscon | --sysco | --sysc | --sys | --sy)
1256 ac_prev=sysconfdir ;;
1257 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1258 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1259 sysconfdir=$ac_optarg ;;
1261 -target | --target | --targe | --targ | --tar | --ta | --t)
1262 ac_prev=target_alias ;;
1263 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1264 target_alias=$ac_optarg ;;
1266 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1269 -version | --version | --versio | --versi | --vers | -V)
1270 ac_init_version=: ;;
1273 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1277 { (exit 1); exit 1; }; }
1278 ac_useropt_orig=$ac_useropt
1279 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280 case $ac_user_opts in
1284 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1285 ac_unrecognized_sep=', ';;
1287 eval with_$ac_useropt=\$ac_optarg ;;
1289 -without-* | --without-*)
1290 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1291 # Reject names that are not valid shell variable names.
1292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1293 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1294 { (exit 1); exit 1; }; }
1295 ac_useropt_orig=$ac_useropt
1296 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1297 case $ac_user_opts in
1301 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1302 ac_unrecognized_sep=', ';;
1304 eval with_$ac_useropt=no ;;
1307 # Obsolete; use --with-x.
1310 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1311 | --x-incl | --x-inc | --x-in | --x-i)
1312 ac_prev=x_includes ;;
1313 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1314 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1315 x_includes=$ac_optarg ;;
1317 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1318 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1319 ac_prev=x_libraries ;;
1320 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1321 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1322 x_libraries=$ac_optarg ;;
1324 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1325 Try \`$0 --help' for more information." >&2
1326 { (exit 1); exit 1; }; }
1330 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1331 # Reject names that are not valid shell variable names.
1332 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1333 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1334 { (exit 1); exit 1; }; }
1335 eval $ac_envvar=\$ac_optarg
1336 export $ac_envvar ;;
1339 # FIXME: should be removed in autoconf 3.0.
1340 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1341 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1342 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1343 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1349 if test -n "$ac_prev"; then
1350 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1351 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1352 { (exit 1); exit 1; }; }
1355 if test -n "$ac_unrecognized_opts"; then
1356 case $enable_option_checking in
1358 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1359 { (exit 1); exit 1; }; } ;;
1360 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1364 # Check all directory arguments for consistency.
1365 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1366 datadir sysconfdir sharedstatedir localstatedir includedir \
1367 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1368 libdir localedir mandir
1370 eval ac_val=\$$ac_var
1371 # Remove trailing slashes.
1374 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1375 eval $ac_var=\$ac_val;;
1377 # Be sure to have absolute directory names.
1379 [\\/$]* | ?:[\\/]* ) continue;;
1380 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1382 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1383 { (exit 1); exit 1; }; }
1386 # There might be people who depend on the old broken behavior: `$host'
1387 # used to hold the argument of --host etc.
1388 # FIXME: To remove some day.
1391 target=$target_alias
1393 # FIXME: To remove some day.
1394 if test "x$host_alias" != x; then
1395 if test "x$build_alias" = x; then
1396 cross_compiling=maybe
1397 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1398 If a cross compiler is detected then cross compile mode will be used." >&2
1399 elif test "x$build_alias" != "x$host_alias"; then
1405 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1407 test "$silent" = yes && exec 6>/dev/null
1410 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1411 ac_ls_di=`ls -di .` &&
1412 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1413 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1414 { (exit 1); exit 1; }; }
1415 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1416 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1417 { (exit 1); exit 1; }; }
1420 # Find the source files, if location was not specified.
1421 if test -z "$srcdir"; then
1422 ac_srcdir_defaulted=yes
1423 # Try the directory containing this script, then the parent directory.
1424 ac_confdir=`$as_dirname -- "$as_myself" ||
1425 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1426 X"$as_myself" : 'X\(//\)[^/]' \| \
1427 X"$as_myself" : 'X\(//\)$' \| \
1428 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1429 $as_echo X"$as_myself" |
1430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1448 if test ! -r "$srcdir/$ac_unique_file"; then
1452 ac_srcdir_defaulted=no
1454 if test ! -r "$srcdir/$ac_unique_file"; then
1455 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1456 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1457 { (exit 1); exit 1; }; }
1459 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1461 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1462 { (exit 1); exit 1; }; }
1464 # When building in place, set srcdir=.
1465 if test "$ac_abs_confdir" = "$ac_pwd"; then
1468 # Remove unnecessary trailing slashes from srcdir.
1469 # Double slashes in file names in object file debugging info
1470 # mess up M-x gdb in Emacs.
1472 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1474 for ac_var in $ac_precious_vars; do
1475 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1476 eval ac_env_${ac_var}_value=\$${ac_var}
1477 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1478 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1482 # Report the --help message.
1484 if test "$ac_init_help" = "long"; then
1485 # Omit some internal or obsolete options to make the list less imposing.
1486 # This message is too long to be a string in the A/UX 3.1 sh.
1488 \`configure' configures MPEG Audio Decoder 0.15.1b to adapt to many kinds of systems.
1490 Usage: $0 [OPTION]... [VAR=VALUE]...
1492 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1493 VAR=VALUE. See below for descriptions of some of the useful variables.
1495 Defaults for the options are specified in brackets.
1498 -h, --help display this help and exit
1499 --help=short display options specific to this package
1500 --help=recursive display the short help of all the included packages
1501 -V, --version display version information and exit
1502 -q, --quiet, --silent do not print \`checking...' messages
1503 --cache-file=FILE cache test results in FILE [disabled]
1504 -C, --config-cache alias for \`--cache-file=config.cache'
1505 -n, --no-create do not create output files
1506 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1508 Installation directories:
1509 --prefix=PREFIX install architecture-independent files in PREFIX
1510 [$ac_default_prefix]
1511 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1514 By default, \`make install' will install all the files in
1515 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1516 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1517 for instance \`--prefix=\$HOME'.
1519 For better control, use the options below.
1521 Fine tuning of the installation directories:
1522 --bindir=DIR user executables [EPREFIX/bin]
1523 --sbindir=DIR system admin executables [EPREFIX/sbin]
1524 --libexecdir=DIR program executables [EPREFIX/libexec]
1525 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1526 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1527 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1528 --libdir=DIR object code libraries [EPREFIX/lib]
1529 --includedir=DIR C header files [PREFIX/include]
1530 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1531 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1532 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1533 --infodir=DIR info documentation [DATAROOTDIR/info]
1534 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1535 --mandir=DIR man documentation [DATAROOTDIR/man]
1536 --docdir=DIR documentation root [DATAROOTDIR/doc/libmad]
1537 --htmldir=DIR html documentation [DOCDIR]
1538 --dvidir=DIR dvi documentation [DOCDIR]
1539 --pdfdir=DIR pdf documentation [DOCDIR]
1540 --psdir=DIR ps documentation [DOCDIR]
1546 --program-prefix=PREFIX prepend PREFIX to installed program names
1547 --program-suffix=SUFFIX append SUFFIX to installed program names
1548 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1551 --build=BUILD configure for building on BUILD [guessed]
1552 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1556 if test -n "$ac_init_help"; then
1557 case $ac_init_help in
1558 short | recursive ) echo "Configuration of MPEG Audio Decoder 0.15.1b:";;
1563 --disable-option-checking ignore unrecognized --enable/--with options
1564 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1565 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1566 --disable-dependency-tracking speeds up one-time build
1567 --enable-dependency-tracking do not reject slow dependency extractors
1568 --enable-shared[=PKGS] build shared libraries [default=yes]
1569 --enable-static[=PKGS] build static libraries [default=yes]
1570 --enable-fast-install[=PKGS]
1571 optimize for fast installation [default=yes]
1572 --disable-libtool-lock avoid locking (might break parallel builds)
1573 --enable-speed optimize for speed over accuracy
1574 --enable-accuracy optimize for accuracy over speed
1575 --enable-fpm=ARCH use ARCH-specific fixed-point math routines (one of:
1576 intel, arm, mips, sparc, ppc, 64bit, default)
1577 --enable-sso use subband synthesis optimization
1578 --disable-aso disable architecture-specific optimizations
1579 --enable-strict-iso use strict ISO/IEC interpretations
1580 --enable-profiling generate profiling code
1581 --enable-debugging enable diagnostic debugging support
1582 --disable-debugging do not enable debugging and use more optimization
1583 --enable-experimental enable experimental code
1586 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1587 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1588 --with-pic try to use only PIC/non-PIC objects [default=use
1590 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1592 Some influential environment variables:
1593 CC C compiler command
1594 CFLAGS C compiler flags
1595 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1596 nonstandard directory <lib dir>
1597 LIBS libraries to pass to the linker, e.g. -l<library>
1598 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1599 you have headers in a nonstandard directory <include dir>
1600 CCAS assembler compiler command (defaults to CC)
1601 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1604 Use these variables to override the choices made by `configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1607 Report bugs to <support@underbit.com>.
1612 if test "$ac_init_help" = "recursive"; then
1613 # If there are subdirs, report their specific --help.
1614 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1615 test -d "$ac_dir" ||
1616 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1623 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1624 # A ".." for each directory in $ac_dir_suffix.
1625 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1626 case $ac_top_builddir_sub in
1627 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1631 ac_abs_top_builddir=$ac_pwd
1632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1633 # for backward compatibility:
1634 ac_top_builddir=$ac_top_build_prefix
1637 .) # We are building in place.
1639 ac_top_srcdir=$ac_top_builddir_sub
1640 ac_abs_top_srcdir=$ac_pwd ;;
1641 [\\/]* | ?:[\\/]* ) # Absolute name.
1642 ac_srcdir=$srcdir$ac_dir_suffix;
1643 ac_top_srcdir=$srcdir
1644 ac_abs_top_srcdir=$srcdir ;;
1646 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1647 ac_top_srcdir=$ac_top_build_prefix$srcdir
1648 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1652 cd "$ac_dir" || { ac_status=$?; continue; }
1653 # Check for guested configure.
1654 if test -f "$ac_srcdir/configure.gnu"; then
1656 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1657 elif test -f "$ac_srcdir/configure"; then
1659 $SHELL "$ac_srcdir/configure" --help=recursive
1661 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1663 cd "$ac_pwd" || { ac_status=$?; break; }
1667 test -n "$ac_init_help" && exit $ac_status
1668 if $ac_init_version; then
1670 MPEG Audio Decoder configure 0.15.1b
1671 generated by GNU Autoconf 2.63
1673 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1674 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1675 This configure script is free software; the Free Software Foundation
1676 gives unlimited permission to copy, distribute and modify it.
1680 cat >config.log <<_ACEOF
1681 This file contains any messages produced by compilers while
1682 running configure, to aid debugging if configure makes a mistake.
1684 It was created by MPEG Audio Decoder $as_me 0.15.1b, which was
1685 generated by GNU Autoconf 2.63. Invocation command line was
1697 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1698 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1699 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1700 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1701 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1703 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1704 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1706 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1707 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1708 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1709 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1710 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1711 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1712 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir=.
1721 $as_echo "PATH: $as_dir"
1737 # Keep a trace of the command line.
1738 # Strip out --no-create and --no-recursion so they do not pile up.
1739 # Strip out --silent because we don't want to record it for future runs.
1740 # Also quote any args containing shell meta-characters.
1741 # Make two passes to allow for proper duplicate-argument suppression.
1745 ac_must_keep_next=false
1751 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1752 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1753 | -silent | --silent | --silen | --sile | --sil)
1756 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1759 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1761 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1762 if test $ac_must_keep_next = true; then
1763 ac_must_keep_next=false # Got value, back to normal.
1766 *=* | --config-cache | -C | -disable-* | --disable-* \
1767 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1768 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1769 | -with-* | --with-* | -without-* | --without-* | --x)
1770 case "$ac_configure_args0 " in
1771 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1774 -* ) ac_must_keep_next=true ;;
1777 ac_configure_args="$ac_configure_args '$ac_arg'"
1782 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1783 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1785 # When interrupted or exit'd, cleanup temporary files, and complete
1786 # config.log. We remove comments because anyway the quotes in there
1787 # would cause problems or look ugly.
1788 # WARNING: Use '\'' to represent an apostrophe within the trap.
1789 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1790 trap 'exit_status=$?
1791 # Save into config.log some information that might help in debugging.
1796 ## ---------------- ##
1797 ## Cache variables. ##
1798 ## ---------------- ##
1801 # The following way of writing the cache mishandles newlines in values,
1803 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1804 eval ac_val=\$$ac_var
1808 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1809 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1812 _ | IFS | as_nl) ;; #(
1813 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1814 *) $as_unset $ac_var ;;
1819 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1820 *${as_nl}ac_space=\ *)
1822 "s/'\''/'\''\\\\'\'''\''/g;
1823 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1834 ## ----------------- ##
1835 ## Output variables. ##
1836 ## ----------------- ##
1839 for ac_var in $ac_subst_vars
1841 eval ac_val=\$$ac_var
1843 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1845 $as_echo "$ac_var='\''$ac_val'\''"
1849 if test -n "$ac_subst_files"; then
1851 ## ------------------- ##
1852 ## File substitutions. ##
1853 ## ------------------- ##
1856 for ac_var in $ac_subst_files
1858 eval ac_val=\$$ac_var
1860 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1862 $as_echo "$ac_var='\''$ac_val'\''"
1867 if test -s confdefs.h; then
1877 test "$ac_signal" != 0 &&
1878 $as_echo "$as_me: caught signal $ac_signal"
1879 $as_echo "$as_me: exit $exit_status"
1881 rm -f core *.core core.conftest.* &&
1882 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1885 for ac_signal in 1 2 13 15; do
1886 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1890 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1891 rm -f -r conftest* confdefs.h
1893 # Predefined preprocessor variables.
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_NAME "$PACKAGE_NAME"
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1910 cat >>confdefs.h <<_ACEOF
1911 #define PACKAGE_STRING "$PACKAGE_STRING"
1915 cat >>confdefs.h <<_ACEOF
1916 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1920 # Let the site file select an alternate cache file if it wants to.
1921 # Prefer an explicitly selected file to automatically selected ones.
1924 if test -n "$CONFIG_SITE"; then
1925 ac_site_file1=$CONFIG_SITE
1926 elif test "x$prefix" != xNONE; then
1927 ac_site_file1=$prefix/share/config.site
1928 ac_site_file2=$prefix/etc/config.site
1930 ac_site_file1=$ac_default_prefix/share/config.site
1931 ac_site_file2=$ac_default_prefix/etc/config.site
1933 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1935 test "x$ac_site_file" = xNONE && continue
1936 if test -r "$ac_site_file"; then
1937 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1938 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1939 sed 's/^/| /' "$ac_site_file" >&5
1944 if test -r "$cache_file"; then
1945 # Some versions of bash will fail to source /dev/null (special
1946 # files actually), so we avoid doing that.
1947 if test -f "$cache_file"; then
1948 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1949 $as_echo "$as_me: loading cache $cache_file" >&6;}
1951 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1952 *) . "./$cache_file";;
1956 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1957 $as_echo "$as_me: creating cache $cache_file" >&6;}
1961 # Check that the precious variables saved in the cache have kept the same
1963 ac_cache_corrupted=false
1964 for ac_var in $ac_precious_vars; do
1965 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1966 eval ac_new_set=\$ac_env_${ac_var}_set
1967 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1968 eval ac_new_val=\$ac_env_${ac_var}_value
1969 case $ac_old_set,$ac_new_set in
1971 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1972 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1973 ac_cache_corrupted=: ;;
1975 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1976 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1977 ac_cache_corrupted=: ;;
1980 if test "x$ac_old_val" != "x$ac_new_val"; then
1981 # differences in whitespace do not lead to failure.
1982 ac_old_val_w=`echo x $ac_old_val`
1983 ac_new_val_w=`echo x $ac_new_val`
1984 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1985 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1986 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1987 ac_cache_corrupted=:
1989 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1990 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1991 eval $ac_var=\$ac_old_val
1993 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1994 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1995 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1996 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1999 # Pass precious variables to config.status.
2000 if test "$ac_new_set" = set; then
2002 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2003 *) ac_arg=$ac_var=$ac_new_val ;;
2005 case " $ac_configure_args " in
2006 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2007 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2011 if $ac_cache_corrupted; then
2012 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2014 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2015 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2016 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2017 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2018 { (exit 1); exit 1; }; }
2046 ac_cpp='$CPP $CPPFLAGS'
2047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2056 am__api_version='1.10'
2059 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2060 if test -f "$ac_dir/install-sh"; then
2062 ac_install_sh="$ac_aux_dir/install-sh -c"
2064 elif test -f "$ac_dir/install.sh"; then
2066 ac_install_sh="$ac_aux_dir/install.sh -c"
2068 elif test -f "$ac_dir/shtool"; then
2070 ac_install_sh="$ac_aux_dir/shtool install -c"
2074 if test -z "$ac_aux_dir"; then
2075 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2076 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2077 { (exit 1); exit 1; }; }
2080 # These three variables are undocumented and unsupported,
2081 # and are intended to be withdrawn in a future Autoconf release.
2082 # They can cause serious problems if a builder's source tree is in a directory
2083 # whose full name contains unusual characters.
2084 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2085 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2086 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2089 # Find a good install program. We prefer a C program (faster),
2090 # so one script is as good as another. But avoid the broken or
2091 # incompatible versions:
2092 # SysV /etc/install, /usr/sbin/install
2093 # SunOS /usr/etc/install
2094 # IRIX /sbin/install
2096 # AmigaOS /C/install, which installs bootblocks on floppy discs
2097 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2098 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2099 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2100 # OS/2's system install, which has a completely different semantic
2101 # ./install, which can be erroneously created by make from ./install.sh.
2102 # Reject install programs that cannot install multiple files.
2103 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2104 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2105 if test -z "$INSTALL"; then
2106 if test "${ac_cv_path_install+set}" = set; then
2107 $as_echo_n "(cached) " >&6
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 test -z "$as_dir" && as_dir=.
2114 # Account for people who put trailing slashes in PATH elements.
2116 ./ | .// | /cC/* | \
2117 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2118 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2121 # OSF1 and SCO ODT 3.0 have their own names for install.
2122 # Don't use installbsd from OSF since it installs stuff as root
2124 for ac_prog in ginstall scoinst install; do
2125 for ac_exec_ext in '' $ac_executable_extensions; do
2126 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2127 if test $ac_prog = install &&
2128 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2129 # AIX install. It has an incompatible calling convention.
2131 elif test $ac_prog = install &&
2132 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2133 # program-specific install script used by HP pwplus--don't use.
2136 rm -rf conftest.one conftest.two conftest.dir
2137 echo one > conftest.one
2138 echo two > conftest.two
2140 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2141 test -s conftest.one && test -s conftest.two &&
2142 test -s conftest.dir/conftest.one &&
2143 test -s conftest.dir/conftest.two
2145 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2158 rm -rf conftest.one conftest.two conftest.dir
2161 if test "${ac_cv_path_install+set}" = set; then
2162 INSTALL=$ac_cv_path_install
2164 # As a last resort, use the slow shell script. Don't cache a
2165 # value for INSTALL within a source directory, because that will
2166 # break other packages using the cache if that directory is
2167 # removed, or if the value is a relative name.
2168 INSTALL=$ac_install_sh
2171 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2172 $as_echo "$INSTALL" >&6; }
2174 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2175 # It thinks the first close brace ends the variable substitution.
2176 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2178 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2180 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2182 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2183 $as_echo_n "checking whether build environment is sane... " >&6; }
2186 echo timestamp > conftest.file
2187 # Do `set' in a subshell so we don't clobber the current shell's
2188 # arguments. Must try -L first in case configure is actually a
2189 # symlink; some systems play weird games with the mod time of symlinks
2190 # (eg FreeBSD returns the mod time of the symlink's containing
2193 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2194 if test "$*" = "X"; then
2196 set X `ls -t $srcdir/configure conftest.file`
2199 if test "$*" != "X $srcdir/configure conftest.file" \
2200 && test "$*" != "X conftest.file $srcdir/configure"; then
2202 # If neither matched, then we have a broken ls. This can happen
2203 # if, for instance, CONFIG_SHELL is bash and it inherits a
2204 # broken ls alias from the environment. This has actually
2205 # happened. Such a system could not be considered "sane".
2206 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2207 alias in your environment" >&5
2208 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2209 alias in your environment" >&2;}
2210 { (exit 1); exit 1; }; }
2213 test "$2" = conftest.file
2219 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2220 Check your system clock" >&5
2221 $as_echo "$as_me: error: newly created file is older than distributed files!
2222 Check your system clock" >&2;}
2223 { (exit 1); exit 1; }; }
2225 { $as_echo "$as_me:$LINENO: result: yes" >&5
2226 $as_echo "yes" >&6; }
2227 test "$program_prefix" != NONE &&
2228 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2229 # Use a double $ so make ignores it.
2230 test "$program_suffix" != NONE &&
2231 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2232 # Double any \ or $.
2233 # By default was `s,x,x', remove it if useless.
2234 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2235 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2237 # expand $ac_aux_dir to an absolute path
2238 am_aux_dir=`cd $ac_aux_dir && pwd`
2240 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2241 # Use eval to expand $SHELL
2242 if eval "$MISSING --run true"; then
2243 am_missing_run="$MISSING --run "
2246 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2247 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2250 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2251 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2252 if test -z "$MKDIR_P"; then
2253 if test "${ac_cv_path_mkdir+set}" = set; then
2254 $as_echo_n "(cached) " >&6
2256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2260 test -z "$as_dir" && as_dir=.
2261 for ac_prog in mkdir gmkdir; do
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2264 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2265 'mkdir (GNU coreutils) '* | \
2266 'mkdir (coreutils) '* | \
2267 'mkdir (fileutils) '4.1*)
2268 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2278 if test "${ac_cv_path_mkdir+set}" = set; then
2279 MKDIR_P="$ac_cv_path_mkdir -p"
2281 # As a last resort, use the slow shell script. Don't cache a
2282 # value for MKDIR_P within a source directory, because that will
2283 # break other packages using the cache if that directory is
2284 # removed, or if the value is a relative name.
2285 test -d ./--version && rmdir ./--version
2286 MKDIR_P="$ac_install_sh -d"
2289 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2290 $as_echo "$MKDIR_P" >&6; }
2294 [\\/$]* | ?:[\\/]*) ;;
2295 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2298 for ac_prog in gawk mawk nawk awk
2300 # Extract the first word of "$ac_prog", so it can be a program name with args.
2301 set dummy $ac_prog; ac_word=$2
2302 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2303 $as_echo_n "checking for $ac_word... " >&6; }
2304 if test "${ac_cv_prog_AWK+set}" = set; then
2305 $as_echo_n "(cached) " >&6
2307 if test -n "$AWK"; then
2308 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 test -z "$as_dir" && as_dir=.
2315 for ac_exec_ext in '' $ac_executable_extensions; do
2316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2317 ac_cv_prog_AWK="$ac_prog"
2318 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 if test -n "$AWK"; then
2329 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2330 $as_echo "$AWK" >&6; }
2332 { $as_echo "$as_me:$LINENO: result: no" >&5
2333 $as_echo "no" >&6; }
2337 test -n "$AWK" && break
2340 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2341 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2343 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2344 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2345 $as_echo_n "(cached) " >&6
2347 cat >conftest.make <<\_ACEOF
2350 @echo '@@@%%%=$(MAKE)=@@@%%%'
2352 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2353 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2355 eval ac_cv_prog_make_${ac_make}_set=yes;;
2357 eval ac_cv_prog_make_${ac_make}_set=no;;
2361 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2362 { $as_echo "$as_me:$LINENO: result: yes" >&5
2363 $as_echo "yes" >&6; }
2366 { $as_echo "$as_me:$LINENO: result: no" >&5
2367 $as_echo "no" >&6; }
2368 SET_MAKE="MAKE=${MAKE-make}"
2371 rm -rf .tst 2>/dev/null
2372 mkdir .tst 2>/dev/null
2373 if test -d .tst; then
2378 rmdir .tst 2>/dev/null
2380 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2381 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2382 # is not polluted with repeated "-I."
2383 am__isrc=' -I$(srcdir)'
2384 # test to see if srcdir already configured
2385 if test -f $srcdir/config.status; then
2386 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2387 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2388 { (exit 1); exit 1; }; }
2392 # test whether we have cygpath
2393 if test -z "$CYGPATH_W"; then
2394 if (cygpath --version) >/dev/null 2>/dev/null; then
2395 CYGPATH_W='cygpath -w'
2402 # Define the identity of the package.
2407 cat >>confdefs.h <<_ACEOF
2408 #define PACKAGE "$PACKAGE"
2412 cat >>confdefs.h <<_ACEOF
2413 #define VERSION "$VERSION"
2416 # Some tools Automake needs.
2418 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2421 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2424 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2427 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2430 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2432 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2434 # Installed binaries are usually stripped using `strip' when the user
2435 # run `make install-strip'. However `strip' might not be the right
2436 # tool to use in cross-compilation environments, therefore Automake
2437 # will honor the `STRIP' environment variable to overrule this program.
2438 if test "$cross_compiling" != no; then
2439 if test -n "$ac_tool_prefix"; then
2440 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2441 set dummy ${ac_tool_prefix}strip; ac_word=$2
2442 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2443 $as_echo_n "checking for $ac_word... " >&6; }
2444 if test "${ac_cv_prog_STRIP+set}" = set; then
2445 $as_echo_n "(cached) " >&6
2447 if test -n "$STRIP"; then
2448 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2458 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 STRIP=$ac_cv_prog_STRIP
2468 if test -n "$STRIP"; then
2469 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2470 $as_echo "$STRIP" >&6; }
2472 { $as_echo "$as_me:$LINENO: result: no" >&5
2473 $as_echo "no" >&6; }
2478 if test -z "$ac_cv_prog_STRIP"; then
2480 # Extract the first word of "strip", so it can be a program name with args.
2481 set dummy strip; ac_word=$2
2482 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2483 $as_echo_n "checking for $ac_word... " >&6; }
2484 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2485 $as_echo_n "(cached) " >&6
2487 if test -n "$ac_ct_STRIP"; then
2488 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir=.
2495 for ac_exec_ext in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2497 ac_cv_prog_ac_ct_STRIP="strip"
2498 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2508 if test -n "$ac_ct_STRIP"; then
2509 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2510 $as_echo "$ac_ct_STRIP" >&6; }
2512 { $as_echo "$as_me:$LINENO: result: no" >&5
2513 $as_echo "no" >&6; }
2516 if test "x$ac_ct_STRIP" = x; then
2519 case $cross_compiling:$ac_tool_warned in
2521 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2523 ac_tool_warned=yes ;;
2528 STRIP="$ac_cv_prog_STRIP"
2532 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2534 # We need awk for the "check" target. The system "awk" is bad on
2536 # Always define AMTAR for backward compatibility.
2538 AMTAR=${AMTAR-"${am_missing_run}tar"}
2540 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2547 ac_config_headers="$ac_config_headers config.h"
2551 # Make sure we can run config.sub.
2552 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2553 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2554 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2555 { (exit 1); exit 1; }; }
2557 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2558 $as_echo_n "checking build system type... " >&6; }
2559 if test "${ac_cv_build+set}" = set; then
2560 $as_echo_n "(cached) " >&6
2562 ac_build_alias=$build_alias
2563 test "x$ac_build_alias" = x &&
2564 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2565 test "x$ac_build_alias" = x &&
2566 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2567 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2568 { (exit 1); exit 1; }; }
2569 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2570 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2571 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2572 { (exit 1); exit 1; }; }
2575 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2576 $as_echo "$ac_cv_build" >&6; }
2577 case $ac_cv_build in
2579 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2580 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2581 { (exit 1); exit 1; }; };;
2584 ac_save_IFS=$IFS; IFS='-'
2590 # Remember, the first character of IFS is used to create $*,
2591 # except with old shells:
2594 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2597 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2598 $as_echo_n "checking host system type... " >&6; }
2599 if test "${ac_cv_host+set}" = set; then
2600 $as_echo_n "(cached) " >&6
2602 if test "x$host_alias" = x; then
2603 ac_cv_host=$ac_cv_build
2605 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2606 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2607 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2608 { (exit 1); exit 1; }; }
2612 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2613 $as_echo "$ac_cv_host" >&6; }
2616 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2617 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2618 { (exit 1); exit 1; }; };;
2621 ac_save_IFS=$IFS; IFS='-'
2627 # Remember, the first character of IFS is used to create $*,
2628 # except with old shells:
2631 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2637 ac_cpp='$CPP $CPPFLAGS'
2638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2641 if test -n "$ac_tool_prefix"; then
2642 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2643 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2644 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2645 $as_echo_n "checking for $ac_word... " >&6; }
2646 if test "${ac_cv_prog_CC+set}" = set; then
2647 $as_echo_n "(cached) " >&6
2649 if test -n "$CC"; then
2650 ac_cv_prog_CC="$CC" # Let the user override the test.
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir=.
2657 for ac_exec_ext in '' $ac_executable_extensions; do
2658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2659 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2660 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 if test -n "$CC"; then
2671 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2672 $as_echo "$CC" >&6; }
2674 { $as_echo "$as_me:$LINENO: result: no" >&5
2675 $as_echo "no" >&6; }
2680 if test -z "$ac_cv_prog_CC"; then
2682 # Extract the first word of "gcc", so it can be a program name with args.
2683 set dummy gcc; ac_word=$2
2684 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 $as_echo_n "checking for $ac_word... " >&6; }
2686 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2687 $as_echo_n "(cached) " >&6
2689 if test -n "$ac_ct_CC"; then
2690 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696 test -z "$as_dir" && as_dir=.
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2699 ac_cv_prog_ac_ct_CC="gcc"
2700 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2710 if test -n "$ac_ct_CC"; then
2711 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2712 $as_echo "$ac_ct_CC" >&6; }
2714 { $as_echo "$as_me:$LINENO: result: no" >&5
2715 $as_echo "no" >&6; }
2718 if test "x$ac_ct_CC" = x; then
2721 case $cross_compiling:$ac_tool_warned in
2723 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2725 ac_tool_warned=yes ;;
2733 if test -z "$CC"; then
2734 if test -n "$ac_tool_prefix"; then
2735 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2736 set dummy ${ac_tool_prefix}cc; ac_word=$2
2737 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2738 $as_echo_n "checking for $ac_word... " >&6; }
2739 if test "${ac_cv_prog_CC+set}" = set; then
2740 $as_echo_n "(cached) " >&6
2742 if test -n "$CC"; then
2743 ac_cv_prog_CC="$CC" # Let the user override the test.
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir=.
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2752 ac_cv_prog_CC="${ac_tool_prefix}cc"
2753 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2763 if test -n "$CC"; then
2764 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2765 $as_echo "$CC" >&6; }
2767 { $as_echo "$as_me:$LINENO: result: no" >&5
2768 $as_echo "no" >&6; }
2774 if test -z "$CC"; then
2775 # Extract the first word of "cc", so it can be a program name with args.
2776 set dummy cc; ac_word=$2
2777 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2778 $as_echo_n "checking for $ac_word... " >&6; }
2779 if test "${ac_cv_prog_CC+set}" = set; then
2780 $as_echo_n "(cached) " >&6
2782 if test -n "$CC"; then
2783 ac_cv_prog_CC="$CC" # Let the user override the test.
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir=.
2791 for ac_exec_ext in '' $ac_executable_extensions; do
2792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2793 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2794 ac_prog_rejected=yes
2798 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 if test $ac_prog_rejected = yes; then
2806 # We found a bogon in the path, so make sure we never use it.
2807 set dummy $ac_cv_prog_CC
2809 if test $# != 0; then
2810 # We chose a different compiler from the bogus one.
2811 # However, it has the same basename, so the bogon will be chosen
2812 # first if we set CC to just the basename; use the full file name.
2814 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2820 if test -n "$CC"; then
2821 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2822 $as_echo "$CC" >&6; }
2824 { $as_echo "$as_me:$LINENO: result: no" >&5
2825 $as_echo "no" >&6; }
2830 if test -z "$CC"; then
2831 if test -n "$ac_tool_prefix"; then
2832 for ac_prog in cl.exe
2834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2836 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2837 $as_echo_n "checking for $ac_word... " >&6; }
2838 if test "${ac_cv_prog_CC+set}" = set; then
2839 $as_echo_n "(cached) " >&6
2841 if test -n "$CC"; then
2842 ac_cv_prog_CC="$CC" # Let the user override the test.
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848 test -z "$as_dir" && as_dir=.
2849 for ac_exec_ext in '' $ac_executable_extensions; do
2850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2851 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2852 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 if test -n "$CC"; then
2863 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2864 $as_echo "$CC" >&6; }
2866 { $as_echo "$as_me:$LINENO: result: no" >&5
2867 $as_echo "no" >&6; }
2871 test -n "$CC" && break
2874 if test -z "$CC"; then
2876 for ac_prog in cl.exe
2878 # Extract the first word of "$ac_prog", so it can be a program name with args.
2879 set dummy $ac_prog; ac_word=$2
2880 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$ac_ct_CC"; then
2886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir=.
2893 for ac_exec_ext in '' $ac_executable_extensions; do
2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2895 ac_cv_prog_ac_ct_CC="$ac_prog"
2896 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2906 if test -n "$ac_ct_CC"; then
2907 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2908 $as_echo "$ac_ct_CC" >&6; }
2910 { $as_echo "$as_me:$LINENO: result: no" >&5
2911 $as_echo "no" >&6; }
2915 test -n "$ac_ct_CC" && break
2918 if test "x$ac_ct_CC" = x; then
2921 case $cross_compiling:$ac_tool_warned in
2923 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2925 ac_tool_warned=yes ;;
2934 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2936 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2937 See \`config.log' for more details." >&5
2938 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2939 See \`config.log' for more details." >&2;}
2940 { (exit 1); exit 1; }; }; }
2942 # Provide some information about the compiler.
2943 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2946 { (ac_try="$ac_compiler --version >&5"
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2952 $as_echo "$ac_try_echo") >&5
2953 (eval "$ac_compiler --version >&5") 2>&5
2955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }
2957 { (ac_try="$ac_compiler -v >&5"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2963 $as_echo "$ac_try_echo") >&5
2964 (eval "$ac_compiler -v >&5") 2>&5
2966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); }
2968 { (ac_try="$ac_compiler -V >&5"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2974 $as_echo "$ac_try_echo") >&5
2975 (eval "$ac_compiler -V >&5") 2>&5
2977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }
2980 cat >conftest.$ac_ext <<_ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2995 ac_clean_files_save=$ac_clean_files
2996 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2997 # Try to create an executable without -o first, disregard a.out.
2998 # It will help us diagnose broken compilers, and finding out an intuition
3000 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3001 $as_echo_n "checking for C compiler default output file name... " >&6; }
3002 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3004 # The possible output files:
3005 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3008 for ac_file in $ac_files
3011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3012 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3017 if { (ac_try="$ac_link_default"
3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3023 $as_echo "$ac_try_echo") >&5
3024 (eval "$ac_link_default") 2>&5
3026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; then
3028 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3029 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3030 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3031 # so that the user can short-circuit this test for compilers unknown to
3033 for ac_file in $ac_files ''
3035 test -f "$ac_file" || continue
3037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3040 # We found the default executable, but exeext='' is most
3044 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3046 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3048 # We set ac_cv_exeext here because the later test for it is not
3049 # safe: cross compilers may not add the suffix if given an `-o'
3050 # argument, so we may need to know it at that point already.
3051 # Even if this section looks crufty: it has the advantage of
3058 test "$ac_cv_exeext" = no && ac_cv_exeext=
3064 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3065 $as_echo "$ac_file" >&6; }
3066 if test -z "$ac_file"; then
3067 $as_echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3070 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3072 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3073 See \`config.log' for more details." >&5
3074 $as_echo "$as_me: error: C compiler cannot create executables
3075 See \`config.log' for more details." >&2;}
3076 { (exit 77); exit 77; }; }; }
3079 ac_exeext=$ac_cv_exeext
3081 # Check that the compiler produces executables we can run. If not, either
3082 # the compiler is broken, or we cross compile.
3083 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3084 $as_echo_n "checking whether the C compiler works... " >&6; }
3085 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3086 # If not cross compiling, check that we can run a simple program.
3087 if test "$cross_compiling" != yes; then
3088 if { ac_try='./$ac_file'
3089 { (case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3094 $as_echo "$ac_try_echo") >&5
3095 (eval "$ac_try") 2>&5
3097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }; }; then
3101 if test "$cross_compiling" = maybe; then
3104 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3106 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3107 If you meant to cross compile, use \`--host'.
3108 See \`config.log' for more details." >&5
3109 $as_echo "$as_me: error: cannot run C compiled programs.
3110 If you meant to cross compile, use \`--host'.
3111 See \`config.log' for more details." >&2;}
3112 { (exit 1); exit 1; }; }; }
3116 { $as_echo "$as_me:$LINENO: result: yes" >&5
3117 $as_echo "yes" >&6; }
3119 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3120 ac_clean_files=$ac_clean_files_save
3121 # Check that the compiler produces executables we can run. If not, either
3122 # the compiler is broken, or we cross compile.
3123 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3124 $as_echo_n "checking whether we are cross compiling... " >&6; }
3125 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3126 $as_echo "$cross_compiling" >&6; }
3128 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3129 $as_echo_n "checking for suffix of executables... " >&6; }
3130 if { (ac_try="$ac_link"
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3136 $as_echo "$ac_try_echo") >&5
3137 (eval "$ac_link") 2>&5
3139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }; then
3141 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3142 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3143 # work properly (i.e., refer to `conftest.exe'), while it won't with
3145 for ac_file in conftest.exe conftest conftest.*; do
3146 test -f "$ac_file" || continue
3148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3149 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3155 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3157 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3158 See \`config.log' for more details." >&5
3159 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3160 See \`config.log' for more details." >&2;}
3161 { (exit 1); exit 1; }; }; }
3164 rm -f conftest$ac_cv_exeext
3165 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3166 $as_echo "$ac_cv_exeext" >&6; }
3168 rm -f conftest.$ac_ext
3169 EXEEXT=$ac_cv_exeext
3171 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3172 $as_echo_n "checking for suffix of object files... " >&6; }
3173 if test "${ac_cv_objext+set}" = set; then
3174 $as_echo_n "(cached) " >&6
3176 cat >conftest.$ac_ext <<_ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3191 rm -f conftest.o conftest.obj
3192 if { (ac_try="$ac_compile"
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3198 $as_echo "$ac_try_echo") >&5
3199 (eval "$ac_compile") 2>&5
3201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); }; then
3203 for ac_file in conftest.o conftest.obj conftest.*; do
3204 test -f "$ac_file" || continue;
3206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3207 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3212 $as_echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3215 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3217 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3218 See \`config.log' for more details." >&5
3219 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3220 See \`config.log' for more details." >&2;}
3221 { (exit 1); exit 1; }; }; }
3224 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3226 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3227 $as_echo "$ac_cv_objext" >&6; }
3228 OBJEXT=$ac_cv_objext
3230 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3231 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3232 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3233 $as_echo_n "(cached) " >&6
3235 cat >conftest.$ac_ext <<_ACEOF
3238 cat confdefs.h >>conftest.$ac_ext
3239 cat >>conftest.$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3253 rm -f conftest.$ac_objext
3254 if { (ac_try="$ac_compile"
3256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3257 *) ac_try_echo=$ac_try;;
3259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3260 $as_echo "$ac_try_echo") >&5
3261 (eval "$ac_compile") 2>conftest.er1
3263 grep -v '^ *+' conftest.er1 >conftest.err
3265 cat conftest.err >&5
3266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } && {
3268 test -z "$ac_c_werror_flag" ||
3269 test ! -s conftest.err
3270 } && test -s conftest.$ac_objext; then
3273 $as_echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3280 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3283 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3284 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3285 if test $ac_compiler_gnu = yes; then
3290 ac_test_CFLAGS=${CFLAGS+set}
3291 ac_save_CFLAGS=$CFLAGS
3292 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3293 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3294 if test "${ac_cv_prog_cc_g+set}" = set; then
3295 $as_echo_n "(cached) " >&6
3297 ac_save_c_werror_flag=$ac_c_werror_flag
3298 ac_c_werror_flag=yes
3301 cat >conftest.$ac_ext <<_ACEOF
3304 cat confdefs.h >>conftest.$ac_ext
3305 cat >>conftest.$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3316 rm -f conftest.$ac_objext
3317 if { (ac_try="$ac_compile"
3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3323 $as_echo "$ac_try_echo") >&5
3324 (eval "$ac_compile") 2>conftest.er1
3326 grep -v '^ *+' conftest.er1 >conftest.err
3328 cat conftest.err >&5
3329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } && {
3331 test -z "$ac_c_werror_flag" ||
3332 test ! -s conftest.err
3333 } && test -s conftest.$ac_objext; then
3336 $as_echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3340 cat >conftest.$ac_ext <<_ACEOF
3343 cat confdefs.h >>conftest.$ac_ext
3344 cat >>conftest.$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3355 rm -f conftest.$ac_objext
3356 if { (ac_try="$ac_compile"
3358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359 *) ac_try_echo=$ac_try;;
3361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3362 $as_echo "$ac_try_echo") >&5
3363 (eval "$ac_compile") 2>conftest.er1
3365 grep -v '^ *+' conftest.er1 >conftest.err
3367 cat conftest.err >&5
3368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } && {
3370 test -z "$ac_c_werror_flag" ||
3371 test ! -s conftest.err
3372 } && test -s conftest.$ac_objext; then
3375 $as_echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3378 ac_c_werror_flag=$ac_save_c_werror_flag
3380 cat >conftest.$ac_ext <<_ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3395 rm -f conftest.$ac_objext
3396 if { (ac_try="$ac_compile"
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3402 $as_echo "$ac_try_echo") >&5
3403 (eval "$ac_compile") 2>conftest.er1
3405 grep -v '^ *+' conftest.er1 >conftest.err
3407 cat conftest.err >&5
3408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); } && {
3410 test -z "$ac_c_werror_flag" ||
3411 test ! -s conftest.err
3412 } && test -s conftest.$ac_objext; then
3415 $as_echo "$as_me: failed program was:" >&5
3416 sed 's/^/| /' conftest.$ac_ext >&5
3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 ac_c_werror_flag=$ac_save_c_werror_flag
3430 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3431 $as_echo "$ac_cv_prog_cc_g" >&6; }
3432 if test "$ac_test_CFLAGS" = set; then
3433 CFLAGS=$ac_save_CFLAGS
3434 elif test $ac_cv_prog_cc_g = yes; then
3435 if test "$GCC" = yes; then
3441 if test "$GCC" = yes; then
3447 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3448 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3449 if test "${ac_cv_prog_cc_c89+set}" = set; then
3450 $as_echo_n "(cached) " >&6
3452 ac_cv_prog_cc_c89=no
3454 cat >conftest.$ac_ext <<_ACEOF
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3462 #include <sys/types.h>
3463 #include <sys/stat.h>
3464 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3465 struct buf { int x; };
3466 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3467 static char *e (p, i)
3473 static char *f (char * (*g) (char **, int), char **p, ...)
3478 s = g (p, va_arg (v,int));
3483 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3484 function prototypes and stuff, but not '\xHH' hex character constants.
3485 These don't provoke an error unfortunately, instead are silently treated
3486 as 'x'. The following induces an error, until -std is added to get
3487 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3488 array size at least. It's necessary to write '\x00'==0 to get something
3489 that's true only with -std. */
3490 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3492 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3493 inside strings and character constants. */
3495 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3497 int test (int i, double x);
3498 struct s1 {int (*f) (int a);};
3499 struct s2 {int (*f) (double a);};
3500 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3506 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3511 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3512 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3514 CC="$ac_save_CC $ac_arg"
3515 rm -f conftest.$ac_objext
3516 if { (ac_try="$ac_compile"
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3522 $as_echo "$ac_try_echo") >&5
3523 (eval "$ac_compile") 2>conftest.er1
3525 grep -v '^ *+' conftest.er1 >conftest.err
3527 cat conftest.err >&5
3528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } && {
3530 test -z "$ac_c_werror_flag" ||
3531 test ! -s conftest.err
3532 } && test -s conftest.$ac_objext; then
3533 ac_cv_prog_cc_c89=$ac_arg
3535 $as_echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.$ac_ext >&5
3541 rm -f core conftest.err conftest.$ac_objext
3542 test "x$ac_cv_prog_cc_c89" != "xno" && break
3544 rm -f conftest.$ac_ext
3549 case "x$ac_cv_prog_cc_c89" in
3551 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3552 $as_echo "none needed" >&6; } ;;
3554 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3555 $as_echo "unsupported" >&6; } ;;
3557 CC="$CC $ac_cv_prog_cc_c89"
3558 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3559 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3568 DEPDIR="${am__leading_dot}deps"
3570 ac_config_commands="$ac_config_commands depfiles"
3573 am_make=${MAKE-make}
3574 cat > confinc << 'END'
3579 # If we don't find an include directive, just comment out the code.
3580 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3581 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3585 # First try GNU make style include.
3586 echo "include confinc" > confmf
3587 # We grep out `Entering directory' and `Leaving directory'
3588 # messages which can occur if `w' ends up in MAKEFLAGS.
3589 # In particular we don't look at `^make:' because GNU make might
3590 # be invoked under some other name (usually "gmake"), in which
3591 # case it prints its new name instead of `make'.
3592 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3597 # Now try BSD make style include.
3598 if test "$am__include" = "#"; then
3599 echo '.include "confinc"' > confmf
3600 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3601 am__include=.include
3608 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3609 $as_echo "$_am_result" >&6; }
3610 rm -f confinc confmf
3612 # Check whether --enable-dependency-tracking was given.
3613 if test "${enable_dependency_tracking+set}" = set; then
3614 enableval=$enable_dependency_tracking;
3617 if test "x$enable_dependency_tracking" != xno; then
3618 am_depcomp="$ac_aux_dir/depcomp"
3621 if test "x$enable_dependency_tracking" != xno; then
3631 depcc="$CC" am_compiler_list=
3633 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3634 $as_echo_n "checking dependency style of $depcc... " >&6; }
3635 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3636 $as_echo_n "(cached) " >&6
3638 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3639 # We make a subdir and do the tests there. Otherwise we can end up
3640 # making bogus files that we don't know about and never remove. For
3641 # instance it was reported that on HP-UX the gcc test will end up
3642 # making a dummy file named `D' -- because `-MD' means `put the output
3645 # Copy depcomp to subdir because otherwise we won't find it if we're
3646 # using a relative directory.
3647 cp "$am_depcomp" conftest.dir
3649 # We will build objects and dependencies in a subdirectory because
3650 # it helps to detect inapplicable dependency modes. For instance
3651 # both Tru64's cc and ICC support -MD to output dependencies as a
3652 # side effect of compilation, but ICC will put the dependencies in
3653 # the current directory while Tru64 will put them in the object
3657 am_cv_CC_dependencies_compiler_type=none
3658 if test "$am_compiler_list" = ""; then
3659 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3661 for depmode in $am_compiler_list; do
3662 # Setup a source with many dependencies, because some compilers
3663 # like to wrap large dependency lists on column 80 (with \), and
3664 # we should not choose a depcomp mode which is confused by this.
3666 # We need to recreate these files for each test, as the compiler may
3667 # overwrite some of them when testing with obscure command lines.
3668 # This happens at least with the AIX C compiler.
3670 for i in 1 2 3 4 5 6; do
3671 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3672 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3673 # Solaris 8's {/usr,}/bin/sh.
3674 touch sub/conftst$i.h
3676 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3680 # after this tag, mechanisms are not by side-effect, so they'll
3681 # only be used when explicitly requested
3682 if test "x$enable_dependency_tracking" = xyes; then
3690 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3691 # mode. It turns out that the SunPro C++ compiler does not properly
3692 # handle `-M -o', and we need to detect this.
3693 if depmode=$depmode \
3694 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3695 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3696 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3697 >/dev/null 2>conftest.err &&
3698 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3699 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3700 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3701 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3702 # icc doesn't choke on unknown options, it will just issue warnings
3703 # or remarks (even with -Werror). So we grep stderr for any message
3704 # that says an option was ignored or not supported.
3705 # When given -MP, icc 7.0 and 7.1 complain thusly:
3706 # icc: Command line warning: ignoring option '-M'; no argument required
3707 # The diagnosis changed in icc 8.0:
3708 # icc: Command line remark: option '-MP' not supported
3709 if (grep 'ignoring option' conftest.err ||
3710 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3711 am_cv_CC_dependencies_compiler_type=$depmode
3720 am_cv_CC_dependencies_compiler_type=none
3724 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3725 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3726 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3729 test "x$enable_dependency_tracking" != xno \
3730 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3732 am__fastdepCC_FALSE='#'
3734 am__fastdepCC_TRUE='#'
3735 am__fastdepCC_FALSE=
3739 # By default we simply use the C compiler to build assembly code.
3741 test "${CCAS+set}" = set || CCAS=$CC
3742 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3746 depcc="$CCAS" am_compiler_list=
3748 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3749 $as_echo_n "checking dependency style of $depcc... " >&6; }
3750 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
3751 $as_echo_n "(cached) " >&6
3753 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3754 # We make a subdir and do the tests there. Otherwise we can end up
3755 # making bogus files that we don't know about and never remove. For
3756 # instance it was reported that on HP-UX the gcc test will end up
3757 # making a dummy file named `D' -- because `-MD' means `put the output
3760 # Copy depcomp to subdir because otherwise we won't find it if we're
3761 # using a relative directory.
3762 cp "$am_depcomp" conftest.dir
3764 # We will build objects and dependencies in a subdirectory because
3765 # it helps to detect inapplicable dependency modes. For instance
3766 # both Tru64's cc and ICC support -MD to output dependencies as a
3767 # side effect of compilation, but ICC will put the dependencies in
3768 # the current directory while Tru64 will put them in the object
3772 am_cv_CCAS_dependencies_compiler_type=none
3773 if test "$am_compiler_list" = ""; then
3774 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3776 for depmode in $am_compiler_list; do
3777 # Setup a source with many dependencies, because some compilers
3778 # like to wrap large dependency lists on column 80 (with \), and
3779 # we should not choose a depcomp mode which is confused by this.
3781 # We need to recreate these files for each test, as the compiler may
3782 # overwrite some of them when testing with obscure command lines.
3783 # This happens at least with the AIX C compiler.
3785 for i in 1 2 3 4 5 6; do
3786 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3787 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3788 # Solaris 8's {/usr,}/bin/sh.
3789 touch sub/conftst$i.h
3791 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3795 # after this tag, mechanisms are not by side-effect, so they'll
3796 # only be used when explicitly requested
3797 if test "x$enable_dependency_tracking" = xyes; then
3805 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3806 # mode. It turns out that the SunPro C++ compiler does not properly
3807 # handle `-M -o', and we need to detect this.
3808 if depmode=$depmode \
3809 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3810 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3811 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3812 >/dev/null 2>conftest.err &&
3813 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3814 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3815 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3816 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3817 # icc doesn't choke on unknown options, it will just issue warnings
3818 # or remarks (even with -Werror). So we grep stderr for any message
3819 # that says an option was ignored or not supported.
3820 # When given -MP, icc 7.0 and 7.1 complain thusly:
3821 # icc: Command line warning: ignoring option '-M'; no argument required
3822 # The diagnosis changed in icc 8.0:
3823 # icc: Command line remark: option '-MP' not supported
3824 if (grep 'ignoring option' conftest.err ||
3825 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3826 am_cv_CCAS_dependencies_compiler_type=$depmode
3835 am_cv_CCAS_dependencies_compiler_type=none
3839 { $as_echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3840 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3841 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3844 test "x$enable_dependency_tracking" != xno \
3845 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3846 am__fastdepCCAS_TRUE=
3847 am__fastdepCCAS_FALSE='#'
3849 am__fastdepCCAS_TRUE='#'
3850 am__fastdepCCAS_FALSE=
3855 if test "$GCC" = yes
3861 CPPFLAGS="$CPPFLAGS -mno-cygwin"
3862 LDFLAGS="$LDFLAGS -mno-cygwin"
3872 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3873 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3878 macro_version='2.2.6'
3879 macro_revision='1.3012'
3893 ltmain="$ac_aux_dir/ltmain.sh"
3895 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3896 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3897 if test "${ac_cv_path_SED+set}" = set; then
3898 $as_echo_n "(cached) " >&6
3900 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3901 for ac_i in 1 2 3 4 5 6 7; do
3902 ac_script="$ac_script$as_nl$ac_script"
3904 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3905 $as_unset ac_script || ac_script=
3906 if test -z "$SED"; then
3907 ac_path_SED_found=false
3908 # Loop through the user's path and test for each of PROGNAME-LIST
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir=.
3914 for ac_prog in sed gsed; do
3915 for ac_exec_ext in '' $ac_executable_extensions; do
3916 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3917 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3918 # Check for GNU ac_path_SED and select it if it is found.
3919 # Check for GNU $ac_path_SED
3920 case `"$ac_path_SED" --version 2>&1` in
3922 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3925 $as_echo_n 0123456789 >"conftest.in"
3928 cat "conftest.in" "conftest.in" >"conftest.tmp"
3929 mv "conftest.tmp" "conftest.in"
3930 cp "conftest.in" "conftest.nl"
3931 $as_echo '' >> "conftest.nl"
3932 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3933 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3934 ac_count=`expr $ac_count + 1`
3935 if test $ac_count -gt ${ac_path_SED_max-0}; then
3936 # Best one so far, save it but keep looking for a better one
3937 ac_cv_path_SED="$ac_path_SED"
3938 ac_path_SED_max=$ac_count
3940 # 10*(2^10) chars as input seems more than enough
3941 test $ac_count -gt 10 && break
3943 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3946 $ac_path_SED_found && break 3
3951 if test -z "$ac_cv_path_SED"; then
3952 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3953 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3954 { (exit 1); exit 1; }; }
3961 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3962 $as_echo "$ac_cv_path_SED" >&6; }
3963 SED="$ac_cv_path_SED"
3966 test -z "$SED" && SED=sed
3967 Xsed="$SED -e 1s/^X//"
3979 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3980 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3981 if test "${ac_cv_path_GREP+set}" = set; then
3982 $as_echo_n "(cached) " >&6
3984 if test -z "$GREP"; then
3985 ac_path_GREP_found=false
3986 # Loop through the user's path and test for each of PROGNAME-LIST
3987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3991 test -z "$as_dir" && as_dir=.
3992 for ac_prog in grep ggrep; do
3993 for ac_exec_ext in '' $ac_executable_extensions; do
3994 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3995 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3996 # Check for GNU ac_path_GREP and select it if it is found.
3997 # Check for GNU $ac_path_GREP
3998 case `"$ac_path_GREP" --version 2>&1` in
4000 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4003 $as_echo_n 0123456789 >"conftest.in"
4006 cat "conftest.in" "conftest.in" >"conftest.tmp"
4007 mv "conftest.tmp" "conftest.in"
4008 cp "conftest.in" "conftest.nl"
4009 $as_echo 'GREP' >> "conftest.nl"
4010 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4011 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4012 ac_count=`expr $ac_count + 1`
4013 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4014 # Best one so far, save it but keep looking for a better one
4015 ac_cv_path_GREP="$ac_path_GREP"
4016 ac_path_GREP_max=$ac_count
4018 # 10*(2^10) chars as input seems more than enough
4019 test $ac_count -gt 10 && break
4021 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4024 $ac_path_GREP_found && break 3
4029 if test -z "$ac_cv_path_GREP"; then
4030 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4031 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4032 { (exit 1); exit 1; }; }
4035 ac_cv_path_GREP=$GREP
4039 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4040 $as_echo "$ac_cv_path_GREP" >&6; }
4041 GREP="$ac_cv_path_GREP"
4044 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4045 $as_echo_n "checking for egrep... " >&6; }
4046 if test "${ac_cv_path_EGREP+set}" = set; then
4047 $as_echo_n "(cached) " >&6
4049 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4050 then ac_cv_path_EGREP="$GREP -E"
4052 if test -z "$EGREP"; then
4053 ac_path_EGREP_found=false
4054 # Loop through the user's path and test for each of PROGNAME-LIST
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4059 test -z "$as_dir" && as_dir=.
4060 for ac_prog in egrep; do
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4063 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4064 # Check for GNU ac_path_EGREP and select it if it is found.
4065 # Check for GNU $ac_path_EGREP
4066 case `"$ac_path_EGREP" --version 2>&1` in
4068 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4071 $as_echo_n 0123456789 >"conftest.in"
4074 cat "conftest.in" "conftest.in" >"conftest.tmp"
4075 mv "conftest.tmp" "conftest.in"
4076 cp "conftest.in" "conftest.nl"
4077 $as_echo 'EGREP' >> "conftest.nl"
4078 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4079 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4080 ac_count=`expr $ac_count + 1`
4081 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4082 # Best one so far, save it but keep looking for a better one
4083 ac_cv_path_EGREP="$ac_path_EGREP"
4084 ac_path_EGREP_max=$ac_count
4086 # 10*(2^10) chars as input seems more than enough
4087 test $ac_count -gt 10 && break
4089 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4092 $ac_path_EGREP_found && break 3
4097 if test -z "$ac_cv_path_EGREP"; then
4098 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4099 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4100 { (exit 1); exit 1; }; }
4103 ac_cv_path_EGREP=$EGREP
4108 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4109 $as_echo "$ac_cv_path_EGREP" >&6; }
4110 EGREP="$ac_cv_path_EGREP"
4113 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4114 $as_echo_n "checking for fgrep... " >&6; }
4115 if test "${ac_cv_path_FGREP+set}" = set; then
4116 $as_echo_n "(cached) " >&6
4118 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4119 then ac_cv_path_FGREP="$GREP -F"
4121 if test -z "$FGREP"; then
4122 ac_path_FGREP_found=false
4123 # Loop through the user's path and test for each of PROGNAME-LIST
4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4128 test -z "$as_dir" && as_dir=.
4129 for ac_prog in fgrep; do
4130 for ac_exec_ext in '' $ac_executable_extensions; do
4131 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4132 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4133 # Check for GNU ac_path_FGREP and select it if it is found.
4134 # Check for GNU $ac_path_FGREP
4135 case `"$ac_path_FGREP" --version 2>&1` in
4137 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4140 $as_echo_n 0123456789 >"conftest.in"
4143 cat "conftest.in" "conftest.in" >"conftest.tmp"
4144 mv "conftest.tmp" "conftest.in"
4145 cp "conftest.in" "conftest.nl"
4146 $as_echo 'FGREP' >> "conftest.nl"
4147 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4148 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4149 ac_count=`expr $ac_count + 1`
4150 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4151 # Best one so far, save it but keep looking for a better one
4152 ac_cv_path_FGREP="$ac_path_FGREP"
4153 ac_path_FGREP_max=$ac_count
4155 # 10*(2^10) chars as input seems more than enough
4156 test $ac_count -gt 10 && break
4158 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4161 $ac_path_FGREP_found && break 3
4166 if test -z "$ac_cv_path_FGREP"; then
4167 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4168 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4169 { (exit 1); exit 1; }; }
4172 ac_cv_path_FGREP=$FGREP
4177 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4178 $as_echo "$ac_cv_path_FGREP" >&6; }
4179 FGREP="$ac_cv_path_FGREP"
4182 test -z "$GREP" && GREP=grep
4202 # Check whether --with-gnu-ld was given.
4203 if test "${with_gnu_ld+set}" = set; then
4204 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4210 if test "$GCC" = yes; then
4211 # Check if gcc -print-prog-name=ld gives a path.
4212 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4213 $as_echo_n "checking for ld used by $CC... " >&6; }
4216 # gcc leaves a trailing carriage return which upsets mingw
4217 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4219 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4222 # Accept absolute paths.
4224 re_direlt='/[^/][^/]*/\.\./'
4225 # Canonicalize the pathname of ld
4226 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4227 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4228 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4230 test -z "$LD" && LD="$ac_prog"
4233 # If it fails, then pretend we aren't using GCC.
4237 # If it is relative, then search for the first ld in PATH.
4241 elif test "$with_gnu_ld" = yes; then
4242 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4243 $as_echo_n "checking for GNU ld... " >&6; }
4245 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4246 $as_echo_n "checking for non-GNU ld... " >&6; }
4248 if test "${lt_cv_path_LD+set}" = set; then
4249 $as_echo_n "(cached) " >&6
4251 if test -z "$LD"; then
4252 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4253 for ac_dir in $PATH; do
4255 test -z "$ac_dir" && ac_dir=.
4256 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4257 lt_cv_path_LD="$ac_dir/$ac_prog"
4258 # Check to see if the program is GNU ld. I'd rather use --version,
4259 # but apparently some variants of GNU ld only accept -v.
4260 # Break only if it was the GNU/non-GNU ld that we prefer.
4261 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4262 *GNU* | *'with BFD'*)
4263 test "$with_gnu_ld" != no && break
4266 test "$with_gnu_ld" != yes && break
4273 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4278 if test -n "$LD"; then
4279 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4280 $as_echo "$LD" >&6; }
4282 { $as_echo "$as_me:$LINENO: result: no" >&5
4283 $as_echo "no" >&6; }
4285 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4286 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4287 { (exit 1); exit 1; }; }
4288 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4289 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4290 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4291 $as_echo_n "(cached) " >&6
4293 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4294 case `$LD -v 2>&1 </dev/null` in
4295 *GNU* | *'with BFD'*)
4296 lt_cv_prog_gnu_ld=yes
4299 lt_cv_prog_gnu_ld=no
4303 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4304 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4305 with_gnu_ld=$lt_cv_prog_gnu_ld
4315 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4316 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4317 if test "${lt_cv_path_NM+set}" = set; then
4318 $as_echo_n "(cached) " >&6
4320 if test -n "$NM"; then
4321 # Let the user override the test.
4324 lt_nm_to_check="${ac_tool_prefix}nm"
4325 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4326 lt_nm_to_check="$lt_nm_to_check nm"
4328 for lt_tmp_nm in $lt_nm_to_check; do
4329 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4330 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4332 test -z "$ac_dir" && ac_dir=.
4333 tmp_nm="$ac_dir/$lt_tmp_nm"
4334 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4335 # Check to see if the nm accepts a BSD-compat flag.
4336 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4337 # nm: unknown option "B" ignored
4338 # Tru64's nm complains that /dev/null is an invalid object file
4339 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4340 */dev/null* | *'Invalid file or object type'*)
4341 lt_cv_path_NM="$tmp_nm -B"
4345 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4347 lt_cv_path_NM="$tmp_nm -p"
4351 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4352 continue # so that we can try to find one that supports BSD flags
4361 : ${lt_cv_path_NM=no}
4364 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4365 $as_echo "$lt_cv_path_NM" >&6; }
4366 if test "$lt_cv_path_NM" != "no"; then
4369 # Didn't find any BSD compatible name lister, look for dumpbin.
4370 if test -n "$ac_tool_prefix"; then
4371 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4375 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4378 $as_echo_n "(cached) " >&6
4380 if test -n "$DUMPBIN"; then
4381 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4390 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4391 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 DUMPBIN=$ac_cv_prog_DUMPBIN
4401 if test -n "$DUMPBIN"; then
4402 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4403 $as_echo "$DUMPBIN" >&6; }
4405 { $as_echo "$as_me:$LINENO: result: no" >&5
4406 $as_echo "no" >&6; }
4410 test -n "$DUMPBIN" && break
4413 if test -z "$DUMPBIN"; then
4414 ac_ct_DUMPBIN=$DUMPBIN
4415 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4417 # Extract the first word of "$ac_prog", so it can be a program name with args.
4418 set dummy $ac_prog; ac_word=$2
4419 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4422 $as_echo_n "(cached) " >&6
4424 if test -n "$ac_ct_DUMPBIN"; then
4425 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4431 test -z "$as_dir" && as_dir=.
4432 for ac_exec_ext in '' $ac_executable_extensions; do
4433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4434 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4435 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4445 if test -n "$ac_ct_DUMPBIN"; then
4446 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4447 $as_echo "$ac_ct_DUMPBIN" >&6; }
4449 { $as_echo "$as_me:$LINENO: result: no" >&5
4450 $as_echo "no" >&6; }
4454 test -n "$ac_ct_DUMPBIN" && break
4457 if test "x$ac_ct_DUMPBIN" = x; then
4460 case $cross_compiling:$ac_tool_warned in
4462 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4464 ac_tool_warned=yes ;;
4466 DUMPBIN=$ac_ct_DUMPBIN
4471 if test "$DUMPBIN" != ":"; then
4475 test -z "$NM" && NM=nm
4482 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4483 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4484 if test "${lt_cv_nm_interface+set}" = set; then
4485 $as_echo_n "(cached) " >&6
4487 lt_cv_nm_interface="BSD nm"
4488 echo "int some_variable = 0;" > conftest.$ac_ext
4489 (eval echo "\"\$as_me:4489: $ac_compile\"" >&5)
4490 (eval "$ac_compile" 2>conftest.err)
4491 cat conftest.err >&5
4492 (eval echo "\"\$as_me:4492: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4493 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4494 cat conftest.err >&5
4495 (eval echo "\"\$as_me:4495: output\"" >&5)
4496 cat conftest.out >&5
4497 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4498 lt_cv_nm_interface="MS dumpbin"
4502 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4503 $as_echo "$lt_cv_nm_interface" >&6; }
4505 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4506 $as_echo_n "checking whether ln -s works... " >&6; }
4508 if test "$LN_S" = "ln -s"; then
4509 { $as_echo "$as_me:$LINENO: result: yes" >&5
4510 $as_echo "yes" >&6; }
4512 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4513 $as_echo "no, using $LN_S" >&6; }
4516 # find the maximum length of command line arguments
4517 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4518 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4519 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4520 $as_echo_n "(cached) " >&6
4527 # On DJGPP, this test can blow up pretty badly due to problems in libc
4528 # (any single argument exceeding 2000 bytes causes a buffer overrun
4529 # during glob expansion). Even if it were fixed, the result of this
4530 # check would be larger than it should be.
4531 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4535 # Under GNU Hurd, this test is not required because there is
4536 # no limit to the length of command line arguments.
4537 # Libtool will interpret -1 as no limit whatsoever
4538 lt_cv_sys_max_cmd_len=-1;
4541 cygwin* | mingw* | cegcc*)
4542 # On Win9x/ME, this test blows up -- it succeeds, but takes
4543 # about 5 minutes as the teststring grows exponentially.
4544 # Worse, since 9x/ME are not pre-emptively multitasking,
4545 # you end up with a "frozen" computer, even though with patience
4546 # the test eventually succeeds (with a max line length of 256k).
4547 # Instead, let's just punt: use the minimum linelength reported by
4548 # all of the supported platforms: 8192 (on NT/2K/XP).
4549 lt_cv_sys_max_cmd_len=8192;
4553 # On AmigaOS with pdksh, this test takes hours, literally.
4554 # So we just punt and use a minimum line length of 8192.
4555 lt_cv_sys_max_cmd_len=8192;
4558 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4559 # This has been around since 386BSD, at least. Likely further.
4560 if test -x /sbin/sysctl; then
4561 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4562 elif test -x /usr/sbin/sysctl; then
4563 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4565 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4567 # And add a safety zone
4568 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4569 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4573 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4574 lt_cv_sys_max_cmd_len=196608
4578 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4579 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4580 # nice to cause kernel panics so lets avoid the loop below.
4581 # First set a reasonable default.
4582 lt_cv_sys_max_cmd_len=16384
4584 if test -x /sbin/sysconfig; then
4585 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4586 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4591 lt_cv_sys_max_cmd_len=102400
4593 sysv5* | sco5v6* | sysv4.2uw2*)
4594 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4595 if test -n "$kargmax"; then
4596 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4598 lt_cv_sys_max_cmd_len=32768
4602 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4603 if test -n "$lt_cv_sys_max_cmd_len"; then
4604 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4605 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4607 # Make teststring a little bigger before we do anything with it.
4608 # a 1K string should be a reasonable start.
4609 for i in 1 2 3 4 5 6 7 8 ; do
4610 teststring=$teststring$teststring
4612 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4613 # If test is not a shell built-in, we'll probably end up computing a
4614 # maximum length that is only half of the actual maximum length, but
4616 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4617 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4618 test $i != 17 # 1/2 MB should be enough
4621 teststring=$teststring$teststring
4623 # Only check the string length outside the loop.
4624 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4626 # Add a significant safety factor because C++ compilers can tack on
4627 # massive amounts of additional arguments before passing them to the
4628 # linker. It appears as though 1/2 is a usable value.
4629 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4636 if test -n $lt_cv_sys_max_cmd_len ; then
4637 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4638 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4640 { $as_echo "$as_me:$LINENO: result: none" >&5
4641 $as_echo "none" >&6; }
4643 max_cmd_len=$lt_cv_sys_max_cmd_len
4654 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4655 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4656 # Try some XSI features
4659 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4661 && eval 'test $(( 1 + 1 )) -eq 2 \
4662 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4664 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4665 $as_echo "$xsi_shell" >&6; }
4668 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4669 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4671 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4673 && lt_shell_append=yes
4674 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4675 $as_echo "$lt_shell_append" >&6; }
4678 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4688 # test EBCDIC or ASCII
4689 case `echo X|tr X '\101'` in
4690 A) # ASCII based system
4691 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4692 lt_SP2NL='tr \040 \012'
4693 lt_NL2SP='tr \015\012 \040\040'
4695 *) # EBCDIC based system
4696 lt_SP2NL='tr \100 \n'
4697 lt_NL2SP='tr \r\n \100\100'
4709 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4710 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4711 if test "${lt_cv_ld_reload_flag+set}" = set; then
4712 $as_echo_n "(cached) " >&6
4714 lt_cv_ld_reload_flag='-r'
4716 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4717 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4718 reload_flag=$lt_cv_ld_reload_flag
4719 case $reload_flag in
4721 *) reload_flag=" $reload_flag" ;;
4723 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4726 if test "$GCC" = yes; then
4727 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4729 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4742 if test -n "$ac_tool_prefix"; then
4743 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4744 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4745 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4748 $as_echo_n "(cached) " >&6
4750 if test -n "$OBJDUMP"; then
4751 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir=.
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4761 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 OBJDUMP=$ac_cv_prog_OBJDUMP
4771 if test -n "$OBJDUMP"; then
4772 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4773 $as_echo "$OBJDUMP" >&6; }
4775 { $as_echo "$as_me:$LINENO: result: no" >&5
4776 $as_echo "no" >&6; }
4781 if test -z "$ac_cv_prog_OBJDUMP"; then
4782 ac_ct_OBJDUMP=$OBJDUMP
4783 # Extract the first word of "objdump", so it can be a program name with args.
4784 set dummy objdump; ac_word=$2
4785 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4786 $as_echo_n "checking for $ac_word... " >&6; }
4787 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4788 $as_echo_n "(cached) " >&6
4790 if test -n "$ac_ct_OBJDUMP"; then
4791 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4797 test -z "$as_dir" && as_dir=.
4798 for ac_exec_ext in '' $ac_executable_extensions; do
4799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4800 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4801 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4811 if test -n "$ac_ct_OBJDUMP"; then
4812 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4813 $as_echo "$ac_ct_OBJDUMP" >&6; }
4815 { $as_echo "$as_me:$LINENO: result: no" >&5
4816 $as_echo "no" >&6; }
4819 if test "x$ac_ct_OBJDUMP" = x; then
4822 case $cross_compiling:$ac_tool_warned in
4824 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4826 ac_tool_warned=yes ;;
4828 OBJDUMP=$ac_ct_OBJDUMP
4831 OBJDUMP="$ac_cv_prog_OBJDUMP"
4834 test -z "$OBJDUMP" && OBJDUMP=objdump
4844 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4845 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4846 if test "${lt_cv_deplibs_check_method+set}" = set; then
4847 $as_echo_n "(cached) " >&6
4849 lt_cv_file_magic_cmd='$MAGIC_CMD'
4850 lt_cv_file_magic_test_file=
4851 lt_cv_deplibs_check_method='unknown'
4852 # Need to set the preceding variable on all platforms that support
4853 # interlibrary dependencies.
4854 # 'none' -- dependencies not supported.
4855 # `unknown' -- same as none, but documents that we really don't know.
4856 # 'pass_all' -- all dependencies passed with no checks.
4857 # 'test_compile' -- check by making test program.
4858 # 'file_magic [[regex]]' -- check by looking for files in library path
4859 # which responds to the $file_magic_cmd with a given extended regex.
4860 # If you have `file' or equivalent on your system and you're not sure
4861 # whether `pass_all' will *always* work, you probably want this one.
4865 lt_cv_deplibs_check_method=pass_all
4869 lt_cv_deplibs_check_method=pass_all
4873 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4874 lt_cv_file_magic_cmd='/usr/bin/file -L'
4875 lt_cv_file_magic_test_file=/shlib/libc.so
4879 # func_win32_libid is a shell function defined in ltmain.sh
4880 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4881 lt_cv_file_magic_cmd='func_win32_libid'
4885 # Base MSYS/MinGW do not provide the 'file' command needed by
4886 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4887 # unless we find 'file', for example because we are cross-compiling.
4888 if ( file / ) >/dev/null 2>&1; then
4889 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4890 lt_cv_file_magic_cmd='func_win32_libid'
4892 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4893 lt_cv_file_magic_cmd='$OBJDUMP -f'
4898 # use the weaker test based on 'objdump'. See mingw*.
4899 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4900 lt_cv_file_magic_cmd='$OBJDUMP -f'
4903 darwin* | rhapsody*)
4904 lt_cv_deplibs_check_method=pass_all
4907 freebsd* | dragonfly*)
4908 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4911 # Not sure whether the presence of OpenBSD here was a mistake.
4912 # Let's accept both of them until this is cleared up.
4913 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4914 lt_cv_file_magic_cmd=/usr/bin/file
4915 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4919 lt_cv_deplibs_check_method=pass_all
4924 lt_cv_deplibs_check_method=pass_all
4927 hpux10.20* | hpux11*)
4928 lt_cv_file_magic_cmd=/usr/bin/file
4931 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4932 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4935 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]'
4936 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4939 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4940 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4946 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4947 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4950 irix5* | irix6* | nonstopux*)
4952 *-32|*"-32 ") libmagic=32-bit;;
4953 *-n32|*"-n32 ") libmagic=N32;;
4954 *-64|*"-64 ") libmagic=64-bit;;
4955 *) libmagic=never-match;;
4957 lt_cv_deplibs_check_method=pass_all
4960 # This must be Linux ELF.
4961 linux* | k*bsd*-gnu)
4962 lt_cv_deplibs_check_method=pass_all
4965 netbsd* | netbsdelf*-gnu)
4966 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4967 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4969 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4974 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4975 lt_cv_file_magic_cmd=/usr/bin/file
4976 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4980 lt_cv_deplibs_check_method=pass_all
4984 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4985 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4987 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4991 osf3* | osf4* | osf5*)
4992 lt_cv_deplibs_check_method=pass_all
4996 lt_cv_deplibs_check_method=pass_all
5000 lt_cv_deplibs_check_method=pass_all
5003 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5004 lt_cv_deplibs_check_method=pass_all
5008 case $host_vendor in
5010 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]'
5011 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5014 lt_cv_deplibs_check_method=pass_all
5017 lt_cv_file_magic_cmd='/bin/file'
5018 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5021 lt_cv_file_magic_cmd='/bin/file'
5022 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5023 lt_cv_file_magic_test_file=/lib/libc.so
5026 lt_cv_deplibs_check_method=pass_all
5029 lt_cv_deplibs_check_method=pass_all
5035 lt_cv_deplibs_check_method=pass_all
5040 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5041 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5042 file_magic_cmd=$lt_cv_file_magic_cmd
5043 deplibs_check_method=$lt_cv_deplibs_check_method
5044 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5057 if test -n "$ac_tool_prefix"; then
5058 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5059 set dummy ${ac_tool_prefix}ar; ac_word=$2
5060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if test "${ac_cv_prog_AR+set}" = set; then
5063 $as_echo_n "(cached) " >&6
5065 if test -n "$AR"; then
5066 ac_cv_prog_AR="$AR" # Let the user override the test.
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 test -z "$as_dir" && as_dir=.
5073 for ac_exec_ext in '' $ac_executable_extensions; do
5074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 ac_cv_prog_AR="${ac_tool_prefix}ar"
5076 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 if test -n "$AR"; then
5087 { $as_echo "$as_me:$LINENO: result: $AR" >&5
5088 $as_echo "$AR" >&6; }
5090 { $as_echo "$as_me:$LINENO: result: no" >&5
5091 $as_echo "no" >&6; }
5096 if test -z "$ac_cv_prog_AR"; then
5098 # Extract the first word of "ar", so it can be a program name with args.
5099 set dummy ar; ac_word=$2
5100 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5103 $as_echo_n "(cached) " >&6
5105 if test -n "$ac_ct_AR"; then
5106 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_ac_ct_AR="ar"
5116 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5126 if test -n "$ac_ct_AR"; then
5127 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5128 $as_echo "$ac_ct_AR" >&6; }
5130 { $as_echo "$as_me:$LINENO: result: no" >&5
5131 $as_echo "no" >&6; }
5134 if test "x$ac_ct_AR" = x; then
5137 case $cross_compiling:$ac_tool_warned in
5139 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5141 ac_tool_warned=yes ;;
5149 test -z "$AR" && AR=ar
5150 test -z "$AR_FLAGS" && AR_FLAGS=cru
5162 if test -n "$ac_tool_prefix"; then
5163 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5164 set dummy ${ac_tool_prefix}strip; ac_word=$2
5165 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if test "${ac_cv_prog_STRIP+set}" = set; then
5168 $as_echo_n "(cached) " >&6
5170 if test -n "$STRIP"; then
5171 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5181 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 STRIP=$ac_cv_prog_STRIP
5191 if test -n "$STRIP"; then
5192 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5193 $as_echo "$STRIP" >&6; }
5195 { $as_echo "$as_me:$LINENO: result: no" >&5
5196 $as_echo "no" >&6; }
5201 if test -z "$ac_cv_prog_STRIP"; then
5203 # Extract the first word of "strip", so it can be a program name with args.
5204 set dummy strip; ac_word=$2
5205 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5206 $as_echo_n "checking for $ac_word... " >&6; }
5207 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5208 $as_echo_n "(cached) " >&6
5210 if test -n "$ac_ct_STRIP"; then
5211 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 test -z "$as_dir" && as_dir=.
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5220 ac_cv_prog_ac_ct_STRIP="strip"
5221 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5231 if test -n "$ac_ct_STRIP"; then
5232 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5233 $as_echo "$ac_ct_STRIP" >&6; }
5235 { $as_echo "$as_me:$LINENO: result: no" >&5
5236 $as_echo "no" >&6; }
5239 if test "x$ac_ct_STRIP" = x; then
5242 case $cross_compiling:$ac_tool_warned in
5244 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5246 ac_tool_warned=yes ;;
5251 STRIP="$ac_cv_prog_STRIP"
5254 test -z "$STRIP" && STRIP=:
5261 if test -n "$ac_tool_prefix"; then
5262 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5263 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5264 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if test "${ac_cv_prog_RANLIB+set}" = set; then
5267 $as_echo_n "(cached) " >&6
5269 if test -n "$RANLIB"; then
5270 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5279 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5280 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 RANLIB=$ac_cv_prog_RANLIB
5290 if test -n "$RANLIB"; then
5291 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5292 $as_echo "$RANLIB" >&6; }
5294 { $as_echo "$as_me:$LINENO: result: no" >&5
5295 $as_echo "no" >&6; }
5300 if test -z "$ac_cv_prog_RANLIB"; then
5301 ac_ct_RANLIB=$RANLIB
5302 # Extract the first word of "ranlib", so it can be a program name with args.
5303 set dummy ranlib; ac_word=$2
5304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5307 $as_echo_n "(cached) " >&6
5309 if test -n "$ac_ct_RANLIB"; then
5310 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316 test -z "$as_dir" && as_dir=.
5317 for ac_exec_ext in '' $ac_executable_extensions; do
5318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5319 ac_cv_prog_ac_ct_RANLIB="ranlib"
5320 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5330 if test -n "$ac_ct_RANLIB"; then
5331 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5332 $as_echo "$ac_ct_RANLIB" >&6; }
5334 { $as_echo "$as_me:$LINENO: result: no" >&5
5335 $as_echo "no" >&6; }
5338 if test "x$ac_ct_RANLIB" = x; then
5341 case $cross_compiling:$ac_tool_warned in
5343 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5345 ac_tool_warned=yes ;;
5347 RANLIB=$ac_ct_RANLIB
5350 RANLIB="$ac_cv_prog_RANLIB"
5353 test -z "$RANLIB" && RANLIB=:
5360 # Determine commands to create old-style static archives.
5361 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5362 old_postinstall_cmds='chmod 644 $oldlib'
5363 old_postuninstall_cmds=
5365 if test -n "$RANLIB"; then
5368 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5371 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5374 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5410 # If no C compiler was specified, use CC.
5413 # If no C compiler flags were specified, use CFLAGS.
5414 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5416 # Allow CC to be a program name with arguments.
5420 # Check for command to grab the raw symbol name followed by C symbol from nm.
5421 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5422 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5423 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5424 $as_echo_n "(cached) " >&6
5427 # These are sane defaults that work on at least a few old systems.
5428 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5430 # Character class describing NM global symbol codes.
5431 symcode='[BCDEGRST]'
5433 # Regexp to match symbols that can be accessed directly from C.
5434 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5436 # Define system-specific variables.
5441 cygwin* | mingw* | pw32* | cegcc*)
5442 symcode='[ABCDGISTW]'
5445 if test "$host_cpu" = ia64; then
5446 symcode='[ABCDEGRST]'
5450 symcode='[BCDEGRST]'
5453 symcode='[BCDEGQRST]'
5464 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5472 # If we're using GNU nm, then use its standard symbol codes.
5473 case `$NM -V 2>&1` in
5474 *GNU* | *'with BFD'*)
5475 symcode='[ABCDGIRSTW]' ;;
5478 # Transform an extracted symbol line into a proper C declaration.
5479 # Some systems (esp. on ia64) link data and code symbols differently,
5480 # so use this general approach.
5481 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5483 # Transform an extracted symbol line into symbol name and symbol address
5484 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5485 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'"
5487 # Handle CRLF in mingw tool chain
5491 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5495 # Try without a prefix underscore, then with it.
5496 for ac_symprfx in "" "_"; do
5498 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5499 symxfrm="\\1 $ac_symprfx\\2 \\2"
5501 # Write the raw and C identifiers.
5502 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5503 # Fake it for dumpbin and say T for any non-static function
5504 # and D for any global variable.
5505 # Also find C++ and __fastcall symbols from MSVC++,
5506 # which start with @ or ?.
5507 lt_cv_sys_global_symbol_pipe="$AWK '"\
5508 " {last_section=section; section=\$ 3};"\
5509 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5510 " \$ 0!~/External *\|/{next};"\
5511 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5512 " {if(hide[section]) next};"\
5513 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5514 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5515 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5516 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5517 " ' prfx=^$ac_symprfx"
5519 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5522 # Check to see that the pipe works correctly.
5526 cat > conftest.$ac_ext <<_LT_EOF
5531 void nm_test_func(void);
5532 void nm_test_func(void){}
5536 int main(){nm_test_var='a';nm_test_func();return(0);}
5539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5540 (eval $ac_compile) 2>&5
5542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543 (exit $ac_status); }; then
5544 # Now try to grab the symbols.
5546 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5547 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); } && test -s "$nlist"; then
5551 # Try sorting and uniquifying the output.
5552 if sort "$nlist" | uniq > "$nlist"T; then
5553 mv -f "$nlist"T "$nlist"
5558 # Make sure that we snagged all the symbols we need.
5559 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5560 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5561 cat <<_LT_EOF > conftest.$ac_ext
5567 # Now generate the symbol file.
5568 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5570 cat <<_LT_EOF >> conftest.$ac_ext
5572 /* The mapping between symbol names and symbols. */
5577 lt__PROGRAM__LTX_preloaded_symbols[] =
5579 { "@PROGRAM@", (void *) 0 },
5581 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5582 cat <<\_LT_EOF >> conftest.$ac_ext
5586 /* This works around a problem in FreeBSD linker */
5587 #ifdef FREEBSD_WORKAROUND
5588 static const void *lt_preloaded_setup() {
5589 return lt__PROGRAM__LTX_preloaded_symbols;
5597 # Now try linking the two files.
5598 mv conftest.$ac_objext conftstm.$ac_objext
5599 lt_save_LIBS="$LIBS"
5600 lt_save_CFLAGS="$CFLAGS"
5601 LIBS="conftstm.$ac_objext"
5602 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5604 (eval $ac_link) 2>&5
5606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5610 LIBS="$lt_save_LIBS"
5611 CFLAGS="$lt_save_CFLAGS"
5613 echo "cannot find nm_test_func in $nlist" >&5
5616 echo "cannot find nm_test_var in $nlist" >&5
5619 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5622 echo "$progname: failed program was:" >&5
5623 cat conftest.$ac_ext >&5
5625 rm -rf conftest* conftst*
5627 # Do not use the global_symbol_pipe unless it works.
5628 if test "$pipe_works" = yes; then
5631 lt_cv_sys_global_symbol_pipe=
5637 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5638 lt_cv_sys_global_symbol_to_cdecl=
5640 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5641 { $as_echo "$as_me:$LINENO: result: failed" >&5
5642 $as_echo "failed" >&6; }
5644 { $as_echo "$as_me:$LINENO: result: ok" >&5
5645 $as_echo "ok" >&6; }
5670 # Check whether --enable-libtool-lock was given.
5671 if test "${enable_libtool_lock+set}" = set; then
5672 enableval=$enable_libtool_lock;
5675 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5677 # Some flags need to be propagated to the compiler or linker for good
5681 # Find out which ABI we are using.
5682 echo 'int i;' > conftest.$ac_ext
5683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5684 (eval $ac_compile) 2>&5
5686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); }; then
5688 case `/usr/bin/file conftest.$ac_objext` in
5700 # Find out which ABI we are using.
5701 echo '#line 5701 "configure"' > conftest.$ac_ext
5702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5703 (eval $ac_compile) 2>&5
5705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; then
5707 if test "$lt_cv_prog_gnu_ld" = yes; then
5708 case `/usr/bin/file conftest.$ac_objext` in
5710 LD="${LD-ld} -melf32bsmip"
5713 LD="${LD-ld} -melf32bmipn32"
5716 LD="${LD-ld} -melf64bmip"
5720 case `/usr/bin/file conftest.$ac_objext` in
5736 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5737 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5738 # Find out which ABI we are using.
5739 echo 'int i;' > conftest.$ac_ext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741 (eval $ac_compile) 2>&5
5743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; then
5745 case `/usr/bin/file conftest.o` in
5748 x86_64-*kfreebsd*-gnu)
5749 LD="${LD-ld} -m elf_i386_fbsd"
5752 LD="${LD-ld} -m elf_i386"
5754 ppc64-*linux*|powerpc64-*linux*)
5755 LD="${LD-ld} -m elf32ppclinux"
5758 LD="${LD-ld} -m elf_s390"
5761 LD="${LD-ld} -m elf32_sparc"
5767 x86_64-*kfreebsd*-gnu)
5768 LD="${LD-ld} -m elf_x86_64_fbsd"
5771 LD="${LD-ld} -m elf_x86_64"
5773 ppc*-*linux*|powerpc*-*linux*)
5774 LD="${LD-ld} -m elf64ppc"
5776 s390*-*linux*|s390*-*tpf*)
5777 LD="${LD-ld} -m elf64_s390"
5780 LD="${LD-ld} -m elf64_sparc"
5790 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5791 SAVE_CFLAGS="$CFLAGS"
5792 CFLAGS="$CFLAGS -belf"
5793 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5794 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5795 if test "${lt_cv_cc_needs_belf+set}" = set; then
5796 $as_echo_n "(cached) " >&6
5799 ac_cpp='$CPP $CPPFLAGS'
5800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5804 cat >conftest.$ac_ext <<_ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5819 rm -f conftest.$ac_objext conftest$ac_exeext
5820 if { (ac_try="$ac_link"
5822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5823 *) ac_try_echo=$ac_try;;
5825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5826 $as_echo "$ac_try_echo") >&5
5827 (eval "$ac_link") 2>conftest.er1
5829 grep -v '^ *+' conftest.er1 >conftest.err
5831 cat conftest.err >&5
5832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); } && {
5834 test -z "$ac_c_werror_flag" ||
5835 test ! -s conftest.err
5836 } && test -s conftest$ac_exeext && {
5837 test "$cross_compiling" = yes ||
5838 $as_test_x conftest$ac_exeext
5840 lt_cv_cc_needs_belf=yes
5842 $as_echo "$as_me: failed program was:" >&5
5843 sed 's/^/| /' conftest.$ac_ext >&5
5845 lt_cv_cc_needs_belf=no
5848 rm -rf conftest.dSYM
5849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5850 conftest$ac_exeext conftest.$ac_ext
5852 ac_cpp='$CPP $CPPFLAGS'
5853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5858 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5859 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5860 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5861 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5862 CFLAGS="$SAVE_CFLAGS"
5866 # Find out which ABI we are using.
5867 echo 'int i;' > conftest.$ac_ext
5868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5869 (eval $ac_compile) 2>&5
5871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); }; then
5873 case `/usr/bin/file conftest.o` in
5875 case $lt_cv_prog_gnu_ld in
5876 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5878 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5890 need_locks="$enable_libtool_lock"
5894 rhapsody* | darwin*)
5895 if test -n "$ac_tool_prefix"; then
5896 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5897 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5898 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5901 $as_echo_n "(cached) " >&6
5903 if test -n "$DSYMUTIL"; then
5904 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5913 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5914 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5924 if test -n "$DSYMUTIL"; then
5925 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5926 $as_echo "$DSYMUTIL" >&6; }
5928 { $as_echo "$as_me:$LINENO: result: no" >&5
5929 $as_echo "no" >&6; }
5934 if test -z "$ac_cv_prog_DSYMUTIL"; then
5935 ac_ct_DSYMUTIL=$DSYMUTIL
5936 # Extract the first word of "dsymutil", so it can be a program name with args.
5937 set dummy dsymutil; ac_word=$2
5938 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5941 $as_echo_n "(cached) " >&6
5943 if test -n "$ac_ct_DSYMUTIL"; then
5944 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 test -z "$as_dir" && as_dir=.
5951 for ac_exec_ext in '' $ac_executable_extensions; do
5952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5954 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5964 if test -n "$ac_ct_DSYMUTIL"; then
5965 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5966 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5968 { $as_echo "$as_me:$LINENO: result: no" >&5
5969 $as_echo "no" >&6; }
5972 if test "x$ac_ct_DSYMUTIL" = x; then
5975 case $cross_compiling:$ac_tool_warned in
5977 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5979 ac_tool_warned=yes ;;
5981 DSYMUTIL=$ac_ct_DSYMUTIL
5984 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5987 if test -n "$ac_tool_prefix"; then
5988 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5989 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5991 $as_echo_n "checking for $ac_word... " >&6; }
5992 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5993 $as_echo_n "(cached) " >&6
5995 if test -n "$NMEDIT"; then
5996 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 test -z "$as_dir" && as_dir=.
6003 for ac_exec_ext in '' $ac_executable_extensions; do
6004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6005 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6006 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 NMEDIT=$ac_cv_prog_NMEDIT
6016 if test -n "$NMEDIT"; then
6017 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6018 $as_echo "$NMEDIT" >&6; }
6020 { $as_echo "$as_me:$LINENO: result: no" >&5
6021 $as_echo "no" >&6; }
6026 if test -z "$ac_cv_prog_NMEDIT"; then
6027 ac_ct_NMEDIT=$NMEDIT
6028 # Extract the first word of "nmedit", so it can be a program name with args.
6029 set dummy nmedit; ac_word=$2
6030 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6033 $as_echo_n "(cached) " >&6
6035 if test -n "$ac_ct_NMEDIT"; then
6036 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6045 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6046 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6056 if test -n "$ac_ct_NMEDIT"; then
6057 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6058 $as_echo "$ac_ct_NMEDIT" >&6; }
6060 { $as_echo "$as_me:$LINENO: result: no" >&5
6061 $as_echo "no" >&6; }
6064 if test "x$ac_ct_NMEDIT" = x; then
6067 case $cross_compiling:$ac_tool_warned in
6069 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6071 ac_tool_warned=yes ;;
6073 NMEDIT=$ac_ct_NMEDIT
6076 NMEDIT="$ac_cv_prog_NMEDIT"
6079 if test -n "$ac_tool_prefix"; then
6080 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6081 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6082 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6083 $as_echo_n "checking for $ac_word... " >&6; }
6084 if test "${ac_cv_prog_LIPO+set}" = set; then
6085 $as_echo_n "(cached) " >&6
6087 if test -n "$LIPO"; then
6088 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6097 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6098 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 LIPO=$ac_cv_prog_LIPO
6108 if test -n "$LIPO"; then
6109 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6110 $as_echo "$LIPO" >&6; }
6112 { $as_echo "$as_me:$LINENO: result: no" >&5
6113 $as_echo "no" >&6; }
6118 if test -z "$ac_cv_prog_LIPO"; then
6120 # Extract the first word of "lipo", so it can be a program name with args.
6121 set dummy lipo; ac_word=$2
6122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6125 $as_echo_n "(cached) " >&6
6127 if test -n "$ac_ct_LIPO"; then
6128 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 test -z "$as_dir" && as_dir=.
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6137 ac_cv_prog_ac_ct_LIPO="lipo"
6138 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6148 if test -n "$ac_ct_LIPO"; then
6149 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6150 $as_echo "$ac_ct_LIPO" >&6; }
6152 { $as_echo "$as_me:$LINENO: result: no" >&5
6153 $as_echo "no" >&6; }
6156 if test "x$ac_ct_LIPO" = x; then
6159 case $cross_compiling:$ac_tool_warned in
6161 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6163 ac_tool_warned=yes ;;
6168 LIPO="$ac_cv_prog_LIPO"
6171 if test -n "$ac_tool_prefix"; then
6172 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6173 set dummy ${ac_tool_prefix}otool; ac_word=$2
6174 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6175 $as_echo_n "checking for $ac_word... " >&6; }
6176 if test "${ac_cv_prog_OTOOL+set}" = set; then
6177 $as_echo_n "(cached) " >&6
6179 if test -n "$OTOOL"; then
6180 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6189 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6190 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 OTOOL=$ac_cv_prog_OTOOL
6200 if test -n "$OTOOL"; then
6201 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6202 $as_echo "$OTOOL" >&6; }
6204 { $as_echo "$as_me:$LINENO: result: no" >&5
6205 $as_echo "no" >&6; }
6210 if test -z "$ac_cv_prog_OTOOL"; then
6212 # Extract the first word of "otool", so it can be a program name with args.
6213 set dummy otool; ac_word=$2
6214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6215 $as_echo_n "checking for $ac_word... " >&6; }
6216 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6217 $as_echo_n "(cached) " >&6
6219 if test -n "$ac_ct_OTOOL"; then
6220 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226 test -z "$as_dir" && as_dir=.
6227 for ac_exec_ext in '' $ac_executable_extensions; do
6228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6229 ac_cv_prog_ac_ct_OTOOL="otool"
6230 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6240 if test -n "$ac_ct_OTOOL"; then
6241 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6242 $as_echo "$ac_ct_OTOOL" >&6; }
6244 { $as_echo "$as_me:$LINENO: result: no" >&5
6245 $as_echo "no" >&6; }
6248 if test "x$ac_ct_OTOOL" = x; then
6251 case $cross_compiling:$ac_tool_warned in
6253 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6255 ac_tool_warned=yes ;;
6260 OTOOL="$ac_cv_prog_OTOOL"
6263 if test -n "$ac_tool_prefix"; then
6264 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6265 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6267 $as_echo_n "checking for $ac_word... " >&6; }
6268 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6269 $as_echo_n "(cached) " >&6
6271 if test -n "$OTOOL64"; then
6272 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6278 test -z "$as_dir" && as_dir=.
6279 for ac_exec_ext in '' $ac_executable_extensions; do
6280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6281 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6282 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6291 OTOOL64=$ac_cv_prog_OTOOL64
6292 if test -n "$OTOOL64"; then
6293 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6294 $as_echo "$OTOOL64" >&6; }
6296 { $as_echo "$as_me:$LINENO: result: no" >&5
6297 $as_echo "no" >&6; }
6302 if test -z "$ac_cv_prog_OTOOL64"; then
6303 ac_ct_OTOOL64=$OTOOL64
6304 # Extract the first word of "otool64", so it can be a program name with args.
6305 set dummy otool64; ac_word=$2
6306 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6307 $as_echo_n "checking for $ac_word... " >&6; }
6308 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6309 $as_echo_n "(cached) " >&6
6311 if test -n "$ac_ct_OTOOL64"; then
6312 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318 test -z "$as_dir" && as_dir=.
6319 for ac_exec_ext in '' $ac_executable_extensions; do
6320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6321 ac_cv_prog_ac_ct_OTOOL64="otool64"
6322 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6332 if test -n "$ac_ct_OTOOL64"; then
6333 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6334 $as_echo "$ac_ct_OTOOL64" >&6; }
6336 { $as_echo "$as_me:$LINENO: result: no" >&5
6337 $as_echo "no" >&6; }
6340 if test "x$ac_ct_OTOOL64" = x; then
6343 case $cross_compiling:$ac_tool_warned in
6345 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6347 ac_tool_warned=yes ;;
6349 OTOOL64=$ac_ct_OTOOL64
6352 OTOOL64="$ac_cv_prog_OTOOL64"
6381 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6382 $as_echo_n "checking for -single_module linker flag... " >&6; }
6383 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6384 $as_echo_n "(cached) " >&6
6386 lt_cv_apple_cc_single_mod=no
6387 if test -z "${LT_MULTI_MODULE}"; then
6388 # By default we will add the -single_module flag. You can override
6389 # by either setting the environment variable LT_MULTI_MODULE
6390 # non-empty at configure time, or by adding -multi_module to the
6392 rm -rf libconftest.dylib*
6393 echo "int foo(void){return 1;}" > conftest.c
6394 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6395 -dynamiclib -Wl,-single_module conftest.c" >&5
6396 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6397 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6399 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6400 lt_cv_apple_cc_single_mod=yes
6402 cat conftest.err >&5
6404 rm -rf libconftest.dylib*
6408 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6409 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6410 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6411 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6412 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6413 $as_echo_n "(cached) " >&6
6415 lt_cv_ld_exported_symbols_list=no
6416 save_LDFLAGS=$LDFLAGS
6417 echo "_main" > conftest.sym
6418 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6419 cat >conftest.$ac_ext <<_ACEOF
6422 cat confdefs.h >>conftest.$ac_ext
6423 cat >>conftest.$ac_ext <<_ACEOF
6424 /* end confdefs.h. */
6434 rm -f conftest.$ac_objext conftest$ac_exeext
6435 if { (ac_try="$ac_link"
6437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6438 *) ac_try_echo=$ac_try;;
6440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6441 $as_echo "$ac_try_echo") >&5
6442 (eval "$ac_link") 2>conftest.er1
6444 grep -v '^ *+' conftest.er1 >conftest.err
6446 cat conftest.err >&5
6447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); } && {
6449 test -z "$ac_c_werror_flag" ||
6450 test ! -s conftest.err
6451 } && test -s conftest$ac_exeext && {
6452 test "$cross_compiling" = yes ||
6453 $as_test_x conftest$ac_exeext
6455 lt_cv_ld_exported_symbols_list=yes
6457 $as_echo "$as_me: failed program was:" >&5
6458 sed 's/^/| /' conftest.$ac_ext >&5
6460 lt_cv_ld_exported_symbols_list=no
6463 rm -rf conftest.dSYM
6464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6465 conftest$ac_exeext conftest.$ac_ext
6466 LDFLAGS="$save_LDFLAGS"
6469 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6470 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6472 rhapsody* | darwin1.[012])
6473 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6475 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6476 darwin*) # darwin 5.x on
6477 # if running on 10.5 or later, the deployment target defaults
6478 # to the OS version, if on x86, and 10.4, the deployment
6479 # target defaults to 10.4. Don't you love it?
6480 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6481 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6482 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6484 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6486 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6490 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6491 _lt_dar_single_mod='$single_module'
6493 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6494 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6496 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6498 if test "$DSYMUTIL" != ":"; then
6499 _lt_dsymutil='~$DSYMUTIL $lib || :'
6507 ac_cpp='$CPP $CPPFLAGS'
6508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6511 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6512 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6513 # On Suns, sometimes $CPP names a directory.
6514 if test -n "$CPP" && test -d "$CPP"; then
6517 if test -z "$CPP"; then
6518 if test "${ac_cv_prog_CPP+set}" = set; then
6519 $as_echo_n "(cached) " >&6
6521 # Double quotes because CPP needs to be expanded
6522 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6525 for ac_c_preproc_warn_flag in '' yes
6527 # Use a header file that comes with gcc, so configuring glibc
6528 # with a fresh cross-compiler works.
6529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6530 # <limits.h> exists even on freestanding compilers.
6531 # On the NeXT, cc -E runs the code through the compiler's parser,
6532 # not just through cpp. "Syntax error" is here to catch this case.
6533 cat >conftest.$ac_ext <<_ACEOF
6536 cat confdefs.h >>conftest.$ac_ext
6537 cat >>conftest.$ac_ext <<_ACEOF
6538 /* end confdefs.h. */
6540 # include <limits.h>
6542 # include <assert.h>
6546 if { (ac_try="$ac_cpp conftest.$ac_ext"
6548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6549 *) ac_try_echo=$ac_try;;
6551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6552 $as_echo "$ac_try_echo") >&5
6553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6555 grep -v '^ *+' conftest.er1 >conftest.err
6557 cat conftest.err >&5
6558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } >/dev/null && {
6560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6561 test ! -s conftest.err
6565 $as_echo "$as_me: failed program was:" >&5
6566 sed 's/^/| /' conftest.$ac_ext >&5
6568 # Broken: fails on valid input.
6572 rm -f conftest.err conftest.$ac_ext
6574 # OK, works on sane cases. Now check whether nonexistent headers
6575 # can be detected and how.
6576 cat >conftest.$ac_ext <<_ACEOF
6579 cat confdefs.h >>conftest.$ac_ext
6580 cat >>conftest.$ac_ext <<_ACEOF
6581 /* end confdefs.h. */
6582 #include <ac_nonexistent.h>
6584 if { (ac_try="$ac_cpp conftest.$ac_ext"
6586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6587 *) ac_try_echo=$ac_try;;
6589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6590 $as_echo "$ac_try_echo") >&5
6591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6593 grep -v '^ *+' conftest.er1 >conftest.err
6595 cat conftest.err >&5
6596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } >/dev/null && {
6598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6599 test ! -s conftest.err
6601 # Broken: success on invalid input.
6604 $as_echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.$ac_ext >&5
6607 # Passes both tests.
6612 rm -f conftest.err conftest.$ac_ext
6615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6616 rm -f conftest.err conftest.$ac_ext
6617 if $ac_preproc_ok; then
6629 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
6630 $as_echo "$CPP" >&6; }
6632 for ac_c_preproc_warn_flag in '' yes
6634 # Use a header file that comes with gcc, so configuring glibc
6635 # with a fresh cross-compiler works.
6636 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6637 # <limits.h> exists even on freestanding compilers.
6638 # On the NeXT, cc -E runs the code through the compiler's parser,
6639 # not just through cpp. "Syntax error" is here to catch this case.
6640 cat >conftest.$ac_ext <<_ACEOF
6643 cat confdefs.h >>conftest.$ac_ext
6644 cat >>conftest.$ac_ext <<_ACEOF
6645 /* end confdefs.h. */
6647 # include <limits.h>
6649 # include <assert.h>
6653 if { (ac_try="$ac_cpp conftest.$ac_ext"
6655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6656 *) ac_try_echo=$ac_try;;
6658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6659 $as_echo "$ac_try_echo") >&5
6660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6662 grep -v '^ *+' conftest.er1 >conftest.err
6664 cat conftest.err >&5
6665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); } >/dev/null && {
6667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6668 test ! -s conftest.err
6672 $as_echo "$as_me: failed program was:" >&5
6673 sed 's/^/| /' conftest.$ac_ext >&5
6675 # Broken: fails on valid input.
6679 rm -f conftest.err conftest.$ac_ext
6681 # OK, works on sane cases. Now check whether nonexistent headers
6682 # can be detected and how.
6683 cat >conftest.$ac_ext <<_ACEOF
6686 cat confdefs.h >>conftest.$ac_ext
6687 cat >>conftest.$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6689 #include <ac_nonexistent.h>
6691 if { (ac_try="$ac_cpp conftest.$ac_ext"
6693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6694 *) ac_try_echo=$ac_try;;
6696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6697 $as_echo "$ac_try_echo") >&5
6698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6700 grep -v '^ *+' conftest.er1 >conftest.err
6702 cat conftest.err >&5
6703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); } >/dev/null && {
6705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6706 test ! -s conftest.err
6708 # Broken: success on invalid input.
6711 $as_echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.$ac_ext >&5
6714 # Passes both tests.
6719 rm -f conftest.err conftest.$ac_ext
6722 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6723 rm -f conftest.err conftest.$ac_ext
6724 if $ac_preproc_ok; then
6727 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6729 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6730 See \`config.log' for more details." >&5
6731 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6732 See \`config.log' for more details." >&2;}
6733 { (exit 1); exit 1; }; }; }
6737 ac_cpp='$CPP $CPPFLAGS'
6738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6743 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6744 $as_echo_n "checking for ANSI C header files... " >&6; }
6745 if test "${ac_cv_header_stdc+set}" = set; then
6746 $as_echo_n "(cached) " >&6
6748 cat >conftest.$ac_ext <<_ACEOF
6751 cat confdefs.h >>conftest.$ac_ext
6752 cat >>conftest.$ac_ext <<_ACEOF
6753 /* end confdefs.h. */
6767 rm -f conftest.$ac_objext
6768 if { (ac_try="$ac_compile"
6770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6771 *) ac_try_echo=$ac_try;;
6773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6774 $as_echo "$ac_try_echo") >&5
6775 (eval "$ac_compile") 2>conftest.er1
6777 grep -v '^ *+' conftest.er1 >conftest.err
6779 cat conftest.err >&5
6780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); } && {
6782 test -z "$ac_c_werror_flag" ||
6783 test ! -s conftest.err
6784 } && test -s conftest.$ac_objext; then
6785 ac_cv_header_stdc=yes
6787 $as_echo "$as_me: failed program was:" >&5
6788 sed 's/^/| /' conftest.$ac_ext >&5
6790 ac_cv_header_stdc=no
6793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6795 if test $ac_cv_header_stdc = yes; then
6796 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6797 cat >conftest.$ac_ext <<_ACEOF
6800 cat confdefs.h >>conftest.$ac_ext
6801 cat >>conftest.$ac_ext <<_ACEOF
6802 /* end confdefs.h. */
6806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6807 $EGREP "memchr" >/dev/null 2>&1; then
6810 ac_cv_header_stdc=no
6816 if test $ac_cv_header_stdc = yes; then
6817 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6818 cat >conftest.$ac_ext <<_ACEOF
6821 cat confdefs.h >>conftest.$ac_ext
6822 cat >>conftest.$ac_ext <<_ACEOF
6823 /* end confdefs.h. */
6827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6828 $EGREP "free" >/dev/null 2>&1; then
6831 ac_cv_header_stdc=no
6837 if test $ac_cv_header_stdc = yes; then
6838 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6839 if test "$cross_compiling" = yes; then
6842 cat >conftest.$ac_ext <<_ACEOF
6845 cat confdefs.h >>conftest.$ac_ext
6846 cat >>conftest.$ac_ext <<_ACEOF
6847 /* end confdefs.h. */
6850 #if ((' ' & 0x0FF) == 0x020)
6851 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6852 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6854 # define ISLOWER(c) \
6855 (('a' <= (c) && (c) <= 'i') \
6856 || ('j' <= (c) && (c) <= 'r') \
6857 || ('s' <= (c) && (c) <= 'z'))
6858 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6861 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6866 for (i = 0; i < 256; i++)
6867 if (XOR (islower (i), ISLOWER (i))
6868 || toupper (i) != TOUPPER (i))
6873 rm -f conftest$ac_exeext
6874 if { (ac_try="$ac_link"
6876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6877 *) ac_try_echo=$ac_try;;
6879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6880 $as_echo "$ac_try_echo") >&5
6881 (eval "$ac_link") 2>&5
6883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6885 { (case "(($ac_try" in
6886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6887 *) ac_try_echo=$ac_try;;
6889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6890 $as_echo "$ac_try_echo") >&5
6891 (eval "$ac_try") 2>&5
6893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; }; then
6897 $as_echo "$as_me: program exited with status $ac_status" >&5
6898 $as_echo "$as_me: failed program was:" >&5
6899 sed 's/^/| /' conftest.$ac_ext >&5
6902 ac_cv_header_stdc=no
6904 rm -rf conftest.dSYM
6905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6911 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6912 $as_echo "$ac_cv_header_stdc" >&6; }
6913 if test $ac_cv_header_stdc = yes; then
6915 cat >>confdefs.h <<\_ACEOF
6916 #define STDC_HEADERS 1
6921 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6931 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6932 inttypes.h stdint.h unistd.h
6934 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6935 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6936 $as_echo_n "checking for $ac_header... " >&6; }
6937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6938 $as_echo_n "(cached) " >&6
6940 cat >conftest.$ac_ext <<_ACEOF
6943 cat confdefs.h >>conftest.$ac_ext
6944 cat >>conftest.$ac_ext <<_ACEOF
6945 /* end confdefs.h. */
6946 $ac_includes_default
6948 #include <$ac_header>
6950 rm -f conftest.$ac_objext
6951 if { (ac_try="$ac_compile"
6953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6954 *) ac_try_echo=$ac_try;;
6956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6957 $as_echo "$ac_try_echo") >&5
6958 (eval "$ac_compile") 2>conftest.er1
6960 grep -v '^ *+' conftest.er1 >conftest.err
6962 cat conftest.err >&5
6963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } && {
6965 test -z "$ac_c_werror_flag" ||
6966 test ! -s conftest.err
6967 } && test -s conftest.$ac_objext; then
6968 eval "$as_ac_Header=yes"
6970 $as_echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.$ac_ext >&5
6973 eval "$as_ac_Header=no"
6976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6978 ac_res=`eval 'as_val=${'$as_ac_Header'}
6979 $as_echo "$as_val"'`
6980 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6981 $as_echo "$ac_res" >&6; }
6982 as_val=`eval 'as_val=${'$as_ac_Header'}
6983 $as_echo "$as_val"'`
6984 if test "x$as_val" = x""yes; then
6985 cat >>confdefs.h <<_ACEOF
6986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6995 for ac_header in dlfcn.h
6997 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6998 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6999 $as_echo_n "checking for $ac_header... " >&6; }
7000 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7001 $as_echo_n "(cached) " >&6
7003 cat >conftest.$ac_ext <<_ACEOF
7006 cat confdefs.h >>conftest.$ac_ext
7007 cat >>conftest.$ac_ext <<_ACEOF
7008 /* end confdefs.h. */
7009 $ac_includes_default
7011 #include <$ac_header>
7013 rm -f conftest.$ac_objext
7014 if { (ac_try="$ac_compile"
7016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7017 *) ac_try_echo=$ac_try;;
7019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7020 $as_echo "$ac_try_echo") >&5
7021 (eval "$ac_compile") 2>conftest.er1
7023 grep -v '^ *+' conftest.er1 >conftest.err
7025 cat conftest.err >&5
7026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); } && {
7028 test -z "$ac_c_werror_flag" ||
7029 test ! -s conftest.err
7030 } && test -s conftest.$ac_objext; then
7031 eval "$as_ac_Header=yes"
7033 $as_echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.$ac_ext >&5
7036 eval "$as_ac_Header=no"
7039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7041 ac_res=`eval 'as_val=${'$as_ac_Header'}
7042 $as_echo "$as_val"'`
7043 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7044 $as_echo "$ac_res" >&6; }
7045 as_val=`eval 'as_val=${'$as_ac_Header'}
7046 $as_echo "$as_val"'`
7047 if test "x$as_val" = x""yes; then
7048 cat >>confdefs.h <<_ACEOF
7049 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7068 # Check whether --enable-shared was given.
7069 if test "${enable_shared+set}" = set; then
7070 enableval=$enable_shared; p=${PACKAGE-default}
7072 yes) enable_shared=yes ;;
7073 no) enable_shared=no ;;
7076 # Look at the argument we got. We use all the common list separators.
7077 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7078 for pkg in $enableval; do
7080 if test "X$pkg" = "X$p"; then
7099 # Check whether --enable-static was given.
7100 if test "${enable_static+set}" = set; then
7101 enableval=$enable_static; p=${PACKAGE-default}
7103 yes) enable_static=yes ;;
7104 no) enable_static=no ;;
7107 # Look at the argument we got. We use all the common list separators.
7108 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7109 for pkg in $enableval; do
7111 if test "X$pkg" = "X$p"; then
7131 # Check whether --with-pic was given.
7132 if test "${with_pic+set}" = set; then
7133 withval=$with_pic; pic_mode="$withval"
7139 test -z "$pic_mode" && pic_mode=default
7147 # Check whether --enable-fast-install was given.
7148 if test "${enable_fast_install+set}" = set; then
7149 enableval=$enable_fast_install; p=${PACKAGE-default}
7151 yes) enable_fast_install=yes ;;
7152 no) enable_fast_install=no ;;
7154 enable_fast_install=no
7155 # Look at the argument we got. We use all the common list separators.
7156 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7157 for pkg in $enableval; do
7159 if test "X$pkg" = "X$p"; then
7160 enable_fast_install=yes
7167 enable_fast_install=yes
7180 # This can be used to rebuild libtool when needed
7181 LIBTOOL_DEPS="$ltmain"
7183 # Always use our own libtool.
7184 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7210 test -z "$LN_S" && LN_S="ln -s"
7225 if test -n "${ZSH_VERSION+set}" ; then
7226 setopt NO_GLOB_SUBST
7229 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7230 $as_echo_n "checking for objdir... " >&6; }
7231 if test "${lt_cv_objdir+set}" = set; then
7232 $as_echo_n "(cached) " >&6
7234 rm -f .libs 2>/dev/null
7235 mkdir .libs 2>/dev/null
7236 if test -d .libs; then
7239 # MS-DOS does not allow filenames that begin with a dot.
7242 rmdir .libs 2>/dev/null
7244 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7245 $as_echo "$lt_cv_objdir" >&6; }
7246 objdir=$lt_cv_objdir
7252 cat >>confdefs.h <<_ACEOF
7253 #define LT_OBJDIR "$lt_cv_objdir/"
7274 # AIX sometimes has problems with the GCC collect2 program. For some
7275 # reason, if we set the COLLECT_NAMES environment variable, the problems
7276 # vanish in a puff of smoke.
7277 if test "X${COLLECT_NAMES+set}" != Xset; then
7279 export COLLECT_NAMES
7284 # Sed substitution that helps us do robust quoting. It backslashifies
7285 # metacharacters that are still active within double-quoted strings.
7286 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7288 # Same as above, but do not quote variable references.
7289 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7291 # Sed substitution to delay expansion of an escaped shell variable in a
7292 # double_quote_subst'ed string.
7293 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7295 # Sed substitution to delay expansion of an escaped single quote.
7296 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7298 # Sed substitution to avoid accidental globbing in evaled expressions
7299 no_glob_subst='s/\*/\\\*/g'
7303 can_build_shared=yes
7305 # All known linkers require a `.a' archive for static linking (except MSVC,
7306 # which needs '.lib').
7309 with_gnu_ld="$lt_cv_prog_gnu_ld"
7312 old_CFLAGS="$CFLAGS"
7314 # Set sane defaults for various variables
7315 test -z "$CC" && CC=cc
7316 test -z "$LTCC" && LTCC=$CC
7317 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7318 test -z "$LD" && LD=ld
7319 test -z "$ac_objext" && ac_objext=o
7321 for cc_temp in $compiler""; do
7323 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7324 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7329 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7332 # Only perform the check for file, if the check method requires it
7333 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7334 case $deplibs_check_method in
7336 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7337 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7338 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7339 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7340 $as_echo_n "(cached) " >&6
7344 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7347 lt_save_MAGIC_CMD="$MAGIC_CMD"
7348 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7349 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7350 for ac_dir in $ac_dummy; do
7352 test -z "$ac_dir" && ac_dir=.
7353 if test -f $ac_dir/${ac_tool_prefix}file; then
7354 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7355 if test -n "$file_magic_test_file"; then
7356 case $deplibs_check_method in
7358 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7359 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7360 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7361 $EGREP "$file_magic_regex" > /dev/null; then
7366 *** Warning: the command libtool uses to detect shared libraries,
7367 *** $file_magic_cmd, produces output that libtool cannot recognize.
7368 *** The result is that libtool may fail to recognize shared libraries
7369 *** as such. This will affect the creation of libtool libraries that
7370 *** depend on shared libraries, but programs linked with such libtool
7371 *** libraries will work regardless of this problem. Nevertheless, you
7372 *** may want to report the problem to your system manager and/or to
7373 *** bug-libtool@gnu.org
7383 MAGIC_CMD="$lt_save_MAGIC_CMD"
7388 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7389 if test -n "$MAGIC_CMD"; then
7390 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7391 $as_echo "$MAGIC_CMD" >&6; }
7393 { $as_echo "$as_me:$LINENO: result: no" >&5
7394 $as_echo "no" >&6; }
7401 if test -z "$lt_cv_path_MAGIC_CMD"; then
7402 if test -n "$ac_tool_prefix"; then
7403 { $as_echo "$as_me:$LINENO: checking for file" >&5
7404 $as_echo_n "checking for file... " >&6; }
7405 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7406 $as_echo_n "(cached) " >&6
7410 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7413 lt_save_MAGIC_CMD="$MAGIC_CMD"
7414 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7415 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7416 for ac_dir in $ac_dummy; do
7418 test -z "$ac_dir" && ac_dir=.
7419 if test -f $ac_dir/file; then
7420 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7421 if test -n "$file_magic_test_file"; then
7422 case $deplibs_check_method in
7424 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7425 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7426 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7427 $EGREP "$file_magic_regex" > /dev/null; then
7432 *** Warning: the command libtool uses to detect shared libraries,
7433 *** $file_magic_cmd, produces output that libtool cannot recognize.
7434 *** The result is that libtool may fail to recognize shared libraries
7435 *** as such. This will affect the creation of libtool libraries that
7436 *** depend on shared libraries, but programs linked with such libtool
7437 *** libraries will work regardless of this problem. Nevertheless, you
7438 *** may want to report the problem to your system manager and/or to
7439 *** bug-libtool@gnu.org
7449 MAGIC_CMD="$lt_save_MAGIC_CMD"
7454 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7455 if test -n "$MAGIC_CMD"; then
7456 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7457 $as_echo "$MAGIC_CMD" >&6; }
7459 { $as_echo "$as_me:$LINENO: result: no" >&5
7460 $as_echo "no" >&6; }
7473 # Use C for the default configuration in the libtool script
7477 ac_cpp='$CPP $CPPFLAGS'
7478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7483 # Source file extension for C test sources.
7486 # Object file extension for compiled C test sources.
7490 # Code to be used in simple compile tests
7491 lt_simple_compile_test_code="int some_variable = 0;"
7493 # Code to be used in simple link tests
7494 lt_simple_link_test_code='int main(){return(0);}'
7502 # If no C compiler was specified, use CC.
7505 # If no C compiler flags were specified, use CFLAGS.
7506 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7508 # Allow CC to be a program name with arguments.
7511 # Save the default compiler, since it gets overwritten when the other
7512 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7513 compiler_DEFAULT=$CC
7515 # save warnings/boilerplate of simple test code
7516 ac_outfile=conftest.$ac_objext
7517 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7518 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7519 _lt_compiler_boilerplate=`cat conftest.err`
7522 ac_outfile=conftest.$ac_objext
7523 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7524 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7525 _lt_linker_boilerplate=`cat conftest.err`
7529 if test -n "$compiler"; then
7531 lt_prog_compiler_no_builtin_flag=
7533 if test "$GCC" = yes; then
7534 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7536 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7537 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7538 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7539 $as_echo_n "(cached) " >&6
7541 lt_cv_prog_compiler_rtti_exceptions=no
7542 ac_outfile=conftest.$ac_objext
7543 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7544 lt_compiler_flag="-fno-rtti -fno-exceptions"
7545 # Insert the option either (1) after the last *FLAGS variable, or
7546 # (2) before a word containing "conftest.", or (3) at the end.
7547 # Note that $ac_compile itself does not contain backslashes and begins
7548 # with a dollar sign (not a hyphen), so the echo should work correctly.
7549 # The option is referenced via a variable to avoid confusing sed.
7550 lt_compile=`echo "$ac_compile" | $SED \
7551 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7552 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7553 -e 's:$: $lt_compiler_flag:'`
7554 (eval echo "\"\$as_me:7554: $lt_compile\"" >&5)
7555 (eval "$lt_compile" 2>conftest.err)
7557 cat conftest.err >&5
7558 echo "$as_me:7558: \$? = $ac_status" >&5
7559 if (exit $ac_status) && test -s "$ac_outfile"; then
7560 # The compiler can only warn and ignore the option if not recognized
7561 # So say no if there are warnings other than the usual output.
7562 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7563 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7564 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7565 lt_cv_prog_compiler_rtti_exceptions=yes
7571 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7572 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7574 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7575 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7587 lt_prog_compiler_wl=
7588 lt_prog_compiler_pic=
7589 lt_prog_compiler_static=
7591 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7592 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7594 if test "$GCC" = yes; then
7595 lt_prog_compiler_wl='-Wl,'
7596 lt_prog_compiler_static='-static'
7600 # All AIX code is PIC.
7601 if test "$host_cpu" = ia64; then
7602 # AIX 5 now supports IA64 processor
7603 lt_prog_compiler_static='-Bstatic'
7610 # see comment about AmigaOS4 .so support
7611 lt_prog_compiler_pic='-fPIC'
7614 # FIXME: we need at least 68020 code to build shared libraries, but
7615 # adding the `-m68020' flag to GCC prevents building anything better,
7617 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7622 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7623 # PIC is the default for these OSes.
7626 mingw* | cygwin* | pw32* | os2* | cegcc*)
7627 # This hack is so that the source file can tell whether it is being
7628 # built for inclusion in a dll (and should export symbols for example).
7629 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7630 # (--disable-auto-import) libraries
7631 lt_prog_compiler_pic='-DDLL_EXPORT'
7634 darwin* | rhapsody*)
7635 # PIC is the default on this platform
7636 # Common symbols not allowed in MH_DYLIB files
7637 lt_prog_compiler_pic='-fno-common'
7641 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7642 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7643 # sets the default TLS model and affects inlining.
7649 lt_prog_compiler_pic='-fPIC'
7655 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7656 # Instead, we relocate shared libraries at runtime.
7660 # Just because we use GCC doesn't mean we suddenly get shared libraries
7661 # on systems that don't support them.
7662 lt_prog_compiler_can_build_shared=no
7667 # QNX uses GNU C++, but need to define -shared option too, otherwise
7669 lt_prog_compiler_pic='-fPIC -shared'
7673 if test -d /usr/nec; then
7674 lt_prog_compiler_pic=-Kconform_pic
7679 lt_prog_compiler_pic='-fPIC'
7683 # PORTME Check for flag to pass linker flags through the system compiler.
7686 lt_prog_compiler_wl='-Wl,'
7687 if test "$host_cpu" = ia64; then
7688 # AIX 5 now supports IA64 processor
7689 lt_prog_compiler_static='-Bstatic'
7691 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7695 mingw* | cygwin* | pw32* | os2* | cegcc*)
7696 # This hack is so that the source file can tell whether it is being
7697 # built for inclusion in a dll (and should export symbols for example).
7698 lt_prog_compiler_pic='-DDLL_EXPORT'
7701 hpux9* | hpux10* | hpux11*)
7702 lt_prog_compiler_wl='-Wl,'
7703 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7710 lt_prog_compiler_pic='+Z'
7713 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7714 lt_prog_compiler_static='${wl}-a ${wl}archive'
7717 irix5* | irix6* | nonstopux*)
7718 lt_prog_compiler_wl='-Wl,'
7719 # PIC (with -KPIC) is the default.
7720 lt_prog_compiler_static='-non_shared'
7723 linux* | k*bsd*-gnu)
7724 case $cc_basename in
7725 # old Intel for x86_64 which still supported -KPIC.
7727 lt_prog_compiler_wl='-Wl,'
7728 lt_prog_compiler_pic='-KPIC'
7729 lt_prog_compiler_static='-static'
7731 # icc used to be incompatible with GCC.
7732 # ICC 10 doesn't accept -KPIC any more.
7734 lt_prog_compiler_wl='-Wl,'
7735 lt_prog_compiler_pic='-fPIC'
7736 lt_prog_compiler_static='-static'
7738 # Lahey Fortran 8.1.
7740 lt_prog_compiler_wl='-Wl,'
7741 lt_prog_compiler_pic='--shared'
7742 lt_prog_compiler_static='--static'
7744 pgcc* | pgf77* | pgf90* | pgf95*)
7745 # Portland Group compilers (*not* the Pentium gcc compiler,
7746 # which looks to be a dead project)
7747 lt_prog_compiler_wl='-Wl,'
7748 lt_prog_compiler_pic='-fpic'
7749 lt_prog_compiler_static='-Bstatic'
7752 lt_prog_compiler_wl='-Wl,'
7753 # All Alpha code is PIC.
7754 lt_prog_compiler_static='-non_shared'
7757 # IBM XL C 8.0/Fortran 10.1 on PPC
7758 lt_prog_compiler_wl='-Wl,'
7759 lt_prog_compiler_pic='-qpic'
7760 lt_prog_compiler_static='-qstaticlink'
7763 case `$CC -V 2>&1 | sed 5q` in
7766 lt_prog_compiler_pic='-KPIC'
7767 lt_prog_compiler_static='-Bstatic'
7768 lt_prog_compiler_wl='-Wl,'
7771 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7772 lt_prog_compiler_pic='-KPIC'
7773 lt_prog_compiler_static='-Bstatic'
7774 lt_prog_compiler_wl=''
7782 lt_prog_compiler_pic='-KPIC'
7783 lt_prog_compiler_static='-Bstatic'
7787 # QNX uses GNU C++, but need to define -shared option too, otherwise
7789 lt_prog_compiler_pic='-fPIC -shared'
7792 osf3* | osf4* | osf5*)
7793 lt_prog_compiler_wl='-Wl,'
7794 # All OSF/1 code is PIC.
7795 lt_prog_compiler_static='-non_shared'
7799 lt_prog_compiler_static='-non_shared'
7803 lt_prog_compiler_pic='-KPIC'
7804 lt_prog_compiler_static='-Bstatic'
7805 case $cc_basename in
7807 lt_prog_compiler_wl='-Qoption ld ';;
7809 lt_prog_compiler_wl='-Wl,';;
7814 lt_prog_compiler_wl='-Qoption ld '
7815 lt_prog_compiler_pic='-PIC'
7816 lt_prog_compiler_static='-Bstatic'
7819 sysv4 | sysv4.2uw2* | sysv4.3*)
7820 lt_prog_compiler_wl='-Wl,'
7821 lt_prog_compiler_pic='-KPIC'
7822 lt_prog_compiler_static='-Bstatic'
7826 if test -d /usr/nec ;then
7827 lt_prog_compiler_pic='-Kconform_pic'
7828 lt_prog_compiler_static='-Bstatic'
7832 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7833 lt_prog_compiler_wl='-Wl,'
7834 lt_prog_compiler_pic='-KPIC'
7835 lt_prog_compiler_static='-Bstatic'
7839 lt_prog_compiler_wl='-Wl,'
7840 lt_prog_compiler_can_build_shared=no
7844 lt_prog_compiler_pic='-pic'
7845 lt_prog_compiler_static='-Bstatic'
7849 lt_prog_compiler_can_build_shared=no
7855 # For platforms which do not support PIC, -DPIC is meaningless:
7857 lt_prog_compiler_pic=
7860 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7863 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7864 $as_echo "$lt_prog_compiler_pic" >&6; }
7872 # Check to make sure the PIC flag actually works.
7874 if test -n "$lt_prog_compiler_pic"; then
7875 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7876 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7877 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7878 $as_echo_n "(cached) " >&6
7880 lt_cv_prog_compiler_pic_works=no
7881 ac_outfile=conftest.$ac_objext
7882 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7883 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7884 # Insert the option either (1) after the last *FLAGS variable, or
7885 # (2) before a word containing "conftest.", or (3) at the end.
7886 # Note that $ac_compile itself does not contain backslashes and begins
7887 # with a dollar sign (not a hyphen), so the echo should work correctly.
7888 # The option is referenced via a variable to avoid confusing sed.
7889 lt_compile=`echo "$ac_compile" | $SED \
7890 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7891 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7892 -e 's:$: $lt_compiler_flag:'`
7893 (eval echo "\"\$as_me:7893: $lt_compile\"" >&5)
7894 (eval "$lt_compile" 2>conftest.err)
7896 cat conftest.err >&5
7897 echo "$as_me:7897: \$? = $ac_status" >&5
7898 if (exit $ac_status) && test -s "$ac_outfile"; then
7899 # The compiler can only warn and ignore the option if not recognized
7900 # So say no if there are warnings other than the usual output.
7901 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7903 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7904 lt_cv_prog_compiler_pic_works=yes
7910 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7911 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7913 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7914 case $lt_prog_compiler_pic in
7916 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7919 lt_prog_compiler_pic=
7920 lt_prog_compiler_can_build_shared=no
7931 # Check to make sure the static flag actually works.
7933 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7934 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7935 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7936 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7937 $as_echo_n "(cached) " >&6
7939 lt_cv_prog_compiler_static_works=no
7940 save_LDFLAGS="$LDFLAGS"
7941 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7942 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7943 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7944 # The linker can only warn and ignore the option if not recognized
7945 # So say no if there are warnings
7946 if test -s conftest.err; then
7947 # Append any errors to the config.log.
7948 cat conftest.err 1>&5
7949 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7950 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7951 if diff conftest.exp conftest.er2 >/dev/null; then
7952 lt_cv_prog_compiler_static_works=yes
7955 lt_cv_prog_compiler_static_works=yes
7959 LDFLAGS="$save_LDFLAGS"
7962 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7963 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7965 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7968 lt_prog_compiler_static=
7977 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7978 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7979 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7980 $as_echo_n "(cached) " >&6
7982 lt_cv_prog_compiler_c_o=no
7983 $RM -r conftest 2>/dev/null
7987 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7989 lt_compiler_flag="-o out/conftest2.$ac_objext"
7990 # Insert the option either (1) after the last *FLAGS variable, or
7991 # (2) before a word containing "conftest.", or (3) at the end.
7992 # Note that $ac_compile itself does not contain backslashes and begins
7993 # with a dollar sign (not a hyphen), so the echo should work correctly.
7994 lt_compile=`echo "$ac_compile" | $SED \
7995 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7997 -e 's:$: $lt_compiler_flag:'`
7998 (eval echo "\"\$as_me:7998: $lt_compile\"" >&5)
7999 (eval "$lt_compile" 2>out/conftest.err)
8001 cat out/conftest.err >&5
8002 echo "$as_me:8002: \$? = $ac_status" >&5
8003 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8005 # The compiler can only warn and ignore the option if not recognized
8006 # So say no if there are warnings
8007 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8008 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8009 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8010 lt_cv_prog_compiler_c_o=yes
8015 # SGI C++ compiler will create directory out/ii_files/ for
8016 # template instantiation
8017 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8018 $RM out/* && rmdir out
8024 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8025 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8032 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8033 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8034 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8035 $as_echo_n "(cached) " >&6
8037 lt_cv_prog_compiler_c_o=no
8038 $RM -r conftest 2>/dev/null
8042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8044 lt_compiler_flag="-o out/conftest2.$ac_objext"
8045 # Insert the option either (1) after the last *FLAGS variable, or
8046 # (2) before a word containing "conftest.", or (3) at the end.
8047 # Note that $ac_compile itself does not contain backslashes and begins
8048 # with a dollar sign (not a hyphen), so the echo should work correctly.
8049 lt_compile=`echo "$ac_compile" | $SED \
8050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8052 -e 's:$: $lt_compiler_flag:'`
8053 (eval echo "\"\$as_me:8053: $lt_compile\"" >&5)
8054 (eval "$lt_compile" 2>out/conftest.err)
8056 cat out/conftest.err >&5
8057 echo "$as_me:8057: \$? = $ac_status" >&5
8058 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8060 # The compiler can only warn and ignore the option if not recognized
8061 # So say no if there are warnings
8062 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8063 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8064 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8065 lt_cv_prog_compiler_c_o=yes
8070 # SGI C++ compiler will create directory out/ii_files/ for
8071 # template instantiation
8072 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8073 $RM out/* && rmdir out
8079 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8080 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8085 hard_links="nottested"
8086 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8087 # do not overwrite the value of need_locks provided by the user
8088 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8089 $as_echo_n "checking if we can lock with hard links... " >&6; }
8092 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8094 ln conftest.a conftest.b 2>&5 || hard_links=no
8095 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8096 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8097 $as_echo "$hard_links" >&6; }
8098 if test "$hard_links" = no; then
8099 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8100 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8112 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8113 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8116 allow_undefined_flag=
8117 always_export_symbols=no
8119 archive_expsym_cmds=
8120 compiler_needs_object=no
8121 enable_shared_with_static_runtimes=no
8122 export_dynamic_flag_spec=
8123 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8124 hardcode_automatic=no
8126 hardcode_direct_absolute=no
8127 hardcode_libdir_flag_spec=
8128 hardcode_libdir_flag_spec_ld=
8129 hardcode_libdir_separator=
8131 hardcode_shlibpath_var=unsupported
8133 link_all_deplibs=unknown
8136 old_archive_from_new_cmds=
8137 old_archive_from_expsyms_cmds=
8138 thread_safe_flag_spec=
8139 whole_archive_flag_spec=
8140 # include_expsyms should be a list of space-separated symbols to be *always*
8141 # included in the symbol list
8143 # exclude_expsyms can be an extended regexp of symbols to exclude
8144 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8145 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8146 # as well as any symbol that contains `d'.
8147 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8148 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8149 # platforms (ab)use it in PIC code, but their linkers get confused if
8150 # the symbol is explicitly referenced. Since portable code cannot
8151 # rely on this symbol name, it's probably fine to never include it in
8152 # preloaded symbol tables.
8153 # Exclude shared library initialization/finalization symbols.
8154 extract_expsyms_cmds=
8157 cygwin* | mingw* | pw32* | cegcc*)
8158 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8159 # When not using gcc, we currently assume that we are using
8160 # Microsoft Visual C++.
8161 if test "$GCC" != yes; then
8166 # we just hope/assume this is gcc and not c89 (= MSVC++)
8172 linux* | k*bsd*-gnu)
8178 if test "$with_gnu_ld" = yes; then
8179 # If archive_cmds runs LD, not CC, wlarc should be empty
8182 # Set some defaults for GNU ld with shared library support. These
8183 # are reset later if shared libraries are not supported. Putting them
8184 # here allows them to be overridden if necessary.
8185 runpath_var=LD_RUN_PATH
8186 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8187 export_dynamic_flag_spec='${wl}--export-dynamic'
8188 # ancient GNU ld didn't support --whole-archive et. al.
8189 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8190 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8192 whole_archive_flag_spec=
8194 supports_anon_versioning=no
8195 case `$LD -v 2>&1` in
8196 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8197 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8198 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8199 *\ 2.11.*) ;; # other 2.11 versions
8200 *) supports_anon_versioning=yes ;;
8203 # See if GNU ld supports shared libraries.
8206 # On AIX/PPC, the GNU linker is very broken
8207 if test "$host_cpu" != ia64; then
8211 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8212 *** to be unable to reliably create shared libraries on AIX.
8213 *** Therefore, libtool is disabling shared libraries support. If you
8214 *** really care for shared libraries, you may want to modify your PATH
8215 *** so that a non-GNU linker is found, and then restart.
8224 # see comment about AmigaOS4 .so support
8225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8226 archive_expsym_cmds=''
8229 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)'
8230 hardcode_libdir_flag_spec='-L$libdir'
8231 hardcode_minus_L=yes
8237 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8238 allow_undefined_flag=unsupported
8239 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8240 # support --undefined. This deserves some investigation. FIXME
8241 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8247 cygwin* | mingw* | pw32* | cegcc*)
8248 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8249 # as there is no search path for DLLs.
8250 hardcode_libdir_flag_spec='-L$libdir'
8251 allow_undefined_flag=unsupported
8252 always_export_symbols=no
8253 enable_shared_with_static_runtimes=yes
8254 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8256 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8257 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8258 # If the export-symbols file already is a .def file (1st line
8259 # is EXPORTS), use it as is; otherwise, prepend...
8260 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8261 cp $export_symbols $output_objdir/$soname.def;
8263 echo EXPORTS > $output_objdir/$soname.def;
8264 cat $export_symbols >> $output_objdir/$soname.def;
8266 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8274 hardcode_shlibpath_var=no
8275 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8276 export_dynamic_flag_spec='${wl}-E'
8277 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8278 # Instead, shared libraries are loaded at an image base (0x10000000 by
8279 # default) and relocated if they conflict, which is a slow very memory
8280 # consuming and fragmenting process. To avoid this, we pick a random,
8281 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8282 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8283 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8284 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'
8287 gnu* | linux* | tpf* | k*bsd*-gnu)
8289 if test "$host_os" = linux-dietlibc; then
8290 case $cc_basename in
8291 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8294 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8295 && test "$tmp_diet" = no
8298 tmp_sharedflag='-shared'
8299 case $cc_basename,$host_cpu in
8300 pgcc*) # Portland Group C compiler
8301 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'
8302 tmp_addflag=' $pic_flag'
8304 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8305 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'
8306 tmp_addflag=' $pic_flag -Mnomain' ;;
8307 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8308 tmp_addflag=' -i_dynamic' ;;
8309 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8310 tmp_addflag=' -i_dynamic -nofor_main' ;;
8311 ifc* | ifort*) # Intel Fortran compiler
8312 tmp_addflag=' -nofor_main' ;;
8313 lf95*) # Lahey Fortran 8.1
8314 whole_archive_flag_spec=
8315 tmp_sharedflag='--shared' ;;
8316 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8317 tmp_sharedflag='-qmkshrobj'
8320 case `$CC -V 2>&1 | sed 5q` in
8321 *Sun\ C*) # Sun C 5.9
8322 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'
8323 compiler_needs_object=yes
8324 tmp_sharedflag='-G' ;;
8325 *Sun\ F*) # Sun Fortran 8.3
8326 tmp_sharedflag='-G' ;;
8328 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8330 if test "x$supports_anon_versioning" = xyes; then
8331 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8333 echo "local: *; };" >> $output_objdir/$libname.ver~
8334 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8337 case $cc_basename in
8339 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8340 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8341 hardcode_libdir_flag_spec=
8342 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8343 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8344 if test "x$supports_anon_versioning" = xyes; then
8345 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8347 echo "local: *; };" >> $output_objdir/$libname.ver~
8348 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8357 netbsd* | netbsdelf*-gnu)
8358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8359 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8368 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8373 *** create shared libraries on Solaris systems. Therefore, libtool
8374 *** is disabling shared libraries support. We urge you to upgrade GNU
8375 *** binutils to release 2.9.1 or newer. Another option is to modify
8376 *** your PATH or compiler configuration so that the native linker is
8377 *** used, and then restart.
8380 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8389 case `$LD -v 2>&1` in
8390 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8395 *** reliably create shared libraries on SCO systems. Therefore, libtool
8396 *** is disabling shared libraries support. We urge you to upgrade GNU
8397 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8398 *** your PATH or compiler configuration so that the native linker is
8399 *** used, and then restart.
8404 # For security reasons, it is highly recommended that you always
8405 # use absolute paths for naming shared libraries, and exclude the
8406 # DT_RUNPATH tag from executables and libraries. But doing so
8407 # requires that you compile everything twice, which is a pain.
8408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8409 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8411 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8420 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8423 hardcode_shlibpath_var=no
8427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8429 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8436 if test "$ld_shlibs" = no; then
8438 hardcode_libdir_flag_spec=
8439 export_dynamic_flag_spec=
8440 whole_archive_flag_spec=
8443 # PORTME fill in a description of your system's linker (not GNU ld)
8446 allow_undefined_flag=unsupported
8447 always_export_symbols=yes
8448 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'
8449 # Note: this linker hardcodes the directories in LIBPATH if there
8450 # are no directories specified by -L.
8451 hardcode_minus_L=yes
8452 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8453 # Neither direct hardcoding nor static linking is supported with a
8455 hardcode_direct=unsupported
8460 if test "$host_cpu" = ia64; then
8461 # On IA64, the linker does run time linking by default, so we don't
8462 # have to do anything special.
8463 aix_use_runtimelinking=no
8464 exp_sym_flag='-Bexport'
8467 # If we're using GNU nm, then we don't want the "-C" option.
8468 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8469 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8470 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'
8472 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'
8474 aix_use_runtimelinking=no
8476 # Test if we are trying to use run time linking or normal
8477 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8478 # need to do runtime linking.
8479 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8480 for ld_flag in $LDFLAGS; do
8481 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8482 aix_use_runtimelinking=yes
8489 exp_sym_flag='-bexport'
8490 no_entry_flag='-bnoentry'
8493 # When large executables or shared objects are built, AIX ld can
8494 # have problems creating the table of contents. If linking a library
8495 # or program results in "error TOC overflow" add -mminimal-toc to
8496 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8497 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8501 hardcode_direct_absolute=yes
8502 hardcode_libdir_separator=':'
8503 link_all_deplibs=yes
8504 file_list_spec='${wl}-f,'
8506 if test "$GCC" = yes; then
8507 case $host_os in aix4.[012]|aix4.[012].*)
8508 # We only want to do this on AIX 4.2 and lower, the check
8509 # below for broken collect2 doesn't work under 4.3+
8510 collect2name=`${CC} -print-prog-name=collect2`
8511 if test -f "$collect2name" &&
8512 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8514 # We have reworked collect2
8517 # We have old collect2
8518 hardcode_direct=unsupported
8519 # It fails to find uninstalled libraries when the uninstalled
8520 # path is not listed in the libpath. Setting hardcode_minus_L
8521 # to unsupported forces relinking
8522 hardcode_minus_L=yes
8523 hardcode_libdir_flag_spec='-L$libdir'
8524 hardcode_libdir_separator=
8528 shared_flag='-shared'
8529 if test "$aix_use_runtimelinking" = yes; then
8530 shared_flag="$shared_flag "'${wl}-G'
8535 if test "$host_cpu" = ia64; then
8536 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8537 # chokes on -Wl,-G. The following line is correct:
8540 if test "$aix_use_runtimelinking" = yes; then
8541 shared_flag='${wl}-G'
8543 shared_flag='${wl}-bM:SRE'
8548 export_dynamic_flag_spec='${wl}-bexpall'
8549 # It seems that -bexpall does not export symbols beginning with
8550 # underscore (_), so it is better to generate a list of symbols to export.
8551 always_export_symbols=yes
8552 if test "$aix_use_runtimelinking" = yes; then
8553 # Warning - without using the other runtime loading flags (-brtl),
8554 # -berok will link without error, but may produce a broken library.
8555 allow_undefined_flag='-berok'
8556 # Determine the default libpath from the value encoded in an
8558 cat >conftest.$ac_ext <<_ACEOF
8561 cat confdefs.h >>conftest.$ac_ext
8562 cat >>conftest.$ac_ext <<_ACEOF
8563 /* end confdefs.h. */
8573 rm -f conftest.$ac_objext conftest$ac_exeext
8574 if { (ac_try="$ac_link"
8576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8577 *) ac_try_echo=$ac_try;;
8579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8580 $as_echo "$ac_try_echo") >&5
8581 (eval "$ac_link") 2>conftest.er1
8583 grep -v '^ *+' conftest.er1 >conftest.err
8585 cat conftest.err >&5
8586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } && {
8588 test -z "$ac_c_werror_flag" ||
8589 test ! -s conftest.err
8590 } && test -s conftest$ac_exeext && {
8591 test "$cross_compiling" = yes ||
8592 $as_test_x conftest$ac_exeext
8595 lt_aix_libpath_sed='
8596 /Import File Strings/,/^$/ {
8602 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8603 # Check for a 64-bit object if we didn't find anything.
8604 if test -z "$aix_libpath"; then
8605 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8608 $as_echo "$as_me: failed program was:" >&5
8609 sed 's/^/| /' conftest.$ac_ext >&5
8614 rm -rf conftest.dSYM
8615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8616 conftest$ac_exeext conftest.$ac_ext
8617 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8619 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8620 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"
8622 if test "$host_cpu" = ia64; then
8623 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8624 allow_undefined_flag="-z nodefs"
8625 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"
8627 # Determine the default libpath from the value encoded in an
8629 cat >conftest.$ac_ext <<_ACEOF
8632 cat confdefs.h >>conftest.$ac_ext
8633 cat >>conftest.$ac_ext <<_ACEOF
8634 /* end confdefs.h. */
8644 rm -f conftest.$ac_objext conftest$ac_exeext
8645 if { (ac_try="$ac_link"
8647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8648 *) ac_try_echo=$ac_try;;
8650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8651 $as_echo "$ac_try_echo") >&5
8652 (eval "$ac_link") 2>conftest.er1
8654 grep -v '^ *+' conftest.er1 >conftest.err
8656 cat conftest.err >&5
8657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); } && {
8659 test -z "$ac_c_werror_flag" ||
8660 test ! -s conftest.err
8661 } && test -s conftest$ac_exeext && {
8662 test "$cross_compiling" = yes ||
8663 $as_test_x conftest$ac_exeext
8666 lt_aix_libpath_sed='
8667 /Import File Strings/,/^$/ {
8673 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8674 # Check for a 64-bit object if we didn't find anything.
8675 if test -z "$aix_libpath"; then
8676 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8679 $as_echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.$ac_ext >&5
8685 rm -rf conftest.dSYM
8686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8687 conftest$ac_exeext conftest.$ac_ext
8688 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8690 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8691 # Warning - without using the other run time loading flags,
8692 # -berok will link without error, but may produce a broken library.
8693 no_undefined_flag=' ${wl}-bernotok'
8694 allow_undefined_flag=' ${wl}-berok'
8695 # Exported symbols can be pulled into shared objects from archives
8696 whole_archive_flag_spec='$convenience'
8697 archive_cmds_need_lc=yes
8698 # This is similar to how AIX traditionally builds its shared libraries.
8699 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'
8707 # see comment about AmigaOS4 .so support
8708 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8709 archive_expsym_cmds=''
8712 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)'
8713 hardcode_libdir_flag_spec='-L$libdir'
8714 hardcode_minus_L=yes
8720 export_dynamic_flag_spec=-rdynamic
8723 cygwin* | mingw* | pw32* | cegcc*)
8724 # When not using gcc, we currently assume that we are using
8725 # Microsoft Visual C++.
8726 # hardcode_libdir_flag_spec is actually meaningless, as there is
8727 # no search path for DLLs.
8728 hardcode_libdir_flag_spec=' '
8729 allow_undefined_flag=unsupported
8730 # Tell ltmain to make .lib files, not .a files.
8732 # Tell ltmain to make .dll files, not .so files.
8734 # FIXME: Setting linknames here is a bad hack.
8735 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8736 # The linker will automatically build a .lib file if we build a DLL.
8737 old_archive_from_new_cmds='true'
8738 # FIXME: Should let the user specify the lib program.
8739 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8740 fix_srcfile_path='`cygpath -w "$srcfile"`'
8741 enable_shared_with_static_runtimes=yes
8744 darwin* | rhapsody*)
8747 archive_cmds_need_lc=no
8749 hardcode_automatic=yes
8750 hardcode_shlibpath_var=unsupported
8751 whole_archive_flag_spec=''
8752 link_all_deplibs=yes
8753 allow_undefined_flag="$_lt_dar_allow_undefined"
8754 case $cc_basename in
8755 ifort*) _lt_dar_can_shared=yes ;;
8756 *) _lt_dar_can_shared=$GCC ;;
8758 if test "$_lt_dar_can_shared" = "yes"; then
8759 output_verbose_link_cmd=echo
8760 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8761 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8762 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}"
8763 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}"
8772 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8773 hardcode_libdir_flag_spec='-L$libdir'
8774 hardcode_shlibpath_var=no
8781 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8782 # support. Future versions do this automatically, but an explicit c++rt0.o
8783 # does not break anything, and helps significantly (at the cost of a little
8786 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8787 hardcode_libdir_flag_spec='-R$libdir'
8789 hardcode_shlibpath_var=no
8792 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8794 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8796 hardcode_minus_L=yes
8797 hardcode_shlibpath_var=no
8800 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8801 freebsd* | dragonfly*)
8802 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8803 hardcode_libdir_flag_spec='-R$libdir'
8805 hardcode_shlibpath_var=no
8809 if test "$GCC" = yes; then
8810 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'
8812 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'
8814 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8815 hardcode_libdir_separator=:
8818 # hardcode_minus_L: Not really in the search PATH,
8819 # but as the default location of the library.
8820 hardcode_minus_L=yes
8821 export_dynamic_flag_spec='${wl}-E'
8825 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8826 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8828 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8830 if test "$with_gnu_ld" = no; then
8831 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8832 hardcode_libdir_flag_spec_ld='+b $libdir'
8833 hardcode_libdir_separator=:
8835 hardcode_direct_absolute=yes
8836 export_dynamic_flag_spec='${wl}-E'
8837 # hardcode_minus_L: Not really in the search PATH,
8838 # but as the default location of the library.
8839 hardcode_minus_L=yes
8844 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8847 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8850 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8853 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8859 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8862 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8865 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8869 if test "$with_gnu_ld" = no; then
8870 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8871 hardcode_libdir_separator=:
8876 hardcode_shlibpath_var=no
8880 hardcode_direct_absolute=yes
8881 export_dynamic_flag_spec='${wl}-E'
8883 # hardcode_minus_L: Not really in the search PATH,
8884 # but as the default location of the library.
8885 hardcode_minus_L=yes
8891 irix5* | irix6* | nonstopux*)
8892 if test "$GCC" = yes; then
8893 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'
8894 # Try to use the -exported_symbol ld option, if it does not
8895 # work, assume that -exports_file does not work either and
8896 # implicitly export all symbols.
8897 save_LDFLAGS="$LDFLAGS"
8898 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8899 cat >conftest.$ac_ext <<_ACEOF
8902 rm -f conftest.$ac_objext conftest$ac_exeext
8903 if { (ac_try="$ac_link"
8905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8906 *) ac_try_echo=$ac_try;;
8908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8909 $as_echo "$ac_try_echo") >&5
8910 (eval "$ac_link") 2>conftest.er1
8912 grep -v '^ *+' conftest.er1 >conftest.err
8914 cat conftest.err >&5
8915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } && {
8917 test -z "$ac_c_werror_flag" ||
8918 test ! -s conftest.err
8919 } && test -s conftest$ac_exeext && {
8920 test "$cross_compiling" = yes ||
8921 $as_test_x conftest$ac_exeext
8923 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'
8926 $as_echo "$as_me: failed program was:" >&5
8927 sed 's/^/| /' conftest.$ac_ext >&5
8932 rm -rf conftest.dSYM
8933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8934 conftest$ac_exeext conftest.$ac_ext
8935 LDFLAGS="$save_LDFLAGS"
8937 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'
8938 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'
8940 archive_cmds_need_lc='no'
8941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8942 hardcode_libdir_separator=:
8944 link_all_deplibs=yes
8947 netbsd* | netbsdelf*-gnu)
8948 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8949 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8951 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8953 hardcode_libdir_flag_spec='-R$libdir'
8955 hardcode_shlibpath_var=no
8959 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8961 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8962 hardcode_libdir_separator=:
8963 hardcode_shlibpath_var=no
8970 if test -f /usr/libexec/ld.so; then
8972 hardcode_shlibpath_var=no
8973 hardcode_direct_absolute=yes
8974 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8975 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8976 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8977 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8978 export_dynamic_flag_spec='${wl}-E'
8981 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8982 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8983 hardcode_libdir_flag_spec='-R$libdir'
8986 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8987 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8997 hardcode_libdir_flag_spec='-L$libdir'
8998 hardcode_minus_L=yes
8999 allow_undefined_flag=unsupported
9000 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'
9001 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9005 if test "$GCC" = yes; then
9006 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9007 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'
9009 allow_undefined_flag=' -expect_unresolved \*'
9010 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'
9012 archive_cmds_need_lc='no'
9013 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9014 hardcode_libdir_separator=:
9017 osf4* | osf5*) # as osf3* with the addition of -msym flag
9018 if test "$GCC" = yes; then
9019 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9020 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'
9021 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9023 allow_undefined_flag=' -expect_unresolved \*'
9024 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'
9025 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~
9026 $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'
9028 # Both c and cxx compiler support -rpath directly
9029 hardcode_libdir_flag_spec='-rpath $libdir'
9031 archive_cmds_need_lc='no'
9032 hardcode_libdir_separator=:
9036 no_undefined_flag=' -z defs'
9037 if test "$GCC" = yes; then
9039 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9040 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9041 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9043 case `$CC -V 2>&1` in
9046 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9047 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9048 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9052 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9053 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9054 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9058 hardcode_libdir_flag_spec='-R$libdir'
9059 hardcode_shlibpath_var=no
9061 solaris2.[0-5] | solaris2.[0-5].*) ;;
9063 # The compiler driver will combine and reorder linker options,
9064 # but understands `-z linker_flag'. GCC discards it without `$wl',
9065 # but is careful enough not to reorder.
9066 # Supported since Solaris 2.6 (maybe 2.5.1?)
9067 if test "$GCC" = yes; then
9068 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9070 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9074 link_all_deplibs=yes
9078 if test "x$host_vendor" = xsequent; then
9079 # Use $CC to link under sequent, because it throws in some extra .o
9080 # files that make .init and .fini sections work.
9081 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9083 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9085 hardcode_libdir_flag_spec='-L$libdir'
9087 hardcode_minus_L=yes
9088 hardcode_shlibpath_var=no
9092 case $host_vendor in
9094 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9095 hardcode_direct=yes # is this really true???
9098 ## LD is ld it makes a PLAMLIB
9099 ## CC just makes a GrossModule.
9100 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9101 reload_cmds='$CC -r -o $output$reload_objs'
9105 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9106 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9109 runpath_var='LD_RUN_PATH'
9110 hardcode_shlibpath_var=no
9114 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9115 hardcode_shlibpath_var=no
9116 export_dynamic_flag_spec='-Bexport'
9120 if test -d /usr/nec; then
9121 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9122 hardcode_shlibpath_var=no
9123 runpath_var=LD_RUN_PATH
9124 hardcode_runpath_var=yes
9129 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9130 no_undefined_flag='${wl}-z,text'
9131 archive_cmds_need_lc=no
9132 hardcode_shlibpath_var=no
9133 runpath_var='LD_RUN_PATH'
9135 if test "$GCC" = yes; then
9136 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9137 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9139 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9140 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9144 sysv5* | sco3.2v5* | sco5v6*)
9145 # Note: We can NOT use -z defs as we might desire, because we do not
9146 # link with -lc, and that would cause any symbols used from libc to
9147 # always be unresolved, which means just about no library would
9148 # ever link correctly. If we're not using GNU ld we use -z text
9149 # though, which does catch some bad symbols but isn't as heavy-handed
9151 no_undefined_flag='${wl}-z,text'
9152 allow_undefined_flag='${wl}-z,nodefs'
9153 archive_cmds_need_lc=no
9154 hardcode_shlibpath_var=no
9155 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9156 hardcode_libdir_separator=':'
9157 link_all_deplibs=yes
9158 export_dynamic_flag_spec='${wl}-Bexport'
9159 runpath_var='LD_RUN_PATH'
9161 if test "$GCC" = yes; then
9162 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9163 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9165 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9166 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9171 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9172 hardcode_libdir_flag_spec='-L$libdir'
9173 hardcode_shlibpath_var=no
9181 if test x$host_vendor = xsni; then
9183 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9184 export_dynamic_flag_spec='${wl}-Blargedynsym'
9190 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9191 $as_echo "$ld_shlibs" >&6; }
9192 test "$ld_shlibs" = no && can_build_shared=no
9194 with_gnu_ld=$with_gnu_ld
9211 # Do we need to explicitly link libc?
9213 case "x$archive_cmds_need_lc" in
9215 # Assume -lc should be added
9216 archive_cmds_need_lc=yes
9218 if test "$enable_shared" = yes && test "$GCC" = yes; then
9219 case $archive_cmds in
9221 # FIXME: we may have to deal with multi-command sequences.
9224 # Test whether the compiler implicitly links with -lc since on some
9225 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9226 # to ld, don't add -lc before -lgcc.
9227 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9228 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9230 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9233 (eval $ac_compile) 2>&5
9235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } 2>conftest.err; then
9239 libobjs=conftest.$ac_objext
9241 wl=$lt_prog_compiler_wl
9242 pic_flag=$lt_prog_compiler_pic
9248 lt_save_allow_undefined_flag=$allow_undefined_flag
9249 allow_undefined_flag=
9250 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9251 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); }
9256 archive_cmds_need_lc=no
9258 archive_cmds_need_lc=yes
9260 allow_undefined_flag=$lt_save_allow_undefined_flag
9262 cat conftest.err 1>&5
9265 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9266 $as_echo "$archive_cmds_need_lc" >&6; }
9429 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9430 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9432 if test "$GCC" = yes; then
9434 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9435 *) lt_awk_arg="/^libraries:/" ;;
9437 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9438 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9439 # if the path contains ";" then we assume it to be the separator
9440 # otherwise default to the standard path separator (i.e. ":") - it is
9441 # assumed that no part of a normal pathname contains ";" but that should
9442 # okay in the real world where ";" in dirpaths is itself problematic.
9443 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9445 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9447 # Ok, now we have the path, separated by spaces, we can step through it
9448 # and add multilib dir if necessary.
9449 lt_tmp_lt_search_path_spec=
9450 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9451 for lt_sys_path in $lt_search_path_spec; do
9452 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9453 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9455 test -d "$lt_sys_path" && \
9456 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9459 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9460 BEGIN {RS=" "; FS="/|\n";} {
9463 for (lt_i = NF; lt_i > 0; lt_i--) {
9464 if ($lt_i != "" && $lt_i != ".") {
9465 if ($lt_i == "..") {
9468 if (lt_count == 0) {
9469 lt_foo="/" $lt_i lt_foo;
9476 if (lt_foo != "") { lt_freq[lt_foo]++; }
9477 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9479 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9481 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9484 libname_spec='lib$name'
9492 shlibpath_overrides_runpath=unknown
9494 dynamic_linker="$host_os ld.so"
9495 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9496 need_lib_prefix=unknown
9497 hardcode_into_libs=no
9499 # when you set need_version to no, make sure it does not cause -set_version
9500 # flags to be left without arguments
9501 need_version=unknown
9506 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9507 shlibpath_var=LIBPATH
9509 # AIX 3 has no versioning support, so we append a major version to the name.
9510 soname_spec='${libname}${release}${shared_ext}$major'
9517 hardcode_into_libs=yes
9518 if test "$host_cpu" = ia64; then
9519 # AIX 5 supports IA64
9520 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9521 shlibpath_var=LD_LIBRARY_PATH
9523 # With GCC up to 2.95.x, collect2 would create an import file
9524 # for dependence libraries. The import file would start with
9525 # the line `#! .'. This would cause the generated library to
9526 # depend on `.', always an invalid library. This was fixed in
9527 # development snapshots of GCC prior to 3.0.
9529 aix4 | aix4.[01] | aix4.[01].*)
9530 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9532 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9539 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9540 # soname into executable. Probably we can add versioning support to
9541 # collect2, so additional links can be useful in future.
9542 if test "$aix_use_runtimelinking" = yes; then
9543 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9544 # instead of lib<name>.a to let people know that these are not
9545 # typical AIX shared libraries.
9546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9548 # We preserve .a as extension for shared libraries through AIX4.2
9549 # and later when we are not doing run time linking.
9550 library_names_spec='${libname}${release}.a $libname.a'
9551 soname_spec='${libname}${release}${shared_ext}$major'
9553 shlibpath_var=LIBPATH
9560 # Since July 2007 AmigaOS4 officially supports .so libraries.
9561 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9565 library_names_spec='$libname.ixlibrary $libname.a'
9566 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9567 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'
9573 library_names_spec='${libname}${shared_ext}'
9574 dynamic_linker="$host_os ld.so"
9575 shlibpath_var=LIBRARY_PATH
9581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9582 soname_spec='${libname}${release}${shared_ext}$major'
9583 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9584 shlibpath_var=LD_LIBRARY_PATH
9585 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9586 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9587 # the default ld.so.conf also contains /usr/contrib/lib and
9588 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9589 # libtool to hard-code these into programs
9592 cygwin* | mingw* | pw32* | cegcc*)
9593 version_type=windows
9598 case $GCC,$host_os in
9599 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9600 library_names_spec='$libname.dll.a'
9601 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9602 postinstall_cmds='base_file=`basename \${file}`~
9603 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9604 dldir=$destdir/`dirname \$dlpath`~
9605 test -d \$dldir || mkdir -p \$dldir~
9606 $install_prog $dir/$dlname \$dldir/$dlname~
9607 chmod a+x \$dldir/$dlname~
9608 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9609 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9611 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9612 dlpath=$dir/\$dldll~
9614 shlibpath_overrides_runpath=yes
9618 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9619 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9620 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9623 # MinGW DLLs use traditional 'lib' prefix
9624 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9625 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9626 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9627 # It is most probably a Windows format PATH printed by
9628 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9629 # path with ; separators, and with drive letters. We can handle the
9630 # drive letters (cygwin fileutils understands them), so leave them,
9631 # especially as we might pass files found there to a mingw objdump,
9632 # which wouldn't understand a cygwinified path. Ahh.
9633 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9635 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9639 # pw32 DLLs use 'pw' prefix rather than 'lib'
9640 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9646 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9649 dynamic_linker='Win32 ld.exe'
9650 # FIXME: first we should search . and the directory the executable is in
9654 darwin* | rhapsody*)
9655 dynamic_linker="$host_os dyld"
9659 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9660 soname_spec='${libname}${release}${major}$shared_ext'
9661 shlibpath_overrides_runpath=yes
9662 shlibpath_var=DYLD_LIBRARY_PATH
9663 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9665 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9666 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9674 soname_spec='${libname}${release}${shared_ext}$major'
9675 shlibpath_var=LD_LIBRARY_PATH
9682 freebsd* | dragonfly*)
9683 # DragonFly does not have aout. When/if they implement a new
9684 # versioning mechanism, adjust this.
9685 if test -x /usr/bin/objformat; then
9686 objformat=`/usr/bin/objformat`
9689 freebsd[123]*) objformat=aout ;;
9693 version_type=freebsd-$objformat
9694 case $version_type in
9696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9701 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9705 shlibpath_var=LD_LIBRARY_PATH
9708 shlibpath_overrides_runpath=yes
9710 freebsd3.[01]* | freebsdelf3.[01]*)
9711 shlibpath_overrides_runpath=yes
9712 hardcode_into_libs=yes
9714 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9715 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9716 shlibpath_overrides_runpath=no
9717 hardcode_into_libs=yes
9719 *) # from 4.6 on, and DragonFly
9720 shlibpath_overrides_runpath=yes
9721 hardcode_into_libs=yes
9730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9731 soname_spec='${libname}${release}${shared_ext}$major'
9732 shlibpath_var=LD_LIBRARY_PATH
9733 hardcode_into_libs=yes
9736 hpux9* | hpux10* | hpux11*)
9737 # Give a soname corresponding to the major version so that dld.sl refuses to
9738 # link against other versions.
9745 hardcode_into_libs=yes
9746 dynamic_linker="$host_os dld.so"
9747 shlibpath_var=LD_LIBRARY_PATH
9748 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9750 soname_spec='${libname}${release}${shared_ext}$major'
9751 if test "X$HPUX_IA64_MODE" = X32; then
9752 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9754 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9756 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9760 hardcode_into_libs=yes
9761 dynamic_linker="$host_os dld.sl"
9762 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9763 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9765 soname_spec='${libname}${release}${shared_ext}$major'
9766 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9767 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9771 dynamic_linker="$host_os dld.sl"
9772 shlibpath_var=SHLIB_PATH
9773 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9775 soname_spec='${libname}${release}${shared_ext}$major'
9778 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9779 postinstall_cmds='chmod 555 $lib'
9786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9787 soname_spec='${libname}${release}${shared_ext}$major'
9788 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9789 shlibpath_var=LD_LIBRARY_PATH
9790 shlibpath_overrides_runpath=no
9791 hardcode_into_libs=yes
9794 irix5* | irix6* | nonstopux*)
9796 nonstopux*) version_type=nonstopux ;;
9798 if test "$lt_cv_prog_gnu_ld" = yes; then
9806 soname_spec='${libname}${release}${shared_ext}$major'
9807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9809 irix5* | nonstopux*)
9813 case $LD in # libtool.m4 will add one of these switches to LD
9814 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9815 libsuff= shlibsuff= libmagic=32-bit;;
9816 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9817 libsuff=32 shlibsuff=N32 libmagic=N32;;
9818 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9819 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9820 *) libsuff= shlibsuff= libmagic=never-match;;
9824 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9825 shlibpath_overrides_runpath=no
9826 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9827 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9828 hardcode_into_libs=yes
9831 # No shared lib support for Linux oldld, aout, or coff.
9832 linux*oldld* | linux*aout* | linux*coff*)
9836 # This must be Linux ELF.
9837 linux* | k*bsd*-gnu)
9841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9842 soname_spec='${libname}${release}${shared_ext}$major'
9843 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9844 shlibpath_var=LD_LIBRARY_PATH
9845 shlibpath_overrides_runpath=no
9846 # Some binutils ld are patched to set DT_RUNPATH
9847 save_LDFLAGS=$LDFLAGS
9849 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9850 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9851 cat >conftest.$ac_ext <<_ACEOF
9854 cat confdefs.h >>conftest.$ac_ext
9855 cat >>conftest.$ac_ext <<_ACEOF
9856 /* end confdefs.h. */
9866 rm -f conftest.$ac_objext conftest$ac_exeext
9867 if { (ac_try="$ac_link"
9869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9870 *) ac_try_echo=$ac_try;;
9872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9873 $as_echo "$ac_try_echo") >&5
9874 (eval "$ac_link") 2>conftest.er1
9876 grep -v '^ *+' conftest.er1 >conftest.err
9878 cat conftest.err >&5
9879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); } && {
9881 test -z "$ac_c_werror_flag" ||
9882 test ! -s conftest.err
9883 } && test -s conftest$ac_exeext && {
9884 test "$cross_compiling" = yes ||
9885 $as_test_x conftest$ac_exeext
9887 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9888 shlibpath_overrides_runpath=yes
9892 $as_echo "$as_me: failed program was:" >&5
9893 sed 's/^/| /' conftest.$ac_ext >&5
9898 rm -rf conftest.dSYM
9899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LDFLAGS=$save_LDFLAGS
9904 # This implies no fast_install, which is unacceptable.
9905 # Some rework will be needed to allow for fast_install
9906 # before this can be enabled.
9907 hardcode_into_libs=yes
9909 # Append ld.so.conf contents to the search path
9910 if test -f /etc/ld.so.conf; then
9911 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' ' '`
9912 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9915 # We used to test for /lib/ld.so.1 and disable shared libraries on
9916 # powerpc, because MkLinux only supported shared libraries with the
9917 # GNU dynamic linker. Since this was broken with cross compilers,
9918 # most powerpc-linux boxes support dynamic linking these days and
9919 # people can always --disable-shared, the test was removed, and we
9920 # assume the GNU/Linux dynamic linker is in use.
9921 dynamic_linker='GNU/Linux ld.so'
9928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9929 soname_spec='${libname}${release}${shared_ext}$major'
9930 shlibpath_var=LD_LIBRARY_PATH
9931 shlibpath_overrides_runpath=no
9932 hardcode_into_libs=yes
9933 dynamic_linker='NetBSD ld.elf_so'
9940 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9942 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9943 dynamic_linker='NetBSD (a.out) ld.so'
9945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9946 soname_spec='${libname}${release}${shared_ext}$major'
9947 dynamic_linker='NetBSD ld.elf_so'
9949 shlibpath_var=LD_LIBRARY_PATH
9950 shlibpath_overrides_runpath=yes
9951 hardcode_into_libs=yes
9956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9957 shlibpath_var=LD_LIBRARY_PATH
9958 shlibpath_overrides_runpath=yes
9965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9966 soname_spec='${libname}${release}${shared_ext}$major'
9967 shlibpath_var=LD_LIBRARY_PATH
9968 shlibpath_overrides_runpath=no
9969 hardcode_into_libs=yes
9970 dynamic_linker='ldqnx.so'
9975 sys_lib_dlsearch_path_spec="/usr/lib"
9977 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9979 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9980 *) need_version=no ;;
9982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9983 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9984 shlibpath_var=LD_LIBRARY_PATH
9985 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9987 openbsd2.[89] | openbsd2.[89].*)
9988 shlibpath_overrides_runpath=no
9991 shlibpath_overrides_runpath=yes
9995 shlibpath_overrides_runpath=yes
10000 libname_spec='$name'
10003 library_names_spec='$libname${shared_ext} $libname.a'
10004 dynamic_linker='OS/2 ld.exe'
10005 shlibpath_var=LIBPATH
10008 osf3* | osf4* | osf5*)
10012 soname_spec='${libname}${release}${shared_ext}$major'
10013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10014 shlibpath_var=LD_LIBRARY_PATH
10015 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10016 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10028 soname_spec='${libname}${release}${shared_ext}$major'
10029 shlibpath_var=LD_LIBRARY_PATH
10030 shlibpath_overrides_runpath=yes
10031 hardcode_into_libs=yes
10032 # ldd complains unless libraries are executable
10033 postinstall_cmds='chmod +x $lib'
10038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10039 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10040 shlibpath_var=LD_LIBRARY_PATH
10041 shlibpath_overrides_runpath=yes
10042 if test "$with_gnu_ld" = yes; then
10050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10051 soname_spec='${libname}${release}${shared_ext}$major'
10052 shlibpath_var=LD_LIBRARY_PATH
10053 case $host_vendor in
10055 shlibpath_overrides_runpath=no
10057 runpath_var=LD_RUN_PATH
10065 shlibpath_overrides_runpath=no
10066 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10072 if test -d /usr/nec ;then
10074 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10075 soname_spec='$libname${shared_ext}.$major'
10076 shlibpath_var=LD_LIBRARY_PATH
10080 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10081 version_type=freebsd-elf
10084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10085 soname_spec='${libname}${release}${shared_ext}$major'
10086 shlibpath_var=LD_LIBRARY_PATH
10087 shlibpath_overrides_runpath=yes
10088 hardcode_into_libs=yes
10089 if test "$with_gnu_ld" = yes; then
10090 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10092 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10095 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10099 sys_lib_dlsearch_path_spec='/usr/lib'
10103 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10108 shlibpath_var=LD_LIBRARY_PATH
10109 shlibpath_overrides_runpath=no
10110 hardcode_into_libs=yes
10115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10116 soname_spec='${libname}${release}${shared_ext}$major'
10117 shlibpath_var=LD_LIBRARY_PATH
10124 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10125 $as_echo "$dynamic_linker" >&6; }
10126 test "$dynamic_linker" = no && can_build_shared=no
10128 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10129 if test "$GCC" = yes; then
10130 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10133 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10134 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10136 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10137 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10226 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10227 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10229 if test -n "$hardcode_libdir_flag_spec" ||
10230 test -n "$runpath_var" ||
10231 test "X$hardcode_automatic" = "Xyes" ; then
10233 # We can hardcode non-existent directories.
10234 if test "$hardcode_direct" != no &&
10235 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10236 # have to relink, otherwise we might link with an installed library
10237 # when we should be linking with a yet-to-be-installed one
10238 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10239 test "$hardcode_minus_L" != no; then
10240 # Linking always hardcodes the temporary library directory.
10241 hardcode_action=relink
10243 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10244 hardcode_action=immediate
10247 # We cannot hardcode anything, or else we can only hardcode existing
10249 hardcode_action=unsupported
10251 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10252 $as_echo "$hardcode_action" >&6; }
10254 if test "$hardcode_action" = relink ||
10255 test "$inherit_rpath" = yes; then
10256 # Fast installation is not supported
10257 enable_fast_install=no
10258 elif test "$shlibpath_overrides_runpath" = yes ||
10259 test "$enable_shared" = no; then
10260 # Fast installation is not necessary
10261 enable_fast_install=needless
10269 if test "x$enable_dlopen" != xyes; then
10270 enable_dlopen=unknown
10271 enable_dlopen_self=unknown
10272 enable_dlopen_self_static=unknown
10279 lt_cv_dlopen="load_add_on"
10281 lt_cv_dlopen_self=yes
10284 mingw* | pw32* | cegcc*)
10285 lt_cv_dlopen="LoadLibrary"
10290 lt_cv_dlopen="dlopen"
10295 # if libdl is installed we need to link against it
10296 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10297 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10298 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10299 $as_echo_n "(cached) " >&6
10301 ac_check_lib_save_LIBS=$LIBS
10303 cat >conftest.$ac_ext <<_ACEOF
10306 cat confdefs.h >>conftest.$ac_ext
10307 cat >>conftest.$ac_ext <<_ACEOF
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10325 rm -f conftest.$ac_objext conftest$ac_exeext
10326 if { (ac_try="$ac_link"
10327 case "(($ac_try" in
10328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10329 *) ac_try_echo=$ac_try;;
10331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10332 $as_echo "$ac_try_echo") >&5
10333 (eval "$ac_link") 2>conftest.er1
10335 grep -v '^ *+' conftest.er1 >conftest.err
10337 cat conftest.err >&5
10338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); } && {
10340 test -z "$ac_c_werror_flag" ||
10341 test ! -s conftest.err
10342 } && test -s conftest$ac_exeext && {
10343 test "$cross_compiling" = yes ||
10344 $as_test_x conftest$ac_exeext
10346 ac_cv_lib_dl_dlopen=yes
10348 $as_echo "$as_me: failed program was:" >&5
10349 sed 's/^/| /' conftest.$ac_ext >&5
10351 ac_cv_lib_dl_dlopen=no
10354 rm -rf conftest.dSYM
10355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10356 conftest$ac_exeext conftest.$ac_ext
10357 LIBS=$ac_check_lib_save_LIBS
10359 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10361 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10362 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10365 lt_cv_dlopen="dyld"
10367 lt_cv_dlopen_self=yes
10374 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10375 $as_echo_n "checking for shl_load... " >&6; }
10376 if test "${ac_cv_func_shl_load+set}" = set; then
10377 $as_echo_n "(cached) " >&6
10379 cat >conftest.$ac_ext <<_ACEOF
10382 cat confdefs.h >>conftest.$ac_ext
10383 cat >>conftest.$ac_ext <<_ACEOF
10384 /* end confdefs.h. */
10385 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10387 #define shl_load innocuous_shl_load
10389 /* System header to define __stub macros and hopefully few prototypes,
10390 which can conflict with char shl_load (); below.
10391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10392 <limits.h> exists even on freestanding compilers. */
10395 # include <limits.h>
10397 # include <assert.h>
10402 /* Override any GCC internal prototype to avoid an error.
10403 Use char because int might match the return type of a GCC
10404 builtin and then its argument prototype would still apply. */
10409 /* The GNU C library defines this for functions which it implements
10410 to always fail with ENOSYS. Some functions are actually named
10411 something starting with __ and the normal name is an alias. */
10412 #if defined __stub_shl_load || defined __stub___shl_load
10419 return shl_load ();
10424 rm -f conftest.$ac_objext conftest$ac_exeext
10425 if { (ac_try="$ac_link"
10426 case "(($ac_try" in
10427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10428 *) ac_try_echo=$ac_try;;
10430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10431 $as_echo "$ac_try_echo") >&5
10432 (eval "$ac_link") 2>conftest.er1
10434 grep -v '^ *+' conftest.er1 >conftest.err
10436 cat conftest.err >&5
10437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); } && {
10439 test -z "$ac_c_werror_flag" ||
10440 test ! -s conftest.err
10441 } && test -s conftest$ac_exeext && {
10442 test "$cross_compiling" = yes ||
10443 $as_test_x conftest$ac_exeext
10445 ac_cv_func_shl_load=yes
10447 $as_echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.$ac_ext >&5
10450 ac_cv_func_shl_load=no
10453 rm -rf conftest.dSYM
10454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10455 conftest$ac_exeext conftest.$ac_ext
10457 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10458 $as_echo "$ac_cv_func_shl_load" >&6; }
10459 if test "x$ac_cv_func_shl_load" = x""yes; then
10460 lt_cv_dlopen="shl_load"
10462 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10463 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10464 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10465 $as_echo_n "(cached) " >&6
10467 ac_check_lib_save_LIBS=$LIBS
10469 cat >conftest.$ac_ext <<_ACEOF
10472 cat confdefs.h >>conftest.$ac_ext
10473 cat >>conftest.$ac_ext <<_ACEOF
10474 /* end confdefs.h. */
10476 /* Override any GCC internal prototype to avoid an error.
10477 Use char because int might match the return type of a GCC
10478 builtin and then its argument prototype would still apply. */
10486 return shl_load ();
10491 rm -f conftest.$ac_objext conftest$ac_exeext
10492 if { (ac_try="$ac_link"
10493 case "(($ac_try" in
10494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10495 *) ac_try_echo=$ac_try;;
10497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10498 $as_echo "$ac_try_echo") >&5
10499 (eval "$ac_link") 2>conftest.er1
10501 grep -v '^ *+' conftest.er1 >conftest.err
10503 cat conftest.err >&5
10504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } && {
10506 test -z "$ac_c_werror_flag" ||
10507 test ! -s conftest.err
10508 } && test -s conftest$ac_exeext && {
10509 test "$cross_compiling" = yes ||
10510 $as_test_x conftest$ac_exeext
10512 ac_cv_lib_dld_shl_load=yes
10514 $as_echo "$as_me: failed program was:" >&5
10515 sed 's/^/| /' conftest.$ac_ext >&5
10517 ac_cv_lib_dld_shl_load=no
10520 rm -rf conftest.dSYM
10521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10522 conftest$ac_exeext conftest.$ac_ext
10523 LIBS=$ac_check_lib_save_LIBS
10525 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10526 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10527 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10528 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10530 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10531 $as_echo_n "checking for dlopen... " >&6; }
10532 if test "${ac_cv_func_dlopen+set}" = set; then
10533 $as_echo_n "(cached) " >&6
10535 cat >conftest.$ac_ext <<_ACEOF
10538 cat confdefs.h >>conftest.$ac_ext
10539 cat >>conftest.$ac_ext <<_ACEOF
10540 /* end confdefs.h. */
10541 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10543 #define dlopen innocuous_dlopen
10545 /* System header to define __stub macros and hopefully few prototypes,
10546 which can conflict with char dlopen (); below.
10547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10548 <limits.h> exists even on freestanding compilers. */
10551 # include <limits.h>
10553 # include <assert.h>
10558 /* Override any GCC internal prototype to avoid an error.
10559 Use char because int might match the return type of a GCC
10560 builtin and then its argument prototype would still apply. */
10565 /* The GNU C library defines this for functions which it implements
10566 to always fail with ENOSYS. Some functions are actually named
10567 something starting with __ and the normal name is an alias. */
10568 #if defined __stub_dlopen || defined __stub___dlopen
10580 rm -f conftest.$ac_objext conftest$ac_exeext
10581 if { (ac_try="$ac_link"
10582 case "(($ac_try" in
10583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10584 *) ac_try_echo=$ac_try;;
10586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10587 $as_echo "$ac_try_echo") >&5
10588 (eval "$ac_link") 2>conftest.er1
10590 grep -v '^ *+' conftest.er1 >conftest.err
10592 cat conftest.err >&5
10593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594 (exit $ac_status); } && {
10595 test -z "$ac_c_werror_flag" ||
10596 test ! -s conftest.err
10597 } && test -s conftest$ac_exeext && {
10598 test "$cross_compiling" = yes ||
10599 $as_test_x conftest$ac_exeext
10601 ac_cv_func_dlopen=yes
10603 $as_echo "$as_me: failed program was:" >&5
10604 sed 's/^/| /' conftest.$ac_ext >&5
10606 ac_cv_func_dlopen=no
10609 rm -rf conftest.dSYM
10610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10611 conftest$ac_exeext conftest.$ac_ext
10613 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10614 $as_echo "$ac_cv_func_dlopen" >&6; }
10615 if test "x$ac_cv_func_dlopen" = x""yes; then
10616 lt_cv_dlopen="dlopen"
10618 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10619 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10620 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10621 $as_echo_n "(cached) " >&6
10623 ac_check_lib_save_LIBS=$LIBS
10625 cat >conftest.$ac_ext <<_ACEOF
10628 cat confdefs.h >>conftest.$ac_ext
10629 cat >>conftest.$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10632 /* Override any GCC internal prototype to avoid an error.
10633 Use char because int might match the return type of a GCC
10634 builtin and then its argument prototype would still apply. */
10647 rm -f conftest.$ac_objext conftest$ac_exeext
10648 if { (ac_try="$ac_link"
10649 case "(($ac_try" in
10650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10651 *) ac_try_echo=$ac_try;;
10653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10654 $as_echo "$ac_try_echo") >&5
10655 (eval "$ac_link") 2>conftest.er1
10657 grep -v '^ *+' conftest.er1 >conftest.err
10659 cat conftest.err >&5
10660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); } && {
10662 test -z "$ac_c_werror_flag" ||
10663 test ! -s conftest.err
10664 } && test -s conftest$ac_exeext && {
10665 test "$cross_compiling" = yes ||
10666 $as_test_x conftest$ac_exeext
10668 ac_cv_lib_dl_dlopen=yes
10670 $as_echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.$ac_ext >&5
10673 ac_cv_lib_dl_dlopen=no
10676 rm -rf conftest.dSYM
10677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10678 conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_lib_save_LIBS
10681 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10682 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10683 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10684 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10686 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10687 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10688 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10689 $as_echo_n "(cached) " >&6
10691 ac_check_lib_save_LIBS=$LIBS
10692 LIBS="-lsvld $LIBS"
10693 cat >conftest.$ac_ext <<_ACEOF
10696 cat confdefs.h >>conftest.$ac_ext
10697 cat >>conftest.$ac_ext <<_ACEOF
10698 /* end confdefs.h. */
10700 /* Override any GCC internal prototype to avoid an error.
10701 Use char because int might match the return type of a GCC
10702 builtin and then its argument prototype would still apply. */
10715 rm -f conftest.$ac_objext conftest$ac_exeext
10716 if { (ac_try="$ac_link"
10717 case "(($ac_try" in
10718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10719 *) ac_try_echo=$ac_try;;
10721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10722 $as_echo "$ac_try_echo") >&5
10723 (eval "$ac_link") 2>conftest.er1
10725 grep -v '^ *+' conftest.er1 >conftest.err
10727 cat conftest.err >&5
10728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); } && {
10730 test -z "$ac_c_werror_flag" ||
10731 test ! -s conftest.err
10732 } && test -s conftest$ac_exeext && {
10733 test "$cross_compiling" = yes ||
10734 $as_test_x conftest$ac_exeext
10736 ac_cv_lib_svld_dlopen=yes
10738 $as_echo "$as_me: failed program was:" >&5
10739 sed 's/^/| /' conftest.$ac_ext >&5
10741 ac_cv_lib_svld_dlopen=no
10744 rm -rf conftest.dSYM
10745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10746 conftest$ac_exeext conftest.$ac_ext
10747 LIBS=$ac_check_lib_save_LIBS
10749 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10750 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10751 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10752 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10754 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10755 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10756 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10757 $as_echo_n "(cached) " >&6
10759 ac_check_lib_save_LIBS=$LIBS
10761 cat >conftest.$ac_ext <<_ACEOF
10764 cat confdefs.h >>conftest.$ac_ext
10765 cat >>conftest.$ac_ext <<_ACEOF
10766 /* end confdefs.h. */
10768 /* Override any GCC internal prototype to avoid an error.
10769 Use char because int might match the return type of a GCC
10770 builtin and then its argument prototype would still apply. */
10778 return dld_link ();
10783 rm -f conftest.$ac_objext conftest$ac_exeext
10784 if { (ac_try="$ac_link"
10785 case "(($ac_try" in
10786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10787 *) ac_try_echo=$ac_try;;
10789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10790 $as_echo "$ac_try_echo") >&5
10791 (eval "$ac_link") 2>conftest.er1
10793 grep -v '^ *+' conftest.er1 >conftest.err
10795 cat conftest.err >&5
10796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } && {
10798 test -z "$ac_c_werror_flag" ||
10799 test ! -s conftest.err
10800 } && test -s conftest$ac_exeext && {
10801 test "$cross_compiling" = yes ||
10802 $as_test_x conftest$ac_exeext
10804 ac_cv_lib_dld_dld_link=yes
10806 $as_echo "$as_me: failed program was:" >&5
10807 sed 's/^/| /' conftest.$ac_ext >&5
10809 ac_cv_lib_dld_dld_link=no
10812 rm -rf conftest.dSYM
10813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10814 conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10818 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10819 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10820 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10841 if test "x$lt_cv_dlopen" != xno; then
10847 case $lt_cv_dlopen in
10849 save_CPPFLAGS="$CPPFLAGS"
10850 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10852 save_LDFLAGS="$LDFLAGS"
10853 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10856 LIBS="$lt_cv_dlopen_libs $LIBS"
10858 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10859 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10860 if test "${lt_cv_dlopen_self+set}" = set; then
10861 $as_echo_n "(cached) " >&6
10863 if test "$cross_compiling" = yes; then :
10864 lt_cv_dlopen_self=cross
10866 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10867 lt_status=$lt_dlunknown
10868 cat > conftest.$ac_ext <<_LT_EOF
10869 #line 10869 "configure"
10870 #include "confdefs.h"
10879 # define LT_DLGLOBAL RTLD_GLOBAL
10882 # define LT_DLGLOBAL DL_GLOBAL
10884 # define LT_DLGLOBAL 0
10888 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10889 find out it does not work in some platform. */
10890 #ifndef LT_DLLAZY_OR_NOW
10892 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10895 # define LT_DLLAZY_OR_NOW DL_LAZY
10898 # define LT_DLLAZY_OR_NOW RTLD_NOW
10901 # define LT_DLLAZY_OR_NOW DL_NOW
10903 # define LT_DLLAZY_OR_NOW 0
10910 void fnord() { int i=42;}
10913 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10914 int status = $lt_dlunknown;
10918 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10919 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10920 /* dlclose (self); */
10928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10929 (eval $ac_link) 2>&5
10931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10933 (./conftest; exit; ) >&5 2>/dev/null
10935 case x$lt_status in
10936 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10937 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10938 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10941 # compilation failed
10942 lt_cv_dlopen_self=no
10949 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10950 $as_echo "$lt_cv_dlopen_self" >&6; }
10952 if test "x$lt_cv_dlopen_self" = xyes; then
10953 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10954 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10955 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10956 if test "${lt_cv_dlopen_self_static+set}" = set; then
10957 $as_echo_n "(cached) " >&6
10959 if test "$cross_compiling" = yes; then :
10960 lt_cv_dlopen_self_static=cross
10962 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10963 lt_status=$lt_dlunknown
10964 cat > conftest.$ac_ext <<_LT_EOF
10965 #line 10965 "configure"
10966 #include "confdefs.h"
10975 # define LT_DLGLOBAL RTLD_GLOBAL
10978 # define LT_DLGLOBAL DL_GLOBAL
10980 # define LT_DLGLOBAL 0
10984 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10985 find out it does not work in some platform. */
10986 #ifndef LT_DLLAZY_OR_NOW
10988 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10991 # define LT_DLLAZY_OR_NOW DL_LAZY
10994 # define LT_DLLAZY_OR_NOW RTLD_NOW
10997 # define LT_DLLAZY_OR_NOW DL_NOW
10999 # define LT_DLLAZY_OR_NOW 0
11006 void fnord() { int i=42;}
11009 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11010 int status = $lt_dlunknown;
11014 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11015 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11016 /* dlclose (self); */
11024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11025 (eval $ac_link) 2>&5
11027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11029 (./conftest; exit; ) >&5 2>/dev/null
11031 case x$lt_status in
11032 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11033 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11034 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11037 # compilation failed
11038 lt_cv_dlopen_self_static=no
11045 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11046 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11049 CPPFLAGS="$save_CPPFLAGS"
11050 LDFLAGS="$save_LDFLAGS"
11055 case $lt_cv_dlopen_self in
11056 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11057 *) enable_dlopen_self=unknown ;;
11060 case $lt_cv_dlopen_self_static in
11061 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11062 *) enable_dlopen_self_static=unknown ;;
11084 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11085 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11086 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11087 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11088 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11089 { $as_echo "$as_me:$LINENO: result: yes" >&5
11090 $as_echo "yes" >&6; }
11092 # FIXME - insert some real tests, host_os isn't really good enough
11095 if test -n "$STRIP" ; then
11096 striplib="$STRIP -x"
11097 old_striplib="$STRIP -S"
11098 { $as_echo "$as_me:$LINENO: result: yes" >&5
11099 $as_echo "yes" >&6; }
11101 { $as_echo "$as_me:$LINENO: result: no" >&5
11102 $as_echo "no" >&6; }
11106 { $as_echo "$as_me:$LINENO: result: no" >&5
11107 $as_echo "no" >&6; }
11123 # Report which library types will actually be built
11124 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11125 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11126 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11127 $as_echo "$can_build_shared" >&6; }
11129 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11130 $as_echo_n "checking whether to build shared libraries... " >&6; }
11131 test "$can_build_shared" = "no" && enable_shared=no
11133 # On AIX, shared libraries and static libraries use the same namespace, and
11134 # are all built from PIC.
11137 test "$enable_shared" = yes && enable_static=no
11138 if test -n "$RANLIB"; then
11139 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11140 postinstall_cmds='$RANLIB $lib'
11145 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11146 test "$enable_shared" = yes && enable_static=no
11150 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11151 $as_echo "$enable_shared" >&6; }
11153 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11154 $as_echo_n "checking whether to build static libraries... " >&6; }
11155 # Make sure either enable_shared or enable_static is yes.
11156 test "$enable_shared" = yes || enable_static=yes
11157 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11158 $as_echo "$enable_static" >&6; }
11165 ac_cpp='$CPP $CPPFLAGS'
11166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11184 ac_config_commands="$ac_config_commands libtool"
11189 # Only expand once:
11204 if test "$GCC" = yes
11209 while test $# -gt 0
11213 if test "$GCC" = yes
11217 CFLAGS="$CFLAGS $1"
11236 -fomit-frame-pointer)
11240 optimize="$optimize $1"
11244 CFLAGS="$CFLAGS $1"
11250 if test "$GCC" = yes
11256 i?86-*) arch="-march=i486" ;;
11257 arm*-empeg-*) arch="-march=armv4 -mtune=strongarm1100" ;;
11258 armv4*-*) arch="-march=armv4 -mtune=strongarm" ;;
11260 mips*-agenda-*) arch="-mcpu=vr4100" ;;
11261 mips*-luxsonor-*) arch="-mips1 -mcpu=r3000 -Wa,-m4010" ;;
11265 case "$optimize" in
11268 #optimize="$optimize -fforce-mem"
11269 optimize="$optimize -fforce-addr"
11270 : #x optimize="$optimize -finline-functions"
11271 : #- optimize="$optimize -fstrength-reduce"
11272 optimize="$optimize -fthread-jumps"
11273 optimize="$optimize -fcse-follow-jumps"
11274 optimize="$optimize -fcse-skip-blocks"
11275 : #x optimize="$optimize -frerun-cse-after-loop"
11276 : #x optimize="$optimize -frerun-loop-opt"
11277 : #x optimize="$optimize -fgcse"
11278 optimize="$optimize -fexpensive-optimizations"
11279 optimize="$optimize -fregmove"
11280 : #* optimize="$optimize -fdelayed-branch"
11281 : #x optimize="$optimize -fschedule-insns"
11282 optimize="$optimize -fschedule-insns2"
11283 : #? optimize="$optimize -ffunction-sections"
11284 : #? optimize="$optimize -fcaller-saves"
11285 : #> optimize="$optimize -funroll-loops"
11286 : #> optimize="$optimize -funroll-all-loops"
11287 : #x optimize="$optimize -fmove-all-movables"
11288 : #x optimize="$optimize -freduce-all-givs"
11289 : #? optimize="$optimize -fstrict-aliasing"
11290 : #* optimize="$optimize -fstructure-noalias"
11294 optimize="$optimize -fstrength-reduce"
11297 optimize="$optimize -fstrength-reduce"
11298 optimize="$optimize -finline-functions"
11301 optimize="$optimize -fstrength-reduce"
11304 # this triggers an internal compiler error with gcc2
11305 : #optimize="$optimize -fstrength-reduce"
11307 # this is really only beneficial with gcc3
11308 : #optimize="$optimize -finline-functions"
11311 # this sometimes provokes bugs in gcc 2.95.2
11312 : #optimize="$optimize -fstrength-reduce"
11322 cat >>confdefs.h <<\_ACEOF
11323 #define HAVE_MADD16_ASM 1
11329 cat >>confdefs.h <<\_ACEOF
11330 #define HAVE_MADD_ASM 1
11337 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11338 $as_echo_n "checking for ANSI C header files... " >&6; }
11339 if test "${ac_cv_header_stdc+set}" = set; then
11340 $as_echo_n "(cached) " >&6
11342 cat >conftest.$ac_ext <<_ACEOF
11345 cat confdefs.h >>conftest.$ac_ext
11346 cat >>conftest.$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11348 #include <stdlib.h>
11349 #include <stdarg.h>
11350 #include <string.h>
11361 rm -f conftest.$ac_objext
11362 if { (ac_try="$ac_compile"
11363 case "(($ac_try" in
11364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11365 *) ac_try_echo=$ac_try;;
11367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11368 $as_echo "$ac_try_echo") >&5
11369 (eval "$ac_compile") 2>conftest.er1
11371 grep -v '^ *+' conftest.er1 >conftest.err
11373 cat conftest.err >&5
11374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); } && {
11376 test -z "$ac_c_werror_flag" ||
11377 test ! -s conftest.err
11378 } && test -s conftest.$ac_objext; then
11379 ac_cv_header_stdc=yes
11381 $as_echo "$as_me: failed program was:" >&5
11382 sed 's/^/| /' conftest.$ac_ext >&5
11384 ac_cv_header_stdc=no
11387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11389 if test $ac_cv_header_stdc = yes; then
11390 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11391 cat >conftest.$ac_ext <<_ACEOF
11394 cat confdefs.h >>conftest.$ac_ext
11395 cat >>conftest.$ac_ext <<_ACEOF
11396 /* end confdefs.h. */
11397 #include <string.h>
11400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11401 $EGREP "memchr" >/dev/null 2>&1; then
11404 ac_cv_header_stdc=no
11410 if test $ac_cv_header_stdc = yes; then
11411 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11412 cat >conftest.$ac_ext <<_ACEOF
11415 cat confdefs.h >>conftest.$ac_ext
11416 cat >>conftest.$ac_ext <<_ACEOF
11417 /* end confdefs.h. */
11418 #include <stdlib.h>
11421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11422 $EGREP "free" >/dev/null 2>&1; then
11425 ac_cv_header_stdc=no
11431 if test $ac_cv_header_stdc = yes; then
11432 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11433 if test "$cross_compiling" = yes; then
11436 cat >conftest.$ac_ext <<_ACEOF
11439 cat confdefs.h >>conftest.$ac_ext
11440 cat >>conftest.$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11443 #include <stdlib.h>
11444 #if ((' ' & 0x0FF) == 0x020)
11445 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11446 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11448 # define ISLOWER(c) \
11449 (('a' <= (c) && (c) <= 'i') \
11450 || ('j' <= (c) && (c) <= 'r') \
11451 || ('s' <= (c) && (c) <= 'z'))
11452 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11455 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11460 for (i = 0; i < 256; i++)
11461 if (XOR (islower (i), ISLOWER (i))
11462 || toupper (i) != TOUPPER (i))
11467 rm -f conftest$ac_exeext
11468 if { (ac_try="$ac_link"
11469 case "(($ac_try" in
11470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11471 *) ac_try_echo=$ac_try;;
11473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11474 $as_echo "$ac_try_echo") >&5
11475 (eval "$ac_link") 2>&5
11477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11479 { (case "(($ac_try" in
11480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11481 *) ac_try_echo=$ac_try;;
11483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11484 $as_echo "$ac_try_echo") >&5
11485 (eval "$ac_try") 2>&5
11487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); }; }; then
11491 $as_echo "$as_me: program exited with status $ac_status" >&5
11492 $as_echo "$as_me: failed program was:" >&5
11493 sed 's/^/| /' conftest.$ac_ext >&5
11495 ( exit $ac_status )
11496 ac_cv_header_stdc=no
11498 rm -rf conftest.dSYM
11499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11505 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11506 $as_echo "$ac_cv_header_stdc" >&6; }
11507 if test $ac_cv_header_stdc = yes; then
11509 cat >>confdefs.h <<\_ACEOF
11510 #define STDC_HEADERS 1
11515 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
11516 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
11517 if test "${ac_cv_header_sys_wait_h+set}" = set; then
11518 $as_echo_n "(cached) " >&6
11520 cat >conftest.$ac_ext <<_ACEOF
11523 cat confdefs.h >>conftest.$ac_ext
11524 cat >>conftest.$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11526 #include <sys/types.h>
11527 #include <sys/wait.h>
11528 #ifndef WEXITSTATUS
11529 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
11532 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11540 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11545 rm -f conftest.$ac_objext
11546 if { (ac_try="$ac_compile"
11547 case "(($ac_try" in
11548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11549 *) ac_try_echo=$ac_try;;
11551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11552 $as_echo "$ac_try_echo") >&5
11553 (eval "$ac_compile") 2>conftest.er1
11555 grep -v '^ *+' conftest.er1 >conftest.err
11557 cat conftest.err >&5
11558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); } && {
11560 test -z "$ac_c_werror_flag" ||
11561 test ! -s conftest.err
11562 } && test -s conftest.$ac_objext; then
11563 ac_cv_header_sys_wait_h=yes
11565 $as_echo "$as_me: failed program was:" >&5
11566 sed 's/^/| /' conftest.$ac_ext >&5
11568 ac_cv_header_sys_wait_h=no
11571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11573 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
11574 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
11575 if test $ac_cv_header_sys_wait_h = yes; then
11577 cat >>confdefs.h <<\_ACEOF
11578 #define HAVE_SYS_WAIT_H 1
11589 for ac_header in assert.h limits.h unistd.h sys/types.h fcntl.h errno.h
11591 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11592 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11593 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11594 $as_echo_n "checking for $ac_header... " >&6; }
11595 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11596 $as_echo_n "(cached) " >&6
11598 ac_res=`eval 'as_val=${'$as_ac_Header'}
11599 $as_echo "$as_val"'`
11600 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11601 $as_echo "$ac_res" >&6; }
11603 # Is the header compilable?
11604 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11605 $as_echo_n "checking $ac_header usability... " >&6; }
11606 cat >conftest.$ac_ext <<_ACEOF
11609 cat confdefs.h >>conftest.$ac_ext
11610 cat >>conftest.$ac_ext <<_ACEOF
11611 /* end confdefs.h. */
11612 $ac_includes_default
11613 #include <$ac_header>
11615 rm -f conftest.$ac_objext
11616 if { (ac_try="$ac_compile"
11617 case "(($ac_try" in
11618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11619 *) ac_try_echo=$ac_try;;
11621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11622 $as_echo "$ac_try_echo") >&5
11623 (eval "$ac_compile") 2>conftest.er1
11625 grep -v '^ *+' conftest.er1 >conftest.err
11627 cat conftest.err >&5
11628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); } && {
11630 test -z "$ac_c_werror_flag" ||
11631 test ! -s conftest.err
11632 } && test -s conftest.$ac_objext; then
11633 ac_header_compiler=yes
11635 $as_echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.$ac_ext >&5
11638 ac_header_compiler=no
11641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11642 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11643 $as_echo "$ac_header_compiler" >&6; }
11645 # Is the header present?
11646 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11647 $as_echo_n "checking $ac_header presence... " >&6; }
11648 cat >conftest.$ac_ext <<_ACEOF
11651 cat confdefs.h >>conftest.$ac_ext
11652 cat >>conftest.$ac_ext <<_ACEOF
11653 /* end confdefs.h. */
11654 #include <$ac_header>
11656 if { (ac_try="$ac_cpp conftest.$ac_ext"
11657 case "(($ac_try" in
11658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11659 *) ac_try_echo=$ac_try;;
11661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11662 $as_echo "$ac_try_echo") >&5
11663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11665 grep -v '^ *+' conftest.er1 >conftest.err
11667 cat conftest.err >&5
11668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); } >/dev/null && {
11670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11671 test ! -s conftest.err
11673 ac_header_preproc=yes
11675 $as_echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.$ac_ext >&5
11678 ac_header_preproc=no
11681 rm -f conftest.err conftest.$ac_ext
11682 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11683 $as_echo "$ac_header_preproc" >&6; }
11685 # So? What about this header?
11686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11689 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11691 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11692 ac_header_preproc=yes
11695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11696 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11698 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11700 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11702 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11703 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11704 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11705 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11706 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11708 ## ----------------------------------- ##
11709 ## Report this to support@underbit.com ##
11710 ## ----------------------------------- ##
11712 ) | sed "s/^/$as_me: WARNING: /" >&2
11715 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11716 $as_echo_n "checking for $ac_header... " >&6; }
11717 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11718 $as_echo_n "(cached) " >&6
11720 eval "$as_ac_Header=\$ac_header_preproc"
11722 ac_res=`eval 'as_val=${'$as_ac_Header'}
11723 $as_echo "$as_val"'`
11724 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11725 $as_echo "$ac_res" >&6; }
11728 as_val=`eval 'as_val=${'$as_ac_Header'}
11729 $as_echo "$as_val"'`
11730 if test "x$as_val" = x""yes; then
11731 cat >>confdefs.h <<_ACEOF
11732 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11741 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11742 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11743 if test "${ac_cv_c_const+set}" = set; then
11744 $as_echo_n "(cached) " >&6
11746 cat >conftest.$ac_ext <<_ACEOF
11749 cat confdefs.h >>conftest.$ac_ext
11750 cat >>conftest.$ac_ext <<_ACEOF
11751 /* end confdefs.h. */
11756 /* FIXME: Include the comments suggested by Paul. */
11757 #ifndef __cplusplus
11758 /* Ultrix mips cc rejects this. */
11759 typedef int charset[2];
11761 /* SunOS 4.1.1 cc rejects this. */
11762 char const *const *pcpcc;
11764 /* NEC SVR4.0.2 mips cc rejects this. */
11765 struct point {int x, y;};
11766 static struct point const zero = {0,0};
11767 /* AIX XL C 1.02.0.0 rejects this.
11768 It does not let you subtract one const X* pointer from another in
11769 an arm of an if-expression whose if-part is not a constant
11771 const char *g = "string";
11772 pcpcc = &g + (g ? g-g : 0);
11773 /* HPUX 7.0 cc rejects these. */
11775 ppc = (char**) pcpcc;
11776 pcpcc = (char const *const *) ppc;
11777 { /* SCO 3.2v4 cc rejects this. */
11779 char const *s = 0 ? (char *) 0 : (char const *) 0;
11784 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11785 int x[] = {25, 17};
11786 const int *foo = &x[0];
11789 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11790 typedef const int *iptr;
11794 { /* AIX XL C 1.02.0.0 rejects this saying
11795 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11796 struct s { int j; const int *ap[3]; };
11797 struct s *b; b->j = 5;
11799 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11800 const int foo = 10;
11801 if (!foo) return 0;
11803 return !cs[0] && !zero.x;
11810 rm -f conftest.$ac_objext
11811 if { (ac_try="$ac_compile"
11812 case "(($ac_try" in
11813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11814 *) ac_try_echo=$ac_try;;
11816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11817 $as_echo "$ac_try_echo") >&5
11818 (eval "$ac_compile") 2>conftest.er1
11820 grep -v '^ *+' conftest.er1 >conftest.err
11822 cat conftest.err >&5
11823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } && {
11825 test -z "$ac_c_werror_flag" ||
11826 test ! -s conftest.err
11827 } && test -s conftest.$ac_objext; then
11830 $as_echo "$as_me: failed program was:" >&5
11831 sed 's/^/| /' conftest.$ac_ext >&5
11836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11838 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11839 $as_echo "$ac_cv_c_const" >&6; }
11840 if test $ac_cv_c_const = no; then
11842 cat >>confdefs.h <<\_ACEOF
11848 { $as_echo "$as_me:$LINENO: checking for inline" >&5
11849 $as_echo_n "checking for inline... " >&6; }
11850 if test "${ac_cv_c_inline+set}" = set; then
11851 $as_echo_n "(cached) " >&6
11854 for ac_kw in inline __inline__ __inline; do
11855 cat >conftest.$ac_ext <<_ACEOF
11858 cat confdefs.h >>conftest.$ac_ext
11859 cat >>conftest.$ac_ext <<_ACEOF
11860 /* end confdefs.h. */
11861 #ifndef __cplusplus
11863 static $ac_kw foo_t static_foo () {return 0; }
11864 $ac_kw foo_t foo () {return 0; }
11868 rm -f conftest.$ac_objext
11869 if { (ac_try="$ac_compile"
11870 case "(($ac_try" in
11871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11872 *) ac_try_echo=$ac_try;;
11874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11875 $as_echo "$ac_try_echo") >&5
11876 (eval "$ac_compile") 2>conftest.er1
11878 grep -v '^ *+' conftest.er1 >conftest.err
11880 cat conftest.err >&5
11881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); } && {
11883 test -z "$ac_c_werror_flag" ||
11884 test ! -s conftest.err
11885 } && test -s conftest.$ac_objext; then
11886 ac_cv_c_inline=$ac_kw
11888 $as_echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11895 test "$ac_cv_c_inline" != no && break
11899 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
11900 $as_echo "$ac_cv_c_inline" >&6; }
11903 case $ac_cv_c_inline in
11906 case $ac_cv_c_inline in
11908 *) ac_val=$ac_cv_c_inline;;
11910 cat >>confdefs.h <<_ACEOF
11911 #ifndef __cplusplus
11912 #define inline $ac_val
11919 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
11920 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11921 if test "${ac_cv_c_bigendian+set}" = set; then
11922 $as_echo_n "(cached) " >&6
11924 ac_cv_c_bigendian=unknown
11925 # See if we're dealing with a universal compiler.
11926 cat >conftest.$ac_ext <<_ACEOF
11929 cat confdefs.h >>conftest.$ac_ext
11930 cat >>conftest.$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11932 #ifndef __APPLE_CC__
11933 not a universal capable compiler
11938 rm -f conftest.$ac_objext
11939 if { (ac_try="$ac_compile"
11940 case "(($ac_try" in
11941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11942 *) ac_try_echo=$ac_try;;
11944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11945 $as_echo "$ac_try_echo") >&5
11946 (eval "$ac_compile") 2>conftest.er1
11948 grep -v '^ *+' conftest.er1 >conftest.err
11950 cat conftest.err >&5
11951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); } && {
11953 test -z "$ac_c_werror_flag" ||
11954 test ! -s conftest.err
11955 } && test -s conftest.$ac_objext; then
11957 # Check for potential -arch flags. It is not universal unless
11958 # there are some -arch flags. Note that *ppc* also matches
11959 # ppc64. This check is also rather less than ideal.
11960 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
11961 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
11964 $as_echo "$as_me: failed program was:" >&5
11965 sed 's/^/| /' conftest.$ac_ext >&5
11970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11971 if test $ac_cv_c_bigendian = unknown; then
11972 # See if sys/param.h defines the BYTE_ORDER macro.
11973 cat >conftest.$ac_ext <<_ACEOF
11976 cat confdefs.h >>conftest.$ac_ext
11977 cat >>conftest.$ac_ext <<_ACEOF
11978 /* end confdefs.h. */
11979 #include <sys/types.h>
11980 #include <sys/param.h>
11985 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11986 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11988 bogus endian macros
11995 rm -f conftest.$ac_objext
11996 if { (ac_try="$ac_compile"
11997 case "(($ac_try" in
11998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11999 *) ac_try_echo=$ac_try;;
12001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12002 $as_echo "$ac_try_echo") >&5
12003 (eval "$ac_compile") 2>conftest.er1
12005 grep -v '^ *+' conftest.er1 >conftest.err
12007 cat conftest.err >&5
12008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); } && {
12010 test -z "$ac_c_werror_flag" ||
12011 test ! -s conftest.err
12012 } && test -s conftest.$ac_objext; then
12013 # It does; now see whether it defined to BIG_ENDIAN or not.
12014 cat >conftest.$ac_ext <<_ACEOF
12017 cat confdefs.h >>conftest.$ac_ext
12018 cat >>conftest.$ac_ext <<_ACEOF
12019 /* end confdefs.h. */
12020 #include <sys/types.h>
12021 #include <sys/param.h>
12026 #if BYTE_ORDER != BIG_ENDIAN
12034 rm -f conftest.$ac_objext
12035 if { (ac_try="$ac_compile"
12036 case "(($ac_try" in
12037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12038 *) ac_try_echo=$ac_try;;
12040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12041 $as_echo "$ac_try_echo") >&5
12042 (eval "$ac_compile") 2>conftest.er1
12044 grep -v '^ *+' conftest.er1 >conftest.err
12046 cat conftest.err >&5
12047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); } && {
12049 test -z "$ac_c_werror_flag" ||
12050 test ! -s conftest.err
12051 } && test -s conftest.$ac_objext; then
12052 ac_cv_c_bigendian=yes
12054 $as_echo "$as_me: failed program was:" >&5
12055 sed 's/^/| /' conftest.$ac_ext >&5
12057 ac_cv_c_bigendian=no
12060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12062 $as_echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12070 if test $ac_cv_c_bigendian = unknown; then
12071 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12072 cat >conftest.$ac_ext <<_ACEOF
12075 cat confdefs.h >>conftest.$ac_ext
12076 cat >>conftest.$ac_ext <<_ACEOF
12077 /* end confdefs.h. */
12078 #include <limits.h>
12083 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12084 bogus endian macros
12091 rm -f conftest.$ac_objext
12092 if { (ac_try="$ac_compile"
12093 case "(($ac_try" in
12094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12095 *) ac_try_echo=$ac_try;;
12097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12098 $as_echo "$ac_try_echo") >&5
12099 (eval "$ac_compile") 2>conftest.er1
12101 grep -v '^ *+' conftest.er1 >conftest.err
12103 cat conftest.err >&5
12104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); } && {
12106 test -z "$ac_c_werror_flag" ||
12107 test ! -s conftest.err
12108 } && test -s conftest.$ac_objext; then
12109 # It does; now see whether it defined to _BIG_ENDIAN or not.
12110 cat >conftest.$ac_ext <<_ACEOF
12113 cat confdefs.h >>conftest.$ac_ext
12114 cat >>conftest.$ac_ext <<_ACEOF
12115 /* end confdefs.h. */
12116 #include <limits.h>
12121 #ifndef _BIG_ENDIAN
12129 rm -f conftest.$ac_objext
12130 if { (ac_try="$ac_compile"
12131 case "(($ac_try" in
12132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12133 *) ac_try_echo=$ac_try;;
12135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12136 $as_echo "$ac_try_echo") >&5
12137 (eval "$ac_compile") 2>conftest.er1
12139 grep -v '^ *+' conftest.er1 >conftest.err
12141 cat conftest.err >&5
12142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); } && {
12144 test -z "$ac_c_werror_flag" ||
12145 test ! -s conftest.err
12146 } && test -s conftest.$ac_objext; then
12147 ac_cv_c_bigendian=yes
12149 $as_echo "$as_me: failed program was:" >&5
12150 sed 's/^/| /' conftest.$ac_ext >&5
12152 ac_cv_c_bigendian=no
12155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12157 $as_echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12165 if test $ac_cv_c_bigendian = unknown; then
12166 # Compile a test program.
12167 if test "$cross_compiling" = yes; then
12168 # Try to guess by grepping values from an object file.
12169 cat >conftest.$ac_ext <<_ACEOF
12172 cat confdefs.h >>conftest.$ac_ext
12173 cat >>conftest.$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 short int ascii_mm[] =
12176 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12177 short int ascii_ii[] =
12178 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12179 int use_ascii (int i) {
12180 return ascii_mm[i] + ascii_ii[i];
12182 short int ebcdic_ii[] =
12183 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12184 short int ebcdic_mm[] =
12185 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12186 int use_ebcdic (int i) {
12187 return ebcdic_mm[i] + ebcdic_ii[i];
12194 return use_ascii (foo) == use_ebcdic (foo);
12199 rm -f conftest.$ac_objext
12200 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
12217 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12218 ac_cv_c_bigendian=yes
12220 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12221 if test "$ac_cv_c_bigendian" = unknown; then
12222 ac_cv_c_bigendian=no
12224 # finding both strings is unlikely to happen, but who knows?
12225 ac_cv_c_bigendian=unknown
12229 $as_echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.$ac_ext >&5
12235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12237 cat >conftest.$ac_ext <<_ACEOF
12240 cat confdefs.h >>conftest.$ac_ext
12241 cat >>conftest.$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12243 $ac_includes_default
12248 /* Are we little or big endian? From Harbison&Steele. */
12252 char c[sizeof (long int)];
12255 return u.c[sizeof (long int) - 1] == 1;
12261 rm -f conftest$ac_exeext
12262 if { (ac_try="$ac_link"
12263 case "(($ac_try" in
12264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12265 *) ac_try_echo=$ac_try;;
12267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12268 $as_echo "$ac_try_echo") >&5
12269 (eval "$ac_link") 2>&5
12271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12273 { (case "(($ac_try" in
12274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12275 *) ac_try_echo=$ac_try;;
12277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12278 $as_echo "$ac_try_echo") >&5
12279 (eval "$ac_try") 2>&5
12281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); }; }; then
12283 ac_cv_c_bigendian=no
12285 $as_echo "$as_me: program exited with status $ac_status" >&5
12286 $as_echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5
12289 ( exit $ac_status )
12290 ac_cv_c_bigendian=yes
12292 rm -rf conftest.dSYM
12293 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12299 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12300 $as_echo "$ac_cv_c_bigendian" >&6; }
12301 case $ac_cv_c_bigendian in #(
12303 cat >>confdefs.h <<\_ACEOF
12304 #define WORDS_BIGENDIAN 1
12311 cat >>confdefs.h <<\_ACEOF
12312 #define AC_APPLE_UNIVERSAL_BUILD 1
12317 { { $as_echo "$as_me:$LINENO: error: unknown endianness
12318 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
12319 $as_echo "$as_me: error: unknown endianness
12320 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
12321 { (exit 1); exit 1; }; } ;;
12324 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
12325 $as_echo_n "checking for pid_t... " >&6; }
12326 if test "${ac_cv_type_pid_t+set}" = set; then
12327 $as_echo_n "(cached) " >&6
12329 ac_cv_type_pid_t=no
12330 cat >conftest.$ac_ext <<_ACEOF
12333 cat confdefs.h >>conftest.$ac_ext
12334 cat >>conftest.$ac_ext <<_ACEOF
12335 /* end confdefs.h. */
12336 $ac_includes_default
12340 if (sizeof (pid_t))
12346 rm -f conftest.$ac_objext
12347 if { (ac_try="$ac_compile"
12348 case "(($ac_try" in
12349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12350 *) ac_try_echo=$ac_try;;
12352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12353 $as_echo "$ac_try_echo") >&5
12354 (eval "$ac_compile") 2>conftest.er1
12356 grep -v '^ *+' conftest.er1 >conftest.err
12358 cat conftest.err >&5
12359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } && {
12361 test -z "$ac_c_werror_flag" ||
12362 test ! -s conftest.err
12363 } && test -s conftest.$ac_objext; then
12364 cat >conftest.$ac_ext <<_ACEOF
12367 cat confdefs.h >>conftest.$ac_ext
12368 cat >>conftest.$ac_ext <<_ACEOF
12369 /* end confdefs.h. */
12370 $ac_includes_default
12374 if (sizeof ((pid_t)))
12380 rm -f conftest.$ac_objext
12381 if { (ac_try="$ac_compile"
12382 case "(($ac_try" in
12383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12384 *) ac_try_echo=$ac_try;;
12386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12387 $as_echo "$ac_try_echo") >&5
12388 (eval "$ac_compile") 2>conftest.er1
12390 grep -v '^ *+' conftest.er1 >conftest.err
12392 cat conftest.err >&5
12393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } && {
12395 test -z "$ac_c_werror_flag" ||
12396 test ! -s conftest.err
12397 } && test -s conftest.$ac_objext; then
12400 $as_echo "$as_me: failed program was:" >&5
12401 sed 's/^/| /' conftest.$ac_ext >&5
12403 ac_cv_type_pid_t=yes
12406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12408 $as_echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.$ac_ext >&5
12414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12416 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12417 $as_echo "$ac_cv_type_pid_t" >&6; }
12418 if test "x$ac_cv_type_pid_t" = x""yes; then
12422 cat >>confdefs.h <<_ACEOF
12429 # The cast to long int works around a bug in the HP C Compiler
12430 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12431 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12432 # This bug is HP SR number 8606223364.
12433 { $as_echo "$as_me:$LINENO: checking size of int" >&5
12434 $as_echo_n "checking size of int... " >&6; }
12435 if test "${ac_cv_sizeof_int+set}" = set; then
12436 $as_echo_n "(cached) " >&6
12438 if test "$cross_compiling" = yes; then
12439 # Depending upon the size, compute the lo and hi bounds.
12440 cat >conftest.$ac_ext <<_ACEOF
12443 cat confdefs.h >>conftest.$ac_ext
12444 cat >>conftest.$ac_ext <<_ACEOF
12445 /* end confdefs.h. */
12446 $ac_includes_default
12450 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
12457 rm -f conftest.$ac_objext
12458 if { (ac_try="$ac_compile"
12459 case "(($ac_try" in
12460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12461 *) ac_try_echo=$ac_try;;
12463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12464 $as_echo "$ac_try_echo") >&5
12465 (eval "$ac_compile") 2>conftest.er1
12467 grep -v '^ *+' conftest.er1 >conftest.err
12469 cat conftest.err >&5
12470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } && {
12472 test -z "$ac_c_werror_flag" ||
12473 test ! -s conftest.err
12474 } && test -s conftest.$ac_objext; then
12477 cat >conftest.$ac_ext <<_ACEOF
12480 cat confdefs.h >>conftest.$ac_ext
12481 cat >>conftest.$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 $ac_includes_default
12487 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
12494 rm -f conftest.$ac_objext
12495 if { (ac_try="$ac_compile"
12496 case "(($ac_try" in
12497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12498 *) ac_try_echo=$ac_try;;
12500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12501 $as_echo "$ac_try_echo") >&5
12502 (eval "$ac_compile") 2>conftest.er1
12504 grep -v '^ *+' conftest.er1 >conftest.err
12506 cat conftest.err >&5
12507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } && {
12509 test -z "$ac_c_werror_flag" ||
12510 test ! -s conftest.err
12511 } && test -s conftest.$ac_objext; then
12512 ac_hi=$ac_mid; break
12514 $as_echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.$ac_ext >&5
12517 ac_lo=`expr $ac_mid + 1`
12518 if test $ac_lo -le $ac_mid; then
12522 ac_mid=`expr 2 '*' $ac_mid + 1`
12525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12528 $as_echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.$ac_ext >&5
12531 cat >conftest.$ac_ext <<_ACEOF
12534 cat confdefs.h >>conftest.$ac_ext
12535 cat >>conftest.$ac_ext <<_ACEOF
12536 /* end confdefs.h. */
12537 $ac_includes_default
12541 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
12548 rm -f conftest.$ac_objext
12549 if { (ac_try="$ac_compile"
12550 case "(($ac_try" in
12551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12552 *) ac_try_echo=$ac_try;;
12554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12555 $as_echo "$ac_try_echo") >&5
12556 (eval "$ac_compile") 2>conftest.er1
12558 grep -v '^ *+' conftest.er1 >conftest.err
12560 cat conftest.err >&5
12561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); } && {
12563 test -z "$ac_c_werror_flag" ||
12564 test ! -s conftest.err
12565 } && test -s conftest.$ac_objext; then
12568 cat >conftest.$ac_ext <<_ACEOF
12571 cat confdefs.h >>conftest.$ac_ext
12572 cat >>conftest.$ac_ext <<_ACEOF
12573 /* end confdefs.h. */
12574 $ac_includes_default
12578 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
12585 rm -f conftest.$ac_objext
12586 if { (ac_try="$ac_compile"
12587 case "(($ac_try" in
12588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12589 *) ac_try_echo=$ac_try;;
12591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12592 $as_echo "$ac_try_echo") >&5
12593 (eval "$ac_compile") 2>conftest.er1
12595 grep -v '^ *+' conftest.er1 >conftest.err
12597 cat conftest.err >&5
12598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); } && {
12600 test -z "$ac_c_werror_flag" ||
12601 test ! -s conftest.err
12602 } && test -s conftest.$ac_objext; then
12603 ac_lo=$ac_mid; break
12605 $as_echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.$ac_ext >&5
12608 ac_hi=`expr '(' $ac_mid ')' - 1`
12609 if test $ac_mid -le $ac_hi; then
12613 ac_mid=`expr 2 '*' $ac_mid`
12616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12619 $as_echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.$ac_ext >&5
12625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12629 # Binary search between lo and hi bounds.
12630 while test "x$ac_lo" != "x$ac_hi"; do
12631 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12632 cat >conftest.$ac_ext <<_ACEOF
12635 cat confdefs.h >>conftest.$ac_ext
12636 cat >>conftest.$ac_ext <<_ACEOF
12637 /* end confdefs.h. */
12638 $ac_includes_default
12642 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
12649 rm -f conftest.$ac_objext
12650 if { (ac_try="$ac_compile"
12651 case "(($ac_try" in
12652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12653 *) ac_try_echo=$ac_try;;
12655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12656 $as_echo "$ac_try_echo") >&5
12657 (eval "$ac_compile") 2>conftest.er1
12659 grep -v '^ *+' conftest.er1 >conftest.err
12661 cat conftest.err >&5
12662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } && {
12664 test -z "$ac_c_werror_flag" ||
12665 test ! -s conftest.err
12666 } && test -s conftest.$ac_objext; then
12669 $as_echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.$ac_ext >&5
12672 ac_lo=`expr '(' $ac_mid ')' + 1`
12675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12678 ?*) ac_cv_sizeof_int=$ac_lo;;
12679 '') if test "$ac_cv_type_int" = yes; then
12680 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12682 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
12683 See \`config.log' for more details." >&5
12684 $as_echo "$as_me: error: cannot compute sizeof (int)
12685 See \`config.log' for more details." >&2;}
12686 { (exit 77); exit 77; }; }; }
12692 cat >conftest.$ac_ext <<_ACEOF
12695 cat confdefs.h >>conftest.$ac_ext
12696 cat >>conftest.$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 $ac_includes_default
12699 static long int longval () { return (long int) (sizeof (int)); }
12700 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
12702 #include <stdlib.h>
12707 FILE *f = fopen ("conftest.val", "w");
12710 if (((long int) (sizeof (int))) < 0)
12712 long int i = longval ();
12713 if (i != ((long int) (sizeof (int))))
12715 fprintf (f, "%ld", i);
12719 unsigned long int i = ulongval ();
12720 if (i != ((long int) (sizeof (int))))
12722 fprintf (f, "%lu", i);
12724 /* Do not output a trailing newline, as this causes \r\n confusion
12725 on some platforms. */
12726 return ferror (f) || fclose (f) != 0;
12732 rm -f conftest$ac_exeext
12733 if { (ac_try="$ac_link"
12734 case "(($ac_try" in
12735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12736 *) ac_try_echo=$ac_try;;
12738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12739 $as_echo "$ac_try_echo") >&5
12740 (eval "$ac_link") 2>&5
12742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12744 { (case "(($ac_try" in
12745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12746 *) ac_try_echo=$ac_try;;
12748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12749 $as_echo "$ac_try_echo") >&5
12750 (eval "$ac_try") 2>&5
12752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; }; then
12754 ac_cv_sizeof_int=`cat conftest.val`
12756 $as_echo "$as_me: program exited with status $ac_status" >&5
12757 $as_echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.$ac_ext >&5
12760 ( exit $ac_status )
12761 if test "$ac_cv_type_int" = yes; then
12762 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12764 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
12765 See \`config.log' for more details." >&5
12766 $as_echo "$as_me: error: cannot compute sizeof (int)
12767 See \`config.log' for more details." >&2;}
12768 { (exit 77); exit 77; }; }; }
12773 rm -rf conftest.dSYM
12774 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12778 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
12779 $as_echo "$ac_cv_sizeof_int" >&6; }
12783 cat >>confdefs.h <<_ACEOF
12784 #define SIZEOF_INT $ac_cv_sizeof_int
12788 # The cast to long int works around a bug in the HP C Compiler
12789 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12790 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12791 # This bug is HP SR number 8606223364.
12792 { $as_echo "$as_me:$LINENO: checking size of long" >&5
12793 $as_echo_n "checking size of long... " >&6; }
12794 if test "${ac_cv_sizeof_long+set}" = set; then
12795 $as_echo_n "(cached) " >&6
12797 if test "$cross_compiling" = yes; then
12798 # Depending upon the size, compute the lo and hi bounds.
12799 cat >conftest.$ac_ext <<_ACEOF
12802 cat confdefs.h >>conftest.$ac_ext
12803 cat >>conftest.$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 $ac_includes_default
12809 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
12816 rm -f conftest.$ac_objext
12817 if { (ac_try="$ac_compile"
12818 case "(($ac_try" in
12819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12820 *) ac_try_echo=$ac_try;;
12822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12823 $as_echo "$ac_try_echo") >&5
12824 (eval "$ac_compile") 2>conftest.er1
12826 grep -v '^ *+' conftest.er1 >conftest.err
12828 cat conftest.err >&5
12829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); } && {
12831 test -z "$ac_c_werror_flag" ||
12832 test ! -s conftest.err
12833 } && test -s conftest.$ac_objext; then
12836 cat >conftest.$ac_ext <<_ACEOF
12839 cat confdefs.h >>conftest.$ac_ext
12840 cat >>conftest.$ac_ext <<_ACEOF
12841 /* end confdefs.h. */
12842 $ac_includes_default
12846 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
12853 rm -f conftest.$ac_objext
12854 if { (ac_try="$ac_compile"
12855 case "(($ac_try" in
12856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12857 *) ac_try_echo=$ac_try;;
12859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12860 $as_echo "$ac_try_echo") >&5
12861 (eval "$ac_compile") 2>conftest.er1
12863 grep -v '^ *+' conftest.er1 >conftest.err
12865 cat conftest.err >&5
12866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } && {
12868 test -z "$ac_c_werror_flag" ||
12869 test ! -s conftest.err
12870 } && test -s conftest.$ac_objext; then
12871 ac_hi=$ac_mid; break
12873 $as_echo "$as_me: failed program was:" >&5
12874 sed 's/^/| /' conftest.$ac_ext >&5
12876 ac_lo=`expr $ac_mid + 1`
12877 if test $ac_lo -le $ac_mid; then
12881 ac_mid=`expr 2 '*' $ac_mid + 1`
12884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12887 $as_echo "$as_me: failed program was:" >&5
12888 sed 's/^/| /' conftest.$ac_ext >&5
12890 cat >conftest.$ac_ext <<_ACEOF
12893 cat confdefs.h >>conftest.$ac_ext
12894 cat >>conftest.$ac_ext <<_ACEOF
12895 /* end confdefs.h. */
12896 $ac_includes_default
12900 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
12907 rm -f conftest.$ac_objext
12908 if { (ac_try="$ac_compile"
12909 case "(($ac_try" in
12910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12911 *) ac_try_echo=$ac_try;;
12913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12914 $as_echo "$ac_try_echo") >&5
12915 (eval "$ac_compile") 2>conftest.er1
12917 grep -v '^ *+' conftest.er1 >conftest.err
12919 cat conftest.err >&5
12920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); } && {
12922 test -z "$ac_c_werror_flag" ||
12923 test ! -s conftest.err
12924 } && test -s conftest.$ac_objext; then
12927 cat >conftest.$ac_ext <<_ACEOF
12930 cat confdefs.h >>conftest.$ac_ext
12931 cat >>conftest.$ac_ext <<_ACEOF
12932 /* end confdefs.h. */
12933 $ac_includes_default
12937 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
12944 rm -f conftest.$ac_objext
12945 if { (ac_try="$ac_compile"
12946 case "(($ac_try" in
12947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12948 *) ac_try_echo=$ac_try;;
12950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12951 $as_echo "$ac_try_echo") >&5
12952 (eval "$ac_compile") 2>conftest.er1
12954 grep -v '^ *+' conftest.er1 >conftest.err
12956 cat conftest.err >&5
12957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); } && {
12959 test -z "$ac_c_werror_flag" ||
12960 test ! -s conftest.err
12961 } && test -s conftest.$ac_objext; then
12962 ac_lo=$ac_mid; break
12964 $as_echo "$as_me: failed program was:" >&5
12965 sed 's/^/| /' conftest.$ac_ext >&5
12967 ac_hi=`expr '(' $ac_mid ')' - 1`
12968 if test $ac_mid -le $ac_hi; then
12972 ac_mid=`expr 2 '*' $ac_mid`
12975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12978 $as_echo "$as_me: failed program was:" >&5
12979 sed 's/^/| /' conftest.$ac_ext >&5
12984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12988 # Binary search between lo and hi bounds.
12989 while test "x$ac_lo" != "x$ac_hi"; do
12990 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12991 cat >conftest.$ac_ext <<_ACEOF
12994 cat confdefs.h >>conftest.$ac_ext
12995 cat >>conftest.$ac_ext <<_ACEOF
12996 /* end confdefs.h. */
12997 $ac_includes_default
13001 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
13008 rm -f conftest.$ac_objext
13009 if { (ac_try="$ac_compile"
13010 case "(($ac_try" in
13011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13012 *) ac_try_echo=$ac_try;;
13014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13015 $as_echo "$ac_try_echo") >&5
13016 (eval "$ac_compile") 2>conftest.er1
13018 grep -v '^ *+' conftest.er1 >conftest.err
13020 cat conftest.err >&5
13021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); } && {
13023 test -z "$ac_c_werror_flag" ||
13024 test ! -s conftest.err
13025 } && test -s conftest.$ac_objext; then
13028 $as_echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.$ac_ext >&5
13031 ac_lo=`expr '(' $ac_mid ')' + 1`
13034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13037 ?*) ac_cv_sizeof_long=$ac_lo;;
13038 '') if test "$ac_cv_type_long" = yes; then
13039 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13041 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
13042 See \`config.log' for more details." >&5
13043 $as_echo "$as_me: error: cannot compute sizeof (long)
13044 See \`config.log' for more details." >&2;}
13045 { (exit 77); exit 77; }; }; }
13047 ac_cv_sizeof_long=0
13051 cat >conftest.$ac_ext <<_ACEOF
13054 cat confdefs.h >>conftest.$ac_ext
13055 cat >>conftest.$ac_ext <<_ACEOF
13056 /* end confdefs.h. */
13057 $ac_includes_default
13058 static long int longval () { return (long int) (sizeof (long)); }
13059 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
13061 #include <stdlib.h>
13066 FILE *f = fopen ("conftest.val", "w");
13069 if (((long int) (sizeof (long))) < 0)
13071 long int i = longval ();
13072 if (i != ((long int) (sizeof (long))))
13074 fprintf (f, "%ld", i);
13078 unsigned long int i = ulongval ();
13079 if (i != ((long int) (sizeof (long))))
13081 fprintf (f, "%lu", i);
13083 /* Do not output a trailing newline, as this causes \r\n confusion
13084 on some platforms. */
13085 return ferror (f) || fclose (f) != 0;
13091 rm -f conftest$ac_exeext
13092 if { (ac_try="$ac_link"
13093 case "(($ac_try" in
13094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13095 *) ac_try_echo=$ac_try;;
13097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13098 $as_echo "$ac_try_echo") >&5
13099 (eval "$ac_link") 2>&5
13101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13103 { (case "(($ac_try" in
13104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13105 *) ac_try_echo=$ac_try;;
13107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13108 $as_echo "$ac_try_echo") >&5
13109 (eval "$ac_try") 2>&5
13111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; }; then
13113 ac_cv_sizeof_long=`cat conftest.val`
13115 $as_echo "$as_me: program exited with status $ac_status" >&5
13116 $as_echo "$as_me: failed program was:" >&5
13117 sed 's/^/| /' conftest.$ac_ext >&5
13119 ( exit $ac_status )
13120 if test "$ac_cv_type_long" = yes; then
13121 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13123 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
13124 See \`config.log' for more details." >&5
13125 $as_echo "$as_me: error: cannot compute sizeof (long)
13126 See \`config.log' for more details." >&2;}
13127 { (exit 77); exit 77; }; }; }
13129 ac_cv_sizeof_long=0
13132 rm -rf conftest.dSYM
13133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13137 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13138 $as_echo "$ac_cv_sizeof_long" >&6; }
13142 cat >>confdefs.h <<_ACEOF
13143 #define SIZEOF_LONG $ac_cv_sizeof_long
13147 # The cast to long int works around a bug in the HP C Compiler
13148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13150 # This bug is HP SR number 8606223364.
13151 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
13152 $as_echo_n "checking size of long long... " >&6; }
13153 if test "${ac_cv_sizeof_long_long+set}" = set; then
13154 $as_echo_n "(cached) " >&6
13156 if test "$cross_compiling" = yes; then
13157 # Depending upon the size, compute the lo and hi bounds.
13158 cat >conftest.$ac_ext <<_ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13164 $ac_includes_default
13168 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
13175 rm -f conftest.$ac_objext
13176 if { (ac_try="$ac_compile"
13177 case "(($ac_try" in
13178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13179 *) ac_try_echo=$ac_try;;
13181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13182 $as_echo "$ac_try_echo") >&5
13183 (eval "$ac_compile") 2>conftest.er1
13185 grep -v '^ *+' conftest.er1 >conftest.err
13187 cat conftest.err >&5
13188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } && {
13190 test -z "$ac_c_werror_flag" ||
13191 test ! -s conftest.err
13192 } && test -s conftest.$ac_objext; then
13195 cat >conftest.$ac_ext <<_ACEOF
13198 cat confdefs.h >>conftest.$ac_ext
13199 cat >>conftest.$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13201 $ac_includes_default
13205 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
13212 rm -f conftest.$ac_objext
13213 if { (ac_try="$ac_compile"
13214 case "(($ac_try" in
13215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13216 *) ac_try_echo=$ac_try;;
13218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13219 $as_echo "$ac_try_echo") >&5
13220 (eval "$ac_compile") 2>conftest.er1
13222 grep -v '^ *+' conftest.er1 >conftest.err
13224 cat conftest.err >&5
13225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); } && {
13227 test -z "$ac_c_werror_flag" ||
13228 test ! -s conftest.err
13229 } && test -s conftest.$ac_objext; then
13230 ac_hi=$ac_mid; break
13232 $as_echo "$as_me: failed program was:" >&5
13233 sed 's/^/| /' conftest.$ac_ext >&5
13235 ac_lo=`expr $ac_mid + 1`
13236 if test $ac_lo -le $ac_mid; then
13240 ac_mid=`expr 2 '*' $ac_mid + 1`
13243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13246 $as_echo "$as_me: failed program was:" >&5
13247 sed 's/^/| /' conftest.$ac_ext >&5
13249 cat >conftest.$ac_ext <<_ACEOF
13252 cat confdefs.h >>conftest.$ac_ext
13253 cat >>conftest.$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13255 $ac_includes_default
13259 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
13266 rm -f conftest.$ac_objext
13267 if { (ac_try="$ac_compile"
13268 case "(($ac_try" in
13269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13270 *) ac_try_echo=$ac_try;;
13272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13273 $as_echo "$ac_try_echo") >&5
13274 (eval "$ac_compile") 2>conftest.er1
13276 grep -v '^ *+' conftest.er1 >conftest.err
13278 cat conftest.err >&5
13279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); } && {
13281 test -z "$ac_c_werror_flag" ||
13282 test ! -s conftest.err
13283 } && test -s conftest.$ac_objext; then
13286 cat >conftest.$ac_ext <<_ACEOF
13289 cat confdefs.h >>conftest.$ac_ext
13290 cat >>conftest.$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13292 $ac_includes_default
13296 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
13303 rm -f conftest.$ac_objext
13304 if { (ac_try="$ac_compile"
13305 case "(($ac_try" in
13306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13307 *) ac_try_echo=$ac_try;;
13309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13310 $as_echo "$ac_try_echo") >&5
13311 (eval "$ac_compile") 2>conftest.er1
13313 grep -v '^ *+' conftest.er1 >conftest.err
13315 cat conftest.err >&5
13316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } && {
13318 test -z "$ac_c_werror_flag" ||
13319 test ! -s conftest.err
13320 } && test -s conftest.$ac_objext; then
13321 ac_lo=$ac_mid; break
13323 $as_echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.$ac_ext >&5
13326 ac_hi=`expr '(' $ac_mid ')' - 1`
13327 if test $ac_mid -le $ac_hi; then
13331 ac_mid=`expr 2 '*' $ac_mid`
13334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13337 $as_echo "$as_me: failed program was:" >&5
13338 sed 's/^/| /' conftest.$ac_ext >&5
13343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13347 # Binary search between lo and hi bounds.
13348 while test "x$ac_lo" != "x$ac_hi"; do
13349 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13350 cat >conftest.$ac_ext <<_ACEOF
13353 cat confdefs.h >>conftest.$ac_ext
13354 cat >>conftest.$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13356 $ac_includes_default
13360 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
13367 rm -f conftest.$ac_objext
13368 if { (ac_try="$ac_compile"
13369 case "(($ac_try" in
13370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13371 *) ac_try_echo=$ac_try;;
13373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13374 $as_echo "$ac_try_echo") >&5
13375 (eval "$ac_compile") 2>conftest.er1
13377 grep -v '^ *+' conftest.er1 >conftest.err
13379 cat conftest.err >&5
13380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); } && {
13382 test -z "$ac_c_werror_flag" ||
13383 test ! -s conftest.err
13384 } && test -s conftest.$ac_objext; then
13387 $as_echo "$as_me: failed program was:" >&5
13388 sed 's/^/| /' conftest.$ac_ext >&5
13390 ac_lo=`expr '(' $ac_mid ')' + 1`
13393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13396 ?*) ac_cv_sizeof_long_long=$ac_lo;;
13397 '') if test "$ac_cv_type_long_long" = yes; then
13398 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13400 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
13401 See \`config.log' for more details." >&5
13402 $as_echo "$as_me: error: cannot compute sizeof (long long)
13403 See \`config.log' for more details." >&2;}
13404 { (exit 77); exit 77; }; }; }
13406 ac_cv_sizeof_long_long=0
13410 cat >conftest.$ac_ext <<_ACEOF
13413 cat confdefs.h >>conftest.$ac_ext
13414 cat >>conftest.$ac_ext <<_ACEOF
13415 /* end confdefs.h. */
13416 $ac_includes_default
13417 static long int longval () { return (long int) (sizeof (long long)); }
13418 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
13420 #include <stdlib.h>
13425 FILE *f = fopen ("conftest.val", "w");
13428 if (((long int) (sizeof (long long))) < 0)
13430 long int i = longval ();
13431 if (i != ((long int) (sizeof (long long))))
13433 fprintf (f, "%ld", i);
13437 unsigned long int i = ulongval ();
13438 if (i != ((long int) (sizeof (long long))))
13440 fprintf (f, "%lu", i);
13442 /* Do not output a trailing newline, as this causes \r\n confusion
13443 on some platforms. */
13444 return ferror (f) || fclose (f) != 0;
13450 rm -f conftest$ac_exeext
13451 if { (ac_try="$ac_link"
13452 case "(($ac_try" in
13453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13454 *) ac_try_echo=$ac_try;;
13456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13457 $as_echo "$ac_try_echo") >&5
13458 (eval "$ac_link") 2>&5
13460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13462 { (case "(($ac_try" in
13463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13464 *) ac_try_echo=$ac_try;;
13466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13467 $as_echo "$ac_try_echo") >&5
13468 (eval "$ac_try") 2>&5
13470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); }; }; then
13472 ac_cv_sizeof_long_long=`cat conftest.val`
13474 $as_echo "$as_me: program exited with status $ac_status" >&5
13475 $as_echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13478 ( exit $ac_status )
13479 if test "$ac_cv_type_long_long" = yes; then
13480 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13482 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
13483 See \`config.log' for more details." >&5
13484 $as_echo "$as_me: error: cannot compute sizeof (long long)
13485 See \`config.log' for more details." >&2;}
13486 { (exit 77); exit 77; }; }; }
13488 ac_cv_sizeof_long_long=0
13491 rm -rf conftest.dSYM
13492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13496 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
13497 $as_echo "$ac_cv_sizeof_long_long" >&6; }
13501 cat >>confdefs.h <<_ACEOF
13502 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13512 for ac_func in waitpid fcntl pipe fork
13514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13515 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13516 $as_echo_n "checking for $ac_func... " >&6; }
13517 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13518 $as_echo_n "(cached) " >&6
13520 cat >conftest.$ac_ext <<_ACEOF
13523 cat confdefs.h >>conftest.$ac_ext
13524 cat >>conftest.$ac_ext <<_ACEOF
13525 /* end confdefs.h. */
13526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13528 #define $ac_func innocuous_$ac_func
13530 /* System header to define __stub macros and hopefully few prototypes,
13531 which can conflict with char $ac_func (); below.
13532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13533 <limits.h> exists even on freestanding compilers. */
13536 # include <limits.h>
13538 # include <assert.h>
13543 /* Override any GCC internal prototype to avoid an error.
13544 Use char because int might match the return type of a GCC
13545 builtin and then its argument prototype would still apply. */
13550 /* The GNU C library defines this for functions which it implements
13551 to always fail with ENOSYS. Some functions are actually named
13552 something starting with __ and the normal name is an alias. */
13553 #if defined __stub_$ac_func || defined __stub___$ac_func
13560 return $ac_func ();
13565 rm -f conftest.$ac_objext conftest$ac_exeext
13566 if { (ac_try="$ac_link"
13567 case "(($ac_try" in
13568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13569 *) ac_try_echo=$ac_try;;
13571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13572 $as_echo "$ac_try_echo") >&5
13573 (eval "$ac_link") 2>conftest.er1
13575 grep -v '^ *+' conftest.er1 >conftest.err
13577 cat conftest.err >&5
13578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); } && {
13580 test -z "$ac_c_werror_flag" ||
13581 test ! -s conftest.err
13582 } && test -s conftest$ac_exeext && {
13583 test "$cross_compiling" = yes ||
13584 $as_test_x conftest$ac_exeext
13586 eval "$as_ac_var=yes"
13588 $as_echo "$as_me: failed program was:" >&5
13589 sed 's/^/| /' conftest.$ac_ext >&5
13591 eval "$as_ac_var=no"
13594 rm -rf conftest.dSYM
13595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13596 conftest$ac_exeext conftest.$ac_ext
13598 ac_res=`eval 'as_val=${'$as_ac_var'}
13599 $as_echo "$as_val"'`
13600 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13601 $as_echo "$ac_res" >&6; }
13602 as_val=`eval 'as_val=${'$as_ac_var'}
13603 $as_echo "$as_val"'`
13604 if test "x$as_val" = x""yes; then
13605 cat >>confdefs.h <<_ACEOF
13606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13619 cat >confcache <<\_ACEOF
13620 # This file is a shell script that caches the results of configure
13621 # tests run on this system so they can be shared between configure
13622 # scripts and configure runs, see configure's option --config-cache.
13623 # It is not useful on other systems. If it contains results you don't
13624 # want to keep, you may remove or edit it.
13626 # config.status only pays attention to the cache file if you give it
13627 # the --recheck option to rerun configure.
13629 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13630 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13631 # following values.
13635 # The following way of writing the cache mishandles newlines in values,
13636 # but we know of no workaround that is simple, portable, and efficient.
13637 # So, we kill variables containing newlines.
13638 # Ultrix sh set writes to stderr and can't be redirected directly,
13639 # and sets the high bit in the cache file unless we assign to the vars.
13641 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13642 eval ac_val=\$$ac_var
13646 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13647 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13650 _ | IFS | as_nl) ;; #(
13651 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13652 *) $as_unset $ac_var ;;
13658 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13659 *${as_nl}ac_space=\ *)
13660 # `set' does not quote correctly, so add quotes (double-quote
13661 # substitution turns \\\\ into \\, and sed turns \\ into \).
13664 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13667 # `set' quotes correctly as required by POSIX, so do not add quotes.
13668 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13677 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13679 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13681 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13682 if test -w "$cache_file"; then
13683 test "x$cache_file" != "x/dev/null" &&
13684 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13685 $as_echo "$as_me: updating cache $cache_file" >&6;}
13686 cat confcache >$cache_file
13688 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13689 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13694 { $as_echo "$as_me:$LINENO: checking whether to optimize for speed or for accuracy" >&5
13695 $as_echo_n "checking whether to optimize for speed or for accuracy... " >&6; }
13697 # Check whether --enable-speed was given.
13698 if test "${enable_speed+set}" = set; then
13699 enableval=$enable_speed;
13700 case "$enableval" in
13702 optimize_for="speed"
13704 cat >>confdefs.h <<\_ACEOF
13705 #define OPT_SPEED 1
13714 # Check whether --enable-accuracy was given.
13715 if test "${enable_accuracy+set}" = set; then
13716 enableval=$enable_accuracy;
13717 case "$enableval" in
13719 if test "$optimize_for" = "speed"
13721 optimize_for="both"
13723 optimize_for="accuracy"
13726 cat >>confdefs.h <<\_ACEOF
13727 #define OPT_ACCURACY 1
13736 { $as_echo "$as_me:$LINENO: result: ${optimize_for-default}" >&5
13737 $as_echo "${optimize_for-default}" >&6; }
13739 if test "$optimize_for" = "both"
13741 { { $as_echo "$as_me:$LINENO: error: cannot optimize for both speed and accuracy" >&5
13742 $as_echo "$as_me: error: cannot optimize for both speed and accuracy" >&2;}
13743 { (exit 1); exit 1; }; }
13746 { $as_echo "$as_me:$LINENO: checking for architecture-specific fixed-point math routines" >&5
13747 $as_echo_n "checking for architecture-specific fixed-point math routines... " >&6; }
13748 # Check whether --enable-fpm was given.
13749 if test "${enable_fpm+set}" = set; then
13750 enableval=$enable_fpm;
13751 case "$enableval" in
13753 no|default|approx) FPM="DEFAULT" ;;
13754 intel|i?86) FPM="INTEL" ;;
13756 mips) FPM="MIPS" ;;
13757 sparc) FPM="SPARC" ;;
13758 ppc|powerpc) FPM="PPC" ;;
13759 64bit) FPM="64BIT" ;;
13760 float) FPM="FLOAT" ;;
13762 { $as_echo "$as_me:$LINENO: result: failed" >&5
13763 $as_echo "failed" >&6; }
13764 { { $as_echo "$as_me:$LINENO: error: bad --enable-fpm option" >&5
13765 $as_echo "$as_me: error: bad --enable-fpm option" >&2;}
13766 { (exit 1); exit 1; }; }
13773 if test -z "$FPM" && test "$GCC" = yes
13776 i?86-*) FPM="INTEL" ;;
13777 arm*-*) FPM="ARM" ;;
13778 mips*-*) FPM="MIPS" ;;
13779 sparc*-*) FPM="SPARC" ;;
13780 powerpc*-*) FPM="PPC" ;;
13781 # FIXME: need to test for 64-bit long long...
13785 { $as_echo "$as_me:$LINENO: result: ${FPM=DEFAULT}" >&5
13786 $as_echo "${FPM=DEFAULT}" >&6; }
13788 if test "$FPM" = "DEFAULT"
13790 { $as_echo "$as_me:$LINENO: WARNING: default fixed-point math will yield limited accuracy" >&5
13791 $as_echo "$as_me: WARNING: default fixed-point math will yield limited accuracy" >&2;}
13796 # Check whether --enable-sso was given.
13797 if test "${enable_sso+set}" = set; then
13798 enableval=$enable_sso;
13799 case "$enableval" in
13802 cat >>confdefs.h <<\_ACEOF
13812 # Check whether --enable-aso was given.
13813 if test "${enable_aso+set}" = set; then
13814 enableval=$enable_aso;
13820 if test "$enable_aso" = yes
13824 : #ASO="$ASO -DASO_INTERLEAVE1"
13825 ASO="$ASO -DASO_ZEROCHECK"
13826 : #not yet #ASO="$ASO -DASO_SYNTH"
13827 : #not yet #ASO_OBJS="synth_mmx.lo"
13830 ASO="$ASO -DASO_INTERLEAVE1"
13831 ASO="$ASO -DASO_IMDCT"
13832 ASO_OBJS="imdct_l_arm.lo"
13835 ASO="$ASO -DASO_INTERLEAVE2"
13836 ASO="$ASO -DASO_ZEROCHECK"
13841 { $as_echo "$as_me:$LINENO: checking for ISO/IEC interpretation" >&5
13842 $as_echo_n "checking for ISO/IEC interpretation... " >&6; }
13843 # Check whether --enable-strict-iso was given.
13844 if test "${enable_strict_iso+set}" = set; then
13845 enableval=$enable_strict_iso;
13846 case "$enableval" in
13849 cat >>confdefs.h <<\_ACEOF
13850 #define OPT_STRICT 1
13853 interpretation="strict"
13859 { $as_echo "$as_me:$LINENO: result: ${interpretation-best accepted practices}" >&5
13860 $as_echo "${interpretation-best accepted practices}" >&6; }
13862 { $as_echo "$as_me:$LINENO: checking whether to enable profiling" >&5
13863 $as_echo_n "checking whether to enable profiling... " >&6; }
13864 # Check whether --enable-profiling was given.
13865 if test "${enable_profiling+set}" = set; then
13866 enableval=$enable_profiling;
13867 case "$enableval" in
13868 yes) profile="-pg" ;;
13873 { $as_echo "$as_me:$LINENO: result: ${enable_profiling-no}" >&5
13874 $as_echo "${enable_profiling-no}" >&6; }
13876 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
13877 $as_echo_n "checking whether to enable debugging... " >&6; }
13878 # Check whether --enable-debugging was given.
13879 if test "${enable_debugging+set}" = set; then
13880 enableval=$enable_debugging;
13881 case "$enableval" in
13884 cat >>confdefs.h <<\_ACEOF
13891 if test -n "$profile"
13893 { { $as_echo "$as_me:$LINENO: error: --enable-profiling and --disable-debugging are incompatible" >&5
13894 $as_echo "$as_me: error: --enable-profiling and --disable-debugging are incompatible" >&2;}
13895 { (exit 1); exit 1; }; }
13899 cat >>confdefs.h <<\_ACEOF
13904 if test "$GCC" = yes
13906 optimize="$optimize -fomit-frame-pointer"
13913 { $as_echo "$as_me:$LINENO: result: ${enable_debugging-default}" >&5
13914 $as_echo "${enable_debugging-default}" >&6; }
13916 { $as_echo "$as_me:$LINENO: checking whether to enable experimental code" >&5
13917 $as_echo_n "checking whether to enable experimental code... " >&6; }
13918 # Check whether --enable-experimental was given.
13919 if test "${enable_experimental+set}" = set; then
13920 enableval=$enable_experimental;
13921 case "$enableval" in
13924 cat >>confdefs.h <<\_ACEOF
13925 #define EXPERIMENTAL 1
13933 { $as_echo "$as_me:$LINENO: result: ${enable_experimental-no}" >&5
13934 $as_echo "${enable_experimental-no}" >&6; }
13937 test -n "$arch" && CFLAGS="$CFLAGS $arch"
13938 test -n "$debug" && CFLAGS="$CFLAGS $debug"
13939 test -n "$optimize" && CFLAGS="$CFLAGS $optimize"
13940 test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
13943 ac_config_files="$ac_config_files Makefile msvc++/Makefile libmad.list"
13945 cat >confcache <<\_ACEOF
13946 # This file is a shell script that caches the results of configure
13947 # tests run on this system so they can be shared between configure
13948 # scripts and configure runs, see configure's option --config-cache.
13949 # It is not useful on other systems. If it contains results you don't
13950 # want to keep, you may remove or edit it.
13952 # config.status only pays attention to the cache file if you give it
13953 # the --recheck option to rerun configure.
13955 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13956 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13957 # following values.
13961 # The following way of writing the cache mishandles newlines in values,
13962 # but we know of no workaround that is simple, portable, and efficient.
13963 # So, we kill variables containing newlines.
13964 # Ultrix sh set writes to stderr and can't be redirected directly,
13965 # and sets the high bit in the cache file unless we assign to the vars.
13967 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13968 eval ac_val=\$$ac_var
13972 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13973 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13976 _ | IFS | as_nl) ;; #(
13977 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13978 *) $as_unset $ac_var ;;
13984 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13985 *${as_nl}ac_space=\ *)
13986 # `set' does not quote correctly, so add quotes (double-quote
13987 # substitution turns \\\\ into \\, and sed turns \\ into \).
13990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13993 # `set' quotes correctly as required by POSIX, so do not add quotes.
13994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14003 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14005 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14007 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14008 if test -w "$cache_file"; then
14009 test "x$cache_file" != "x/dev/null" &&
14010 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
14011 $as_echo "$as_me: updating cache $cache_file" >&6;}
14012 cat confcache >$cache_file
14014 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14015 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14020 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14021 # Let make expand exec_prefix.
14022 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14024 DEFS=-DHAVE_CONFIG_H
14028 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14029 # 1. Remove the extension, and $U if already installed.
14030 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14031 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14032 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14033 # will be set to the directory where LIBOBJS objects are built.
14034 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14035 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14037 LIBOBJS=$ac_libobjs
14039 LTLIBOBJS=$ac_ltlibobjs
14042 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14043 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14044 Usually this means the macro was only invoked conditionally." >&5
14045 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
14046 Usually this means the macro was only invoked conditionally." >&2;}
14047 { (exit 1); exit 1; }; }
14049 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14050 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14051 Usually this means the macro was only invoked conditionally." >&5
14052 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14053 Usually this means the macro was only invoked conditionally." >&2;}
14054 { (exit 1); exit 1; }; }
14056 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14057 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
14058 Usually this means the macro was only invoked conditionally." >&5
14059 $as_echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
14060 Usually this means the macro was only invoked conditionally." >&2;}
14061 { (exit 1); exit 1; }; }
14065 : ${CONFIG_STATUS=./config.status}
14067 ac_clean_files_save=$ac_clean_files
14068 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14069 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14070 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14071 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14073 # Generated by $as_me.
14074 # Run this file to recreate the current configuration.
14075 # Compiler output produced by configure, useful for debugging
14076 # configure, is in config.log if it exists.
14079 ac_cs_recheck=false
14081 SHELL=\${CONFIG_SHELL-$SHELL}
14084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14085 ## --------------------- ##
14086 ## M4sh Initialization. ##
14087 ## --------------------- ##
14089 # Be more Bourne compatible
14090 DUALCASE=1; export DUALCASE # for MKS sh
14091 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14094 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14095 # is contrary to our usage. Disable this feature.
14096 alias -g '${1+"$@"}'='"$@"'
14097 setopt NO_GLOB_SUBST
14099 case `(set -o) 2>/dev/null` in
14100 *posix*) set -o posix ;;
14109 # Avoid depending upon Character Ranges.
14110 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14111 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14112 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14113 as_cr_digits='0123456789'
14114 as_cr_alnum=$as_cr_Letters$as_cr_digits
14119 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14120 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14121 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14122 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14123 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14124 as_echo='printf %s\n'
14125 as_echo_n='printf %s'
14127 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14128 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14129 as_echo_n='/usr/ucb/echo -n'
14131 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14132 as_echo_n_body='eval
14136 expr "X$arg" : "X\\(.*\\)$as_nl";
14137 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14139 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14141 export as_echo_n_body
14142 as_echo_n='sh -c $as_echo_n_body as_echo'
14144 export as_echo_body
14145 as_echo='sh -c $as_echo_body as_echo'
14148 # The user is always right.
14149 if test "${PATH_SEPARATOR+set}" != set; then
14151 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14152 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14157 # Support unset when possible.
14158 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14166 # We need space, tab and new line, in precisely that order. Quoting is
14167 # there to prevent editors from complaining about space-tab.
14168 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14169 # splitting by setting IFS to empty value.)
14172 # Find who we are. Look in the path if we contain no directory separator.
14174 *[\\/]* ) as_myself=$0 ;;
14175 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14176 for as_dir in $PATH
14179 test -z "$as_dir" && as_dir=.
14180 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14186 # We did not find ourselves, most probably we were run as `sh COMMAND'
14187 # in which case we are not to be found in the path.
14188 if test "x$as_myself" = x; then
14191 if test ! -f "$as_myself"; then
14192 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14193 { (exit 1); exit 1; }
14196 # Work around bugs in pre-3.0 UWIN ksh.
14197 for as_var in ENV MAIL MAILPATH
14198 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14210 # Required to use basename.
14211 if expr a : '\(a\)' >/dev/null 2>&1 &&
14212 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14218 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14219 as_basename=basename
14225 # Name of the executable.
14226 as_me=`$as_basename -- "$0" ||
14227 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14228 X"$0" : 'X\(//\)$' \| \
14229 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14231 sed '/^.*\/\([^/][^/]*\)\/*$/{
14250 as_lineno_1=$LINENO
14251 as_lineno_2=$LINENO
14252 test "x$as_lineno_1" != "x$as_lineno_2" &&
14253 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
14255 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14256 # uniformly replaced by the line number. The first 'sed' inserts a
14257 # line-number line after each line using $LINENO; the second 'sed'
14258 # does the real work. The second script uses 'N' to pair each
14259 # line-number line with the line containing $LINENO, and appends
14260 # trailing '-' during substitution so that $LINENO is not a special
14261 # case at line end.
14262 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14263 # scripts with optimization help from Paolo Bonzini. Blame Lee
14264 # E. McMahon (1931-1989) for sed's syntax. :-)
14276 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14279 ' >$as_me.lineno &&
14280 chmod +x "$as_me.lineno" ||
14281 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14282 { (exit 1); exit 1; }; }
14284 # Don't try to exec as it changes $[0], causing all sort of problems
14285 # (the dirname of $[0] is not the place where we might find the
14286 # original and so on. Autoconf is especially sensitive to this).
14287 . "./$as_me.lineno"
14288 # Exit status is that of the last command.
14293 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14299 ECHO_C= ECHO_N= ECHO_T=
14300 case `echo -n x` in
14302 case `echo 'x\c'` in
14303 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14309 if expr a : '\(a\)' >/dev/null 2>&1 &&
14310 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14316 rm -f conf$$ conf$$.exe conf$$.file
14317 if test -d conf$$.dir; then
14318 rm -f conf$$.dir/conf$$.file
14321 mkdir conf$$.dir 2>/dev/null
14323 if (echo >conf$$.file) 2>/dev/null; then
14324 if ln -s conf$$.file conf$$ 2>/dev/null; then
14326 # ... but there are two gotchas:
14327 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14328 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14329 # In both cases, we have to default to `cp -p'.
14330 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14332 elif ln conf$$.file conf$$ 2>/dev/null; then
14340 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14341 rmdir conf$$.dir 2>/dev/null
14343 if mkdir -p . 2>/dev/null; then
14346 test -d ./-p && rmdir ./-p
14350 if test -x / >/dev/null 2>&1; then
14351 as_test_x='test -x'
14353 if ls -dL / >/dev/null 2>&1; then
14360 if test -d "$1"; then
14366 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14367 ???[sx]*):;;*)false;;esac;fi
14371 as_executable_p=$as_test_x
14373 # Sed expression to map a string onto a valid CPP name.
14374 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14376 # Sed expression to map a string onto a valid variable name.
14377 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14382 # Save the log message, to keep $[0] and so on meaningful, and to
14383 # report actual input values of CONFIG_FILES etc. instead of their
14384 # values after options handling.
14386 This file was extended by MPEG Audio Decoder $as_me 0.15.1b, which was
14387 generated by GNU Autoconf 2.63. Invocation command line was
14389 CONFIG_FILES = $CONFIG_FILES
14390 CONFIG_HEADERS = $CONFIG_HEADERS
14391 CONFIG_LINKS = $CONFIG_LINKS
14392 CONFIG_COMMANDS = $CONFIG_COMMANDS
14395 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14400 case $ac_config_files in *"
14401 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14404 case $ac_config_headers in *"
14405 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14410 # Files that config.status was made for.
14411 config_files="$ac_config_files"
14412 config_headers="$ac_config_headers"
14413 config_commands="$ac_config_commands"
14417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14419 \`$as_me' instantiates files from templates according to the
14420 current configuration.
14422 Usage: $0 [OPTION]... [FILE]...
14424 -h, --help print this help, then exit
14425 -V, --version print version number and configuration settings, then exit
14426 -q, --quiet, --silent
14427 do not print progress messages
14428 -d, --debug don't remove temporary files
14429 --recheck update $as_me by reconfiguring in the same conditions
14430 --file=FILE[:TEMPLATE]
14431 instantiate the configuration file FILE
14432 --header=FILE[:TEMPLATE]
14433 instantiate the configuration header FILE
14435 Configuration files:
14438 Configuration headers:
14441 Configuration commands:
14444 Report bugs to <bug-autoconf@gnu.org>."
14447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14449 MPEG Audio Decoder config.status 0.15.1b
14450 configured by $0, generated by GNU Autoconf 2.63,
14451 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14453 Copyright (C) 2008 Free Software Foundation, Inc.
14454 This config.status script is free software; the Free Software Foundation
14455 gives unlimited permission to copy, distribute and modify it."
14462 test -n "\$AWK" || AWK=awk
14465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14466 # The default lists apply if the user does not specify any file.
14472 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14473 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14484 # Handling of the options.
14485 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14487 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14488 $as_echo "$ac_cs_version"; exit ;;
14489 --debug | --debu | --deb | --de | --d | -d )
14491 --file | --fil | --fi | --f )
14494 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14496 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14497 ac_need_defaults=false;;
14498 --header | --heade | --head | --hea )
14501 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14503 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14504 ac_need_defaults=false;;
14506 # Conflict between --help and --header
14507 { $as_echo "$as_me: error: ambiguous option: $1
14508 Try \`$0 --help' for more information." >&2
14509 { (exit 1); exit 1; }; };;
14510 --help | --hel | -h )
14511 $as_echo "$ac_cs_usage"; exit ;;
14512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14513 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14516 # This is an error.
14517 -*) { $as_echo "$as_me: error: unrecognized option: $1
14518 Try \`$0 --help' for more information." >&2
14519 { (exit 1); exit 1; }; } ;;
14521 *) ac_config_targets="$ac_config_targets $1"
14522 ac_need_defaults=false ;;
14528 ac_configure_extra_args=
14530 if $ac_cs_silent; then
14532 ac_configure_extra_args="$ac_configure_extra_args --silent"
14536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14537 if \$ac_cs_recheck; then
14538 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14540 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14541 CONFIG_SHELL='$SHELL'
14542 export CONFIG_SHELL
14547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14551 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14552 ## Running $as_me. ##
14558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14562 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14565 # The HP-UX ksh and POSIX shell print the target directory to stdout
14566 # if CDPATH is set.
14567 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14569 sed_quote_subst='$sed_quote_subst'
14570 double_quote_subst='$double_quote_subst'
14571 delay_variable_subst='$delay_variable_subst'
14572 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14573 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14574 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14575 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14576 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14577 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14578 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14579 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14580 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14581 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14582 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14583 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14584 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14585 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14586 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14587 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14588 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14589 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14590 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14591 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14592 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14593 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14594 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14595 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14596 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14597 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14598 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14599 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14600 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14601 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14602 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14603 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14604 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14605 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14606 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14607 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14608 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14609 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14610 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14611 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14612 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14613 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14614 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14615 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14616 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"`'
14617 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"`'
14618 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14619 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14620 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14621 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14622 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14623 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14624 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14625 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14626 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14627 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14628 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14629 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14630 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14631 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14632 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14633 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14634 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14635 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14636 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14637 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14638 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14639 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14640 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14641 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14642 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14643 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14644 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14645 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14646 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14647 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14648 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14649 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14650 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14651 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14652 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14653 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14654 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14655 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14656 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14657 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14658 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14659 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14660 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14661 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14662 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14663 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14664 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14665 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14666 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14667 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14668 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14669 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14670 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14671 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14672 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14673 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14674 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14675 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14676 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14677 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14678 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14679 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14680 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14681 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14682 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14683 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14684 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14685 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14686 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14687 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14688 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14689 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14692 LTCFLAGS='$LTCFLAGS'
14693 compiler='$compiler_DEFAULT'
14695 # Quote evaled strings.
14707 deplibs_check_method \
14716 lt_cv_sys_global_symbol_pipe \
14717 lt_cv_sys_global_symbol_to_cdecl \
14718 lt_cv_sys_global_symbol_to_c_name_address \
14719 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14722 lt_prog_compiler_no_builtin_flag \
14723 lt_prog_compiler_wl \
14724 lt_prog_compiler_pic \
14725 lt_prog_compiler_static \
14726 lt_cv_prog_compiler_c_o \
14734 export_dynamic_flag_spec \
14735 whole_archive_flag_spec \
14736 compiler_needs_object \
14738 allow_undefined_flag \
14739 no_undefined_flag \
14740 hardcode_libdir_flag_spec \
14741 hardcode_libdir_flag_spec_ld \
14742 hardcode_libdir_separator \
14747 variables_saved_for_relink \
14749 library_names_spec \
14754 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14755 *[\\\\\\\`\\"\\\$]*)
14756 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14759 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14764 # Double-quote double-evaled strings.
14765 for var in reload_cmds \
14766 old_postinstall_cmds \
14767 old_postuninstall_cmds \
14769 extract_expsyms_cmds \
14770 old_archive_from_new_cmds \
14771 old_archive_from_expsyms_cmds \
14773 archive_expsym_cmds \
14775 module_expsym_cmds \
14776 export_symbols_cmds \
14779 postuninstall_cmds \
14781 sys_lib_search_path_spec \
14782 sys_lib_dlsearch_path_spec; do
14783 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14784 *[\\\\\\\`\\"\\\$]*)
14785 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14788 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14793 # Fix-up fallback echo if it was mangled by the above quoting rules.
14795 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14799 ac_aux_dir='$ac_aux_dir'
14800 xsi_shell='$xsi_shell'
14801 lt_shell_append='$lt_shell_append'
14803 # See if we are running on zsh, and set the options which allow our
14804 # commands through without removal of \ escapes INIT.
14805 if test -n "\${ZSH_VERSION+set}" ; then
14806 setopt NO_GLOB_SUBST
14812 TIMESTAMP='$TIMESTAMP'
14821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14823 # Handling of arguments.
14824 for ac_config_target in $ac_config_targets
14826 case $ac_config_target in
14827 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14828 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14829 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14830 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14831 "msvc++/Makefile") CONFIG_FILES="$CONFIG_FILES msvc++/Makefile" ;;
14832 "libmad.list") CONFIG_FILES="$CONFIG_FILES libmad.list" ;;
14834 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14835 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14836 { (exit 1); exit 1; }; };;
14841 # If the user did not use the arguments to specify the items to instantiate,
14842 # then the envvar interface is used. Set only those that are not.
14843 # We use the long form for the default assignment because of an extremely
14844 # bizarre bug on SunOS 4.1.3.
14845 if $ac_need_defaults; then
14846 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14847 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14848 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14851 # Have a temporary directory for convenience. Make it in the build tree
14852 # simply because there is no reason against having it here, and in addition,
14853 # creating and moving files from /tmp can sometimes cause problems.
14854 # Hook for its removal unless debugging.
14855 # Note that there is a small window in which the directory will not be cleaned:
14856 # after its creation but before its name has been assigned to `$tmp'.
14860 trap 'exit_status=$?
14861 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14863 trap '{ (exit 1); exit 1; }' 1 2 13 15
14865 # Create a (secure) tmp directory for tmp files.
14868 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14869 test -n "$tmp" && test -d "$tmp"
14872 tmp=./conf$$-$RANDOM
14873 (umask 077 && mkdir "$tmp")
14876 $as_echo "$as_me: cannot create a temporary directory in ." >&2
14877 { (exit 1); exit 1; }
14880 # Set up the scripts for CONFIG_FILES section.
14881 # No need to generate them if there are no CONFIG_FILES.
14882 # This happens for instance with `./config.status config.h'.
14883 if test -n "$CONFIG_FILES"; then
14887 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14888 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14891 ac_cs_awk_cr=$ac_cr
14894 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14899 echo "cat >conf$$subs.awk <<_ACEOF" &&
14900 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14902 } >conf$$subs.sh ||
14903 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14904 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14905 { (exit 1); exit 1; }; }
14906 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14908 for ac_last_try in false false false false false :; do
14909 . ./conf$$subs.sh ||
14910 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14911 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14912 { (exit 1); exit 1; }; }
14914 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14915 if test $ac_delim_n = $ac_delim_num; then
14917 elif $ac_last_try; then
14918 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14919 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14920 { (exit 1); exit 1; }; }
14922 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14925 rm -f conf$$subs.sh
14927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14928 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14932 s/^/S["/; s/!.*/"]=/
14942 s/\(.\{148\}\).*/\1/
14944 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14949 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14956 s/\(.\{148\}\).*/\1/
14958 s/["\\]/\\&/g; s/^/"/; s/$/"/
14962 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14967 ' <conf$$subs.awk | sed '
14972 ' >>$CONFIG_STATUS || ac_write_fail=1
14973 rm -f conf$$subs.awk
14974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14976 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14977 for (key in S) S_is_set[key] = 1
14983 nfields = split(line, field, "@")
14985 len = length(field[1])
14986 for (i = 2; i < nfields; i++) {
14988 keylen = length(key)
14989 if (S_is_set[key]) {
14991 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14992 len += length(value) + length(field[++i])
15003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15004 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15005 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15008 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15009 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
15010 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
15011 { (exit 1); exit 1; }; }
15014 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15015 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15016 # trailing colons and then remove the whole line if VPATH becomes empty
15017 # (actually we leave an empty line to preserve line numbers).
15018 if test "x$srcdir" = x.; then
15019 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15020 s/:*\$(srcdir):*/:/
15021 s/:*\${srcdir}:*/:/
15023 s/^\([^=]*=[ ]*\):*/\1/
15029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15030 fi # test -n "$CONFIG_FILES"
15032 # Set up the scripts for CONFIG_HEADERS section.
15033 # No need to generate them if there are no CONFIG_HEADERS.
15034 # This happens for instance with `./config.status Makefile'.
15035 if test -n "$CONFIG_HEADERS"; then
15036 cat >"$tmp/defines.awk" <<\_ACAWK ||
15040 # Transform confdefs.h into an awk script `defines.awk', embedded as
15041 # here-document in config.status, that substitutes the proper values into
15042 # config.h.in to produce config.h.
15044 # Create a delimiter string that does not exist in confdefs.h, to ease
15045 # handling of long lines.
15047 for ac_last_try in false false :; do
15048 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15049 if test -z "$ac_t"; then
15051 elif $ac_last_try; then
15052 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
15053 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
15054 { (exit 1); exit 1; }; }
15056 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15060 # For the awk script, D is an array of macro values keyed by name,
15061 # likewise P contains macro parameters if any. Preserve backslash
15062 # newline sequences.
15064 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15066 s/.\{148\}/&'"$ac_delim"'/g
15069 s/^[ ]*#[ ]*define[ ][ ]*/ /
15076 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15078 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15082 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15083 D["\1"]=" \3\\\\\\n"\\/p
15085 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15090 s/.\{148\}/&'"$ac_delim"'/g
15095 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15098 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15100 ' <confdefs.h | sed '
15101 s/'"$ac_delim"'/"\\\
15102 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15105 for (key in D) D_is_set[key] = 1
15108 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15110 split(line, arg, " ")
15111 if (arg[1] == "#") {
15115 defundef = substr(arg[1], 2)
15118 split(mac1, mac2, "(") #)
15120 prefix = substr(line, 1, index(line, defundef) - 1)
15121 if (D_is_set[macro]) {
15122 # Preserve the white space surrounding the "#".
15123 print prefix "define", macro P[macro] D[macro]
15126 # Replace #undef with comments. This is necessary, for example,
15127 # in the case of _POSIX_SOURCE, which is predefined and required
15128 # on some systems where configure will not decide to define it.
15129 if (defundef == "undef") {
15130 print "/*", prefix defundef, macro, "*/"
15138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15139 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
15140 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
15141 { (exit 1); exit 1; }; }
15142 fi # test -n "$CONFIG_HEADERS"
15145 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15150 :[FHLC]) ac_mode=$ac_tag; continue;;
15152 case $ac_mode$ac_tag in
15154 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
15155 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
15156 { (exit 1); exit 1; }; };;
15157 :[FH]-) ac_tag=-:-;;
15158 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15175 -) ac_f="$tmp/stdin";;
15176 *) # Look for the file first in the build tree, then in the source tree
15177 # (if the path is not absolute). The absolute path cannot be DOS-style,
15178 # because $ac_f cannot contain `:'.
15182 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15184 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15185 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15186 { (exit 1); exit 1; }; };;
15188 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15189 ac_file_inputs="$ac_file_inputs '$ac_f'"
15192 # Let's still pretend it is `configure' which instantiates (i.e., don't
15193 # use $as_me), people would be surprised to read:
15194 # /* config.h. Generated by config.status. */
15195 configure_input='Generated from '`
15196 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15198 if test x"$ac_file" != x-; then
15199 configure_input="$ac_file. $configure_input"
15200 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
15201 $as_echo "$as_me: creating $ac_file" >&6;}
15203 # Neutralize special characters interpreted by sed in replacement strings.
15204 case $configure_input in #(
15205 *\&* | *\|* | *\\* )
15206 ac_sed_conf_input=`$as_echo "$configure_input" |
15207 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15208 *) ac_sed_conf_input=$configure_input;;
15212 *:-:* | *:-) cat >"$tmp/stdin" \
15213 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15214 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15215 { (exit 1); exit 1; }; } ;;
15220 ac_dir=`$as_dirname -- "$ac_file" ||
15221 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15222 X"$ac_file" : 'X\(//\)[^/]' \| \
15223 X"$ac_file" : 'X\(//\)$' \| \
15224 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15225 $as_echo X"$ac_file" |
15226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15230 /^X\(\/\/\)[^/].*/{
15245 -*) as_dir=./$as_dir;;
15247 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15251 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15252 *) as_qdir=$as_dir;;
15254 as_dirs="'$as_qdir' $as_dirs"
15255 as_dir=`$as_dirname -- "$as_dir" ||
15256 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15257 X"$as_dir" : 'X\(//\)[^/]' \| \
15258 X"$as_dir" : 'X\(//\)$' \| \
15259 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15260 $as_echo X"$as_dir" |
15261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15265 /^X\(\/\/\)[^/].*/{
15278 test -d "$as_dir" && break
15280 test -z "$as_dirs" || eval "mkdir $as_dirs"
15281 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15282 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15283 { (exit 1); exit 1; }; }; }
15287 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15289 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15290 # A ".." for each directory in $ac_dir_suffix.
15291 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15292 case $ac_top_builddir_sub in
15293 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15294 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15297 ac_abs_top_builddir=$ac_pwd
15298 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15299 # for backward compatibility:
15300 ac_top_builddir=$ac_top_build_prefix
15303 .) # We are building in place.
15305 ac_top_srcdir=$ac_top_builddir_sub
15306 ac_abs_top_srcdir=$ac_pwd ;;
15307 [\\/]* | ?:[\\/]* ) # Absolute name.
15308 ac_srcdir=$srcdir$ac_dir_suffix;
15309 ac_top_srcdir=$srcdir
15310 ac_abs_top_srcdir=$srcdir ;;
15311 *) # Relative name.
15312 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15313 ac_top_srcdir=$ac_top_build_prefix$srcdir
15314 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15316 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15326 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15327 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15329 ac_MKDIR_P=$MKDIR_P
15331 [\\/$]* | ?:[\\/]* ) ;;
15332 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15337 # If the template does not know about datarootdir, expand it.
15338 # FIXME: This hack should be removed a few years after 2.60.
15339 ac_datarootdir_hack=; ac_datarootdir_seen=
15352 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15353 *datarootdir*) ac_datarootdir_seen=yes;;
15354 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15355 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15356 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15359 ac_datarootdir_hack='
15360 s&@datadir@&$datadir&g
15361 s&@docdir@&$docdir&g
15362 s&@infodir@&$infodir&g
15363 s&@localedir@&$localedir&g
15364 s&@mandir@&$mandir&g
15365 s&\\\${datarootdir}&$datarootdir&g' ;;
15369 # Neutralize VPATH when `$srcdir' = `.'.
15370 # Shell code in configure.ac might set extrasub.
15371 # FIXME: do we really want to maintain this feature?
15372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15373 ac_sed_extra="$ac_vpsub
15376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15378 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15379 s|@configure_input@|$ac_sed_conf_input|;t t
15380 s&@top_builddir@&$ac_top_builddir_sub&;t t
15381 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15382 s&@srcdir@&$ac_srcdir&;t t
15383 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15384 s&@top_srcdir@&$ac_top_srcdir&;t t
15385 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15386 s&@builddir@&$ac_builddir&;t t
15387 s&@abs_builddir@&$ac_abs_builddir&;t t
15388 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15389 s&@INSTALL@&$ac_INSTALL&;t t
15390 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15391 $ac_datarootdir_hack
15393 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15394 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15395 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15396 { (exit 1); exit 1; }; }
15398 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15399 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15400 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15401 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15402 which seems to be undefined. Please make sure it is defined." >&5
15403 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15404 which seems to be undefined. Please make sure it is defined." >&2;}
15408 -) cat "$tmp/out" && rm -f "$tmp/out";;
15409 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15411 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15412 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15413 { (exit 1); exit 1; }; }
15419 if test x"$ac_file" != x-; then
15421 $as_echo "/* $configure_input */" \
15422 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15423 } >"$tmp/config.h" \
15424 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15425 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15426 { (exit 1); exit 1; }; }
15427 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15428 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15429 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15432 mv "$tmp/config.h" "$ac_file" \
15433 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15434 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15435 { (exit 1); exit 1; }; }
15438 $as_echo "/* $configure_input */" \
15439 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15440 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15441 $as_echo "$as_me: error: could not create -" >&2;}
15442 { (exit 1); exit 1; }; }
15444 # Compute "$ac_file"'s index in $config_headers.
15447 for _am_header in $config_headers :; do
15448 case $_am_header in
15449 $_am_arg | $_am_arg:* )
15452 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15455 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15456 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15457 X"$_am_arg" : 'X\(//\)[^/]' \| \
15458 X"$_am_arg" : 'X\(//\)$' \| \
15459 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15460 $as_echo X"$_am_arg" |
15461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15465 /^X\(\/\/\)[^/].*/{
15477 s/.*/./; q'`/stamp-h$_am_stamp_count
15480 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15481 $as_echo "$as_me: executing $ac_file commands" >&6;}
15486 case $ac_file$ac_mode in
15487 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
15488 # are listed without --file. Let's play safe and only enable the eval
15489 # if we detect the quoting.
15490 case $CONFIG_FILES in
15491 *\'*) eval set x "$CONFIG_FILES" ;;
15492 *) set x $CONFIG_FILES ;;
15497 # Strip MF so we end up with the name of the file.
15498 mf=`echo "$mf" | sed -e 's/:.*$//'`
15499 # Check whether this is an Automake generated Makefile or not.
15500 # We used to match only the files named `Makefile.in', but
15501 # some people rename them; so instead we look at the file content.
15502 # Grep'ing the first line is not enough: some people post-process
15503 # each Makefile.in and add a new line on top of each file to say so.
15504 # Grep'ing the whole file is not good either: AIX grep has a line
15505 # limit of 2048, but all sed's we know have understand at least 4000.
15506 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15507 dirpart=`$as_dirname -- "$mf" ||
15508 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15509 X"$mf" : 'X\(//\)[^/]' \| \
15510 X"$mf" : 'X\(//\)$' \| \
15511 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15517 /^X\(\/\/\)[^/].*/{
15533 # Extract the definition of DEPDIR, am__include, and am__quote
15534 # from the Makefile without running `make'.
15535 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15536 test -z "$DEPDIR" && continue
15537 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15538 test -z "am__include" && continue
15539 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15540 # When using ansi2knr, U may be empty or an underscore; expand it
15541 U=`sed -n 's/^U = //p' < "$mf"`
15542 # Find all dependency output files, they are included files with
15543 # $(DEPDIR) in their names. We invoke sed twice because it is the
15544 # simplest approach to changing $(DEPDIR) to its actual value in the
15546 for file in `sed -n "
15547 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15548 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15549 # Make sure the directory exists.
15550 test -f "$dirpart/$file" && continue
15551 fdir=`$as_dirname -- "$file" ||
15552 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15553 X"$file" : 'X\(//\)[^/]' \| \
15554 X"$file" : 'X\(//\)$' \| \
15555 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15556 $as_echo X"$file" |
15557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15561 /^X\(\/\/\)[^/].*/{
15574 { as_dir=$dirpart/$fdir
15576 -*) as_dir=./$as_dir;;
15578 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15582 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15583 *) as_qdir=$as_dir;;
15585 as_dirs="'$as_qdir' $as_dirs"
15586 as_dir=`$as_dirname -- "$as_dir" ||
15587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15588 X"$as_dir" : 'X\(//\)[^/]' \| \
15589 X"$as_dir" : 'X\(//\)$' \| \
15590 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15591 $as_echo X"$as_dir" |
15592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15596 /^X\(\/\/\)[^/].*/{
15609 test -d "$as_dir" && break
15611 test -z "$as_dirs" || eval "mkdir $as_dirs"
15612 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15613 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15614 { (exit 1); exit 1; }; }; }
15615 # echo "creating $dirpart/$file"
15616 echo '# dummy' > "$dirpart/$file"
15622 # See if we are running on zsh, and set the options which allow our
15623 # commands through without removal of \ escapes.
15624 if test -n "${ZSH_VERSION+set}" ; then
15625 setopt NO_GLOB_SUBST
15628 cfgfile="${ofile}T"
15629 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15632 cat <<_LT_EOF >> "$cfgfile"
15635 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15636 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15637 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15638 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15640 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15641 # 2006, 2007, 2008 Free Software Foundation, Inc.
15642 # Written by Gordon Matzigkeit, 1996
15644 # This file is part of GNU Libtool.
15646 # GNU Libtool is free software; you can redistribute it and/or
15647 # modify it under the terms of the GNU General Public License as
15648 # published by the Free Software Foundation; either version 2 of
15649 # the License, or (at your option) any later version.
15651 # As a special exception to the GNU General Public License,
15652 # if you distribute this file as part of a program or library that
15653 # is built using GNU Libtool, you may include this file under the
15654 # same distribution terms that you use for the rest of that program.
15656 # GNU Libtool is distributed in the hope that it will be useful,
15657 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15658 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15659 # GNU General Public License for more details.
15661 # You should have received a copy of the GNU General Public License
15662 # along with GNU Libtool; see the file COPYING. If not, a copy
15663 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15664 # obtained by writing to the Free Software Foundation, Inc.,
15665 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15668 # The names of the tagged configurations supported by this script.
15671 # ### BEGIN LIBTOOL CONFIG
15673 # Which release of libtool.m4 was used?
15674 macro_version=$macro_version
15675 macro_revision=$macro_revision
15677 # Whether or not to build shared libraries.
15678 build_libtool_libs=$enable_shared
15680 # Whether or not to build static libraries.
15681 build_old_libs=$enable_static
15683 # What type of objects to build.
15686 # Whether or not to optimize for fast installation.
15687 fast_install=$enable_fast_install
15690 host_alias=$host_alias
15694 # The build system.
15695 build_alias=$build_alias
15699 # A sed program that does not truncate output.
15702 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15703 Xsed="\$SED -e 1s/^X//"
15705 # A grep program that handles long lines.
15711 # A literal string matcher.
15714 # A BSD- or MS-compatible name lister.
15717 # Whether we need soft or hard links.
15720 # What is the maximum length of a command?
15721 max_cmd_len=$max_cmd_len
15723 # Object file suffix (normally "o").
15726 # Executable file suffix (normally "").
15729 # whether the shell understands "unset".
15732 # turn spaces into newlines.
15735 # turn newlines into spaces.
15738 # How to create reloadable object files.
15739 reload_flag=$lt_reload_flag
15740 reload_cmds=$lt_reload_cmds
15742 # An object symbol dumper.
15743 OBJDUMP=$lt_OBJDUMP
15745 # Method to check whether dependent libraries are shared objects.
15746 deplibs_check_method=$lt_deplibs_check_method
15748 # Command to use when deplibs_check_method == "file_magic".
15749 file_magic_cmd=$lt_file_magic_cmd
15753 AR_FLAGS=$lt_AR_FLAGS
15755 # A symbol stripping program.
15758 # Commands used to install an old-style archive.
15760 old_postinstall_cmds=$lt_old_postinstall_cmds
15761 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15766 # LTCC compiler flags.
15767 LTCFLAGS=$lt_CFLAGS
15769 # Take the output of nm and produce a listing of raw symbols and C names.
15770 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15772 # Transform the output of nm in a proper C declaration.
15773 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15775 # Transform the output of nm in a C name address pair.
15776 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15778 # Transform the output of nm in a C name address pair when lib prefix is needed.
15779 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15781 # The name of the directory that contains temporary libtool files.
15784 # Shell to use when invoking shell scripts.
15787 # An echo program that does not interpret backslashes.
15790 # Used to examine libraries when file_magic_cmd begins with "file".
15791 MAGIC_CMD=$MAGIC_CMD
15793 # Must we lock files when doing compilation?
15794 need_locks=$lt_need_locks
15796 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15797 DSYMUTIL=$lt_DSYMUTIL
15799 # Tool to change global to local symbols on Mac OS X.
15802 # Tool to manipulate fat objects and archives on Mac OS X.
15805 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15808 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15809 OTOOL64=$lt_OTOOL64
15811 # Old archive suffix (normally "a").
15814 # Shared library suffix (normally ".so").
15815 shrext_cmds=$lt_shrext_cmds
15817 # The commands to extract the exported symbol list from a shared archive.
15818 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15820 # Variables whose values should be saved in libtool wrapper scripts and
15821 # restored at link time.
15822 variables_saved_for_relink=$lt_variables_saved_for_relink
15824 # Do we need the "lib" prefix for modules?
15825 need_lib_prefix=$need_lib_prefix
15827 # Do we need a version for libraries?
15828 need_version=$need_version
15830 # Library versioning type.
15831 version_type=$version_type
15833 # Shared library runtime path variable.
15834 runpath_var=$runpath_var
15836 # Shared library path variable.
15837 shlibpath_var=$shlibpath_var
15839 # Is shlibpath searched before the hard-coded library search path?
15840 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15842 # Format of library name prefix.
15843 libname_spec=$lt_libname_spec
15845 # List of archive names. First name is the real one, the rest are links.
15846 # The last name is the one that the linker finds with -lNAME
15847 library_names_spec=$lt_library_names_spec
15849 # The coded name of the library, if different from the real name.
15850 soname_spec=$lt_soname_spec
15852 # Command to use after installation of a shared archive.
15853 postinstall_cmds=$lt_postinstall_cmds
15855 # Command to use after uninstallation of a shared archive.
15856 postuninstall_cmds=$lt_postuninstall_cmds
15858 # Commands used to finish a libtool library installation in a directory.
15859 finish_cmds=$lt_finish_cmds
15861 # As "finish_cmds", except a single script fragment to be evaled but
15863 finish_eval=$lt_finish_eval
15865 # Whether we should hardcode library paths into libraries.
15866 hardcode_into_libs=$hardcode_into_libs
15868 # Compile-time system search path for libraries.
15869 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15871 # Run-time system search path for libraries.
15872 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15874 # Whether dlopen is supported.
15875 dlopen_support=$enable_dlopen
15877 # Whether dlopen of programs is supported.
15878 dlopen_self=$enable_dlopen_self
15880 # Whether dlopen of statically linked programs is supported.
15881 dlopen_self_static=$enable_dlopen_self_static
15883 # Commands to strip libraries.
15884 old_striplib=$lt_old_striplib
15885 striplib=$lt_striplib
15888 # The linker used to build libraries.
15891 # Commands used to build an old-style archive.
15892 old_archive_cmds=$lt_old_archive_cmds
15894 # A language specific compiler.
15897 # Is the compiler the GNU compiler?
15900 # Compiler flag to turn off builtin functions.
15901 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15903 # How to pass a linker flag through the compiler.
15904 wl=$lt_lt_prog_compiler_wl
15906 # Additional compiler flags for building library objects.
15907 pic_flag=$lt_lt_prog_compiler_pic
15909 # Compiler flag to prevent dynamic linking.
15910 link_static_flag=$lt_lt_prog_compiler_static
15912 # Does compiler simultaneously support -c and -o options?
15913 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15915 # Whether or not to add -lc for building shared libraries.
15916 build_libtool_need_lc=$archive_cmds_need_lc
15918 # Whether or not to disallow shared libs when runtime libs are static.
15919 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15921 # Compiler flag to allow reflexive dlopens.
15922 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15924 # Compiler flag to generate shared objects directly from archives.
15925 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15927 # Whether the compiler copes with passing no objects directly.
15928 compiler_needs_object=$lt_compiler_needs_object
15930 # Create an old-style archive from a shared archive.
15931 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15933 # Create a temporary old-style archive to link instead of a shared archive.
15934 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15936 # Commands used to build a shared archive.
15937 archive_cmds=$lt_archive_cmds
15938 archive_expsym_cmds=$lt_archive_expsym_cmds
15940 # Commands used to build a loadable module if different from building
15941 # a shared archive.
15942 module_cmds=$lt_module_cmds
15943 module_expsym_cmds=$lt_module_expsym_cmds
15945 # Whether we are building with GNU ld or not.
15946 with_gnu_ld=$lt_with_gnu_ld
15948 # Flag that allows shared libraries with undefined symbols to be built.
15949 allow_undefined_flag=$lt_allow_undefined_flag
15951 # Flag that enforces no undefined symbols.
15952 no_undefined_flag=$lt_no_undefined_flag
15954 # Flag to hardcode \$libdir into a binary during linking.
15955 # This must work even if \$libdir does not exist
15956 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15958 # If ld is used when linking, flag to hardcode \$libdir into a binary
15959 # during linking. This must work even if \$libdir does not exist.
15960 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15962 # Whether we need a single "-rpath" flag with a separated argument.
15963 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15965 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15966 # DIR into the resulting binary.
15967 hardcode_direct=$hardcode_direct
15969 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15970 # DIR into the resulting binary and the resulting library dependency is
15971 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15972 # library is relocated.
15973 hardcode_direct_absolute=$hardcode_direct_absolute
15975 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15976 # into the resulting binary.
15977 hardcode_minus_L=$hardcode_minus_L
15979 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15980 # into the resulting binary.
15981 hardcode_shlibpath_var=$hardcode_shlibpath_var
15983 # Set to "yes" if building a shared library automatically hardcodes DIR
15984 # into the library and all subsequent libraries and executables linked
15986 hardcode_automatic=$hardcode_automatic
15988 # Set to yes if linker adds runtime paths of dependent libraries
15989 # to runtime path list.
15990 inherit_rpath=$inherit_rpath
15992 # Whether libtool must link a program against all its dependency libraries.
15993 link_all_deplibs=$link_all_deplibs
15995 # Fix the shell variable \$srcfile for the compiler.
15996 fix_srcfile_path=$lt_fix_srcfile_path
15998 # Set to "yes" if exported symbols are required.
15999 always_export_symbols=$always_export_symbols
16001 # The commands to list exported symbols.
16002 export_symbols_cmds=$lt_export_symbols_cmds
16004 # Symbols that should not be listed in the preloaded symbols.
16005 exclude_expsyms=$lt_exclude_expsyms
16007 # Symbols that must always be exported.
16008 include_expsyms=$lt_include_expsyms
16010 # Commands necessary for linking programs (against libraries) with templates.
16011 prelink_cmds=$lt_prelink_cmds
16013 # Specify filename containing input files.
16014 file_list_spec=$lt_file_list_spec
16016 # How to hardcode a shared library path into an executable.
16017 hardcode_action=$hardcode_action
16019 # ### END LIBTOOL CONFIG
16025 cat <<\_LT_EOF >> "$cfgfile"
16026 # AIX sometimes has problems with the GCC collect2 program. For some
16027 # reason, if we set the COLLECT_NAMES environment variable, the problems
16028 # vanish in a puff of smoke.
16029 if test "X${COLLECT_NAMES+set}" != Xset; then
16031 export COLLECT_NAMES
16038 ltmain="$ac_aux_dir/ltmain.sh"
16041 # We use sed instead of cat because bash on DJGPP gets confused if
16042 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16043 # text mode, it properly converts lines to CR/LF. This bash problem
16044 # is reportedly fixed, but why not run on old versions too?
16045 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16046 || (rm -f "$cfgfile"; exit 1)
16050 cat << \_LT_EOF >> "$cfgfile"
16052 # func_dirname file append nondir_replacement
16053 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16054 # otherwise set result to NONDIR_REPLACEMENT.
16058 */*) func_dirname_result="${1%/*}${2}" ;;
16059 * ) func_dirname_result="${3}" ;;
16063 # func_basename file
16066 func_basename_result="${1##*/}"
16069 # func_dirname_and_basename file append nondir_replacement
16070 # perform func_basename and func_dirname in a single function
16072 # dirname: Compute the dirname of FILE. If nonempty,
16073 # add APPEND to the result, otherwise set result
16074 # to NONDIR_REPLACEMENT.
16075 # value returned in "$func_dirname_result"
16076 # basename: Compute filename of FILE.
16077 # value retuned in "$func_basename_result"
16078 # Implementation must be kept synchronized with func_dirname
16079 # and func_basename. For efficiency, we do not delegate to
16080 # those functions but instead duplicate the functionality here.
16081 func_dirname_and_basename ()
16084 */*) func_dirname_result="${1%/*}${2}" ;;
16085 * ) func_dirname_result="${3}" ;;
16087 func_basename_result="${1##*/}"
16090 # func_stripname prefix suffix name
16091 # strip PREFIX and SUFFIX off of NAME.
16092 # PREFIX and SUFFIX must not contain globbing or regex special
16093 # characters, hashes, percent signs, but SUFFIX may contain a leading
16094 # dot (in which case that matches only a dot).
16097 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16098 # positional parameters, so assign one to ordinary parameter first.
16099 func_stripname_result=${3}
16100 func_stripname_result=${func_stripname_result#"${1}"}
16101 func_stripname_result=${func_stripname_result%"${2}"}
16107 func_opt_split_opt=${1%%=*}
16108 func_opt_split_arg=${1#*=}
16115 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16116 *) func_lo2o_result=${1} ;;
16120 # func_xform libobj-or-source
16123 func_xform_result=${1%.*}.lo
16126 # func_arith arithmetic-term...
16129 func_arith_result=$(( $* ))
16133 # STRING may not start with a hyphen.
16136 func_len_result=${#1}
16141 *) # Bourne compatible functions.
16142 cat << \_LT_EOF >> "$cfgfile"
16144 # func_dirname file append nondir_replacement
16145 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16146 # otherwise set result to NONDIR_REPLACEMENT.
16149 # Extract subdirectory from the argument.
16150 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16151 if test "X$func_dirname_result" = "X${1}"; then
16152 func_dirname_result="${3}"
16154 func_dirname_result="$func_dirname_result${2}"
16158 # func_basename file
16161 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16165 # func_stripname prefix suffix name
16166 # strip PREFIX and SUFFIX off of NAME.
16167 # PREFIX and SUFFIX must not contain globbing or regex special
16168 # characters, hashes, percent signs, but SUFFIX may contain a leading
16169 # dot (in which case that matches only a dot).
16170 # func_strip_suffix prefix name
16174 .*) func_stripname_result=`$ECHO "X${3}" \
16175 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16176 *) func_stripname_result=`$ECHO "X${3}" \
16177 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16182 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16183 my_sed_long_arg='1s/^-[^=]*=//'
16188 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16189 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16195 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16198 # func_xform libobj-or-source
16201 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16204 # func_arith arithmetic-term...
16207 func_arith_result=`expr "$@"`
16211 # STRING may not start with a hyphen.
16214 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16220 case $lt_shell_append in
16222 cat << \_LT_EOF >> "$cfgfile"
16224 # func_append var value
16225 # Append VALUE to the end of shell variable VAR.
16233 cat << \_LT_EOF >> "$cfgfile"
16235 # func_append var value
16236 # Append VALUE to the end of shell variable VAR.
16247 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16248 || (rm -f "$cfgfile"; exit 1)
16250 mv -f "$cfgfile" "$ofile" ||
16251 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16260 { (exit 0); exit 0; }
16262 chmod +x $CONFIG_STATUS
16263 ac_clean_files=$ac_clean_files_save
16265 test $ac_write_fail = 0 ||
16266 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16267 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16268 { (exit 1); exit 1; }; }
16271 # configure is writing to config.log, and then calls config.status.
16272 # config.status does its own redirection, appending to config.log.
16273 # Unfortunately, on DOS this fails, as config.log is still kept open
16274 # by configure, so config.status won't be able to write to it; its
16275 # output is simply discarded. So we exec the FD to /dev/null,
16276 # effectively closing config.log, so it can be properly (re)opened and
16277 # appended to by config.status. When coming back to configure, we
16278 # need to make the FD available again.
16279 if test "$no_create" != yes; then
16281 ac_config_status_args=
16282 test "$silent" = yes &&
16283 ac_config_status_args="$ac_config_status_args --quiet"
16285 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16287 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16288 # would make configure fail if this is the last instruction.
16289 $ac_cs_success || { (exit 1); exit 1; }
16291 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16292 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16293 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}