2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for libasyncns 0.8.
5 # Report bugs to <mznflapaf (at) 0pointer (dot) de>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo; then
592 # Avoid inline document here, it may be left over
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $ECHO works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
615 if test -z "$lt_ECHO"; then
616 if test "X${echo_test_string+set}" != Xset; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # The Solaris, AIX, and Digital Unix default echo programs unquote
634 # backslashes. This makes it impossible to quote backslashes using
635 # echo "$something" | sed 's/\\/\\\\/g'
637 # So, first we look for a working echo in the user's PATH.
639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640 for dir in $PATH /usr/ucb; do
642 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
652 if test "X$ECHO" = Xecho; then
653 # We didn't find a better echo, so look for alternatives.
654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 # This shell has a builtin print -r that does the trick.
659 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660 test "X$CONFIG_SHELL" != X/bin/ksh; then
661 # If we have ksh, try running configure again with it.
662 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663 export ORIGINAL_CONFIG_SHELL
664 CONFIG_SHELL=/bin/ksh
666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
675 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676 test "X$echo_testing_string" = 'X\t' &&
677 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678 test "X$echo_testing_string" = "X$echo_test_string"; then
679 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681 SHELL="$CONFIG_SHELL"
683 ECHO="$CONFIG_SHELL $0 --fallback-echo"
684 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685 test "X$echo_testing_string" = 'X\t' &&
686 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687 test "X$echo_testing_string" = "X$echo_test_string"; then
688 ECHO="$CONFIG_SHELL $0 --fallback-echo"
690 # maybe with a smaller string...
693 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
701 if test "$prev" != 'sed 50q "$0"'; then
702 echo_test_string=`eval $prev`
703 export echo_test_string
704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706 # Oops. We lost completely, so just stick with echo.
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725 exec 7<&0 </dev/null 6>&1
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
735 ac_default_prefix=/usr/local
737 ac_config_libobj_dir=.
743 SHELL=${CONFIG_SHELL-/bin/sh}
745 # Identity of this package.
746 PACKAGE_NAME='libasyncns'
747 PACKAGE_TARNAME='libasyncns'
748 PACKAGE_VERSION='0.8'
749 PACKAGE_STRING='libasyncns 0.8'
750 PACKAGE_BUGREPORT='mznflapaf (at) 0pointer (dot) de'
752 ac_unique_file="libasyncns/asyncns.c"
753 # Factoring default headers for most tests.
754 ac_includes_default="\
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
766 # ifdef HAVE_STDLIB_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
789 ac_subst_vars='am__EXEEXT_FALSE
847 LIBASYNCNS_VERSION_INFO
857 INSTALL_STRIP_PROGRAM
899 program_transform_name
911 enable_option_checking
913 enable_dependency_tracking
924 ac_precious_vars='build_alias
935 # Initialize some variables set by options.
937 ac_init_version=false
938 ac_unrecognized_opts=
940 # The variables have the same names as the options, with
941 # dashes changed to underlines.
949 program_transform_name=s,x,x,
957 # Installation directory options.
958 # These are left unexpanded so users can "make install exec_prefix=/foo"
959 # and all the variables that are supposed to be based on exec_prefix
960 # by default will actually change.
961 # Use braces instead of parens because sh, perl, etc. also accept them.
962 # (The list follows the same order as the GNU Coding Standards.)
963 bindir='${exec_prefix}/bin'
964 sbindir='${exec_prefix}/sbin'
965 libexecdir='${exec_prefix}/libexec'
966 datarootdir='${prefix}/share'
967 datadir='${datarootdir}'
968 sysconfdir='${prefix}/etc'
969 sharedstatedir='${prefix}/com'
970 localstatedir='${prefix}/var'
971 includedir='${prefix}/include'
972 oldincludedir='/usr/include'
973 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
974 infodir='${datarootdir}/info'
979 libdir='${exec_prefix}/lib'
980 localedir='${datarootdir}/locale'
981 mandir='${datarootdir}/man'
987 # If the previous option needs an argument, assign it.
988 if test -n "$ac_prev"; then
989 eval $ac_prev=\$ac_option
995 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
999 # Accept the important Cygnus configure options, so we can diagnose typos.
1001 case $ac_dashdash$ac_option in
1005 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1007 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1008 bindir=$ac_optarg ;;
1010 -build | --build | --buil | --bui | --bu)
1011 ac_prev=build_alias ;;
1012 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1013 build_alias=$ac_optarg ;;
1015 -cache-file | --cache-file | --cache-fil | --cache-fi \
1016 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1017 ac_prev=cache_file ;;
1018 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1019 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1020 cache_file=$ac_optarg ;;
1022 --config-cache | -C)
1023 cache_file=config.cache ;;
1025 -datadir | --datadir | --datadi | --datad)
1027 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1028 datadir=$ac_optarg ;;
1030 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1031 | --dataroo | --dataro | --datar)
1032 ac_prev=datarootdir ;;
1033 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1034 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1035 datarootdir=$ac_optarg ;;
1037 -disable-* | --disable-*)
1038 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1042 { (exit 1); exit 1; }; }
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "enable_$ac_useropt"
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1052 eval enable_$ac_useropt=no ;;
1054 -docdir | --docdir | --docdi | --doc | --do)
1056 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1057 docdir=$ac_optarg ;;
1059 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1061 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1062 dvidir=$ac_optarg ;;
1064 -enable-* | --enable-*)
1065 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1069 { (exit 1); exit 1; }; }
1070 ac_useropt_orig=$ac_useropt
1071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1074 "enable_$ac_useropt"
1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1077 ac_unrecognized_sep=', ';;
1079 eval enable_$ac_useropt=\$ac_optarg ;;
1081 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1082 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1083 | --exec | --exe | --ex)
1084 ac_prev=exec_prefix ;;
1085 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1086 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1087 | --exec=* | --exe=* | --ex=*)
1088 exec_prefix=$ac_optarg ;;
1090 -gas | --gas | --ga | --g)
1091 # Obsolete; use --with-gas.
1094 -help | --help | --hel | --he | -h)
1095 ac_init_help=long ;;
1096 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1097 ac_init_help=recursive ;;
1098 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1099 ac_init_help=short ;;
1101 -host | --host | --hos | --ho)
1102 ac_prev=host_alias ;;
1103 -host=* | --host=* | --hos=* | --ho=*)
1104 host_alias=$ac_optarg ;;
1106 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1108 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1110 htmldir=$ac_optarg ;;
1112 -includedir | --includedir | --includedi | --included | --include \
1113 | --includ | --inclu | --incl | --inc)
1114 ac_prev=includedir ;;
1115 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1116 | --includ=* | --inclu=* | --incl=* | --inc=*)
1117 includedir=$ac_optarg ;;
1119 -infodir | --infodir | --infodi | --infod | --info | --inf)
1121 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1122 infodir=$ac_optarg ;;
1124 -libdir | --libdir | --libdi | --libd)
1126 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1127 libdir=$ac_optarg ;;
1129 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1130 | --libexe | --libex | --libe)
1131 ac_prev=libexecdir ;;
1132 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1133 | --libexe=* | --libex=* | --libe=*)
1134 libexecdir=$ac_optarg ;;
1136 -localedir | --localedir | --localedi | --localed | --locale)
1137 ac_prev=localedir ;;
1138 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1139 localedir=$ac_optarg ;;
1141 -localstatedir | --localstatedir | --localstatedi | --localstated \
1142 | --localstate | --localstat | --localsta | --localst | --locals)
1143 ac_prev=localstatedir ;;
1144 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1145 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1146 localstatedir=$ac_optarg ;;
1148 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1150 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1151 mandir=$ac_optarg ;;
1153 -nfp | --nfp | --nf)
1154 # Obsolete; use --without-fp.
1157 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1158 | --no-cr | --no-c | -n)
1161 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1162 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1165 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1166 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1167 | --oldin | --oldi | --old | --ol | --o)
1168 ac_prev=oldincludedir ;;
1169 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1170 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1171 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1172 oldincludedir=$ac_optarg ;;
1174 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1176 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1177 prefix=$ac_optarg ;;
1179 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1180 | --program-pre | --program-pr | --program-p)
1181 ac_prev=program_prefix ;;
1182 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1183 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1184 program_prefix=$ac_optarg ;;
1186 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1187 | --program-suf | --program-su | --program-s)
1188 ac_prev=program_suffix ;;
1189 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1190 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1191 program_suffix=$ac_optarg ;;
1193 -program-transform-name | --program-transform-name \
1194 | --program-transform-nam | --program-transform-na \
1195 | --program-transform-n | --program-transform- \
1196 | --program-transform | --program-transfor \
1197 | --program-transfo | --program-transf \
1198 | --program-trans | --program-tran \
1199 | --progr-tra | --program-tr | --program-t)
1200 ac_prev=program_transform_name ;;
1201 -program-transform-name=* | --program-transform-name=* \
1202 | --program-transform-nam=* | --program-transform-na=* \
1203 | --program-transform-n=* | --program-transform-=* \
1204 | --program-transform=* | --program-transfor=* \
1205 | --program-transfo=* | --program-transf=* \
1206 | --program-trans=* | --program-tran=* \
1207 | --progr-tra=* | --program-tr=* | --program-t=*)
1208 program_transform_name=$ac_optarg ;;
1210 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1212 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1213 pdfdir=$ac_optarg ;;
1215 -psdir | --psdir | --psdi | --psd | --ps)
1217 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1221 | -silent | --silent | --silen | --sile | --sil)
1224 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1226 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1228 sbindir=$ac_optarg ;;
1230 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1231 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1232 | --sharedst | --shareds | --shared | --share | --shar \
1234 ac_prev=sharedstatedir ;;
1235 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1236 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1237 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1239 sharedstatedir=$ac_optarg ;;
1241 -site | --site | --sit)
1243 -site=* | --site=* | --sit=*)
1246 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1248 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1249 srcdir=$ac_optarg ;;
1251 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1252 | --syscon | --sysco | --sysc | --sys | --sy)
1253 ac_prev=sysconfdir ;;
1254 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1255 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1256 sysconfdir=$ac_optarg ;;
1258 -target | --target | --targe | --targ | --tar | --ta | --t)
1259 ac_prev=target_alias ;;
1260 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1261 target_alias=$ac_optarg ;;
1263 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1266 -version | --version | --versio | --versi | --vers | -V)
1267 ac_init_version=: ;;
1270 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1273 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1274 { (exit 1); exit 1; }; }
1275 ac_useropt_orig=$ac_useropt
1276 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277 case $ac_user_opts in
1281 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1282 ac_unrecognized_sep=', ';;
1284 eval with_$ac_useropt=\$ac_optarg ;;
1286 -without-* | --without-*)
1287 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1288 # Reject names that are not valid shell variable names.
1289 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1290 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1291 { (exit 1); exit 1; }; }
1292 ac_useropt_orig=$ac_useropt
1293 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1294 case $ac_user_opts in
1298 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1299 ac_unrecognized_sep=', ';;
1301 eval with_$ac_useropt=no ;;
1304 # Obsolete; use --with-x.
1307 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1308 | --x-incl | --x-inc | --x-in | --x-i)
1309 ac_prev=x_includes ;;
1310 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1311 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1312 x_includes=$ac_optarg ;;
1314 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1315 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1316 ac_prev=x_libraries ;;
1317 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1318 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1319 x_libraries=$ac_optarg ;;
1321 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1322 Try \`$0 --help' for more information." >&2
1323 { (exit 1); exit 1; }; }
1327 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1328 # Reject names that are not valid shell variable names.
1329 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1330 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1331 { (exit 1); exit 1; }; }
1332 eval $ac_envvar=\$ac_optarg
1333 export $ac_envvar ;;
1336 # FIXME: should be removed in autoconf 3.0.
1337 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1338 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1339 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1340 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1346 if test -n "$ac_prev"; then
1347 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1348 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1349 { (exit 1); exit 1; }; }
1352 if test -n "$ac_unrecognized_opts"; then
1353 case $enable_option_checking in
1355 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1356 { (exit 1); exit 1; }; } ;;
1357 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1361 # Check all directory arguments for consistency.
1362 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1363 datadir sysconfdir sharedstatedir localstatedir includedir \
1364 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1365 libdir localedir mandir
1367 eval ac_val=\$$ac_var
1368 # Remove trailing slashes.
1371 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1372 eval $ac_var=\$ac_val;;
1374 # Be sure to have absolute directory names.
1376 [\\/$]* | ?:[\\/]* ) continue;;
1377 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1379 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1380 { (exit 1); exit 1; }; }
1383 # There might be people who depend on the old broken behavior: `$host'
1384 # used to hold the argument of --host etc.
1385 # FIXME: To remove some day.
1388 target=$target_alias
1390 # FIXME: To remove some day.
1391 if test "x$host_alias" != x; then
1392 if test "x$build_alias" = x; then
1393 cross_compiling=maybe
1394 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1395 If a cross compiler is detected then cross compile mode will be used." >&2
1396 elif test "x$build_alias" != "x$host_alias"; then
1402 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1404 test "$silent" = yes && exec 6>/dev/null
1407 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1408 ac_ls_di=`ls -di .` &&
1409 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1410 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1411 { (exit 1); exit 1; }; }
1412 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1413 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1414 { (exit 1); exit 1; }; }
1417 # Find the source files, if location was not specified.
1418 if test -z "$srcdir"; then
1419 ac_srcdir_defaulted=yes
1420 # Try the directory containing this script, then the parent directory.
1421 ac_confdir=`$as_dirname -- "$as_myself" ||
1422 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1423 X"$as_myself" : 'X\(//\)[^/]' \| \
1424 X"$as_myself" : 'X\(//\)$' \| \
1425 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1426 $as_echo X"$as_myself" |
1427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1445 if test ! -r "$srcdir/$ac_unique_file"; then
1449 ac_srcdir_defaulted=no
1451 if test ! -r "$srcdir/$ac_unique_file"; then
1452 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1453 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1454 { (exit 1); exit 1; }; }
1456 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1458 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1459 { (exit 1); exit 1; }; }
1461 # When building in place, set srcdir=.
1462 if test "$ac_abs_confdir" = "$ac_pwd"; then
1465 # Remove unnecessary trailing slashes from srcdir.
1466 # Double slashes in file names in object file debugging info
1467 # mess up M-x gdb in Emacs.
1469 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1471 for ac_var in $ac_precious_vars; do
1472 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1473 eval ac_env_${ac_var}_value=\$${ac_var}
1474 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1475 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1479 # Report the --help message.
1481 if test "$ac_init_help" = "long"; then
1482 # Omit some internal or obsolete options to make the list less imposing.
1483 # This message is too long to be a string in the A/UX 3.1 sh.
1485 \`configure' configures libasyncns 0.8 to adapt to many kinds of systems.
1487 Usage: $0 [OPTION]... [VAR=VALUE]...
1489 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1490 VAR=VALUE. See below for descriptions of some of the useful variables.
1492 Defaults for the options are specified in brackets.
1495 -h, --help display this help and exit
1496 --help=short display options specific to this package
1497 --help=recursive display the short help of all the included packages
1498 -V, --version display version information and exit
1499 -q, --quiet, --silent do not print \`checking...' messages
1500 --cache-file=FILE cache test results in FILE [disabled]
1501 -C, --config-cache alias for \`--cache-file=config.cache'
1502 -n, --no-create do not create output files
1503 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1505 Installation directories:
1506 --prefix=PREFIX install architecture-independent files in PREFIX
1507 [$ac_default_prefix]
1508 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1511 By default, \`make install' will install all the files in
1512 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1513 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1514 for instance \`--prefix=\$HOME'.
1516 For better control, use the options below.
1518 Fine tuning of the installation directories:
1519 --bindir=DIR user executables [EPREFIX/bin]
1520 --sbindir=DIR system admin executables [EPREFIX/sbin]
1521 --libexecdir=DIR program executables [EPREFIX/libexec]
1522 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1523 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1524 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1525 --libdir=DIR object code libraries [EPREFIX/lib]
1526 --includedir=DIR C header files [PREFIX/include]
1527 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1528 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1529 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1530 --infodir=DIR info documentation [DATAROOTDIR/info]
1531 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1532 --mandir=DIR man documentation [DATAROOTDIR/man]
1533 --docdir=DIR documentation root [DATAROOTDIR/doc/libasyncns]
1534 --htmldir=DIR html documentation [DOCDIR]
1535 --dvidir=DIR dvi documentation [DOCDIR]
1536 --pdfdir=DIR pdf documentation [DOCDIR]
1537 --psdir=DIR ps documentation [DOCDIR]
1543 --program-prefix=PREFIX prepend PREFIX to installed program names
1544 --program-suffix=SUFFIX append SUFFIX to installed program names
1545 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1548 --build=BUILD configure for building on BUILD [guessed]
1549 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1553 if test -n "$ac_init_help"; then
1554 case $ac_init_help in
1555 short | recursive ) echo "Configuration of libasyncns 0.8:";;
1560 --disable-option-checking ignore unrecognized --enable/--with options
1561 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1562 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1563 --enable-silent-rules less verbose build output (undo: `make V=1')
1564 --disable-silent-rules verbose build output (undo: `make V=0')
1565 --disable-dependency-tracking speeds up one-time build
1566 --enable-dependency-tracking do not reject slow dependency extractors
1567 --enable-shared[=PKGS] build shared libraries [default=yes]
1568 --enable-static[=PKGS] build static libraries [default=yes]
1569 --enable-fast-install[=PKGS]
1570 optimize for fast installation [default=yes]
1571 --disable-libtool-lock avoid locking (might break parallel builds)
1572 --disable-assert turn off assertions
1573 --disable-largefile omit support for large files
1574 --disable-lynx Turn off lynx usage for documentation generation
1577 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1578 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1579 --with-pic try to use only PIC/non-PIC objects [default=use
1581 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1583 Some influential environment variables:
1584 CC C compiler command
1585 CFLAGS C compiler flags
1586 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1587 nonstandard directory <lib dir>
1588 LIBS libraries to pass to the linker, e.g. -l<library>
1589 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1590 you have headers in a nonstandard directory <include dir>
1593 Use these variables to override the choices made by `configure' or to help
1594 it to find libraries and programs with nonstandard names/locations.
1596 Report bugs to <mznflapaf (at) 0pointer (dot) de>.
1601 if test "$ac_init_help" = "recursive"; then
1602 # If there are subdirs, report their specific --help.
1603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1604 test -d "$ac_dir" ||
1605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620 ac_abs_top_builddir=$ac_pwd
1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir=$ac_top_build_prefix
1626 .) # We are building in place.
1628 ac_top_srcdir=$ac_top_builddir_sub
1629 ac_abs_top_srcdir=$ac_pwd ;;
1630 [\\/]* | ?:[\\/]* ) # Absolute name.
1631 ac_srcdir=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir=$srcdir
1633 ac_abs_top_srcdir=$srcdir ;;
1635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641 cd "$ac_dir" || { ac_status=$?; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 cd "$ac_pwd" || { ac_status=$?; break; }
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1659 libasyncns configure 0.8
1660 generated by GNU Autoconf 2.63
1662 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1663 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1669 cat >config.log <<_ACEOF
1670 This file contains any messages produced by compilers while
1671 running configure, to aid debugging if configure makes a mistake.
1673 It was created by libasyncns $as_me 0.8, which was
1674 generated by GNU Autoconf 2.63. Invocation command line was
1686 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1687 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1688 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1689 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1690 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1692 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1693 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1695 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1696 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1697 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1698 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1699 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1700 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1701 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir=.
1710 $as_echo "PATH: $as_dir"
1726 # Keep a trace of the command line.
1727 # Strip out --no-create and --no-recursion so they do not pile up.
1728 # Strip out --silent because we don't want to record it for future runs.
1729 # Also quote any args containing shell meta-characters.
1730 # Make two passes to allow for proper duplicate-argument suppression.
1734 ac_must_keep_next=false
1740 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1741 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1742 | -silent | --silent | --silen | --sile | --sil)
1745 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1748 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1750 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1751 if test $ac_must_keep_next = true; then
1752 ac_must_keep_next=false # Got value, back to normal.
1755 *=* | --config-cache | -C | -disable-* | --disable-* \
1756 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1757 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1758 | -with-* | --with-* | -without-* | --without-* | --x)
1759 case "$ac_configure_args0 " in
1760 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1763 -* ) ac_must_keep_next=true ;;
1766 ac_configure_args="$ac_configure_args '$ac_arg'"
1771 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1772 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1774 # When interrupted or exit'd, cleanup temporary files, and complete
1775 # config.log. We remove comments because anyway the quotes in there
1776 # would cause problems or look ugly.
1777 # WARNING: Use '\'' to represent an apostrophe within the trap.
1778 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1779 trap 'exit_status=$?
1780 # Save into config.log some information that might help in debugging.
1785 ## ---------------- ##
1786 ## Cache variables. ##
1787 ## ---------------- ##
1790 # The following way of writing the cache mishandles newlines in values,
1792 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1793 eval ac_val=\$$ac_var
1797 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1798 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1801 _ | IFS | as_nl) ;; #(
1802 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1803 *) $as_unset $ac_var ;;
1808 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1809 *${as_nl}ac_space=\ *)
1811 "s/'\''/'\''\\\\'\'''\''/g;
1812 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1815 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1823 ## ----------------- ##
1824 ## Output variables. ##
1825 ## ----------------- ##
1828 for ac_var in $ac_subst_vars
1830 eval ac_val=\$$ac_var
1832 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1834 $as_echo "$ac_var='\''$ac_val'\''"
1838 if test -n "$ac_subst_files"; then
1840 ## ------------------- ##
1841 ## File substitutions. ##
1842 ## ------------------- ##
1845 for ac_var in $ac_subst_files
1847 eval ac_val=\$$ac_var
1849 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1851 $as_echo "$ac_var='\''$ac_val'\''"
1856 if test -s confdefs.h; then
1866 test "$ac_signal" != 0 &&
1867 $as_echo "$as_me: caught signal $ac_signal"
1868 $as_echo "$as_me: exit $exit_status"
1870 rm -f core *.core core.conftest.* &&
1871 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1874 for ac_signal in 1 2 13 15; do
1875 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1879 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1880 rm -f -r conftest* confdefs.h
1882 # Predefined preprocessor variables.
1884 cat >>confdefs.h <<_ACEOF
1885 #define PACKAGE_NAME "$PACKAGE_NAME"
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1899 cat >>confdefs.h <<_ACEOF
1900 #define PACKAGE_STRING "$PACKAGE_STRING"
1904 cat >>confdefs.h <<_ACEOF
1905 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1909 # Let the site file select an alternate cache file if it wants to.
1910 # Prefer an explicitly selected file to automatically selected ones.
1913 if test -n "$CONFIG_SITE"; then
1914 ac_site_file1=$CONFIG_SITE
1915 elif test "x$prefix" != xNONE; then
1916 ac_site_file1=$prefix/share/config.site
1917 ac_site_file2=$prefix/etc/config.site
1919 ac_site_file1=$ac_default_prefix/share/config.site
1920 ac_site_file2=$ac_default_prefix/etc/config.site
1922 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1924 test "x$ac_site_file" = xNONE && continue
1925 if test -r "$ac_site_file"; then
1926 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1927 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1928 sed 's/^/| /' "$ac_site_file" >&5
1933 if test -r "$cache_file"; then
1934 # Some versions of bash will fail to source /dev/null (special
1935 # files actually), so we avoid doing that.
1936 if test -f "$cache_file"; then
1937 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1938 $as_echo "$as_me: loading cache $cache_file" >&6;}
1940 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1941 *) . "./$cache_file";;
1945 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1946 $as_echo "$as_me: creating cache $cache_file" >&6;}
1950 # Check that the precious variables saved in the cache have kept the same
1952 ac_cache_corrupted=false
1953 for ac_var in $ac_precious_vars; do
1954 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1955 eval ac_new_set=\$ac_env_${ac_var}_set
1956 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1957 eval ac_new_val=\$ac_env_${ac_var}_value
1958 case $ac_old_set,$ac_new_set in
1960 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1961 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1962 ac_cache_corrupted=: ;;
1964 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1965 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1966 ac_cache_corrupted=: ;;
1969 if test "x$ac_old_val" != "x$ac_new_val"; then
1970 # differences in whitespace do not lead to failure.
1971 ac_old_val_w=`echo x $ac_old_val`
1972 ac_new_val_w=`echo x $ac_new_val`
1973 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1974 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1975 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1976 ac_cache_corrupted=:
1978 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1979 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1980 eval $ac_var=\$ac_old_val
1982 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1983 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1984 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1985 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1988 # Pass precious variables to config.status.
1989 if test "$ac_new_set" = set; then
1991 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1992 *) ac_arg=$ac_var=$ac_new_val ;;
1994 case " $ac_configure_args " in
1995 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1996 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2000 if $ac_cache_corrupted; then
2001 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2003 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2004 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2005 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2006 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2007 { (exit 1); exit 1; }; }
2035 ac_cpp='$CPP $CPPFLAGS'
2036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2042 ac_config_headers="$ac_config_headers config.h"
2045 am__api_version='1.11'
2048 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2049 if test -f "$ac_dir/install-sh"; then
2051 ac_install_sh="$ac_aux_dir/install-sh -c"
2053 elif test -f "$ac_dir/install.sh"; then
2055 ac_install_sh="$ac_aux_dir/install.sh -c"
2057 elif test -f "$ac_dir/shtool"; then
2059 ac_install_sh="$ac_aux_dir/shtool install -c"
2063 if test -z "$ac_aux_dir"; then
2064 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2065 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2066 { (exit 1); exit 1; }; }
2069 # These three variables are undocumented and unsupported,
2070 # and are intended to be withdrawn in a future Autoconf release.
2071 # They can cause serious problems if a builder's source tree is in a directory
2072 # whose full name contains unusual characters.
2073 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2074 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2075 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2078 # Find a good install program. We prefer a C program (faster),
2079 # so one script is as good as another. But avoid the broken or
2080 # incompatible versions:
2081 # SysV /etc/install, /usr/sbin/install
2082 # SunOS /usr/etc/install
2083 # IRIX /sbin/install
2085 # AmigaOS /C/install, which installs bootblocks on floppy discs
2086 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2087 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2088 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2089 # OS/2's system install, which has a completely different semantic
2090 # ./install, which can be erroneously created by make from ./install.sh.
2091 # Reject install programs that cannot install multiple files.
2092 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2093 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2094 if test -z "$INSTALL"; then
2095 if test "${ac_cv_path_install+set}" = set; then
2096 $as_echo_n "(cached) " >&6
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir=.
2103 # Account for people who put trailing slashes in PATH elements.
2105 ./ | .// | /cC/* | \
2106 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2107 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2110 # OSF1 and SCO ODT 3.0 have their own names for install.
2111 # Don't use installbsd from OSF since it installs stuff as root
2113 for ac_prog in ginstall scoinst install; do
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2116 if test $ac_prog = install &&
2117 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2118 # AIX install. It has an incompatible calling convention.
2120 elif test $ac_prog = install &&
2121 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2122 # program-specific install script used by HP pwplus--don't use.
2125 rm -rf conftest.one conftest.two conftest.dir
2126 echo one > conftest.one
2127 echo two > conftest.two
2129 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2130 test -s conftest.one && test -s conftest.two &&
2131 test -s conftest.dir/conftest.one &&
2132 test -s conftest.dir/conftest.two
2134 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2147 rm -rf conftest.one conftest.two conftest.dir
2150 if test "${ac_cv_path_install+set}" = set; then
2151 INSTALL=$ac_cv_path_install
2153 # As a last resort, use the slow shell script. Don't cache a
2154 # value for INSTALL within a source directory, because that will
2155 # break other packages using the cache if that directory is
2156 # removed, or if the value is a relative name.
2157 INSTALL=$ac_install_sh
2160 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2161 $as_echo "$INSTALL" >&6; }
2163 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2164 # It thinks the first close brace ends the variable substitution.
2165 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2167 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2169 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2171 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2172 $as_echo_n "checking whether build environment is sane... " >&6; }
2175 echo timestamp > conftest.file
2176 # Reject unsafe characters in $srcdir or the absolute working directory
2177 # name. Accept space and tab only in the latter.
2181 *[\\\"\#\$\&\'\`$am_lf]*)
2182 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2183 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2184 { (exit 1); exit 1; }; };;
2187 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2188 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2189 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2190 { (exit 1); exit 1; }; };;
2193 # Do `set' in a subshell so we don't clobber the current shell's
2194 # arguments. Must try -L first in case configure is actually a
2195 # symlink; some systems play weird games with the mod time of symlinks
2196 # (eg FreeBSD returns the mod time of the symlink's containing
2199 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2200 if test "$*" = "X"; then
2202 set X `ls -t "$srcdir/configure" conftest.file`
2205 if test "$*" != "X $srcdir/configure conftest.file" \
2206 && test "$*" != "X conftest.file $srcdir/configure"; then
2208 # If neither matched, then we have a broken ls. This can happen
2209 # if, for instance, CONFIG_SHELL is bash and it inherits a
2210 # broken ls alias from the environment. This has actually
2211 # happened. Such a system could not be considered "sane".
2212 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2213 alias in your environment" >&5
2214 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2215 alias in your environment" >&2;}
2216 { (exit 1); exit 1; }; }
2219 test "$2" = conftest.file
2225 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2226 Check your system clock" >&5
2227 $as_echo "$as_me: error: newly created file is older than distributed files!
2228 Check your system clock" >&2;}
2229 { (exit 1); exit 1; }; }
2231 { $as_echo "$as_me:$LINENO: result: yes" >&5
2232 $as_echo "yes" >&6; }
2233 test "$program_prefix" != NONE &&
2234 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2235 # Use a double $ so make ignores it.
2236 test "$program_suffix" != NONE &&
2237 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2238 # Double any \ or $.
2239 # By default was `s,x,x', remove it if useless.
2240 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2241 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2243 # expand $ac_aux_dir to an absolute path
2244 am_aux_dir=`cd $ac_aux_dir && pwd`
2246 if test x"${MISSING+set}" != xset; then
2249 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2251 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2254 # Use eval to expand $SHELL
2255 if eval "$MISSING --run true"; then
2256 am_missing_run="$MISSING --run "
2259 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2260 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2263 if test x"${install_sh}" != xset; then
2266 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2268 install_sh="\${SHELL} $am_aux_dir/install-sh"
2272 # Installed binaries are usually stripped using `strip' when the user
2273 # run `make install-strip'. However `strip' might not be the right
2274 # tool to use in cross-compilation environments, therefore Automake
2275 # will honor the `STRIP' environment variable to overrule this program.
2276 if test "$cross_compiling" != no; then
2277 if test -n "$ac_tool_prefix"; then
2278 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2279 set dummy ${ac_tool_prefix}strip; ac_word=$2
2280 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 $as_echo_n "checking for $ac_word... " >&6; }
2282 if test "${ac_cv_prog_STRIP+set}" = set; then
2283 $as_echo_n "(cached) " >&6
2285 if test -n "$STRIP"; then
2286 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2296 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 STRIP=$ac_cv_prog_STRIP
2306 if test -n "$STRIP"; then
2307 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2308 $as_echo "$STRIP" >&6; }
2310 { $as_echo "$as_me:$LINENO: result: no" >&5
2311 $as_echo "no" >&6; }
2316 if test -z "$ac_cv_prog_STRIP"; then
2318 # Extract the first word of "strip", so it can be a program name with args.
2319 set dummy strip; ac_word=$2
2320 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 $as_echo_n "checking for $ac_word... " >&6; }
2322 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2323 $as_echo_n "(cached) " >&6
2325 if test -n "$ac_ct_STRIP"; then
2326 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_ac_ct_STRIP="strip"
2336 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2346 if test -n "$ac_ct_STRIP"; then
2347 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2348 $as_echo "$ac_ct_STRIP" >&6; }
2350 { $as_echo "$as_me:$LINENO: result: no" >&5
2351 $as_echo "no" >&6; }
2354 if test "x$ac_ct_STRIP" = x; then
2357 case $cross_compiling:$ac_tool_warned in
2359 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2361 ac_tool_warned=yes ;;
2366 STRIP="$ac_cv_prog_STRIP"
2370 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2372 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2373 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2374 if test -z "$MKDIR_P"; then
2375 if test "${ac_cv_path_mkdir+set}" = set; then
2376 $as_echo_n "(cached) " >&6
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2382 test -z "$as_dir" && as_dir=.
2383 for ac_prog in mkdir gmkdir; do
2384 for ac_exec_ext in '' $ac_executable_extensions; do
2385 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2386 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2387 'mkdir (GNU coreutils) '* | \
2388 'mkdir (coreutils) '* | \
2389 'mkdir (fileutils) '4.1*)
2390 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2400 if test "${ac_cv_path_mkdir+set}" = set; then
2401 MKDIR_P="$ac_cv_path_mkdir -p"
2403 # As a last resort, use the slow shell script. Don't cache a
2404 # value for MKDIR_P within a source directory, because that will
2405 # break other packages using the cache if that directory is
2406 # removed, or if the value is a relative name.
2407 test -d ./--version && rmdir ./--version
2408 MKDIR_P="$ac_install_sh -d"
2411 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2412 $as_echo "$MKDIR_P" >&6; }
2416 [\\/$]* | ?:[\\/]*) ;;
2417 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2420 for ac_prog in gawk mawk nawk awk
2422 # Extract the first word of "$ac_prog", so it can be a program name with args.
2423 set dummy $ac_prog; ac_word=$2
2424 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 $as_echo_n "checking for $ac_word... " >&6; }
2426 if test "${ac_cv_prog_AWK+set}" = set; then
2427 $as_echo_n "(cached) " >&6
2429 if test -n "$AWK"; then
2430 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir=.
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439 ac_cv_prog_AWK="$ac_prog"
2440 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 if test -n "$AWK"; then
2451 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2452 $as_echo "$AWK" >&6; }
2454 { $as_echo "$as_me:$LINENO: result: no" >&5
2455 $as_echo "no" >&6; }
2459 test -n "$AWK" && break
2462 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2463 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2465 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2466 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2467 $as_echo_n "(cached) " >&6
2469 cat >conftest.make <<\_ACEOF
2472 @echo '@@@%%%=$(MAKE)=@@@%%%'
2474 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2475 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2477 eval ac_cv_prog_make_${ac_make}_set=yes;;
2479 eval ac_cv_prog_make_${ac_make}_set=no;;
2483 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2484 { $as_echo "$as_me:$LINENO: result: yes" >&5
2485 $as_echo "yes" >&6; }
2488 { $as_echo "$as_me:$LINENO: result: no" >&5
2489 $as_echo "no" >&6; }
2490 SET_MAKE="MAKE=${MAKE-make}"
2493 rm -rf .tst 2>/dev/null
2494 mkdir .tst 2>/dev/null
2495 if test -d .tst; then
2500 rmdir .tst 2>/dev/null
2502 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2503 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2504 # is not polluted with repeated "-I."
2505 am__isrc=' -I$(srcdir)'
2506 # test to see if srcdir already configured
2507 if test -f $srcdir/config.status; then
2508 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2509 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2510 { (exit 1); exit 1; }; }
2514 # test whether we have cygpath
2515 if test -z "$CYGPATH_W"; then
2516 if (cygpath --version) >/dev/null 2>/dev/null; then
2517 CYGPATH_W='cygpath -w'
2524 # Define the identity of the package.
2525 PACKAGE='libasyncns'
2529 cat >>confdefs.h <<_ACEOF
2530 #define PACKAGE "$PACKAGE"
2534 cat >>confdefs.h <<_ACEOF
2535 #define VERSION "$VERSION"
2538 # Some tools Automake needs.
2540 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2543 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2546 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2549 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2552 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2554 # We need awk for the "check" target. The system "awk" is bad on
2556 # Always define AMTAR for backward compatibility.
2558 AMTAR=${AMTAR-"${am_missing_run}tar"}
2560 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2567 PACKAGE_URL=http://0pointer.de/lennart/projects/libasyncns/
2570 LIBASYNCNS_VERSION_INFO=3:1:3
2573 if type -p stow > /dev/null && test -d /usr/local/stow ; then
2574 { $as_echo "$as_me:$LINENO: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
2575 $as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;}
2576 ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
2579 # Check whether --enable-silent-rules was given.
2580 if test "${enable_silent_rules+set}" = set; then
2581 enableval=$enable_silent_rules;
2584 case $enable_silent_rules in
2585 yes) AM_DEFAULT_VERBOSITY=0;;
2586 no) AM_DEFAULT_VERBOSITY=1;;
2587 *) AM_DEFAULT_VERBOSITY=0;;
2593 ac_cpp='$CPP $CPPFLAGS'
2594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2597 if test -n "$ac_tool_prefix"; then
2598 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2599 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2600 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2601 $as_echo_n "checking for $ac_word... " >&6; }
2602 if test "${ac_cv_prog_CC+set}" = set; then
2603 $as_echo_n "(cached) " >&6
2605 if test -n "$CC"; then
2606 ac_cv_prog_CC="$CC" # Let the user override the test.
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 test -z "$as_dir" && as_dir=.
2613 for ac_exec_ext in '' $ac_executable_extensions; do
2614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2615 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2616 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2626 if test -n "$CC"; then
2627 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2628 $as_echo "$CC" >&6; }
2630 { $as_echo "$as_me:$LINENO: result: no" >&5
2631 $as_echo "no" >&6; }
2636 if test -z "$ac_cv_prog_CC"; then
2638 # Extract the first word of "gcc", so it can be a program name with args.
2639 set dummy gcc; ac_word=$2
2640 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2641 $as_echo_n "checking for $ac_word... " >&6; }
2642 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2643 $as_echo_n "(cached) " >&6
2645 if test -n "$ac_ct_CC"; then
2646 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2652 test -z "$as_dir" && as_dir=.
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655 ac_cv_prog_ac_ct_CC="gcc"
2656 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2665 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2666 if test -n "$ac_ct_CC"; then
2667 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2668 $as_echo "$ac_ct_CC" >&6; }
2670 { $as_echo "$as_me:$LINENO: result: no" >&5
2671 $as_echo "no" >&6; }
2674 if test "x$ac_ct_CC" = x; then
2677 case $cross_compiling:$ac_tool_warned in
2679 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2681 ac_tool_warned=yes ;;
2689 if test -z "$CC"; then
2690 if test -n "$ac_tool_prefix"; then
2691 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2692 set dummy ${ac_tool_prefix}cc; ac_word=$2
2693 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if test "${ac_cv_prog_CC+set}" = set; then
2696 $as_echo_n "(cached) " >&6
2698 if test -n "$CC"; then
2699 ac_cv_prog_CC="$CC" # Let the user override the test.
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir=.
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 ac_cv_prog_CC="${ac_tool_prefix}cc"
2709 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 if test -n "$CC"; then
2720 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2721 $as_echo "$CC" >&6; }
2723 { $as_echo "$as_me:$LINENO: result: no" >&5
2724 $as_echo "no" >&6; }
2730 if test -z "$CC"; then
2731 # Extract the first word of "cc", so it can be a program name with args.
2732 set dummy cc; ac_word=$2
2733 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2734 $as_echo_n "checking for $ac_word... " >&6; }
2735 if test "${ac_cv_prog_CC+set}" = set; then
2736 $as_echo_n "(cached) " >&6
2738 if test -n "$CC"; then
2739 ac_cv_prog_CC="$CC" # Let the user override the test.
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2750 ac_prog_rejected=yes
2754 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2761 if test $ac_prog_rejected = yes; then
2762 # We found a bogon in the path, so make sure we never use it.
2763 set dummy $ac_cv_prog_CC
2765 if test $# != 0; then
2766 # We chose a different compiler from the bogus one.
2767 # However, it has the same basename, so the bogon will be chosen
2768 # first if we set CC to just the basename; use the full file name.
2770 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2776 if test -n "$CC"; then
2777 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2778 $as_echo "$CC" >&6; }
2780 { $as_echo "$as_me:$LINENO: result: no" >&5
2781 $as_echo "no" >&6; }
2786 if test -z "$CC"; then
2787 if test -n "$ac_tool_prefix"; then
2788 for ac_prog in cl.exe
2790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2792 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if test "${ac_cv_prog_CC+set}" = set; then
2795 $as_echo_n "(cached) " >&6
2797 if test -n "$CC"; then
2798 ac_cv_prog_CC="$CC" # Let the user override the test.
2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir=.
2805 for ac_exec_ext in '' $ac_executable_extensions; do
2806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2807 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2808 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 if test -n "$CC"; then
2819 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2820 $as_echo "$CC" >&6; }
2822 { $as_echo "$as_me:$LINENO: result: no" >&5
2823 $as_echo "no" >&6; }
2827 test -n "$CC" && break
2830 if test -z "$CC"; then
2832 for ac_prog in cl.exe
2834 # Extract the first word of "$ac_prog", so it can be a program name with args.
2835 set dummy $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_ac_ct_CC+set}" = set; then
2839 $as_echo_n "(cached) " >&6
2841 if test -n "$ac_ct_CC"; then
2842 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="$ac_prog"
2852 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2862 if test -n "$ac_ct_CC"; then
2863 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2864 $as_echo "$ac_ct_CC" >&6; }
2866 { $as_echo "$as_me:$LINENO: result: no" >&5
2867 $as_echo "no" >&6; }
2871 test -n "$ac_ct_CC" && break
2874 if test "x$ac_ct_CC" = x; then
2877 case $cross_compiling:$ac_tool_warned in
2879 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2881 ac_tool_warned=yes ;;
2890 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2893 See \`config.log' for more details." >&5
2894 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2895 See \`config.log' for more details." >&2;}
2896 { (exit 1); exit 1; }; }; }
2898 # Provide some information about the compiler.
2899 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2902 { (ac_try="$ac_compiler --version >&5"
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2908 $as_echo "$ac_try_echo") >&5
2909 (eval "$ac_compiler --version >&5") 2>&5
2911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }
2913 { (ac_try="$ac_compiler -v >&5"
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2919 $as_echo "$ac_try_echo") >&5
2920 (eval "$ac_compiler -v >&5") 2>&5
2922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }
2924 { (ac_try="$ac_compiler -V >&5"
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2930 $as_echo "$ac_try_echo") >&5
2931 (eval "$ac_compiler -V >&5") 2>&5
2933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }
2936 cat >conftest.$ac_ext <<_ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2951 ac_clean_files_save=$ac_clean_files
2952 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2953 # Try to create an executable without -o first, disregard a.out.
2954 # It will help us diagnose broken compilers, and finding out an intuition
2956 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2957 $as_echo_n "checking for C compiler default output file name... " >&6; }
2958 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2960 # The possible output files:
2961 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2964 for ac_file in $ac_files
2967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2968 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2973 if { (ac_try="$ac_link_default"
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2979 $as_echo "$ac_try_echo") >&5
2980 (eval "$ac_link_default") 2>&5
2982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; then
2984 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2985 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2986 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2987 # so that the user can short-circuit this test for compilers unknown to
2989 for ac_file in $ac_files ''
2991 test -f "$ac_file" || continue
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2996 # We found the default executable, but exeext='' is most
3000 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3002 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3004 # We set ac_cv_exeext here because the later test for it is not
3005 # safe: cross compilers may not add the suffix if given an `-o'
3006 # argument, so we may need to know it at that point already.
3007 # Even if this section looks crufty: it has the advantage of
3014 test "$ac_cv_exeext" = no && ac_cv_exeext=
3020 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3021 $as_echo "$ac_file" >&6; }
3022 if test -z "$ac_file"; then
3023 $as_echo "$as_me: failed program was:" >&5
3024 sed 's/^/| /' conftest.$ac_ext >&5
3026 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3029 See \`config.log' for more details." >&5
3030 $as_echo "$as_me: error: C compiler cannot create executables
3031 See \`config.log' for more details." >&2;}
3032 { (exit 77); exit 77; }; }; }
3035 ac_exeext=$ac_cv_exeext
3037 # Check that the compiler produces executables we can run. If not, either
3038 # the compiler is broken, or we cross compile.
3039 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3040 $as_echo_n "checking whether the C compiler works... " >&6; }
3041 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3042 # If not cross compiling, check that we can run a simple program.
3043 if test "$cross_compiling" != yes; then
3044 if { ac_try='./$ac_file'
3045 { (case "(($ac_try" in
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3049 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3050 $as_echo "$ac_try_echo") >&5
3051 (eval "$ac_try") 2>&5
3053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; }; then
3057 if test "$cross_compiling" = maybe; then
3060 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3062 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3063 If you meant to cross compile, use \`--host'.
3064 See \`config.log' for more details." >&5
3065 $as_echo "$as_me: error: cannot run C compiled programs.
3066 If you meant to cross compile, use \`--host'.
3067 See \`config.log' for more details." >&2;}
3068 { (exit 1); exit 1; }; }; }
3072 { $as_echo "$as_me:$LINENO: result: yes" >&5
3073 $as_echo "yes" >&6; }
3075 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3076 ac_clean_files=$ac_clean_files_save
3077 # Check that the compiler produces executables we can run. If not, either
3078 # the compiler is broken, or we cross compile.
3079 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3080 $as_echo_n "checking whether we are cross compiling... " >&6; }
3081 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3082 $as_echo "$cross_compiling" >&6; }
3084 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3085 $as_echo_n "checking for suffix of executables... " >&6; }
3086 if { (ac_try="$ac_link"
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3092 $as_echo "$ac_try_echo") >&5
3093 (eval "$ac_link") 2>&5
3095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; then
3097 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3098 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3099 # work properly (i.e., refer to `conftest.exe'), while it won't with
3101 for ac_file in conftest.exe conftest conftest.*; do
3102 test -f "$ac_file" || continue
3104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3105 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3111 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3113 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3114 See \`config.log' for more details." >&5
3115 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3116 See \`config.log' for more details." >&2;}
3117 { (exit 1); exit 1; }; }; }
3120 rm -f conftest$ac_cv_exeext
3121 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3122 $as_echo "$ac_cv_exeext" >&6; }
3124 rm -f conftest.$ac_ext
3125 EXEEXT=$ac_cv_exeext
3127 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3128 $as_echo_n "checking for suffix of object files... " >&6; }
3129 if test "${ac_cv_objext+set}" = set; then
3130 $as_echo_n "(cached) " >&6
3132 cat >conftest.$ac_ext <<_ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3147 rm -f conftest.o conftest.obj
3148 if { (ac_try="$ac_compile"
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3154 $as_echo "$ac_try_echo") >&5
3155 (eval "$ac_compile") 2>&5
3157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; then
3159 for ac_file in conftest.o conftest.obj conftest.*; do
3160 test -f "$ac_file" || continue;
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3163 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3168 $as_echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3171 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3174 See \`config.log' for more details." >&5
3175 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3176 See \`config.log' for more details." >&2;}
3177 { (exit 1); exit 1; }; }; }
3180 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3182 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3183 $as_echo "$ac_cv_objext" >&6; }
3184 OBJEXT=$ac_cv_objext
3186 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3187 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3188 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3189 $as_echo_n "(cached) " >&6
3191 cat >conftest.$ac_ext <<_ACEOF
3194 cat confdefs.h >>conftest.$ac_ext
3195 cat >>conftest.$ac_ext <<_ACEOF
3196 /* end confdefs.h. */
3209 rm -f conftest.$ac_objext
3210 if { (ac_try="$ac_compile"
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3216 $as_echo "$ac_try_echo") >&5
3217 (eval "$ac_compile") 2>conftest.er1
3219 grep -v '^ *+' conftest.er1 >conftest.err
3221 cat conftest.err >&5
3222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); } && {
3224 test -z "$ac_c_werror_flag" ||
3225 test ! -s conftest.err
3226 } && test -s conftest.$ac_objext; then
3229 $as_echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3239 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3241 if test $ac_compiler_gnu = yes; then
3246 ac_test_CFLAGS=${CFLAGS+set}
3247 ac_save_CFLAGS=$CFLAGS
3248 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3250 if test "${ac_cv_prog_cc_g+set}" = set; then
3251 $as_echo_n "(cached) " >&6
3253 ac_save_c_werror_flag=$ac_c_werror_flag
3254 ac_c_werror_flag=yes
3257 cat >conftest.$ac_ext <<_ACEOF
3260 cat confdefs.h >>conftest.$ac_ext
3261 cat >>conftest.$ac_ext <<_ACEOF
3262 /* end confdefs.h. */
3272 rm -f conftest.$ac_objext
3273 if { (ac_try="$ac_compile"
3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3279 $as_echo "$ac_try_echo") >&5
3280 (eval "$ac_compile") 2>conftest.er1
3282 grep -v '^ *+' conftest.er1 >conftest.err
3284 cat conftest.err >&5
3285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } && {
3287 test -z "$ac_c_werror_flag" ||
3288 test ! -s conftest.err
3289 } && test -s conftest.$ac_objext; then
3292 $as_echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.$ac_ext >&5
3296 cat >conftest.$ac_ext <<_ACEOF
3299 cat confdefs.h >>conftest.$ac_ext
3300 cat >>conftest.$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3311 rm -f conftest.$ac_objext
3312 if { (ac_try="$ac_compile"
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3318 $as_echo "$ac_try_echo") >&5
3319 (eval "$ac_compile") 2>conftest.er1
3321 grep -v '^ *+' conftest.er1 >conftest.err
3323 cat conftest.err >&5
3324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } && {
3326 test -z "$ac_c_werror_flag" ||
3327 test ! -s conftest.err
3328 } && test -s conftest.$ac_objext; then
3331 $as_echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.$ac_ext >&5
3334 ac_c_werror_flag=$ac_save_c_werror_flag
3336 cat >conftest.$ac_ext <<_ACEOF
3339 cat confdefs.h >>conftest.$ac_ext
3340 cat >>conftest.$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3351 rm -f conftest.$ac_objext
3352 if { (ac_try="$ac_compile"
3354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3358 $as_echo "$ac_try_echo") >&5
3359 (eval "$ac_compile") 2>conftest.er1
3361 grep -v '^ *+' conftest.er1 >conftest.err
3363 cat conftest.err >&5
3364 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } && {
3366 test -z "$ac_c_werror_flag" ||
3367 test ! -s conftest.err
3368 } && test -s conftest.$ac_objext; then
3371 $as_echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.$ac_ext >&5
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 ac_c_werror_flag=$ac_save_c_werror_flag
3386 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3387 $as_echo "$ac_cv_prog_cc_g" >&6; }
3388 if test "$ac_test_CFLAGS" = set; then
3389 CFLAGS=$ac_save_CFLAGS
3390 elif test $ac_cv_prog_cc_g = yes; then
3391 if test "$GCC" = yes; then
3397 if test "$GCC" = yes; then
3403 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3404 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3405 if test "${ac_cv_prog_cc_c89+set}" = set; then
3406 $as_echo_n "(cached) " >&6
3408 ac_cv_prog_cc_c89=no
3410 cat >conftest.$ac_ext <<_ACEOF
3413 cat confdefs.h >>conftest.$ac_ext
3414 cat >>conftest.$ac_ext <<_ACEOF
3415 /* end confdefs.h. */
3418 #include <sys/types.h>
3419 #include <sys/stat.h>
3420 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3421 struct buf { int x; };
3422 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3423 static char *e (p, i)
3429 static char *f (char * (*g) (char **, int), char **p, ...)
3434 s = g (p, va_arg (v,int));
3439 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3440 function prototypes and stuff, but not '\xHH' hex character constants.
3441 These don't provoke an error unfortunately, instead are silently treated
3442 as 'x'. The following induces an error, until -std is added to get
3443 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3444 array size at least. It's necessary to write '\x00'==0 to get something
3445 that's true only with -std. */
3446 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3448 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3449 inside strings and character constants. */
3451 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3453 int test (int i, double x);
3454 struct s1 {int (*f) (int a);};
3455 struct s2 {int (*f) (double a);};
3456 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3462 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3467 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3468 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3470 CC="$ac_save_CC $ac_arg"
3471 rm -f conftest.$ac_objext
3472 if { (ac_try="$ac_compile"
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3478 $as_echo "$ac_try_echo") >&5
3479 (eval "$ac_compile") 2>conftest.er1
3481 grep -v '^ *+' conftest.er1 >conftest.err
3483 cat conftest.err >&5
3484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); } && {
3486 test -z "$ac_c_werror_flag" ||
3487 test ! -s conftest.err
3488 } && test -s conftest.$ac_objext; then
3489 ac_cv_prog_cc_c89=$ac_arg
3491 $as_echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.$ac_ext >&5
3497 rm -f core conftest.err conftest.$ac_objext
3498 test "x$ac_cv_prog_cc_c89" != "xno" && break
3500 rm -f conftest.$ac_ext
3505 case "x$ac_cv_prog_cc_c89" in
3507 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3508 $as_echo "none needed" >&6; } ;;
3510 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3511 $as_echo "unsupported" >&6; } ;;
3513 CC="$CC $ac_cv_prog_cc_c89"
3514 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3515 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3520 ac_cpp='$CPP $CPPFLAGS'
3521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3524 DEPDIR="${am__leading_dot}deps"
3526 ac_config_commands="$ac_config_commands depfiles"
3529 am_make=${MAKE-make}
3530 cat > confinc << 'END'
3532 @echo this is the am__doit target
3535 # If we don't find an include directive, just comment out the code.
3536 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3537 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3541 # First try GNU make style include.
3542 echo "include confinc" > confmf
3543 # Ignore all kinds of additional output from `make'.
3544 case `$am_make -s -f confmf 2> /dev/null` in #(
3545 *the\ am__doit\ target*)
3551 # Now try BSD make style include.
3552 if test "$am__include" = "#"; then
3553 echo '.include "confinc"' > confmf
3554 case `$am_make -s -f confmf 2> /dev/null` in #(
3555 *the\ am__doit\ target*)
3556 am__include=.include
3564 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3565 $as_echo "$_am_result" >&6; }
3566 rm -f confinc confmf
3568 # Check whether --enable-dependency-tracking was given.
3569 if test "${enable_dependency_tracking+set}" = set; then
3570 enableval=$enable_dependency_tracking;
3573 if test "x$enable_dependency_tracking" != xno; then
3574 am_depcomp="$ac_aux_dir/depcomp"
3577 if test "x$enable_dependency_tracking" != xno; then
3587 depcc="$CC" am_compiler_list=
3589 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3590 $as_echo_n "checking dependency style of $depcc... " >&6; }
3591 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3592 $as_echo_n "(cached) " >&6
3594 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3595 # We make a subdir and do the tests there. Otherwise we can end up
3596 # making bogus files that we don't know about and never remove. For
3597 # instance it was reported that on HP-UX the gcc test will end up
3598 # making a dummy file named `D' -- because `-MD' means `put the output
3601 # Copy depcomp to subdir because otherwise we won't find it if we're
3602 # using a relative directory.
3603 cp "$am_depcomp" conftest.dir
3605 # We will build objects and dependencies in a subdirectory because
3606 # it helps to detect inapplicable dependency modes. For instance
3607 # both Tru64's cc and ICC support -MD to output dependencies as a
3608 # side effect of compilation, but ICC will put the dependencies in
3609 # the current directory while Tru64 will put them in the object
3613 am_cv_CC_dependencies_compiler_type=none
3614 if test "$am_compiler_list" = ""; then
3615 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3618 case " $depcc " in #(
3619 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3622 for depmode in $am_compiler_list; do
3623 # Setup a source with many dependencies, because some compilers
3624 # like to wrap large dependency lists on column 80 (with \), and
3625 # we should not choose a depcomp mode which is confused by this.
3627 # We need to recreate these files for each test, as the compiler may
3628 # overwrite some of them when testing with obscure command lines.
3629 # This happens at least with the AIX C compiler.
3631 for i in 1 2 3 4 5 6; do
3632 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3633 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3634 # Solaris 8's {/usr,}/bin/sh.
3635 touch sub/conftst$i.h
3637 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3639 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3640 # mode. It turns out that the SunPro C++ compiler does not properly
3641 # handle `-M -o', and we need to detect this. Also, some Intel
3642 # versions had trouble with output in subdirs
3643 am__obj=sub/conftest.${OBJEXT-o}
3644 am__minus_obj="-o $am__obj"
3647 # This depmode causes a compiler race in universal mode.
3648 test "$am__universal" = false || continue
3651 # after this tag, mechanisms are not by side-effect, so they'll
3652 # only be used when explicitly requested
3653 if test "x$enable_dependency_tracking" = xyes; then
3659 msvisualcpp | msvcmsys)
3660 # This compiler won't grok `-c -o', but also, the minuso test has
3661 # not run yet. These depmodes are late enough in the game, and
3662 # so weak that their functioning should not be impacted.
3663 am__obj=conftest.${OBJEXT-o}
3668 if depmode=$depmode \
3669 source=sub/conftest.c object=$am__obj \
3670 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3671 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3672 >/dev/null 2>conftest.err &&
3673 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3674 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3675 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3676 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3677 # icc doesn't choke on unknown options, it will just issue warnings
3678 # or remarks (even with -Werror). So we grep stderr for any message
3679 # that says an option was ignored or not supported.
3680 # When given -MP, icc 7.0 and 7.1 complain thusly:
3681 # icc: Command line warning: ignoring option '-M'; no argument required
3682 # The diagnosis changed in icc 8.0:
3683 # icc: Command line remark: option '-MP' not supported
3684 if (grep 'ignoring option' conftest.err ||
3685 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3686 am_cv_CC_dependencies_compiler_type=$depmode
3695 am_cv_CC_dependencies_compiler_type=none
3699 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3700 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3701 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3704 test "x$enable_dependency_tracking" != xno \
3705 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3707 am__fastdepCC_FALSE='#'
3709 am__fastdepCC_TRUE='#'
3710 am__fastdepCC_FALSE=
3714 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3715 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3716 if test "${ac_cv_prog_cc_c99+set}" = set; then
3717 $as_echo_n "(cached) " >&6
3719 ac_cv_prog_cc_c99=no
3721 cat >conftest.$ac_ext <<_ACEOF
3724 cat confdefs.h >>conftest.$ac_ext
3725 cat >>conftest.$ac_ext <<_ACEOF
3726 /* end confdefs.h. */
3728 #include <stdbool.h>
3733 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3734 #define debug(...) fprintf (stderr, __VA_ARGS__)
3735 #define showlist(...) puts (#__VA_ARGS__)
3736 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3738 test_varargs_macros (void)
3743 debug ("X = %d\n", x);
3744 showlist (The first, second, and third items.);
3745 report (x>y, "x is %d but y is %d", x, y);
3748 // Check long long types.
3749 #define BIG64 18446744073709551615ull
3750 #define BIG32 4294967295ul
3751 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3753 your preprocessor is broken;
3757 your preprocessor is broken;
3759 static long long int bignum = -9223372036854775807LL;
3760 static unsigned long long int ubignum = BIG64;
3762 struct incomplete_array
3770 const wchar_t *name;
3774 typedef const char *ccp;
3777 test_restrict (ccp restrict text)
3779 // See if C++-style comments work.
3780 // Iterate through items via the restricted pointer.
3781 // Also check for declarations in for loops.
3782 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3787 // Check varargs and va_copy.
3789 test_varargs (const char *format, ...)
3792 va_start (args, format);
3794 va_copy (args_copy, args);
3805 str = va_arg (args_copy, const char *);
3808 number = va_arg (args_copy, int);
3811 fnumber = va_arg (args_copy, double);
3826 _Bool success = false;
3829 if (test_restrict ("String literal") == 0)
3831 char *restrict newvar = "Another string";
3834 test_varargs ("s, d' f .", "string", 65, 34.234);
3835 test_varargs_macros ();
3837 // Check flexible array members.
3838 struct incomplete_array *ia =
3839 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3841 for (int i = 0; i < ia->datasize; ++i)
3842 ia->data[i] = i * 1.234;
3844 // Check named initializers.
3845 struct named_init ni = {
3847 .name = L"Test wide string",
3848 .average = 543.34343,
3853 int dynamic_array[ni.number];
3854 dynamic_array[ni.number - 1] = 543;
3856 // work around unused variable warnings
3857 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3858 || dynamic_array[ni.number - 1] != 543);
3864 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3866 CC="$ac_save_CC $ac_arg"
3867 rm -f conftest.$ac_objext
3868 if { (ac_try="$ac_compile"
3870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3871 *) ac_try_echo=$ac_try;;
3873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3874 $as_echo "$ac_try_echo") >&5
3875 (eval "$ac_compile") 2>conftest.er1
3877 grep -v '^ *+' conftest.er1 >conftest.err
3879 cat conftest.err >&5
3880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); } && {
3882 test -z "$ac_c_werror_flag" ||
3883 test ! -s conftest.err
3884 } && test -s conftest.$ac_objext; then
3885 ac_cv_prog_cc_c99=$ac_arg
3887 $as_echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3893 rm -f core conftest.err conftest.$ac_objext
3894 test "x$ac_cv_prog_cc_c99" != "xno" && break
3896 rm -f conftest.$ac_ext
3901 case "x$ac_cv_prog_cc_c99" in
3903 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3904 $as_echo "none needed" >&6; } ;;
3906 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3907 $as_echo "unsupported" >&6; } ;;
3909 CC="$CC $ac_cv_prog_cc_c99"
3910 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3911 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3916 if test "x$CC" != xcc; then
3917 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3918 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3920 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3921 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3923 set dummy $CC; ac_cc=`$as_echo "$2" |
3924 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3925 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3926 $as_echo_n "(cached) " >&6
3928 cat >conftest.$ac_ext <<_ACEOF
3931 cat confdefs.h >>conftest.$ac_ext
3932 cat >>conftest.$ac_ext <<_ACEOF
3933 /* end confdefs.h. */
3943 # Make sure it works both with $CC and with simple cc.
3944 # We do the test twice because some compilers refuse to overwrite an
3945 # existing .o file with -o, though they will create one.
3946 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3948 if { (case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3953 $as_echo "$ac_try_echo") >&5
3954 (eval "$ac_try") 2>&5
3956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); } &&
3958 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3963 $as_echo "$ac_try_echo") >&5
3964 (eval "$ac_try") 2>&5
3966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); };
3969 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3970 if test "x$CC" != xcc; then
3971 # Test first that cc exists at all.
3972 if { ac_try='cc -c conftest.$ac_ext >&5'
3973 { (case "(($ac_try" in
3974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3975 *) ac_try_echo=$ac_try;;
3977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3978 $as_echo "$ac_try_echo") >&5
3979 (eval "$ac_try") 2>&5
3981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; }; then
3983 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3985 if { (case "(($ac_try" in
3986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3987 *) ac_try_echo=$ac_try;;
3989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3990 $as_echo "$ac_try_echo") >&5
3991 (eval "$ac_try") 2>&5
3993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); } &&
3995 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4000 $as_echo "$ac_try_echo") >&5
4001 (eval "$ac_try") 2>&5
4003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); };
4009 # cc exists but doesn't like -o.
4010 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4015 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4017 rm -f core conftest*
4020 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4021 { $as_echo "$as_me:$LINENO: result: yes" >&5
4022 $as_echo "yes" >&6; }
4024 { $as_echo "$as_me:$LINENO: result: no" >&5
4025 $as_echo "no" >&6; }
4027 cat >>confdefs.h <<\_ACEOF
4028 #define NO_MINUS_C_MINUS_O 1
4033 # FIXME: we rely on the cache variable name because
4034 # there is no other way.
4036 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4037 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4038 if test "$am_t" != yes; then
4039 # Losing compiler, so override with the script.
4040 # FIXME: It is wrong to rewrite CC.
4041 # But if we don't then we get into trouble of one sort or another.
4042 # A longer-term fix would be to have automake use am__CC in this case,
4043 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4044 CC="$am_aux_dir/compile $CC"
4049 ac_cpp='$CPP $CPPFLAGS'
4050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4053 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4054 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4055 # On Suns, sometimes $CPP names a directory.
4056 if test -n "$CPP" && test -d "$CPP"; then
4059 if test -z "$CPP"; then
4060 if test "${ac_cv_prog_CPP+set}" = set; then
4061 $as_echo_n "(cached) " >&6
4063 # Double quotes because CPP needs to be expanded
4064 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4067 for ac_c_preproc_warn_flag in '' yes
4069 # Use a header file that comes with gcc, so configuring glibc
4070 # with a fresh cross-compiler works.
4071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4072 # <limits.h> exists even on freestanding compilers.
4073 # On the NeXT, cc -E runs the code through the compiler's parser,
4074 # not just through cpp. "Syntax error" is here to catch this case.
4075 cat >conftest.$ac_ext <<_ACEOF
4078 cat confdefs.h >>conftest.$ac_ext
4079 cat >>conftest.$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4082 # include <limits.h>
4084 # include <assert.h>
4088 if { (ac_try="$ac_cpp conftest.$ac_ext"
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4094 $as_echo "$ac_try_echo") >&5
4095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4097 grep -v '^ *+' conftest.er1 >conftest.err
4099 cat conftest.err >&5
4100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } >/dev/null && {
4102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4103 test ! -s conftest.err
4107 $as_echo "$as_me: failed program was:" >&5
4108 sed 's/^/| /' conftest.$ac_ext >&5
4110 # Broken: fails on valid input.
4114 rm -f conftest.err conftest.$ac_ext
4116 # OK, works on sane cases. Now check whether nonexistent headers
4117 # can be detected and how.
4118 cat >conftest.$ac_ext <<_ACEOF
4121 cat confdefs.h >>conftest.$ac_ext
4122 cat >>conftest.$ac_ext <<_ACEOF
4123 /* end confdefs.h. */
4124 #include <ac_nonexistent.h>
4126 if { (ac_try="$ac_cpp conftest.$ac_ext"
4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4132 $as_echo "$ac_try_echo") >&5
4133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4135 grep -v '^ *+' conftest.er1 >conftest.err
4137 cat conftest.err >&5
4138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); } >/dev/null && {
4140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4141 test ! -s conftest.err
4143 # Broken: success on invalid input.
4146 $as_echo "$as_me: failed program was:" >&5
4147 sed 's/^/| /' conftest.$ac_ext >&5
4149 # Passes both tests.
4154 rm -f conftest.err conftest.$ac_ext
4157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4158 rm -f conftest.err conftest.$ac_ext
4159 if $ac_preproc_ok; then
4171 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4172 $as_echo "$CPP" >&6; }
4174 for ac_c_preproc_warn_flag in '' yes
4176 # Use a header file that comes with gcc, so configuring glibc
4177 # with a fresh cross-compiler works.
4178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4179 # <limits.h> exists even on freestanding compilers.
4180 # On the NeXT, cc -E runs the code through the compiler's parser,
4181 # not just through cpp. "Syntax error" is here to catch this case.
4182 cat >conftest.$ac_ext <<_ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4189 # include <limits.h>
4191 # include <assert.h>
4195 if { (ac_try="$ac_cpp conftest.$ac_ext"
4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198 *) ac_try_echo=$ac_try;;
4200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4201 $as_echo "$ac_try_echo") >&5
4202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4204 grep -v '^ *+' conftest.er1 >conftest.err
4206 cat conftest.err >&5
4207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); } >/dev/null && {
4209 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4210 test ! -s conftest.err
4214 $as_echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.$ac_ext >&5
4217 # Broken: fails on valid input.
4221 rm -f conftest.err conftest.$ac_ext
4223 # OK, works on sane cases. Now check whether nonexistent headers
4224 # can be detected and how.
4225 cat >conftest.$ac_ext <<_ACEOF
4228 cat confdefs.h >>conftest.$ac_ext
4229 cat >>conftest.$ac_ext <<_ACEOF
4230 /* end confdefs.h. */
4231 #include <ac_nonexistent.h>
4233 if { (ac_try="$ac_cpp conftest.$ac_ext"
4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4239 $as_echo "$ac_try_echo") >&5
4240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4242 grep -v '^ *+' conftest.er1 >conftest.err
4244 cat conftest.err >&5
4245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); } >/dev/null && {
4247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4248 test ! -s conftest.err
4250 # Broken: success on invalid input.
4253 $as_echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.$ac_ext >&5
4256 # Passes both tests.
4261 rm -f conftest.err conftest.$ac_ext
4264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4265 rm -f conftest.err conftest.$ac_ext
4266 if $ac_preproc_ok; then
4269 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4271 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4272 See \`config.log' for more details." >&5
4273 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4274 See \`config.log' for more details." >&2;}
4275 { (exit 1); exit 1; }; }; }
4279 ac_cpp='$CPP $CPPFLAGS'
4280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4287 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4288 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4289 if test "${ac_cv_path_GREP+set}" = set; then
4290 $as_echo_n "(cached) " >&6
4292 if test -z "$GREP"; then
4293 ac_path_GREP_found=false
4294 # Loop through the user's path and test for each of PROGNAME-LIST
4295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4299 test -z "$as_dir" && as_dir=.
4300 for ac_prog in grep ggrep; do
4301 for ac_exec_ext in '' $ac_executable_extensions; do
4302 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4303 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4304 # Check for GNU ac_path_GREP and select it if it is found.
4305 # Check for GNU $ac_path_GREP
4306 case `"$ac_path_GREP" --version 2>&1` in
4308 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4311 $as_echo_n 0123456789 >"conftest.in"
4314 cat "conftest.in" "conftest.in" >"conftest.tmp"
4315 mv "conftest.tmp" "conftest.in"
4316 cp "conftest.in" "conftest.nl"
4317 $as_echo 'GREP' >> "conftest.nl"
4318 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4319 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4320 ac_count=`expr $ac_count + 1`
4321 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4322 # Best one so far, save it but keep looking for a better one
4323 ac_cv_path_GREP="$ac_path_GREP"
4324 ac_path_GREP_max=$ac_count
4326 # 10*(2^10) chars as input seems more than enough
4327 test $ac_count -gt 10 && break
4329 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4332 $ac_path_GREP_found && break 3
4337 if test -z "$ac_cv_path_GREP"; then
4338 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4339 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4340 { (exit 1); exit 1; }; }
4343 ac_cv_path_GREP=$GREP
4347 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4348 $as_echo "$ac_cv_path_GREP" >&6; }
4349 GREP="$ac_cv_path_GREP"
4352 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4353 $as_echo_n "checking for egrep... " >&6; }
4354 if test "${ac_cv_path_EGREP+set}" = set; then
4355 $as_echo_n "(cached) " >&6
4357 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4358 then ac_cv_path_EGREP="$GREP -E"
4360 if test -z "$EGREP"; then
4361 ac_path_EGREP_found=false
4362 # Loop through the user's path and test for each of PROGNAME-LIST
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4367 test -z "$as_dir" && as_dir=.
4368 for ac_prog in egrep; do
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4371 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4372 # Check for GNU ac_path_EGREP and select it if it is found.
4373 # Check for GNU $ac_path_EGREP
4374 case `"$ac_path_EGREP" --version 2>&1` in
4376 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4379 $as_echo_n 0123456789 >"conftest.in"
4382 cat "conftest.in" "conftest.in" >"conftest.tmp"
4383 mv "conftest.tmp" "conftest.in"
4384 cp "conftest.in" "conftest.nl"
4385 $as_echo 'EGREP' >> "conftest.nl"
4386 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4387 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4388 ac_count=`expr $ac_count + 1`
4389 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4390 # Best one so far, save it but keep looking for a better one
4391 ac_cv_path_EGREP="$ac_path_EGREP"
4392 ac_path_EGREP_max=$ac_count
4394 # 10*(2^10) chars as input seems more than enough
4395 test $ac_count -gt 10 && break
4397 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4400 $ac_path_EGREP_found && break 3
4405 if test -z "$ac_cv_path_EGREP"; then
4406 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4407 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4408 { (exit 1); exit 1; }; }
4411 ac_cv_path_EGREP=$EGREP
4416 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4417 $as_echo "$ac_cv_path_EGREP" >&6; }
4418 EGREP="$ac_cv_path_EGREP"
4421 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4422 $as_echo_n "checking for ANSI C header files... " >&6; }
4423 if test "${ac_cv_header_stdc+set}" = set; then
4424 $as_echo_n "(cached) " >&6
4426 cat >conftest.$ac_ext <<_ACEOF
4429 cat confdefs.h >>conftest.$ac_ext
4430 cat >>conftest.$ac_ext <<_ACEOF
4431 /* end confdefs.h. */
4445 rm -f conftest.$ac_objext
4446 if { (ac_try="$ac_compile"
4448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4449 *) ac_try_echo=$ac_try;;
4451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4452 $as_echo "$ac_try_echo") >&5
4453 (eval "$ac_compile") 2>conftest.er1
4455 grep -v '^ *+' conftest.er1 >conftest.err
4457 cat conftest.err >&5
4458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } && {
4460 test -z "$ac_c_werror_flag" ||
4461 test ! -s conftest.err
4462 } && test -s conftest.$ac_objext; then
4463 ac_cv_header_stdc=yes
4465 $as_echo "$as_me: failed program was:" >&5
4466 sed 's/^/| /' conftest.$ac_ext >&5
4468 ac_cv_header_stdc=no
4471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4473 if test $ac_cv_header_stdc = yes; then
4474 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4475 cat >conftest.$ac_ext <<_ACEOF
4478 cat confdefs.h >>conftest.$ac_ext
4479 cat >>conftest.$ac_ext <<_ACEOF
4480 /* end confdefs.h. */
4484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4485 $EGREP "memchr" >/dev/null 2>&1; then
4488 ac_cv_header_stdc=no
4494 if test $ac_cv_header_stdc = yes; then
4495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4496 cat >conftest.$ac_ext <<_ACEOF
4499 cat confdefs.h >>conftest.$ac_ext
4500 cat >>conftest.$ac_ext <<_ACEOF
4501 /* end confdefs.h. */
4505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4506 $EGREP "free" >/dev/null 2>&1; then
4509 ac_cv_header_stdc=no
4515 if test $ac_cv_header_stdc = yes; then
4516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4517 if test "$cross_compiling" = yes; then
4520 cat >conftest.$ac_ext <<_ACEOF
4523 cat confdefs.h >>conftest.$ac_ext
4524 cat >>conftest.$ac_ext <<_ACEOF
4525 /* end confdefs.h. */
4528 #if ((' ' & 0x0FF) == 0x020)
4529 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4530 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4532 # define ISLOWER(c) \
4533 (('a' <= (c) && (c) <= 'i') \
4534 || ('j' <= (c) && (c) <= 'r') \
4535 || ('s' <= (c) && (c) <= 'z'))
4536 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4539 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4544 for (i = 0; i < 256; i++)
4545 if (XOR (islower (i), ISLOWER (i))
4546 || toupper (i) != TOUPPER (i))
4551 rm -f conftest$ac_exeext
4552 if { (ac_try="$ac_link"
4554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4555 *) ac_try_echo=$ac_try;;
4557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4558 $as_echo "$ac_try_echo") >&5
4559 (eval "$ac_link") 2>&5
4561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4563 { (case "(($ac_try" in
4564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4565 *) ac_try_echo=$ac_try;;
4567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4568 $as_echo "$ac_try_echo") >&5
4569 (eval "$ac_try") 2>&5
4571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; }; then
4575 $as_echo "$as_me: program exited with status $ac_status" >&5
4576 $as_echo "$as_me: failed program was:" >&5
4577 sed 's/^/| /' conftest.$ac_ext >&5
4580 ac_cv_header_stdc=no
4582 rm -rf conftest.dSYM
4583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4589 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4590 $as_echo "$ac_cv_header_stdc" >&6; }
4591 if test $ac_cv_header_stdc = yes; then
4593 cat >>confdefs.h <<\_ACEOF
4594 #define STDC_HEADERS 1
4599 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4609 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4610 inttypes.h stdint.h unistd.h
4612 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4613 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4614 $as_echo_n "checking for $ac_header... " >&6; }
4615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4616 $as_echo_n "(cached) " >&6
4618 cat >conftest.$ac_ext <<_ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4624 $ac_includes_default
4626 #include <$ac_header>
4628 rm -f conftest.$ac_objext
4629 if { (ac_try="$ac_compile"
4631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4632 *) ac_try_echo=$ac_try;;
4634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4635 $as_echo "$ac_try_echo") >&5
4636 (eval "$ac_compile") 2>conftest.er1
4638 grep -v '^ *+' conftest.er1 >conftest.err
4640 cat conftest.err >&5
4641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); } && {
4643 test -z "$ac_c_werror_flag" ||
4644 test ! -s conftest.err
4645 } && test -s conftest.$ac_objext; then
4646 eval "$as_ac_Header=yes"
4648 $as_echo "$as_me: failed program was:" >&5
4649 sed 's/^/| /' conftest.$ac_ext >&5
4651 eval "$as_ac_Header=no"
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656 ac_res=`eval 'as_val=${'$as_ac_Header'}
4657 $as_echo "$as_val"'`
4658 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4659 $as_echo "$ac_res" >&6; }
4660 as_val=`eval 'as_val=${'$as_ac_Header'}
4661 $as_echo "$as_val"'`
4662 if test "x$as_val" = x""yes; then
4663 cat >>confdefs.h <<_ACEOF
4664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4673 if test "${ac_cv_header_minix_config_h+set}" = set; then
4674 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4675 $as_echo_n "checking for minix/config.h... " >&6; }
4676 if test "${ac_cv_header_minix_config_h+set}" = set; then
4677 $as_echo_n "(cached) " >&6
4679 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4680 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4682 # Is the header compilable?
4683 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4684 $as_echo_n "checking minix/config.h usability... " >&6; }
4685 cat >conftest.$ac_ext <<_ACEOF
4688 cat confdefs.h >>conftest.$ac_ext
4689 cat >>conftest.$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4691 $ac_includes_default
4692 #include <minix/config.h>
4694 rm -f conftest.$ac_objext
4695 if { (ac_try="$ac_compile"
4697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698 *) ac_try_echo=$ac_try;;
4700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4701 $as_echo "$ac_try_echo") >&5
4702 (eval "$ac_compile") 2>conftest.er1
4704 grep -v '^ *+' conftest.er1 >conftest.err
4706 cat conftest.err >&5
4707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); } && {
4709 test -z "$ac_c_werror_flag" ||
4710 test ! -s conftest.err
4711 } && test -s conftest.$ac_objext; then
4712 ac_header_compiler=yes
4714 $as_echo "$as_me: failed program was:" >&5
4715 sed 's/^/| /' conftest.$ac_ext >&5
4717 ac_header_compiler=no
4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4721 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4722 $as_echo "$ac_header_compiler" >&6; }
4724 # Is the header present?
4725 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4726 $as_echo_n "checking minix/config.h presence... " >&6; }
4727 cat >conftest.$ac_ext <<_ACEOF
4730 cat confdefs.h >>conftest.$ac_ext
4731 cat >>conftest.$ac_ext <<_ACEOF
4732 /* end confdefs.h. */
4733 #include <minix/config.h>
4735 if { (ac_try="$ac_cpp conftest.$ac_ext"
4737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4738 *) ac_try_echo=$ac_try;;
4740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4741 $as_echo "$ac_try_echo") >&5
4742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4744 grep -v '^ *+' conftest.er1 >conftest.err
4746 cat conftest.err >&5
4747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } >/dev/null && {
4749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4750 test ! -s conftest.err
4752 ac_header_preproc=yes
4754 $as_echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 ac_header_preproc=no
4760 rm -f conftest.err conftest.$ac_ext
4761 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4762 $as_echo "$ac_header_preproc" >&6; }
4764 # So? What about this header?
4765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4767 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4768 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4769 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4770 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4771 ac_header_preproc=yes
4774 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4775 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4776 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4777 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4778 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4779 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4780 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4781 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4782 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4783 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4784 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4785 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4787 ## ----------------------------------------------- ##
4788 ## Report this to mznflapaf (at) 0pointer (dot) de ##
4789 ## ----------------------------------------------- ##
4791 ) | sed "s/^/$as_me: WARNING: /" >&2
4794 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4795 $as_echo_n "checking for minix/config.h... " >&6; }
4796 if test "${ac_cv_header_minix_config_h+set}" = set; then
4797 $as_echo_n "(cached) " >&6
4799 ac_cv_header_minix_config_h=$ac_header_preproc
4801 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4802 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4805 if test "x$ac_cv_header_minix_config_h" = x""yes; then
4812 if test "$MINIX" = yes; then
4814 cat >>confdefs.h <<\_ACEOF
4815 #define _POSIX_SOURCE 1
4819 cat >>confdefs.h <<\_ACEOF
4820 #define _POSIX_1_SOURCE 2
4824 cat >>confdefs.h <<\_ACEOF
4832 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4833 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4834 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4835 $as_echo_n "(cached) " >&6
4837 cat >conftest.$ac_ext <<_ACEOF
4840 cat confdefs.h >>conftest.$ac_ext
4841 cat >>conftest.$ac_ext <<_ACEOF
4842 /* end confdefs.h. */
4844 # define __EXTENSIONS__ 1
4845 $ac_includes_default
4854 rm -f conftest.$ac_objext
4855 if { (ac_try="$ac_compile"
4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4861 $as_echo "$ac_try_echo") >&5
4862 (eval "$ac_compile") 2>conftest.er1
4864 grep -v '^ *+' conftest.er1 >conftest.err
4866 cat conftest.err >&5
4867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); } && {
4869 test -z "$ac_c_werror_flag" ||
4870 test ! -s conftest.err
4871 } && test -s conftest.$ac_objext; then
4872 ac_cv_safe_to_define___extensions__=yes
4874 $as_echo "$as_me: failed program was:" >&5
4875 sed 's/^/| /' conftest.$ac_ext >&5
4877 ac_cv_safe_to_define___extensions__=no
4880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4883 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4884 test $ac_cv_safe_to_define___extensions__ = yes &&
4885 cat >>confdefs.h <<\_ACEOF
4886 #define __EXTENSIONS__ 1
4889 cat >>confdefs.h <<\_ACEOF
4890 #define _ALL_SOURCE 1
4893 cat >>confdefs.h <<\_ACEOF
4894 #define _GNU_SOURCE 1
4897 cat >>confdefs.h <<\_ACEOF
4898 #define _POSIX_PTHREAD_SEMANTICS 1
4901 cat >>confdefs.h <<\_ACEOF
4902 #define _TANDEM_SOURCE 1
4907 # Find a good install program. We prefer a C program (faster),
4908 # so one script is as good as another. But avoid the broken or
4909 # incompatible versions:
4910 # SysV /etc/install, /usr/sbin/install
4911 # SunOS /usr/etc/install
4912 # IRIX /sbin/install
4914 # AmigaOS /C/install, which installs bootblocks on floppy discs
4915 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4916 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4917 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4918 # OS/2's system install, which has a completely different semantic
4919 # ./install, which can be erroneously created by make from ./install.sh.
4920 # Reject install programs that cannot install multiple files.
4921 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4922 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4923 if test -z "$INSTALL"; then
4924 if test "${ac_cv_path_install+set}" = set; then
4925 $as_echo_n "(cached) " >&6
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 test -z "$as_dir" && as_dir=.
4932 # Account for people who put trailing slashes in PATH elements.
4934 ./ | .// | /cC/* | \
4935 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4936 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4939 # OSF1 and SCO ODT 3.0 have their own names for install.
4940 # Don't use installbsd from OSF since it installs stuff as root
4942 for ac_prog in ginstall scoinst install; do
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4945 if test $ac_prog = install &&
4946 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4947 # AIX install. It has an incompatible calling convention.
4949 elif test $ac_prog = install &&
4950 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4951 # program-specific install script used by HP pwplus--don't use.
4954 rm -rf conftest.one conftest.two conftest.dir
4955 echo one > conftest.one
4956 echo two > conftest.two
4958 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4959 test -s conftest.one && test -s conftest.two &&
4960 test -s conftest.dir/conftest.one &&
4961 test -s conftest.dir/conftest.two
4963 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4976 rm -rf conftest.one conftest.two conftest.dir
4979 if test "${ac_cv_path_install+set}" = set; then
4980 INSTALL=$ac_cv_path_install
4982 # As a last resort, use the slow shell script. Don't cache a
4983 # value for INSTALL within a source directory, because that will
4984 # break other packages using the cache if that directory is
4985 # removed, or if the value is a relative name.
4986 INSTALL=$ac_install_sh
4989 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4990 $as_echo "$INSTALL" >&6; }
4992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4993 # It thinks the first close brace ends the variable substitution.
4994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4998 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5000 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5001 $as_echo_n "checking whether ln -s works... " >&6; }
5003 if test "$LN_S" = "ln -s"; then
5004 { $as_echo "$as_me:$LINENO: result: yes" >&5
5005 $as_echo "yes" >&6; }
5007 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5008 $as_echo "no, using $LN_S" >&6; }
5011 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5012 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5014 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5015 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5016 $as_echo_n "(cached) " >&6
5018 cat >conftest.make <<\_ACEOF
5021 @echo '@@@%%%=$(MAKE)=@@@%%%'
5023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5026 eval ac_cv_prog_make_${ac_make}_set=yes;;
5028 eval ac_cv_prog_make_${ac_make}_set=no;;
5032 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5033 { $as_echo "$as_me:$LINENO: result: yes" >&5
5034 $as_echo "yes" >&6; }
5037 { $as_echo "$as_me:$LINENO: result: no" >&5
5038 $as_echo "no" >&6; }
5039 SET_MAKE="MAKE=${MAKE-make}"
5044 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5045 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5050 macro_version='2.2.6'
5051 macro_revision='1.3012'
5065 ltmain="$ac_aux_dir/ltmain.sh"
5067 # Make sure we can run config.sub.
5068 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5069 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5070 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5071 { (exit 1); exit 1; }; }
5073 { $as_echo "$as_me:$LINENO: checking build system type" >&5
5074 $as_echo_n "checking build system type... " >&6; }
5075 if test "${ac_cv_build+set}" = set; then
5076 $as_echo_n "(cached) " >&6
5078 ac_build_alias=$build_alias
5079 test "x$ac_build_alias" = x &&
5080 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5081 test "x$ac_build_alias" = x &&
5082 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5083 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5084 { (exit 1); exit 1; }; }
5085 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5086 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5087 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5088 { (exit 1); exit 1; }; }
5091 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5092 $as_echo "$ac_cv_build" >&6; }
5093 case $ac_cv_build in
5095 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5096 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
5097 { (exit 1); exit 1; }; };;
5100 ac_save_IFS=$IFS; IFS='-'
5106 # Remember, the first character of IFS is used to create $*,
5107 # except with old shells:
5110 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5113 { $as_echo "$as_me:$LINENO: checking host system type" >&5
5114 $as_echo_n "checking host system type... " >&6; }
5115 if test "${ac_cv_host+set}" = set; then
5116 $as_echo_n "(cached) " >&6
5118 if test "x$host_alias" = x; then
5119 ac_cv_host=$ac_cv_build
5121 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5122 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5123 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5124 { (exit 1); exit 1; }; }
5128 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5129 $as_echo "$ac_cv_host" >&6; }
5132 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5133 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
5134 { (exit 1); exit 1; }; };;
5137 ac_save_IFS=$IFS; IFS='-'
5143 # Remember, the first character of IFS is used to create $*,
5144 # except with old shells:
5147 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5150 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5151 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5152 if test "${ac_cv_path_SED+set}" = set; then
5153 $as_echo_n "(cached) " >&6
5155 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5156 for ac_i in 1 2 3 4 5 6 7; do
5157 ac_script="$ac_script$as_nl$ac_script"
5159 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5160 $as_unset ac_script || ac_script=
5161 if test -z "$SED"; then
5162 ac_path_SED_found=false
5163 # Loop through the user's path and test for each of PROGNAME-LIST
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 test -z "$as_dir" && as_dir=.
5169 for ac_prog in sed gsed; do
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5172 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5173 # Check for GNU ac_path_SED and select it if it is found.
5174 # Check for GNU $ac_path_SED
5175 case `"$ac_path_SED" --version 2>&1` in
5177 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5180 $as_echo_n 0123456789 >"conftest.in"
5183 cat "conftest.in" "conftest.in" >"conftest.tmp"
5184 mv "conftest.tmp" "conftest.in"
5185 cp "conftest.in" "conftest.nl"
5186 $as_echo '' >> "conftest.nl"
5187 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5188 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5189 ac_count=`expr $ac_count + 1`
5190 if test $ac_count -gt ${ac_path_SED_max-0}; then
5191 # Best one so far, save it but keep looking for a better one
5192 ac_cv_path_SED="$ac_path_SED"
5193 ac_path_SED_max=$ac_count
5195 # 10*(2^10) chars as input seems more than enough
5196 test $ac_count -gt 10 && break
5198 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5201 $ac_path_SED_found && break 3
5206 if test -z "$ac_cv_path_SED"; then
5207 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5208 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5209 { (exit 1); exit 1; }; }
5216 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5217 $as_echo "$ac_cv_path_SED" >&6; }
5218 SED="$ac_cv_path_SED"
5221 test -z "$SED" && SED=sed
5222 Xsed="$SED -e 1s/^X//"
5234 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5235 $as_echo_n "checking for fgrep... " >&6; }
5236 if test "${ac_cv_path_FGREP+set}" = set; then
5237 $as_echo_n "(cached) " >&6
5239 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5240 then ac_cv_path_FGREP="$GREP -F"
5242 if test -z "$FGREP"; then
5243 ac_path_FGREP_found=false
5244 # Loop through the user's path and test for each of PROGNAME-LIST
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5249 test -z "$as_dir" && as_dir=.
5250 for ac_prog in fgrep; do
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5253 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5254 # Check for GNU ac_path_FGREP and select it if it is found.
5255 # Check for GNU $ac_path_FGREP
5256 case `"$ac_path_FGREP" --version 2>&1` in
5258 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5261 $as_echo_n 0123456789 >"conftest.in"
5264 cat "conftest.in" "conftest.in" >"conftest.tmp"
5265 mv "conftest.tmp" "conftest.in"
5266 cp "conftest.in" "conftest.nl"
5267 $as_echo 'FGREP' >> "conftest.nl"
5268 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5269 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5270 ac_count=`expr $ac_count + 1`
5271 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5272 # Best one so far, save it but keep looking for a better one
5273 ac_cv_path_FGREP="$ac_path_FGREP"
5274 ac_path_FGREP_max=$ac_count
5276 # 10*(2^10) chars as input seems more than enough
5277 test $ac_count -gt 10 && break
5279 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5282 $ac_path_FGREP_found && break 3
5287 if test -z "$ac_cv_path_FGREP"; then
5288 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5289 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5290 { (exit 1); exit 1; }; }
5293 ac_cv_path_FGREP=$FGREP
5298 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5299 $as_echo "$ac_cv_path_FGREP" >&6; }
5300 FGREP="$ac_cv_path_FGREP"
5303 test -z "$GREP" && GREP=grep
5323 # Check whether --with-gnu-ld was given.
5324 if test "${with_gnu_ld+set}" = set; then
5325 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5331 if test "$GCC" = yes; then
5332 # Check if gcc -print-prog-name=ld gives a path.
5333 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5334 $as_echo_n "checking for ld used by $CC... " >&6; }
5337 # gcc leaves a trailing carriage return which upsets mingw
5338 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5340 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5343 # Accept absolute paths.
5345 re_direlt='/[^/][^/]*/\.\./'
5346 # Canonicalize the pathname of ld
5347 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5348 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5349 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5351 test -z "$LD" && LD="$ac_prog"
5354 # If it fails, then pretend we aren't using GCC.
5358 # If it is relative, then search for the first ld in PATH.
5362 elif test "$with_gnu_ld" = yes; then
5363 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5364 $as_echo_n "checking for GNU ld... " >&6; }
5366 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5367 $as_echo_n "checking for non-GNU ld... " >&6; }
5369 if test "${lt_cv_path_LD+set}" = set; then
5370 $as_echo_n "(cached) " >&6
5372 if test -z "$LD"; then
5373 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5374 for ac_dir in $PATH; do
5376 test -z "$ac_dir" && ac_dir=.
5377 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5378 lt_cv_path_LD="$ac_dir/$ac_prog"
5379 # Check to see if the program is GNU ld. I'd rather use --version,
5380 # but apparently some variants of GNU ld only accept -v.
5381 # Break only if it was the GNU/non-GNU ld that we prefer.
5382 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5383 *GNU* | *'with BFD'*)
5384 test "$with_gnu_ld" != no && break
5387 test "$with_gnu_ld" != yes && break
5394 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5399 if test -n "$LD"; then
5400 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5401 $as_echo "$LD" >&6; }
5403 { $as_echo "$as_me:$LINENO: result: no" >&5
5404 $as_echo "no" >&6; }
5406 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5407 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5408 { (exit 1); exit 1; }; }
5409 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5410 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5411 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5412 $as_echo_n "(cached) " >&6
5414 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5415 case `$LD -v 2>&1 </dev/null` in
5416 *GNU* | *'with BFD'*)
5417 lt_cv_prog_gnu_ld=yes
5420 lt_cv_prog_gnu_ld=no
5424 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5425 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5426 with_gnu_ld=$lt_cv_prog_gnu_ld
5436 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5437 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5438 if test "${lt_cv_path_NM+set}" = set; then
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$NM"; then
5442 # Let the user override the test.
5445 lt_nm_to_check="${ac_tool_prefix}nm"
5446 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5447 lt_nm_to_check="$lt_nm_to_check nm"
5449 for lt_tmp_nm in $lt_nm_to_check; do
5450 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5451 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5453 test -z "$ac_dir" && ac_dir=.
5454 tmp_nm="$ac_dir/$lt_tmp_nm"
5455 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5456 # Check to see if the nm accepts a BSD-compat flag.
5457 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5458 # nm: unknown option "B" ignored
5459 # Tru64's nm complains that /dev/null is an invalid object file
5460 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5461 */dev/null* | *'Invalid file or object type'*)
5462 lt_cv_path_NM="$tmp_nm -B"
5466 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5468 lt_cv_path_NM="$tmp_nm -p"
5472 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5473 continue # so that we can try to find one that supports BSD flags
5482 : ${lt_cv_path_NM=no}
5485 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5486 $as_echo "$lt_cv_path_NM" >&6; }
5487 if test "$lt_cv_path_NM" != "no"; then
5490 # Didn't find any BSD compatible name lister, look for dumpbin.
5491 if test -n "$ac_tool_prefix"; then
5492 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5495 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5496 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5499 $as_echo_n "(cached) " >&6
5501 if test -n "$DUMPBIN"; then
5502 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5511 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5512 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 DUMPBIN=$ac_cv_prog_DUMPBIN
5522 if test -n "$DUMPBIN"; then
5523 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5524 $as_echo "$DUMPBIN" >&6; }
5526 { $as_echo "$as_me:$LINENO: result: no" >&5
5527 $as_echo "no" >&6; }
5531 test -n "$DUMPBIN" && break
5534 if test -z "$DUMPBIN"; then
5535 ac_ct_DUMPBIN=$DUMPBIN
5536 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5538 # Extract the first word of "$ac_prog", so it can be a program name with args.
5539 set dummy $ac_prog; ac_word=$2
5540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5543 $as_echo_n "(cached) " >&6
5545 if test -n "$ac_ct_DUMPBIN"; then
5546 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5555 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5566 if test -n "$ac_ct_DUMPBIN"; then
5567 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5568 $as_echo "$ac_ct_DUMPBIN" >&6; }
5570 { $as_echo "$as_me:$LINENO: result: no" >&5
5571 $as_echo "no" >&6; }
5575 test -n "$ac_ct_DUMPBIN" && break
5578 if test "x$ac_ct_DUMPBIN" = x; then
5581 case $cross_compiling:$ac_tool_warned in
5583 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5585 ac_tool_warned=yes ;;
5587 DUMPBIN=$ac_ct_DUMPBIN
5592 if test "$DUMPBIN" != ":"; then
5596 test -z "$NM" && NM=nm
5603 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5604 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5605 if test "${lt_cv_nm_interface+set}" = set; then
5606 $as_echo_n "(cached) " >&6
5608 lt_cv_nm_interface="BSD nm"
5609 echo "int some_variable = 0;" > conftest.$ac_ext
5610 (eval echo "\"\$as_me:5610: $ac_compile\"" >&5)
5611 (eval "$ac_compile" 2>conftest.err)
5612 cat conftest.err >&5
5613 (eval echo "\"\$as_me:5613: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5614 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5615 cat conftest.err >&5
5616 (eval echo "\"\$as_me:5616: output\"" >&5)
5617 cat conftest.out >&5
5618 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5619 lt_cv_nm_interface="MS dumpbin"
5623 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5624 $as_echo "$lt_cv_nm_interface" >&6; }
5626 # find the maximum length of command line arguments
5627 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5628 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5629 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5630 $as_echo_n "(cached) " >&6
5637 # On DJGPP, this test can blow up pretty badly due to problems in libc
5638 # (any single argument exceeding 2000 bytes causes a buffer overrun
5639 # during glob expansion). Even if it were fixed, the result of this
5640 # check would be larger than it should be.
5641 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5645 # Under GNU Hurd, this test is not required because there is
5646 # no limit to the length of command line arguments.
5647 # Libtool will interpret -1 as no limit whatsoever
5648 lt_cv_sys_max_cmd_len=-1;
5651 cygwin* | mingw* | cegcc*)
5652 # On Win9x/ME, this test blows up -- it succeeds, but takes
5653 # about 5 minutes as the teststring grows exponentially.
5654 # Worse, since 9x/ME are not pre-emptively multitasking,
5655 # you end up with a "frozen" computer, even though with patience
5656 # the test eventually succeeds (with a max line length of 256k).
5657 # Instead, let's just punt: use the minimum linelength reported by
5658 # all of the supported platforms: 8192 (on NT/2K/XP).
5659 lt_cv_sys_max_cmd_len=8192;
5663 # On AmigaOS with pdksh, this test takes hours, literally.
5664 # So we just punt and use a minimum line length of 8192.
5665 lt_cv_sys_max_cmd_len=8192;
5668 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5669 # This has been around since 386BSD, at least. Likely further.
5670 if test -x /sbin/sysctl; then
5671 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5672 elif test -x /usr/sbin/sysctl; then
5673 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5675 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5677 # And add a safety zone
5678 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5679 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5683 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5684 lt_cv_sys_max_cmd_len=196608
5688 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5689 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5690 # nice to cause kernel panics so lets avoid the loop below.
5691 # First set a reasonable default.
5692 lt_cv_sys_max_cmd_len=16384
5694 if test -x /sbin/sysconfig; then
5695 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5696 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5701 lt_cv_sys_max_cmd_len=102400
5703 sysv5* | sco5v6* | sysv4.2uw2*)
5704 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5705 if test -n "$kargmax"; then
5706 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5708 lt_cv_sys_max_cmd_len=32768
5712 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5713 if test -n "$lt_cv_sys_max_cmd_len"; then
5714 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5715 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5717 # Make teststring a little bigger before we do anything with it.
5718 # a 1K string should be a reasonable start.
5719 for i in 1 2 3 4 5 6 7 8 ; do
5720 teststring=$teststring$teststring
5722 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5723 # If test is not a shell built-in, we'll probably end up computing a
5724 # maximum length that is only half of the actual maximum length, but
5726 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5727 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5728 test $i != 17 # 1/2 MB should be enough
5731 teststring=$teststring$teststring
5733 # Only check the string length outside the loop.
5734 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5736 # Add a significant safety factor because C++ compilers can tack on
5737 # massive amounts of additional arguments before passing them to the
5738 # linker. It appears as though 1/2 is a usable value.
5739 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5746 if test -n $lt_cv_sys_max_cmd_len ; then
5747 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5748 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5750 { $as_echo "$as_me:$LINENO: result: none" >&5
5751 $as_echo "none" >&6; }
5753 max_cmd_len=$lt_cv_sys_max_cmd_len
5764 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5765 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5766 # Try some XSI features
5769 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5771 && eval 'test $(( 1 + 1 )) -eq 2 \
5772 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5774 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5775 $as_echo "$xsi_shell" >&6; }
5778 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5779 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5781 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5783 && lt_shell_append=yes
5784 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5785 $as_echo "$lt_shell_append" >&6; }
5788 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5798 # test EBCDIC or ASCII
5799 case `echo X|tr X '\101'` in
5800 A) # ASCII based system
5801 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5802 lt_SP2NL='tr \040 \012'
5803 lt_NL2SP='tr \015\012 \040\040'
5805 *) # EBCDIC based system
5806 lt_SP2NL='tr \100 \n'
5807 lt_NL2SP='tr \r\n \100\100'
5819 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5820 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5821 if test "${lt_cv_ld_reload_flag+set}" = set; then
5822 $as_echo_n "(cached) " >&6
5824 lt_cv_ld_reload_flag='-r'
5826 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5827 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5828 reload_flag=$lt_cv_ld_reload_flag
5829 case $reload_flag in
5831 *) reload_flag=" $reload_flag" ;;
5833 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5836 if test "$GCC" = yes; then
5837 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5839 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5852 if test -n "$ac_tool_prefix"; then
5853 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5854 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5855 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5858 $as_echo_n "(cached) " >&6
5860 if test -n "$OBJDUMP"; then
5861 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5871 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 OBJDUMP=$ac_cv_prog_OBJDUMP
5881 if test -n "$OBJDUMP"; then
5882 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5883 $as_echo "$OBJDUMP" >&6; }
5885 { $as_echo "$as_me:$LINENO: result: no" >&5
5886 $as_echo "no" >&6; }
5891 if test -z "$ac_cv_prog_OBJDUMP"; then
5892 ac_ct_OBJDUMP=$OBJDUMP
5893 # Extract the first word of "objdump", so it can be a program name with args.
5894 set dummy objdump; ac_word=$2
5895 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5898 $as_echo_n "(cached) " >&6
5900 if test -n "$ac_ct_OBJDUMP"; then
5901 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5910 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5911 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5921 if test -n "$ac_ct_OBJDUMP"; then
5922 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5923 $as_echo "$ac_ct_OBJDUMP" >&6; }
5925 { $as_echo "$as_me:$LINENO: result: no" >&5
5926 $as_echo "no" >&6; }
5929 if test "x$ac_ct_OBJDUMP" = x; then
5932 case $cross_compiling:$ac_tool_warned in
5934 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5936 ac_tool_warned=yes ;;
5938 OBJDUMP=$ac_ct_OBJDUMP
5941 OBJDUMP="$ac_cv_prog_OBJDUMP"
5944 test -z "$OBJDUMP" && OBJDUMP=objdump
5954 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5955 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5956 if test "${lt_cv_deplibs_check_method+set}" = set; then
5957 $as_echo_n "(cached) " >&6
5959 lt_cv_file_magic_cmd='$MAGIC_CMD'
5960 lt_cv_file_magic_test_file=
5961 lt_cv_deplibs_check_method='unknown'
5962 # Need to set the preceding variable on all platforms that support
5963 # interlibrary dependencies.
5964 # 'none' -- dependencies not supported.
5965 # `unknown' -- same as none, but documents that we really don't know.
5966 # 'pass_all' -- all dependencies passed with no checks.
5967 # 'test_compile' -- check by making test program.
5968 # 'file_magic [[regex]]' -- check by looking for files in library path
5969 # which responds to the $file_magic_cmd with a given extended regex.
5970 # If you have `file' or equivalent on your system and you're not sure
5971 # whether `pass_all' will *always* work, you probably want this one.
5975 lt_cv_deplibs_check_method=pass_all
5979 lt_cv_deplibs_check_method=pass_all
5983 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5984 lt_cv_file_magic_cmd='/usr/bin/file -L'
5985 lt_cv_file_magic_test_file=/shlib/libc.so
5989 # func_win32_libid is a shell function defined in ltmain.sh
5990 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5991 lt_cv_file_magic_cmd='func_win32_libid'
5995 # Base MSYS/MinGW do not provide the 'file' command needed by
5996 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5997 # unless we find 'file', for example because we are cross-compiling.
5998 if ( file / ) >/dev/null 2>&1; then
5999 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6000 lt_cv_file_magic_cmd='func_win32_libid'
6002 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6003 lt_cv_file_magic_cmd='$OBJDUMP -f'
6008 # use the weaker test based on 'objdump'. See mingw*.
6009 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6010 lt_cv_file_magic_cmd='$OBJDUMP -f'
6013 darwin* | rhapsody*)
6014 lt_cv_deplibs_check_method=pass_all
6017 freebsd* | dragonfly*)
6018 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6021 # Not sure whether the presence of OpenBSD here was a mistake.
6022 # Let's accept both of them until this is cleared up.
6023 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6024 lt_cv_file_magic_cmd=/usr/bin/file
6025 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6029 lt_cv_deplibs_check_method=pass_all
6034 lt_cv_deplibs_check_method=pass_all
6037 hpux10.20* | hpux11*)
6038 lt_cv_file_magic_cmd=/usr/bin/file
6041 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6042 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6045 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]'
6046 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6049 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6050 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6056 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6060 irix5* | irix6* | nonstopux*)
6062 *-32|*"-32 ") libmagic=32-bit;;
6063 *-n32|*"-n32 ") libmagic=N32;;
6064 *-64|*"-64 ") libmagic=64-bit;;
6065 *) libmagic=never-match;;
6067 lt_cv_deplibs_check_method=pass_all
6070 # This must be Linux ELF.
6071 linux* | k*bsd*-gnu)
6072 lt_cv_deplibs_check_method=pass_all
6076 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6077 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6079 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6084 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6085 lt_cv_file_magic_cmd=/usr/bin/file
6086 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6090 lt_cv_deplibs_check_method=pass_all
6094 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6095 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6097 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6101 osf3* | osf4* | osf5*)
6102 lt_cv_deplibs_check_method=pass_all
6106 lt_cv_deplibs_check_method=pass_all
6110 lt_cv_deplibs_check_method=pass_all
6113 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6114 lt_cv_deplibs_check_method=pass_all
6118 case $host_vendor in
6120 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]'
6121 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6124 lt_cv_deplibs_check_method=pass_all
6127 lt_cv_file_magic_cmd='/bin/file'
6128 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6131 lt_cv_file_magic_cmd='/bin/file'
6132 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6133 lt_cv_file_magic_test_file=/lib/libc.so
6136 lt_cv_deplibs_check_method=pass_all
6139 lt_cv_deplibs_check_method=pass_all
6145 lt_cv_deplibs_check_method=pass_all
6150 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6151 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6152 file_magic_cmd=$lt_cv_file_magic_cmd
6153 deplibs_check_method=$lt_cv_deplibs_check_method
6154 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6167 if test -n "$ac_tool_prefix"; then
6168 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6169 set dummy ${ac_tool_prefix}ar; ac_word=$2
6170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6171 $as_echo_n "checking for $ac_word... " >&6; }
6172 if test "${ac_cv_prog_AR+set}" = set; then
6173 $as_echo_n "(cached) " >&6
6175 if test -n "$AR"; then
6176 ac_cv_prog_AR="$AR" # Let the user override the test.
6178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 test -z "$as_dir" && as_dir=.
6183 for ac_exec_ext in '' $ac_executable_extensions; do
6184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6185 ac_cv_prog_AR="${ac_tool_prefix}ar"
6186 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6196 if test -n "$AR"; then
6197 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6198 $as_echo "$AR" >&6; }
6200 { $as_echo "$as_me:$LINENO: result: no" >&5
6201 $as_echo "no" >&6; }
6206 if test -z "$ac_cv_prog_AR"; then
6208 # Extract the first word of "ar", so it can be a program name with args.
6209 set dummy ar; ac_word=$2
6210 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6211 $as_echo_n "checking for $ac_word... " >&6; }
6212 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6213 $as_echo_n "(cached) " >&6
6215 if test -n "$ac_ct_AR"; then
6216 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 test -z "$as_dir" && as_dir=.
6223 for ac_exec_ext in '' $ac_executable_extensions; do
6224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6225 ac_cv_prog_ac_ct_AR="ar"
6226 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6235 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6236 if test -n "$ac_ct_AR"; then
6237 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6238 $as_echo "$ac_ct_AR" >&6; }
6240 { $as_echo "$as_me:$LINENO: result: no" >&5
6241 $as_echo "no" >&6; }
6244 if test "x$ac_ct_AR" = x; then
6247 case $cross_compiling:$ac_tool_warned in
6249 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6251 ac_tool_warned=yes ;;
6259 test -z "$AR" && AR=ar
6260 test -z "$AR_FLAGS" && AR_FLAGS=cru
6272 if test -n "$ac_tool_prefix"; then
6273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6274 set dummy ${ac_tool_prefix}strip; ac_word=$2
6275 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6276 $as_echo_n "checking for $ac_word... " >&6; }
6277 if test "${ac_cv_prog_STRIP+set}" = set; then
6278 $as_echo_n "(cached) " >&6
6280 if test -n "$STRIP"; then
6281 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 STRIP=$ac_cv_prog_STRIP
6301 if test -n "$STRIP"; then
6302 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6303 $as_echo "$STRIP" >&6; }
6305 { $as_echo "$as_me:$LINENO: result: no" >&5
6306 $as_echo "no" >&6; }
6311 if test -z "$ac_cv_prog_STRIP"; then
6313 # Extract the first word of "strip", so it can be a program name with args.
6314 set dummy strip; ac_word=$2
6315 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6316 $as_echo_n "checking for $ac_word... " >&6; }
6317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6318 $as_echo_n "(cached) " >&6
6320 if test -n "$ac_ct_STRIP"; then
6321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 test -z "$as_dir" && as_dir=.
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6330 ac_cv_prog_ac_ct_STRIP="strip"
6331 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6341 if test -n "$ac_ct_STRIP"; then
6342 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6343 $as_echo "$ac_ct_STRIP" >&6; }
6345 { $as_echo "$as_me:$LINENO: result: no" >&5
6346 $as_echo "no" >&6; }
6349 if test "x$ac_ct_STRIP" = x; then
6352 case $cross_compiling:$ac_tool_warned in
6354 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6356 ac_tool_warned=yes ;;
6361 STRIP="$ac_cv_prog_STRIP"
6364 test -z "$STRIP" && STRIP=:
6371 if test -n "$ac_tool_prefix"; then
6372 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6373 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6374 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if test "${ac_cv_prog_RANLIB+set}" = set; then
6377 $as_echo_n "(cached) " >&6
6379 if test -n "$RANLIB"; then
6380 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6389 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6390 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 RANLIB=$ac_cv_prog_RANLIB
6400 if test -n "$RANLIB"; then
6401 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6402 $as_echo "$RANLIB" >&6; }
6404 { $as_echo "$as_me:$LINENO: result: no" >&5
6405 $as_echo "no" >&6; }
6410 if test -z "$ac_cv_prog_RANLIB"; then
6411 ac_ct_RANLIB=$RANLIB
6412 # Extract the first word of "ranlib", so it can be a program name with args.
6413 set dummy ranlib; ac_word=$2
6414 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6417 $as_echo_n "(cached) " >&6
6419 if test -n "$ac_ct_RANLIB"; then
6420 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_ac_ct_RANLIB="ranlib"
6430 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6440 if test -n "$ac_ct_RANLIB"; then
6441 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6442 $as_echo "$ac_ct_RANLIB" >&6; }
6444 { $as_echo "$as_me:$LINENO: result: no" >&5
6445 $as_echo "no" >&6; }
6448 if test "x$ac_ct_RANLIB" = x; then
6451 case $cross_compiling:$ac_tool_warned in
6453 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned=yes ;;
6457 RANLIB=$ac_ct_RANLIB
6460 RANLIB="$ac_cv_prog_RANLIB"
6463 test -z "$RANLIB" && RANLIB=:
6470 # Determine commands to create old-style static archives.
6471 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6472 old_postinstall_cmds='chmod 644 $oldlib'
6473 old_postuninstall_cmds=
6475 if test -n "$RANLIB"; then
6478 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6481 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6484 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6520 # If no C compiler was specified, use CC.
6523 # If no C compiler flags were specified, use CFLAGS.
6524 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6526 # Allow CC to be a program name with arguments.
6530 # Check for command to grab the raw symbol name followed by C symbol from nm.
6531 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6532 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6533 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6534 $as_echo_n "(cached) " >&6
6537 # These are sane defaults that work on at least a few old systems.
6538 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6540 # Character class describing NM global symbol codes.
6541 symcode='[BCDEGRST]'
6543 # Regexp to match symbols that can be accessed directly from C.
6544 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6546 # Define system-specific variables.
6551 cygwin* | mingw* | pw32* | cegcc*)
6552 symcode='[ABCDGISTW]'
6555 if test "$host_cpu" = ia64; then
6556 symcode='[ABCDEGRST]'
6560 symcode='[BCDEGRST]'
6563 symcode='[BCDEGQRST]'
6574 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6582 # If we're using GNU nm, then use its standard symbol codes.
6583 case `$NM -V 2>&1` in
6584 *GNU* | *'with BFD'*)
6585 symcode='[ABCDGIRSTW]' ;;
6588 # Transform an extracted symbol line into a proper C declaration.
6589 # Some systems (esp. on ia64) link data and code symbols differently,
6590 # so use this general approach.
6591 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6593 # Transform an extracted symbol line into symbol name and symbol address
6594 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6595 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'"
6597 # Handle CRLF in mingw tool chain
6601 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6605 # Try without a prefix underscore, then with it.
6606 for ac_symprfx in "" "_"; do
6608 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6609 symxfrm="\\1 $ac_symprfx\\2 \\2"
6611 # Write the raw and C identifiers.
6612 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6613 # Fake it for dumpbin and say T for any non-static function
6614 # and D for any global variable.
6615 # Also find C++ and __fastcall symbols from MSVC++,
6616 # which start with @ or ?.
6617 lt_cv_sys_global_symbol_pipe="$AWK '"\
6618 " {last_section=section; section=\$ 3};"\
6619 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6620 " \$ 0!~/External *\|/{next};"\
6621 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6622 " {if(hide[section]) next};"\
6623 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6624 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6625 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6626 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6627 " ' prfx=^$ac_symprfx"
6629 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6632 # Check to see that the pipe works correctly.
6636 cat > conftest.$ac_ext <<_LT_EOF
6641 void nm_test_func(void);
6642 void nm_test_func(void){}
6646 int main(){nm_test_var='a';nm_test_func();return(0);}
6649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6650 (eval $ac_compile) 2>&5
6652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; then
6654 # Now try to grab the symbols.
6656 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6657 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); } && test -s "$nlist"; then
6661 # Try sorting and uniquifying the output.
6662 if sort "$nlist" | uniq > "$nlist"T; then
6663 mv -f "$nlist"T "$nlist"
6668 # Make sure that we snagged all the symbols we need.
6669 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6670 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6671 cat <<_LT_EOF > conftest.$ac_ext
6677 # Now generate the symbol file.
6678 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6680 cat <<_LT_EOF >> conftest.$ac_ext
6681 /* The mapping between symbol names and symbols. */
6686 lt__PROGRAM__LTX_preloaded_symbols[] =
6688 { "@PROGRAM@", (void *) 0 },
6690 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6691 cat <<\_LT_EOF >> conftest.$ac_ext
6695 /* This works around a problem in FreeBSD linker */
6696 #ifdef FREEBSD_WORKAROUND
6697 static const void *lt_preloaded_setup() {
6698 return lt__PROGRAM__LTX_preloaded_symbols;
6706 # Now try linking the two files.
6707 mv conftest.$ac_objext conftstm.$ac_objext
6708 lt_save_LIBS="$LIBS"
6709 lt_save_CFLAGS="$CFLAGS"
6710 LIBS="conftstm.$ac_objext"
6711 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6713 (eval $ac_link) 2>&5
6715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6719 LIBS="$lt_save_LIBS"
6720 CFLAGS="$lt_save_CFLAGS"
6722 echo "cannot find nm_test_func in $nlist" >&5
6725 echo "cannot find nm_test_var in $nlist" >&5
6728 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6731 echo "$progname: failed program was:" >&5
6732 cat conftest.$ac_ext >&5
6734 rm -rf conftest* conftst*
6736 # Do not use the global_symbol_pipe unless it works.
6737 if test "$pipe_works" = yes; then
6740 lt_cv_sys_global_symbol_pipe=
6746 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6747 lt_cv_sys_global_symbol_to_cdecl=
6749 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6750 { $as_echo "$as_me:$LINENO: result: failed" >&5
6751 $as_echo "failed" >&6; }
6753 { $as_echo "$as_me:$LINENO: result: ok" >&5
6754 $as_echo "ok" >&6; }
6778 # Check whether --enable-libtool-lock was given.
6779 if test "${enable_libtool_lock+set}" = set; then
6780 enableval=$enable_libtool_lock;
6783 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6785 # Some flags need to be propagated to the compiler or linker for good
6789 # Find out which ABI we are using.
6790 echo 'int i;' > conftest.$ac_ext
6791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6792 (eval $ac_compile) 2>&5
6794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; then
6796 case `/usr/bin/file conftest.$ac_objext` in
6808 # Find out which ABI we are using.
6809 echo '#line 6809 "configure"' > conftest.$ac_ext
6810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6811 (eval $ac_compile) 2>&5
6813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); }; then
6815 if test "$lt_cv_prog_gnu_ld" = yes; then
6816 case `/usr/bin/file conftest.$ac_objext` in
6818 LD="${LD-ld} -melf32bsmip"
6821 LD="${LD-ld} -melf32bmipn32"
6824 LD="${LD-ld} -melf64bmip"
6828 case `/usr/bin/file conftest.$ac_objext` in
6844 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6845 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6846 # Find out which ABI we are using.
6847 echo 'int i;' > conftest.$ac_ext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6849 (eval $ac_compile) 2>&5
6851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); }; then
6853 case `/usr/bin/file conftest.o` in
6856 x86_64-*kfreebsd*-gnu)
6857 LD="${LD-ld} -m elf_i386_fbsd"
6860 LD="${LD-ld} -m elf_i386"
6862 ppc64-*linux*|powerpc64-*linux*)
6863 LD="${LD-ld} -m elf32ppclinux"
6866 LD="${LD-ld} -m elf_s390"
6869 LD="${LD-ld} -m elf32_sparc"
6875 x86_64-*kfreebsd*-gnu)
6876 LD="${LD-ld} -m elf_x86_64_fbsd"
6879 LD="${LD-ld} -m elf_x86_64"
6881 ppc*-*linux*|powerpc*-*linux*)
6882 LD="${LD-ld} -m elf64ppc"
6884 s390*-*linux*|s390*-*tpf*)
6885 LD="${LD-ld} -m elf64_s390"
6888 LD="${LD-ld} -m elf64_sparc"
6898 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6899 SAVE_CFLAGS="$CFLAGS"
6900 CFLAGS="$CFLAGS -belf"
6901 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6902 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6903 if test "${lt_cv_cc_needs_belf+set}" = set; then
6904 $as_echo_n "(cached) " >&6
6907 ac_cpp='$CPP $CPPFLAGS'
6908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6912 cat >conftest.$ac_ext <<_ACEOF
6915 cat confdefs.h >>conftest.$ac_ext
6916 cat >>conftest.$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6927 rm -f conftest.$ac_objext conftest$ac_exeext
6928 if { (ac_try="$ac_link"
6930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6931 *) ac_try_echo=$ac_try;;
6933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6934 $as_echo "$ac_try_echo") >&5
6935 (eval "$ac_link") 2>conftest.er1
6937 grep -v '^ *+' conftest.er1 >conftest.err
6939 cat conftest.err >&5
6940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); } && {
6942 test -z "$ac_c_werror_flag" ||
6943 test ! -s conftest.err
6944 } && test -s conftest$ac_exeext && {
6945 test "$cross_compiling" = yes ||
6946 $as_test_x conftest$ac_exeext
6948 lt_cv_cc_needs_belf=yes
6950 $as_echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.$ac_ext >&5
6953 lt_cv_cc_needs_belf=no
6956 rm -rf conftest.dSYM
6957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6958 conftest$ac_exeext conftest.$ac_ext
6960 ac_cpp='$CPP $CPPFLAGS'
6961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6966 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6967 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6968 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6969 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6970 CFLAGS="$SAVE_CFLAGS"
6974 # Find out which ABI we are using.
6975 echo 'int i;' > conftest.$ac_ext
6976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6977 (eval $ac_compile) 2>&5
6979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; then
6981 case `/usr/bin/file conftest.o` in
6983 case $lt_cv_prog_gnu_ld in
6984 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6986 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6998 need_locks="$enable_libtool_lock"
7002 rhapsody* | darwin*)
7003 if test -n "$ac_tool_prefix"; then
7004 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7005 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7006 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7007 $as_echo_n "checking for $ac_word... " >&6; }
7008 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7009 $as_echo_n "(cached) " >&6
7011 if test -n "$DSYMUTIL"; then
7012 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018 test -z "$as_dir" && as_dir=.
7019 for ac_exec_ext in '' $ac_executable_extensions; do
7020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7021 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7022 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7031 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7032 if test -n "$DSYMUTIL"; then
7033 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7034 $as_echo "$DSYMUTIL" >&6; }
7036 { $as_echo "$as_me:$LINENO: result: no" >&5
7037 $as_echo "no" >&6; }
7042 if test -z "$ac_cv_prog_DSYMUTIL"; then
7043 ac_ct_DSYMUTIL=$DSYMUTIL
7044 # Extract the first word of "dsymutil", so it can be a program name with args.
7045 set dummy dsymutil; ac_word=$2
7046 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7047 $as_echo_n "checking for $ac_word... " >&6; }
7048 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7049 $as_echo_n "(cached) " >&6
7051 if test -n "$ac_ct_DSYMUTIL"; then
7052 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir=.
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7061 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7062 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7071 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7072 if test -n "$ac_ct_DSYMUTIL"; then
7073 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7074 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7076 { $as_echo "$as_me:$LINENO: result: no" >&5
7077 $as_echo "no" >&6; }
7080 if test "x$ac_ct_DSYMUTIL" = x; then
7083 case $cross_compiling:$ac_tool_warned in
7085 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7087 ac_tool_warned=yes ;;
7089 DSYMUTIL=$ac_ct_DSYMUTIL
7092 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7095 if test -n "$ac_tool_prefix"; then
7096 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7097 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7098 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7099 $as_echo_n "checking for $ac_word... " >&6; }
7100 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7101 $as_echo_n "(cached) " >&6
7103 if test -n "$NMEDIT"; then
7104 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 test -z "$as_dir" && as_dir=.
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7114 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 NMEDIT=$ac_cv_prog_NMEDIT
7124 if test -n "$NMEDIT"; then
7125 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7126 $as_echo "$NMEDIT" >&6; }
7128 { $as_echo "$as_me:$LINENO: result: no" >&5
7129 $as_echo "no" >&6; }
7134 if test -z "$ac_cv_prog_NMEDIT"; then
7135 ac_ct_NMEDIT=$NMEDIT
7136 # Extract the first word of "nmedit", so it can be a program name with args.
7137 set dummy nmedit; ac_word=$2
7138 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7139 $as_echo_n "checking for $ac_word... " >&6; }
7140 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7141 $as_echo_n "(cached) " >&6
7143 if test -n "$ac_ct_NMEDIT"; then
7144 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7150 test -z "$as_dir" && as_dir=.
7151 for ac_exec_ext in '' $ac_executable_extensions; do
7152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7153 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7154 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7163 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7164 if test -n "$ac_ct_NMEDIT"; then
7165 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7166 $as_echo "$ac_ct_NMEDIT" >&6; }
7168 { $as_echo "$as_me:$LINENO: result: no" >&5
7169 $as_echo "no" >&6; }
7172 if test "x$ac_ct_NMEDIT" = x; then
7175 case $cross_compiling:$ac_tool_warned in
7177 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7179 ac_tool_warned=yes ;;
7181 NMEDIT=$ac_ct_NMEDIT
7184 NMEDIT="$ac_cv_prog_NMEDIT"
7187 if test -n "$ac_tool_prefix"; then
7188 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7189 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7190 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if test "${ac_cv_prog_LIPO+set}" = set; then
7193 $as_echo_n "(cached) " >&6
7195 if test -n "$LIPO"; then
7196 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7206 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 LIPO=$ac_cv_prog_LIPO
7216 if test -n "$LIPO"; then
7217 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7218 $as_echo "$LIPO" >&6; }
7220 { $as_echo "$as_me:$LINENO: result: no" >&5
7221 $as_echo "no" >&6; }
7226 if test -z "$ac_cv_prog_LIPO"; then
7228 # Extract the first word of "lipo", so it can be a program name with args.
7229 set dummy lipo; ac_word=$2
7230 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7233 $as_echo_n "(cached) " >&6
7235 if test -n "$ac_ct_LIPO"; then
7236 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 test -z "$as_dir" && as_dir=.
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245 ac_cv_prog_ac_ct_LIPO="lipo"
7246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7255 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7256 if test -n "$ac_ct_LIPO"; then
7257 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7258 $as_echo "$ac_ct_LIPO" >&6; }
7260 { $as_echo "$as_me:$LINENO: result: no" >&5
7261 $as_echo "no" >&6; }
7264 if test "x$ac_ct_LIPO" = x; then
7267 case $cross_compiling:$ac_tool_warned in
7269 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7271 ac_tool_warned=yes ;;
7276 LIPO="$ac_cv_prog_LIPO"
7279 if test -n "$ac_tool_prefix"; then
7280 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7281 set dummy ${ac_tool_prefix}otool; ac_word=$2
7282 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if test "${ac_cv_prog_OTOOL+set}" = set; then
7285 $as_echo_n "(cached) " >&6
7287 if test -n "$OTOOL"; then
7288 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7298 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7307 OTOOL=$ac_cv_prog_OTOOL
7308 if test -n "$OTOOL"; then
7309 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7310 $as_echo "$OTOOL" >&6; }
7312 { $as_echo "$as_me:$LINENO: result: no" >&5
7313 $as_echo "no" >&6; }
7318 if test -z "$ac_cv_prog_OTOOL"; then
7320 # Extract the first word of "otool", so it can be a program name with args.
7321 set dummy otool; ac_word=$2
7322 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7325 $as_echo_n "(cached) " >&6
7327 if test -n "$ac_ct_OTOOL"; then
7328 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7337 ac_cv_prog_ac_ct_OTOOL="otool"
7338 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7347 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7348 if test -n "$ac_ct_OTOOL"; then
7349 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7350 $as_echo "$ac_ct_OTOOL" >&6; }
7352 { $as_echo "$as_me:$LINENO: result: no" >&5
7353 $as_echo "no" >&6; }
7356 if test "x$ac_ct_OTOOL" = x; then
7359 case $cross_compiling:$ac_tool_warned in
7361 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7363 ac_tool_warned=yes ;;
7368 OTOOL="$ac_cv_prog_OTOOL"
7371 if test -n "$ac_tool_prefix"; then
7372 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7373 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7374 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7377 $as_echo_n "(cached) " >&6
7379 if test -n "$OTOOL64"; then
7380 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7390 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 OTOOL64=$ac_cv_prog_OTOOL64
7400 if test -n "$OTOOL64"; then
7401 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7402 $as_echo "$OTOOL64" >&6; }
7404 { $as_echo "$as_me:$LINENO: result: no" >&5
7405 $as_echo "no" >&6; }
7410 if test -z "$ac_cv_prog_OTOOL64"; then
7411 ac_ct_OTOOL64=$OTOOL64
7412 # Extract the first word of "otool64", so it can be a program name with args.
7413 set dummy otool64; ac_word=$2
7414 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7417 $as_echo_n "(cached) " >&6
7419 if test -n "$ac_ct_OTOOL64"; then
7420 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 test -z "$as_dir" && as_dir=.
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7429 ac_cv_prog_ac_ct_OTOOL64="otool64"
7430 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7439 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7440 if test -n "$ac_ct_OTOOL64"; then
7441 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7442 $as_echo "$ac_ct_OTOOL64" >&6; }
7444 { $as_echo "$as_me:$LINENO: result: no" >&5
7445 $as_echo "no" >&6; }
7448 if test "x$ac_ct_OTOOL64" = x; then
7451 case $cross_compiling:$ac_tool_warned in
7453 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7455 ac_tool_warned=yes ;;
7457 OTOOL64=$ac_ct_OTOOL64
7460 OTOOL64="$ac_cv_prog_OTOOL64"
7489 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7490 $as_echo_n "checking for -single_module linker flag... " >&6; }
7491 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7492 $as_echo_n "(cached) " >&6
7494 lt_cv_apple_cc_single_mod=no
7495 if test -z "${LT_MULTI_MODULE}"; then
7496 # By default we will add the -single_module flag. You can override
7497 # by either setting the environment variable LT_MULTI_MODULE
7498 # non-empty at configure time, or by adding -multi_module to the
7500 rm -rf libconftest.dylib*
7501 echo "int foo(void){return 1;}" > conftest.c
7502 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7503 -dynamiclib -Wl,-single_module conftest.c" >&5
7504 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7505 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7507 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7508 lt_cv_apple_cc_single_mod=yes
7510 cat conftest.err >&5
7512 rm -rf libconftest.dylib*
7516 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7517 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7518 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7519 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7520 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7521 $as_echo_n "(cached) " >&6
7523 lt_cv_ld_exported_symbols_list=no
7524 save_LDFLAGS=$LDFLAGS
7525 echo "_main" > conftest.sym
7526 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7527 cat >conftest.$ac_ext <<_ACEOF
7530 cat confdefs.h >>conftest.$ac_ext
7531 cat >>conftest.$ac_ext <<_ACEOF
7532 /* end confdefs.h. */
7542 rm -f conftest.$ac_objext conftest$ac_exeext
7543 if { (ac_try="$ac_link"
7545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7546 *) ac_try_echo=$ac_try;;
7548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7549 $as_echo "$ac_try_echo") >&5
7550 (eval "$ac_link") 2>conftest.er1
7552 grep -v '^ *+' conftest.er1 >conftest.err
7554 cat conftest.err >&5
7555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556 (exit $ac_status); } && {
7557 test -z "$ac_c_werror_flag" ||
7558 test ! -s conftest.err
7559 } && test -s conftest$ac_exeext && {
7560 test "$cross_compiling" = yes ||
7561 $as_test_x conftest$ac_exeext
7563 lt_cv_ld_exported_symbols_list=yes
7565 $as_echo "$as_me: failed program was:" >&5
7566 sed 's/^/| /' conftest.$ac_ext >&5
7568 lt_cv_ld_exported_symbols_list=no
7571 rm -rf conftest.dSYM
7572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7573 conftest$ac_exeext conftest.$ac_ext
7574 LDFLAGS="$save_LDFLAGS"
7577 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7578 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7580 rhapsody* | darwin1.[012])
7581 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7583 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7584 darwin*) # darwin 5.x on
7585 # if running on 10.5 or later, the deployment target defaults
7586 # to the OS version, if on x86, and 10.4, the deployment
7587 # target defaults to 10.4. Don't you love it?
7588 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7589 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7590 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7592 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7594 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7598 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7599 _lt_dar_single_mod='$single_module'
7601 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7602 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7604 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7606 if test "$DSYMUTIL" != ":"; then
7607 _lt_dsymutil='~$DSYMUTIL $lib || :'
7615 for ac_header in dlfcn.h
7617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7618 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7619 $as_echo_n "checking for $ac_header... " >&6; }
7620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7621 $as_echo_n "(cached) " >&6
7623 cat >conftest.$ac_ext <<_ACEOF
7626 cat confdefs.h >>conftest.$ac_ext
7627 cat >>conftest.$ac_ext <<_ACEOF
7628 /* end confdefs.h. */
7629 $ac_includes_default
7631 #include <$ac_header>
7633 rm -f conftest.$ac_objext
7634 if { (ac_try="$ac_compile"
7636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7637 *) ac_try_echo=$ac_try;;
7639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7640 $as_echo "$ac_try_echo") >&5
7641 (eval "$ac_compile") 2>conftest.er1
7643 grep -v '^ *+' conftest.er1 >conftest.err
7645 cat conftest.err >&5
7646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); } && {
7648 test -z "$ac_c_werror_flag" ||
7649 test ! -s conftest.err
7650 } && test -s conftest.$ac_objext; then
7651 eval "$as_ac_Header=yes"
7653 $as_echo "$as_me: failed program was:" >&5
7654 sed 's/^/| /' conftest.$ac_ext >&5
7656 eval "$as_ac_Header=no"
7659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7661 ac_res=`eval 'as_val=${'$as_ac_Header'}
7662 $as_echo "$as_val"'`
7663 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7664 $as_echo "$ac_res" >&6; }
7665 as_val=`eval 'as_val=${'$as_ac_Header'}
7666 $as_echo "$as_val"'`
7667 if test "x$as_val" = x""yes; then
7668 cat >>confdefs.h <<_ACEOF
7669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7688 # Check whether --enable-shared was given.
7689 if test "${enable_shared+set}" = set; then
7690 enableval=$enable_shared; p=${PACKAGE-default}
7692 yes) enable_shared=yes ;;
7693 no) enable_shared=no ;;
7696 # Look at the argument we got. We use all the common list separators.
7697 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7698 for pkg in $enableval; do
7700 if test "X$pkg" = "X$p"; then
7719 # Check whether --enable-static was given.
7720 if test "${enable_static+set}" = set; then
7721 enableval=$enable_static; p=${PACKAGE-default}
7723 yes) enable_static=yes ;;
7724 no) enable_static=no ;;
7727 # Look at the argument we got. We use all the common list separators.
7728 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7729 for pkg in $enableval; do
7731 if test "X$pkg" = "X$p"; then
7751 # Check whether --with-pic was given.
7752 if test "${with_pic+set}" = set; then
7753 withval=$with_pic; pic_mode="$withval"
7759 test -z "$pic_mode" && pic_mode=default
7767 # Check whether --enable-fast-install was given.
7768 if test "${enable_fast_install+set}" = set; then
7769 enableval=$enable_fast_install; p=${PACKAGE-default}
7771 yes) enable_fast_install=yes ;;
7772 no) enable_fast_install=no ;;
7774 enable_fast_install=no
7775 # Look at the argument we got. We use all the common list separators.
7776 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7777 for pkg in $enableval; do
7779 if test "X$pkg" = "X$p"; then
7780 enable_fast_install=yes
7787 enable_fast_install=yes
7800 # This can be used to rebuild libtool when needed
7801 LIBTOOL_DEPS="$ltmain"
7803 # Always use our own libtool.
7804 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7830 test -z "$LN_S" && LN_S="ln -s"
7845 if test -n "${ZSH_VERSION+set}" ; then
7846 setopt NO_GLOB_SUBST
7849 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7850 $as_echo_n "checking for objdir... " >&6; }
7851 if test "${lt_cv_objdir+set}" = set; then
7852 $as_echo_n "(cached) " >&6
7854 rm -f .libs 2>/dev/null
7855 mkdir .libs 2>/dev/null
7856 if test -d .libs; then
7859 # MS-DOS does not allow filenames that begin with a dot.
7862 rmdir .libs 2>/dev/null
7864 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7865 $as_echo "$lt_cv_objdir" >&6; }
7866 objdir=$lt_cv_objdir
7872 cat >>confdefs.h <<_ACEOF
7873 #define LT_OBJDIR "$lt_cv_objdir/"
7894 # AIX sometimes has problems with the GCC collect2 program. For some
7895 # reason, if we set the COLLECT_NAMES environment variable, the problems
7896 # vanish in a puff of smoke.
7897 if test "X${COLLECT_NAMES+set}" != Xset; then
7899 export COLLECT_NAMES
7904 # Sed substitution that helps us do robust quoting. It backslashifies
7905 # metacharacters that are still active within double-quoted strings.
7906 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7908 # Same as above, but do not quote variable references.
7909 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7911 # Sed substitution to delay expansion of an escaped shell variable in a
7912 # double_quote_subst'ed string.
7913 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7915 # Sed substitution to delay expansion of an escaped single quote.
7916 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7918 # Sed substitution to avoid accidental globbing in evaled expressions
7919 no_glob_subst='s/\*/\\\*/g'
7923 can_build_shared=yes
7925 # All known linkers require a `.a' archive for static linking (except MSVC,
7926 # which needs '.lib').
7929 with_gnu_ld="$lt_cv_prog_gnu_ld"
7932 old_CFLAGS="$CFLAGS"
7934 # Set sane defaults for various variables
7935 test -z "$CC" && CC=cc
7936 test -z "$LTCC" && LTCC=$CC
7937 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7938 test -z "$LD" && LD=ld
7939 test -z "$ac_objext" && ac_objext=o
7941 for cc_temp in $compiler""; do
7943 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7944 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7949 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7952 # Only perform the check for file, if the check method requires it
7953 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7954 case $deplibs_check_method in
7956 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7957 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7958 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7959 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7960 $as_echo_n "(cached) " >&6
7964 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7967 lt_save_MAGIC_CMD="$MAGIC_CMD"
7968 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7969 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7970 for ac_dir in $ac_dummy; do
7972 test -z "$ac_dir" && ac_dir=.
7973 if test -f $ac_dir/${ac_tool_prefix}file; then
7974 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7975 if test -n "$file_magic_test_file"; then
7976 case $deplibs_check_method in
7978 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7979 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7980 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7981 $EGREP "$file_magic_regex" > /dev/null; then
7986 *** Warning: the command libtool uses to detect shared libraries,
7987 *** $file_magic_cmd, produces output that libtool cannot recognize.
7988 *** The result is that libtool may fail to recognize shared libraries
7989 *** as such. This will affect the creation of libtool libraries that
7990 *** depend on shared libraries, but programs linked with such libtool
7991 *** libraries will work regardless of this problem. Nevertheless, you
7992 *** may want to report the problem to your system manager and/or to
7993 *** bug-libtool@gnu.org
8003 MAGIC_CMD="$lt_save_MAGIC_CMD"
8008 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8009 if test -n "$MAGIC_CMD"; then
8010 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8011 $as_echo "$MAGIC_CMD" >&6; }
8013 { $as_echo "$as_me:$LINENO: result: no" >&5
8014 $as_echo "no" >&6; }
8021 if test -z "$lt_cv_path_MAGIC_CMD"; then
8022 if test -n "$ac_tool_prefix"; then
8023 { $as_echo "$as_me:$LINENO: checking for file" >&5
8024 $as_echo_n "checking for file... " >&6; }
8025 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8026 $as_echo_n "(cached) " >&6
8030 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8033 lt_save_MAGIC_CMD="$MAGIC_CMD"
8034 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8035 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8036 for ac_dir in $ac_dummy; do
8038 test -z "$ac_dir" && ac_dir=.
8039 if test -f $ac_dir/file; then
8040 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8041 if test -n "$file_magic_test_file"; then
8042 case $deplibs_check_method in
8044 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8045 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8046 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8047 $EGREP "$file_magic_regex" > /dev/null; then
8052 *** Warning: the command libtool uses to detect shared libraries,
8053 *** $file_magic_cmd, produces output that libtool cannot recognize.
8054 *** The result is that libtool may fail to recognize shared libraries
8055 *** as such. This will affect the creation of libtool libraries that
8056 *** depend on shared libraries, but programs linked with such libtool
8057 *** libraries will work regardless of this problem. Nevertheless, you
8058 *** may want to report the problem to your system manager and/or to
8059 *** bug-libtool@gnu.org
8069 MAGIC_CMD="$lt_save_MAGIC_CMD"
8074 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8075 if test -n "$MAGIC_CMD"; then
8076 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8077 $as_echo "$MAGIC_CMD" >&6; }
8079 { $as_echo "$as_me:$LINENO: result: no" >&5
8080 $as_echo "no" >&6; }
8093 # Use C for the default configuration in the libtool script
8097 ac_cpp='$CPP $CPPFLAGS'
8098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8103 # Source file extension for C test sources.
8106 # Object file extension for compiled C test sources.
8110 # Code to be used in simple compile tests
8111 lt_simple_compile_test_code="int some_variable = 0;"
8113 # Code to be used in simple link tests
8114 lt_simple_link_test_code='int main(){return(0);}'
8122 # If no C compiler was specified, use CC.
8125 # If no C compiler flags were specified, use CFLAGS.
8126 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8128 # Allow CC to be a program name with arguments.
8131 # Save the default compiler, since it gets overwritten when the other
8132 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8133 compiler_DEFAULT=$CC
8135 # save warnings/boilerplate of simple test code
8136 ac_outfile=conftest.$ac_objext
8137 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8138 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8139 _lt_compiler_boilerplate=`cat conftest.err`
8142 ac_outfile=conftest.$ac_objext
8143 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8144 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8145 _lt_linker_boilerplate=`cat conftest.err`
8150 ## There is no encapsulation within the following macros, do not change
8151 ## the running order or otherwise move them around unless you know exactly
8152 ## what you are doing...
8153 if test -n "$compiler"; then
8155 lt_prog_compiler_no_builtin_flag=
8157 if test "$GCC" = yes; then
8158 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8160 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8161 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8162 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8163 $as_echo_n "(cached) " >&6
8165 lt_cv_prog_compiler_rtti_exceptions=no
8166 ac_outfile=conftest.$ac_objext
8167 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8168 lt_compiler_flag="-fno-rtti -fno-exceptions"
8169 # Insert the option either (1) after the last *FLAGS variable, or
8170 # (2) before a word containing "conftest.", or (3) at the end.
8171 # Note that $ac_compile itself does not contain backslashes and begins
8172 # with a dollar sign (not a hyphen), so the echo should work correctly.
8173 # The option is referenced via a variable to avoid confusing sed.
8174 lt_compile=`echo "$ac_compile" | $SED \
8175 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8176 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8177 -e 's:$: $lt_compiler_flag:'`
8178 (eval echo "\"\$as_me:8178: $lt_compile\"" >&5)
8179 (eval "$lt_compile" 2>conftest.err)
8181 cat conftest.err >&5
8182 echo "$as_me:8182: \$? = $ac_status" >&5
8183 if (exit $ac_status) && test -s "$ac_outfile"; then
8184 # The compiler can only warn and ignore the option if not recognized
8185 # So say no if there are warnings other than the usual output.
8186 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8187 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8188 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8189 lt_cv_prog_compiler_rtti_exceptions=yes
8195 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8196 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8198 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8199 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8211 lt_prog_compiler_wl=
8212 lt_prog_compiler_pic=
8213 lt_prog_compiler_static=
8215 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8216 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8218 if test "$GCC" = yes; then
8219 lt_prog_compiler_wl='-Wl,'
8220 lt_prog_compiler_static='-static'
8224 # All AIX code is PIC.
8225 if test "$host_cpu" = ia64; then
8226 # AIX 5 now supports IA64 processor
8227 lt_prog_compiler_static='-Bstatic'
8234 # see comment about AmigaOS4 .so support
8235 lt_prog_compiler_pic='-fPIC'
8238 # FIXME: we need at least 68020 code to build shared libraries, but
8239 # adding the `-m68020' flag to GCC prevents building anything better,
8241 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8246 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8247 # PIC is the default for these OSes.
8250 mingw* | cygwin* | pw32* | os2* | cegcc*)
8251 # This hack is so that the source file can tell whether it is being
8252 # built for inclusion in a dll (and should export symbols for example).
8253 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8254 # (--disable-auto-import) libraries
8255 lt_prog_compiler_pic='-DDLL_EXPORT'
8258 darwin* | rhapsody*)
8259 # PIC is the default on this platform
8260 # Common symbols not allowed in MH_DYLIB files
8261 lt_prog_compiler_pic='-fno-common'
8265 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8266 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8267 # sets the default TLS model and affects inlining.
8273 lt_prog_compiler_pic='-fPIC'
8279 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8280 # Instead, we relocate shared libraries at runtime.
8284 # Just because we use GCC doesn't mean we suddenly get shared libraries
8285 # on systems that don't support them.
8286 lt_prog_compiler_can_build_shared=no
8291 # QNX uses GNU C++, but need to define -shared option too, otherwise
8293 lt_prog_compiler_pic='-fPIC -shared'
8297 if test -d /usr/nec; then
8298 lt_prog_compiler_pic=-Kconform_pic
8303 lt_prog_compiler_pic='-fPIC'
8307 # PORTME Check for flag to pass linker flags through the system compiler.
8310 lt_prog_compiler_wl='-Wl,'
8311 if test "$host_cpu" = ia64; then
8312 # AIX 5 now supports IA64 processor
8313 lt_prog_compiler_static='-Bstatic'
8315 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8319 mingw* | cygwin* | pw32* | os2* | cegcc*)
8320 # This hack is so that the source file can tell whether it is being
8321 # built for inclusion in a dll (and should export symbols for example).
8322 lt_prog_compiler_pic='-DDLL_EXPORT'
8325 hpux9* | hpux10* | hpux11*)
8326 lt_prog_compiler_wl='-Wl,'
8327 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8334 lt_prog_compiler_pic='+Z'
8337 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8338 lt_prog_compiler_static='${wl}-a ${wl}archive'
8341 irix5* | irix6* | nonstopux*)
8342 lt_prog_compiler_wl='-Wl,'
8343 # PIC (with -KPIC) is the default.
8344 lt_prog_compiler_static='-non_shared'
8347 linux* | k*bsd*-gnu)
8348 case $cc_basename in
8349 # old Intel for x86_64 which still supported -KPIC.
8351 lt_prog_compiler_wl='-Wl,'
8352 lt_prog_compiler_pic='-KPIC'
8353 lt_prog_compiler_static='-static'
8355 # icc used to be incompatible with GCC.
8356 # ICC 10 doesn't accept -KPIC any more.
8358 lt_prog_compiler_wl='-Wl,'
8359 lt_prog_compiler_pic='-fPIC'
8360 lt_prog_compiler_static='-static'
8362 # Lahey Fortran 8.1.
8364 lt_prog_compiler_wl='-Wl,'
8365 lt_prog_compiler_pic='--shared'
8366 lt_prog_compiler_static='--static'
8368 pgcc* | pgf77* | pgf90* | pgf95*)
8369 # Portland Group compilers (*not* the Pentium gcc compiler,
8370 # which looks to be a dead project)
8371 lt_prog_compiler_wl='-Wl,'
8372 lt_prog_compiler_pic='-fpic'
8373 lt_prog_compiler_static='-Bstatic'
8376 lt_prog_compiler_wl='-Wl,'
8377 # All Alpha code is PIC.
8378 lt_prog_compiler_static='-non_shared'
8381 # IBM XL C 8.0/Fortran 10.1 on PPC
8382 lt_prog_compiler_wl='-Wl,'
8383 lt_prog_compiler_pic='-qpic'
8384 lt_prog_compiler_static='-qstaticlink'
8387 case `$CC -V 2>&1 | sed 5q` in
8390 lt_prog_compiler_pic='-KPIC'
8391 lt_prog_compiler_static='-Bstatic'
8392 lt_prog_compiler_wl='-Wl,'
8395 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8396 lt_prog_compiler_pic='-KPIC'
8397 lt_prog_compiler_static='-Bstatic'
8398 lt_prog_compiler_wl=''
8406 lt_prog_compiler_pic='-KPIC'
8407 lt_prog_compiler_static='-Bstatic'
8411 # QNX uses GNU C++, but need to define -shared option too, otherwise
8413 lt_prog_compiler_pic='-fPIC -shared'
8416 osf3* | osf4* | osf5*)
8417 lt_prog_compiler_wl='-Wl,'
8418 # All OSF/1 code is PIC.
8419 lt_prog_compiler_static='-non_shared'
8423 lt_prog_compiler_static='-non_shared'
8427 lt_prog_compiler_pic='-KPIC'
8428 lt_prog_compiler_static='-Bstatic'
8429 case $cc_basename in
8431 lt_prog_compiler_wl='-Qoption ld ';;
8433 lt_prog_compiler_wl='-Wl,';;
8438 lt_prog_compiler_wl='-Qoption ld '
8439 lt_prog_compiler_pic='-PIC'
8440 lt_prog_compiler_static='-Bstatic'
8443 sysv4 | sysv4.2uw2* | sysv4.3*)
8444 lt_prog_compiler_wl='-Wl,'
8445 lt_prog_compiler_pic='-KPIC'
8446 lt_prog_compiler_static='-Bstatic'
8450 if test -d /usr/nec ;then
8451 lt_prog_compiler_pic='-Kconform_pic'
8452 lt_prog_compiler_static='-Bstatic'
8456 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8457 lt_prog_compiler_wl='-Wl,'
8458 lt_prog_compiler_pic='-KPIC'
8459 lt_prog_compiler_static='-Bstatic'
8463 lt_prog_compiler_wl='-Wl,'
8464 lt_prog_compiler_can_build_shared=no
8468 lt_prog_compiler_pic='-pic'
8469 lt_prog_compiler_static='-Bstatic'
8473 lt_prog_compiler_can_build_shared=no
8479 # For platforms which do not support PIC, -DPIC is meaningless:
8481 lt_prog_compiler_pic=
8484 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8487 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8488 $as_echo "$lt_prog_compiler_pic" >&6; }
8496 # Check to make sure the PIC flag actually works.
8498 if test -n "$lt_prog_compiler_pic"; then
8499 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8500 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8501 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8502 $as_echo_n "(cached) " >&6
8504 lt_cv_prog_compiler_pic_works=no
8505 ac_outfile=conftest.$ac_objext
8506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8507 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8508 # Insert the option either (1) after the last *FLAGS variable, or
8509 # (2) before a word containing "conftest.", or (3) at the end.
8510 # Note that $ac_compile itself does not contain backslashes and begins
8511 # with a dollar sign (not a hyphen), so the echo should work correctly.
8512 # The option is referenced via a variable to avoid confusing sed.
8513 lt_compile=`echo "$ac_compile" | $SED \
8514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8516 -e 's:$: $lt_compiler_flag:'`
8517 (eval echo "\"\$as_me:8517: $lt_compile\"" >&5)
8518 (eval "$lt_compile" 2>conftest.err)
8520 cat conftest.err >&5
8521 echo "$as_me:8521: \$? = $ac_status" >&5
8522 if (exit $ac_status) && test -s "$ac_outfile"; then
8523 # The compiler can only warn and ignore the option if not recognized
8524 # So say no if there are warnings other than the usual output.
8525 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8526 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8527 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8528 lt_cv_prog_compiler_pic_works=yes
8534 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8535 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8537 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8538 case $lt_prog_compiler_pic in
8540 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8543 lt_prog_compiler_pic=
8544 lt_prog_compiler_can_build_shared=no
8555 # Check to make sure the static flag actually works.
8557 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8558 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8559 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8560 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8561 $as_echo_n "(cached) " >&6
8563 lt_cv_prog_compiler_static_works=no
8564 save_LDFLAGS="$LDFLAGS"
8565 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8566 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8567 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8568 # The linker can only warn and ignore the option if not recognized
8569 # So say no if there are warnings
8570 if test -s conftest.err; then
8571 # Append any errors to the config.log.
8572 cat conftest.err 1>&5
8573 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8574 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8575 if diff conftest.exp conftest.er2 >/dev/null; then
8576 lt_cv_prog_compiler_static_works=yes
8579 lt_cv_prog_compiler_static_works=yes
8583 LDFLAGS="$save_LDFLAGS"
8586 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8587 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8589 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8592 lt_prog_compiler_static=
8601 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8602 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8603 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8604 $as_echo_n "(cached) " >&6
8606 lt_cv_prog_compiler_c_o=no
8607 $RM -r conftest 2>/dev/null
8611 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8613 lt_compiler_flag="-o out/conftest2.$ac_objext"
8614 # Insert the option either (1) after the last *FLAGS variable, or
8615 # (2) before a word containing "conftest.", or (3) at the end.
8616 # Note that $ac_compile itself does not contain backslashes and begins
8617 # with a dollar sign (not a hyphen), so the echo should work correctly.
8618 lt_compile=`echo "$ac_compile" | $SED \
8619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8621 -e 's:$: $lt_compiler_flag:'`
8622 (eval echo "\"\$as_me:8622: $lt_compile\"" >&5)
8623 (eval "$lt_compile" 2>out/conftest.err)
8625 cat out/conftest.err >&5
8626 echo "$as_me:8626: \$? = $ac_status" >&5
8627 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8629 # The compiler can only warn and ignore the option if not recognized
8630 # So say no if there are warnings
8631 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8632 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8633 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8634 lt_cv_prog_compiler_c_o=yes
8639 # SGI C++ compiler will create directory out/ii_files/ for
8640 # template instantiation
8641 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8642 $RM out/* && rmdir out
8648 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8649 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8656 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8657 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8658 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8659 $as_echo_n "(cached) " >&6
8661 lt_cv_prog_compiler_c_o=no
8662 $RM -r conftest 2>/dev/null
8666 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8668 lt_compiler_flag="-o out/conftest2.$ac_objext"
8669 # Insert the option either (1) after the last *FLAGS variable, or
8670 # (2) before a word containing "conftest.", or (3) at the end.
8671 # Note that $ac_compile itself does not contain backslashes and begins
8672 # with a dollar sign (not a hyphen), so the echo should work correctly.
8673 lt_compile=`echo "$ac_compile" | $SED \
8674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8676 -e 's:$: $lt_compiler_flag:'`
8677 (eval echo "\"\$as_me:8677: $lt_compile\"" >&5)
8678 (eval "$lt_compile" 2>out/conftest.err)
8680 cat out/conftest.err >&5
8681 echo "$as_me:8681: \$? = $ac_status" >&5
8682 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8684 # The compiler can only warn and ignore the option if not recognized
8685 # So say no if there are warnings
8686 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8687 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8688 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8689 lt_cv_prog_compiler_c_o=yes
8694 # SGI C++ compiler will create directory out/ii_files/ for
8695 # template instantiation
8696 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8697 $RM out/* && rmdir out
8703 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8704 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8709 hard_links="nottested"
8710 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8711 # do not overwrite the value of need_locks provided by the user
8712 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8713 $as_echo_n "checking if we can lock with hard links... " >&6; }
8716 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8718 ln conftest.a conftest.b 2>&5 || hard_links=no
8719 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8720 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8721 $as_echo "$hard_links" >&6; }
8722 if test "$hard_links" = no; then
8723 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8724 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8736 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8737 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8740 allow_undefined_flag=
8741 always_export_symbols=no
8743 archive_expsym_cmds=
8744 compiler_needs_object=no
8745 enable_shared_with_static_runtimes=no
8746 export_dynamic_flag_spec=
8747 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8748 hardcode_automatic=no
8750 hardcode_direct_absolute=no
8751 hardcode_libdir_flag_spec=
8752 hardcode_libdir_flag_spec_ld=
8753 hardcode_libdir_separator=
8755 hardcode_shlibpath_var=unsupported
8757 link_all_deplibs=unknown
8760 old_archive_from_new_cmds=
8761 old_archive_from_expsyms_cmds=
8762 thread_safe_flag_spec=
8763 whole_archive_flag_spec=
8764 # include_expsyms should be a list of space-separated symbols to be *always*
8765 # included in the symbol list
8767 # exclude_expsyms can be an extended regexp of symbols to exclude
8768 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8769 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8770 # as well as any symbol that contains `d'.
8771 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8772 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8773 # platforms (ab)use it in PIC code, but their linkers get confused if
8774 # the symbol is explicitly referenced. Since portable code cannot
8775 # rely on this symbol name, it's probably fine to never include it in
8776 # preloaded symbol tables.
8777 # Exclude shared library initialization/finalization symbols.
8778 extract_expsyms_cmds=
8781 cygwin* | mingw* | pw32* | cegcc*)
8782 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8783 # When not using gcc, we currently assume that we are using
8784 # Microsoft Visual C++.
8785 if test "$GCC" != yes; then
8790 # we just hope/assume this is gcc and not c89 (= MSVC++)
8799 if test "$with_gnu_ld" = yes; then
8800 # If archive_cmds runs LD, not CC, wlarc should be empty
8803 # Set some defaults for GNU ld with shared library support. These
8804 # are reset later if shared libraries are not supported. Putting them
8805 # here allows them to be overridden if necessary.
8806 runpath_var=LD_RUN_PATH
8807 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8808 export_dynamic_flag_spec='${wl}--export-dynamic'
8809 # ancient GNU ld didn't support --whole-archive et. al.
8810 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8811 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8813 whole_archive_flag_spec=
8815 supports_anon_versioning=no
8816 case `$LD -v 2>&1` in
8817 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8818 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8819 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8820 *\ 2.11.*) ;; # other 2.11 versions
8821 *) supports_anon_versioning=yes ;;
8824 # See if GNU ld supports shared libraries.
8827 # On AIX/PPC, the GNU linker is very broken
8828 if test "$host_cpu" != ia64; then
8832 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8833 *** to be unable to reliably create shared libraries on AIX.
8834 *** Therefore, libtool is disabling shared libraries support. If you
8835 *** really care for shared libraries, you may want to modify your PATH
8836 *** so that a non-GNU linker is found, and then restart.
8845 # see comment about AmigaOS4 .so support
8846 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8847 archive_expsym_cmds=''
8850 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)'
8851 hardcode_libdir_flag_spec='-L$libdir'
8852 hardcode_minus_L=yes
8858 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8859 allow_undefined_flag=unsupported
8860 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8861 # support --undefined. This deserves some investigation. FIXME
8862 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8868 cygwin* | mingw* | pw32* | cegcc*)
8869 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8870 # as there is no search path for DLLs.
8871 hardcode_libdir_flag_spec='-L$libdir'
8872 allow_undefined_flag=unsupported
8873 always_export_symbols=no
8874 enable_shared_with_static_runtimes=yes
8875 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8877 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8878 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8879 # If the export-symbols file already is a .def file (1st line
8880 # is EXPORTS), use it as is; otherwise, prepend...
8881 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8882 cp $export_symbols $output_objdir/$soname.def;
8884 echo EXPORTS > $output_objdir/$soname.def;
8885 cat $export_symbols >> $output_objdir/$soname.def;
8887 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8895 hardcode_shlibpath_var=no
8896 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8897 export_dynamic_flag_spec='${wl}-E'
8898 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8899 # Instead, shared libraries are loaded at an image base (0x10000000 by
8900 # default) and relocated if they conflict, which is a slow very memory
8901 # consuming and fragmenting process. To avoid this, we pick a random,
8902 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8903 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8904 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8905 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'
8908 gnu* | linux* | tpf* | k*bsd*-gnu)
8910 if test "$host_os" = linux-dietlibc; then
8911 case $cc_basename in
8912 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8915 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8916 && test "$tmp_diet" = no
8919 tmp_sharedflag='-shared'
8920 case $cc_basename,$host_cpu in
8921 pgcc*) # Portland Group C compiler
8922 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'
8923 tmp_addflag=' $pic_flag'
8925 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8926 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'
8927 tmp_addflag=' $pic_flag -Mnomain' ;;
8928 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8929 tmp_addflag=' -i_dynamic' ;;
8930 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8931 tmp_addflag=' -i_dynamic -nofor_main' ;;
8932 ifc* | ifort*) # Intel Fortran compiler
8933 tmp_addflag=' -nofor_main' ;;
8934 lf95*) # Lahey Fortran 8.1
8935 whole_archive_flag_spec=
8936 tmp_sharedflag='--shared' ;;
8937 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8938 tmp_sharedflag='-qmkshrobj'
8941 case `$CC -V 2>&1 | sed 5q` in
8942 *Sun\ C*) # Sun C 5.9
8943 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'
8944 compiler_needs_object=yes
8945 tmp_sharedflag='-G' ;;
8946 *Sun\ F*) # Sun Fortran 8.3
8947 tmp_sharedflag='-G' ;;
8949 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8951 if test "x$supports_anon_versioning" = xyes; then
8952 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8953 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8954 echo "local: *; };" >> $output_objdir/$libname.ver~
8955 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8958 case $cc_basename in
8960 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8961 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8962 hardcode_libdir_flag_spec=
8963 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8964 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8965 if test "x$supports_anon_versioning" = xyes; then
8966 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8967 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8968 echo "local: *; };" >> $output_objdir/$libname.ver~
8969 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8979 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8980 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8983 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8984 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8989 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8993 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8994 *** create shared libraries on Solaris systems. Therefore, libtool
8995 *** is disabling shared libraries support. We urge you to upgrade GNU
8996 *** binutils to release 2.9.1 or newer. Another option is to modify
8997 *** your PATH or compiler configuration so that the native linker is
8998 *** used, and then restart.
9001 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9002 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9003 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9009 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9010 case `$LD -v 2>&1` in
9011 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9015 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9016 *** reliably create shared libraries on SCO systems. Therefore, libtool
9017 *** is disabling shared libraries support. We urge you to upgrade GNU
9018 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9019 *** your PATH or compiler configuration so that the native linker is
9020 *** used, and then restart.
9025 # For security reasons, it is highly recommended that you always
9026 # use absolute paths for naming shared libraries, and exclude the
9027 # DT_RUNPATH tag from executables and libraries. But doing so
9028 # requires that you compile everything twice, which is a pain.
9029 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9030 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9031 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9032 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9041 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9044 hardcode_shlibpath_var=no
9048 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9049 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9050 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9057 if test "$ld_shlibs" = no; then
9059 hardcode_libdir_flag_spec=
9060 export_dynamic_flag_spec=
9061 whole_archive_flag_spec=
9064 # PORTME fill in a description of your system's linker (not GNU ld)
9067 allow_undefined_flag=unsupported
9068 always_export_symbols=yes
9069 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'
9070 # Note: this linker hardcodes the directories in LIBPATH if there
9071 # are no directories specified by -L.
9072 hardcode_minus_L=yes
9073 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9074 # Neither direct hardcoding nor static linking is supported with a
9076 hardcode_direct=unsupported
9081 if test "$host_cpu" = ia64; then
9082 # On IA64, the linker does run time linking by default, so we don't
9083 # have to do anything special.
9084 aix_use_runtimelinking=no
9085 exp_sym_flag='-Bexport'
9088 # If we're using GNU nm, then we don't want the "-C" option.
9089 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9090 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9091 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'
9093 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'
9095 aix_use_runtimelinking=no
9097 # Test if we are trying to use run time linking or normal
9098 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9099 # need to do runtime linking.
9100 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9101 for ld_flag in $LDFLAGS; do
9102 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9103 aix_use_runtimelinking=yes
9110 exp_sym_flag='-bexport'
9111 no_entry_flag='-bnoentry'
9114 # When large executables or shared objects are built, AIX ld can
9115 # have problems creating the table of contents. If linking a library
9116 # or program results in "error TOC overflow" add -mminimal-toc to
9117 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9118 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9122 hardcode_direct_absolute=yes
9123 hardcode_libdir_separator=':'
9124 link_all_deplibs=yes
9125 file_list_spec='${wl}-f,'
9127 if test "$GCC" = yes; then
9128 case $host_os in aix4.[012]|aix4.[012].*)
9129 # We only want to do this on AIX 4.2 and lower, the check
9130 # below for broken collect2 doesn't work under 4.3+
9131 collect2name=`${CC} -print-prog-name=collect2`
9132 if test -f "$collect2name" &&
9133 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9135 # We have reworked collect2
9138 # We have old collect2
9139 hardcode_direct=unsupported
9140 # It fails to find uninstalled libraries when the uninstalled
9141 # path is not listed in the libpath. Setting hardcode_minus_L
9142 # to unsupported forces relinking
9143 hardcode_minus_L=yes
9144 hardcode_libdir_flag_spec='-L$libdir'
9145 hardcode_libdir_separator=
9149 shared_flag='-shared'
9150 if test "$aix_use_runtimelinking" = yes; then
9151 shared_flag="$shared_flag "'${wl}-G'
9155 if test "$host_cpu" = ia64; then
9156 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9157 # chokes on -Wl,-G. The following line is correct:
9160 if test "$aix_use_runtimelinking" = yes; then
9161 shared_flag='${wl}-G'
9163 shared_flag='${wl}-bM:SRE'
9168 export_dynamic_flag_spec='${wl}-bexpall'
9169 # It seems that -bexpall does not export symbols beginning with
9170 # underscore (_), so it is better to generate a list of symbols to export.
9171 always_export_symbols=yes
9172 if test "$aix_use_runtimelinking" = yes; then
9173 # Warning - without using the other runtime loading flags (-brtl),
9174 # -berok will link without error, but may produce a broken library.
9175 allow_undefined_flag='-berok'
9176 # Determine the default libpath from the value encoded in an
9178 cat >conftest.$ac_ext <<_ACEOF
9181 cat confdefs.h >>conftest.$ac_ext
9182 cat >>conftest.$ac_ext <<_ACEOF
9183 /* end confdefs.h. */
9193 rm -f conftest.$ac_objext conftest$ac_exeext
9194 if { (ac_try="$ac_link"
9196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9197 *) ac_try_echo=$ac_try;;
9199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9200 $as_echo "$ac_try_echo") >&5
9201 (eval "$ac_link") 2>conftest.er1
9203 grep -v '^ *+' conftest.er1 >conftest.err
9205 cat conftest.err >&5
9206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); } && {
9208 test -z "$ac_c_werror_flag" ||
9209 test ! -s conftest.err
9210 } && test -s conftest$ac_exeext && {
9211 test "$cross_compiling" = yes ||
9212 $as_test_x conftest$ac_exeext
9215 lt_aix_libpath_sed='
9216 /Import File Strings/,/^$/ {
9222 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9223 # Check for a 64-bit object if we didn't find anything.
9224 if test -z "$aix_libpath"; then
9225 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9228 $as_echo "$as_me: failed program was:" >&5
9229 sed 's/^/| /' conftest.$ac_ext >&5
9234 rm -rf conftest.dSYM
9235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9236 conftest$ac_exeext conftest.$ac_ext
9237 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9239 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9240 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"
9242 if test "$host_cpu" = ia64; then
9243 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9244 allow_undefined_flag="-z nodefs"
9245 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"
9247 # Determine the default libpath from the value encoded in an
9249 cat >conftest.$ac_ext <<_ACEOF
9252 cat confdefs.h >>conftest.$ac_ext
9253 cat >>conftest.$ac_ext <<_ACEOF
9254 /* end confdefs.h. */
9264 rm -f conftest.$ac_objext conftest$ac_exeext
9265 if { (ac_try="$ac_link"
9267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9268 *) ac_try_echo=$ac_try;;
9270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9271 $as_echo "$ac_try_echo") >&5
9272 (eval "$ac_link") 2>conftest.er1
9274 grep -v '^ *+' conftest.er1 >conftest.err
9276 cat conftest.err >&5
9277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); } && {
9279 test -z "$ac_c_werror_flag" ||
9280 test ! -s conftest.err
9281 } && test -s conftest$ac_exeext && {
9282 test "$cross_compiling" = yes ||
9283 $as_test_x conftest$ac_exeext
9286 lt_aix_libpath_sed='
9287 /Import File Strings/,/^$/ {
9293 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9294 # Check for a 64-bit object if we didn't find anything.
9295 if test -z "$aix_libpath"; then
9296 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9299 $as_echo "$as_me: failed program was:" >&5
9300 sed 's/^/| /' conftest.$ac_ext >&5
9305 rm -rf conftest.dSYM
9306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9307 conftest$ac_exeext conftest.$ac_ext
9308 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9310 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9311 # Warning - without using the other run time loading flags,
9312 # -berok will link without error, but may produce a broken library.
9313 no_undefined_flag=' ${wl}-bernotok'
9314 allow_undefined_flag=' ${wl}-berok'
9315 # Exported symbols can be pulled into shared objects from archives
9316 whole_archive_flag_spec='$convenience'
9317 archive_cmds_need_lc=yes
9318 # This is similar to how AIX traditionally builds its shared libraries.
9319 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'
9327 # see comment about AmigaOS4 .so support
9328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329 archive_expsym_cmds=''
9332 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)'
9333 hardcode_libdir_flag_spec='-L$libdir'
9334 hardcode_minus_L=yes
9340 export_dynamic_flag_spec=-rdynamic
9343 cygwin* | mingw* | pw32* | cegcc*)
9344 # When not using gcc, we currently assume that we are using
9345 # Microsoft Visual C++.
9346 # hardcode_libdir_flag_spec is actually meaningless, as there is
9347 # no search path for DLLs.
9348 hardcode_libdir_flag_spec=' '
9349 allow_undefined_flag=unsupported
9350 # Tell ltmain to make .lib files, not .a files.
9352 # Tell ltmain to make .dll files, not .so files.
9354 # FIXME: Setting linknames here is a bad hack.
9355 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9356 # The linker will automatically build a .lib file if we build a DLL.
9357 old_archive_from_new_cmds='true'
9358 # FIXME: Should let the user specify the lib program.
9359 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9360 fix_srcfile_path='`cygpath -w "$srcfile"`'
9361 enable_shared_with_static_runtimes=yes
9364 darwin* | rhapsody*)
9367 archive_cmds_need_lc=no
9369 hardcode_automatic=yes
9370 hardcode_shlibpath_var=unsupported
9371 whole_archive_flag_spec=''
9372 link_all_deplibs=yes
9373 allow_undefined_flag="$_lt_dar_allow_undefined"
9374 case $cc_basename in
9375 ifort*) _lt_dar_can_shared=yes ;;
9376 *) _lt_dar_can_shared=$GCC ;;
9378 if test "$_lt_dar_can_shared" = "yes"; then
9379 output_verbose_link_cmd=echo
9380 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9381 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9382 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}"
9383 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}"
9392 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9393 hardcode_libdir_flag_spec='-L$libdir'
9394 hardcode_shlibpath_var=no
9401 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9402 # support. Future versions do this automatically, but an explicit c++rt0.o
9403 # does not break anything, and helps significantly (at the cost of a little
9406 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9407 hardcode_libdir_flag_spec='-R$libdir'
9409 hardcode_shlibpath_var=no
9412 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9414 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9416 hardcode_minus_L=yes
9417 hardcode_shlibpath_var=no
9420 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9421 freebsd* | dragonfly*)
9422 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9423 hardcode_libdir_flag_spec='-R$libdir'
9425 hardcode_shlibpath_var=no
9429 if test "$GCC" = yes; then
9430 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'
9432 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'
9434 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9435 hardcode_libdir_separator=:
9438 # hardcode_minus_L: Not really in the search PATH,
9439 # but as the default location of the library.
9440 hardcode_minus_L=yes
9441 export_dynamic_flag_spec='${wl}-E'
9445 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9446 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9448 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9450 if test "$with_gnu_ld" = no; then
9451 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9452 hardcode_libdir_flag_spec_ld='+b $libdir'
9453 hardcode_libdir_separator=:
9455 hardcode_direct_absolute=yes
9456 export_dynamic_flag_spec='${wl}-E'
9457 # hardcode_minus_L: Not really in the search PATH,
9458 # but as the default location of the library.
9459 hardcode_minus_L=yes
9464 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9467 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9470 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9473 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9479 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9482 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9485 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9489 if test "$with_gnu_ld" = no; then
9490 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9491 hardcode_libdir_separator=:
9496 hardcode_shlibpath_var=no
9500 hardcode_direct_absolute=yes
9501 export_dynamic_flag_spec='${wl}-E'
9503 # hardcode_minus_L: Not really in the search PATH,
9504 # but as the default location of the library.
9505 hardcode_minus_L=yes
9511 irix5* | irix6* | nonstopux*)
9512 if test "$GCC" = yes; then
9513 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'
9514 # Try to use the -exported_symbol ld option, if it does not
9515 # work, assume that -exports_file does not work either and
9516 # implicitly export all symbols.
9517 save_LDFLAGS="$LDFLAGS"
9518 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9519 cat >conftest.$ac_ext <<_ACEOF
9522 rm -f conftest.$ac_objext conftest$ac_exeext
9523 if { (ac_try="$ac_link"
9525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9526 *) ac_try_echo=$ac_try;;
9528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9529 $as_echo "$ac_try_echo") >&5
9530 (eval "$ac_link") 2>conftest.er1
9532 grep -v '^ *+' conftest.er1 >conftest.err
9534 cat conftest.err >&5
9535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); } && {
9537 test -z "$ac_c_werror_flag" ||
9538 test ! -s conftest.err
9539 } && test -s conftest$ac_exeext && {
9540 test "$cross_compiling" = yes ||
9541 $as_test_x conftest$ac_exeext
9543 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'
9546 $as_echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9552 rm -rf conftest.dSYM
9553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9554 conftest$ac_exeext conftest.$ac_ext
9555 LDFLAGS="$save_LDFLAGS"
9557 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'
9558 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'
9560 archive_cmds_need_lc='no'
9561 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9562 hardcode_libdir_separator=:
9564 link_all_deplibs=yes
9568 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9569 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9571 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9573 hardcode_libdir_flag_spec='-R$libdir'
9575 hardcode_shlibpath_var=no
9579 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9581 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9582 hardcode_libdir_separator=:
9583 hardcode_shlibpath_var=no
9590 if test -f /usr/libexec/ld.so; then
9592 hardcode_shlibpath_var=no
9593 hardcode_direct_absolute=yes
9594 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9595 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9596 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9597 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9598 export_dynamic_flag_spec='${wl}-E'
9601 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9602 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9603 hardcode_libdir_flag_spec='-R$libdir'
9606 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9607 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9617 hardcode_libdir_flag_spec='-L$libdir'
9618 hardcode_minus_L=yes
9619 allow_undefined_flag=unsupported
9620 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'
9621 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9625 if test "$GCC" = yes; then
9626 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9627 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'
9629 allow_undefined_flag=' -expect_unresolved \*'
9630 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'
9632 archive_cmds_need_lc='no'
9633 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9634 hardcode_libdir_separator=:
9637 osf4* | osf5*) # as osf3* with the addition of -msym flag
9638 if test "$GCC" = yes; then
9639 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9640 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'
9641 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9643 allow_undefined_flag=' -expect_unresolved \*'
9644 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'
9645 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~
9646 $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'
9648 # Both c and cxx compiler support -rpath directly
9649 hardcode_libdir_flag_spec='-rpath $libdir'
9651 archive_cmds_need_lc='no'
9652 hardcode_libdir_separator=:
9656 no_undefined_flag=' -z defs'
9657 if test "$GCC" = yes; then
9659 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9660 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9661 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9663 case `$CC -V 2>&1` in
9666 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9667 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9668 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9672 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9673 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9674 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9678 hardcode_libdir_flag_spec='-R$libdir'
9679 hardcode_shlibpath_var=no
9681 solaris2.[0-5] | solaris2.[0-5].*) ;;
9683 # The compiler driver will combine and reorder linker options,
9684 # but understands `-z linker_flag'. GCC discards it without `$wl',
9685 # but is careful enough not to reorder.
9686 # Supported since Solaris 2.6 (maybe 2.5.1?)
9687 if test "$GCC" = yes; then
9688 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9690 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9694 link_all_deplibs=yes
9698 if test "x$host_vendor" = xsequent; then
9699 # Use $CC to link under sequent, because it throws in some extra .o
9700 # files that make .init and .fini sections work.
9701 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9703 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9705 hardcode_libdir_flag_spec='-L$libdir'
9707 hardcode_minus_L=yes
9708 hardcode_shlibpath_var=no
9712 case $host_vendor in
9714 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9715 hardcode_direct=yes # is this really true???
9718 ## LD is ld it makes a PLAMLIB
9719 ## CC just makes a GrossModule.
9720 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9721 reload_cmds='$CC -r -o $output$reload_objs'
9725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9729 runpath_var='LD_RUN_PATH'
9730 hardcode_shlibpath_var=no
9734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9735 hardcode_shlibpath_var=no
9736 export_dynamic_flag_spec='-Bexport'
9740 if test -d /usr/nec; then
9741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9742 hardcode_shlibpath_var=no
9743 runpath_var=LD_RUN_PATH
9744 hardcode_runpath_var=yes
9749 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9750 no_undefined_flag='${wl}-z,text'
9751 archive_cmds_need_lc=no
9752 hardcode_shlibpath_var=no
9753 runpath_var='LD_RUN_PATH'
9755 if test "$GCC" = yes; then
9756 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9757 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9760 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9764 sysv5* | sco3.2v5* | sco5v6*)
9765 # Note: We can NOT use -z defs as we might desire, because we do not
9766 # link with -lc, and that would cause any symbols used from libc to
9767 # always be unresolved, which means just about no library would
9768 # ever link correctly. If we're not using GNU ld we use -z text
9769 # though, which does catch some bad symbols but isn't as heavy-handed
9771 no_undefined_flag='${wl}-z,text'
9772 allow_undefined_flag='${wl}-z,nodefs'
9773 archive_cmds_need_lc=no
9774 hardcode_shlibpath_var=no
9775 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9776 hardcode_libdir_separator=':'
9777 link_all_deplibs=yes
9778 export_dynamic_flag_spec='${wl}-Bexport'
9779 runpath_var='LD_RUN_PATH'
9781 if test "$GCC" = yes; then
9782 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9783 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9786 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9791 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9792 hardcode_libdir_flag_spec='-L$libdir'
9793 hardcode_shlibpath_var=no
9801 if test x$host_vendor = xsni; then
9803 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9804 export_dynamic_flag_spec='${wl}-Blargedynsym'
9810 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9811 $as_echo "$ld_shlibs" >&6; }
9812 test "$ld_shlibs" = no && can_build_shared=no
9814 with_gnu_ld=$with_gnu_ld
9831 # Do we need to explicitly link libc?
9833 case "x$archive_cmds_need_lc" in
9835 # Assume -lc should be added
9836 archive_cmds_need_lc=yes
9838 if test "$enable_shared" = yes && test "$GCC" = yes; then
9839 case $archive_cmds in
9841 # FIXME: we may have to deal with multi-command sequences.
9844 # Test whether the compiler implicitly links with -lc since on some
9845 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9846 # to ld, don't add -lc before -lgcc.
9847 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9848 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9850 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9853 (eval $ac_compile) 2>&5
9855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); } 2>conftest.err; then
9859 libobjs=conftest.$ac_objext
9861 wl=$lt_prog_compiler_wl
9862 pic_flag=$lt_prog_compiler_pic
9868 lt_save_allow_undefined_flag=$allow_undefined_flag
9869 allow_undefined_flag=
9870 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9871 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); }
9876 archive_cmds_need_lc=no
9878 archive_cmds_need_lc=yes
9880 allow_undefined_flag=$lt_save_allow_undefined_flag
9882 cat conftest.err 1>&5
9885 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9886 $as_echo "$archive_cmds_need_lc" >&6; }
10049 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10050 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10052 if test "$GCC" = yes; then
10054 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10055 *) lt_awk_arg="/^libraries:/" ;;
10057 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10058 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10059 # if the path contains ";" then we assume it to be the separator
10060 # otherwise default to the standard path separator (i.e. ":") - it is
10061 # assumed that no part of a normal pathname contains ";" but that should
10062 # okay in the real world where ";" in dirpaths is itself problematic.
10063 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10065 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10067 # Ok, now we have the path, separated by spaces, we can step through it
10068 # and add multilib dir if necessary.
10069 lt_tmp_lt_search_path_spec=
10070 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10071 for lt_sys_path in $lt_search_path_spec; do
10072 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10073 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10075 test -d "$lt_sys_path" && \
10076 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10079 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10080 BEGIN {RS=" "; FS="/|\n";} {
10083 for (lt_i = NF; lt_i > 0; lt_i--) {
10084 if ($lt_i != "" && $lt_i != ".") {
10085 if ($lt_i == "..") {
10088 if (lt_count == 0) {
10089 lt_foo="/" $lt_i lt_foo;
10096 if (lt_foo != "") { lt_freq[lt_foo]++; }
10097 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10099 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10101 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10103 library_names_spec=
10104 libname_spec='lib$name'
10108 postuninstall_cmds=
10112 shlibpath_overrides_runpath=unknown
10114 dynamic_linker="$host_os ld.so"
10115 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10116 need_lib_prefix=unknown
10117 hardcode_into_libs=no
10119 # when you set need_version to no, make sure it does not cause -set_version
10120 # flags to be left without arguments
10121 need_version=unknown
10126 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10127 shlibpath_var=LIBPATH
10129 # AIX 3 has no versioning support, so we append a major version to the name.
10130 soname_spec='${libname}${release}${shared_ext}$major'
10137 hardcode_into_libs=yes
10138 if test "$host_cpu" = ia64; then
10139 # AIX 5 supports IA64
10140 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10141 shlibpath_var=LD_LIBRARY_PATH
10143 # With GCC up to 2.95.x, collect2 would create an import file
10144 # for dependence libraries. The import file would start with
10145 # the line `#! .'. This would cause the generated library to
10146 # depend on `.', always an invalid library. This was fixed in
10147 # development snapshots of GCC prior to 3.0.
10149 aix4 | aix4.[01] | aix4.[01].*)
10150 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10152 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10155 can_build_shared=no
10159 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10160 # soname into executable. Probably we can add versioning support to
10161 # collect2, so additional links can be useful in future.
10162 if test "$aix_use_runtimelinking" = yes; then
10163 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10164 # instead of lib<name>.a to let people know that these are not
10165 # typical AIX shared libraries.
10166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10168 # We preserve .a as extension for shared libraries through AIX4.2
10169 # and later when we are not doing run time linking.
10170 library_names_spec='${libname}${release}.a $libname.a'
10171 soname_spec='${libname}${release}${shared_ext}$major'
10173 shlibpath_var=LIBPATH
10180 # Since July 2007 AmigaOS4 officially supports .so libraries.
10181 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10185 library_names_spec='$libname.ixlibrary $libname.a'
10186 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10187 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'
10193 library_names_spec='${libname}${shared_ext}'
10194 dynamic_linker="$host_os ld.so"
10195 shlibpath_var=LIBRARY_PATH
10201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10202 soname_spec='${libname}${release}${shared_ext}$major'
10203 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10204 shlibpath_var=LD_LIBRARY_PATH
10205 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10206 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10207 # the default ld.so.conf also contains /usr/contrib/lib and
10208 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10209 # libtool to hard-code these into programs
10212 cygwin* | mingw* | pw32* | cegcc*)
10213 version_type=windows
10218 case $GCC,$host_os in
10219 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10220 library_names_spec='$libname.dll.a'
10221 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10222 postinstall_cmds='base_file=`basename \${file}`~
10223 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10224 dldir=$destdir/`dirname \$dlpath`~
10225 test -d \$dldir || mkdir -p \$dldir~
10226 $install_prog $dir/$dlname \$dldir/$dlname~
10227 chmod a+x \$dldir/$dlname~
10228 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10229 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10231 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10232 dlpath=$dir/\$dldll~
10234 shlibpath_overrides_runpath=yes
10238 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10239 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10240 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10243 # MinGW DLLs use traditional 'lib' prefix
10244 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10245 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10246 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10247 # It is most probably a Windows format PATH printed by
10248 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10249 # path with ; separators, and with drive letters. We can handle the
10250 # drive letters (cygwin fileutils understands them), so leave them,
10251 # especially as we might pass files found there to a mingw objdump,
10252 # which wouldn't understand a cygwinified path. Ahh.
10253 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10255 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10259 # pw32 DLLs use 'pw' prefix rather than 'lib'
10260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10266 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10269 dynamic_linker='Win32 ld.exe'
10270 # FIXME: first we should search . and the directory the executable is in
10274 darwin* | rhapsody*)
10275 dynamic_linker="$host_os dyld"
10276 version_type=darwin
10279 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10280 soname_spec='${libname}${release}${major}$shared_ext'
10281 shlibpath_overrides_runpath=yes
10282 shlibpath_var=DYLD_LIBRARY_PATH
10283 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10285 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10286 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10294 soname_spec='${libname}${release}${shared_ext}$major'
10295 shlibpath_var=LD_LIBRARY_PATH
10302 freebsd* | dragonfly*)
10303 # DragonFly does not have aout. When/if they implement a new
10304 # versioning mechanism, adjust this.
10305 if test -x /usr/bin/objformat; then
10306 objformat=`/usr/bin/objformat`
10309 freebsd[123]*) objformat=aout ;;
10310 *) objformat=elf ;;
10313 version_type=freebsd-$objformat
10314 case $version_type in
10316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10321 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10325 shlibpath_var=LD_LIBRARY_PATH
10328 shlibpath_overrides_runpath=yes
10330 freebsd3.[01]* | freebsdelf3.[01]*)
10331 shlibpath_overrides_runpath=yes
10332 hardcode_into_libs=yes
10334 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10335 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10336 shlibpath_overrides_runpath=no
10337 hardcode_into_libs=yes
10339 *) # from 4.6 on, and DragonFly
10340 shlibpath_overrides_runpath=yes
10341 hardcode_into_libs=yes
10350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10351 soname_spec='${libname}${release}${shared_ext}$major'
10352 shlibpath_var=LD_LIBRARY_PATH
10353 hardcode_into_libs=yes
10356 hpux9* | hpux10* | hpux11*)
10357 # Give a soname corresponding to the major version so that dld.sl refuses to
10358 # link against other versions.
10365 hardcode_into_libs=yes
10366 dynamic_linker="$host_os dld.so"
10367 shlibpath_var=LD_LIBRARY_PATH
10368 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 soname_spec='${libname}${release}${shared_ext}$major'
10371 if test "X$HPUX_IA64_MODE" = X32; then
10372 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10374 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10376 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10380 hardcode_into_libs=yes
10381 dynamic_linker="$host_os dld.sl"
10382 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10383 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10385 soname_spec='${libname}${release}${shared_ext}$major'
10386 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10387 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10391 dynamic_linker="$host_os dld.sl"
10392 shlibpath_var=SHLIB_PATH
10393 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10395 soname_spec='${libname}${release}${shared_ext}$major'
10398 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10399 postinstall_cmds='chmod 555 $lib'
10406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10407 soname_spec='${libname}${release}${shared_ext}$major'
10408 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10409 shlibpath_var=LD_LIBRARY_PATH
10410 shlibpath_overrides_runpath=no
10411 hardcode_into_libs=yes
10414 irix5* | irix6* | nonstopux*)
10416 nonstopux*) version_type=nonstopux ;;
10418 if test "$lt_cv_prog_gnu_ld" = yes; then
10426 soname_spec='${libname}${release}${shared_ext}$major'
10427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10429 irix5* | nonstopux*)
10430 libsuff= shlibsuff=
10433 case $LD in # libtool.m4 will add one of these switches to LD
10434 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10435 libsuff= shlibsuff= libmagic=32-bit;;
10436 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10437 libsuff=32 shlibsuff=N32 libmagic=N32;;
10438 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10439 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10440 *) libsuff= shlibsuff= libmagic=never-match;;
10444 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10445 shlibpath_overrides_runpath=no
10446 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10447 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10448 hardcode_into_libs=yes
10451 # No shared lib support for Linux oldld, aout, or coff.
10452 linux*oldld* | linux*aout* | linux*coff*)
10456 # This must be Linux ELF.
10457 linux* | k*bsd*-gnu)
10461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10462 soname_spec='${libname}${release}${shared_ext}$major'
10463 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10464 shlibpath_var=LD_LIBRARY_PATH
10465 shlibpath_overrides_runpath=no
10466 # Some binutils ld are patched to set DT_RUNPATH
10467 save_LDFLAGS=$LDFLAGS
10468 save_libdir=$libdir
10469 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10470 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10471 cat >conftest.$ac_ext <<_ACEOF
10474 cat confdefs.h >>conftest.$ac_ext
10475 cat >>conftest.$ac_ext <<_ACEOF
10476 /* end confdefs.h. */
10486 rm -f conftest.$ac_objext conftest$ac_exeext
10487 if { (ac_try="$ac_link"
10488 case "(($ac_try" in
10489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10490 *) ac_try_echo=$ac_try;;
10492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10493 $as_echo "$ac_try_echo") >&5
10494 (eval "$ac_link") 2>conftest.er1
10496 grep -v '^ *+' conftest.er1 >conftest.err
10498 cat conftest.err >&5
10499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); } && {
10501 test -z "$ac_c_werror_flag" ||
10502 test ! -s conftest.err
10503 } && test -s conftest$ac_exeext && {
10504 test "$cross_compiling" = yes ||
10505 $as_test_x conftest$ac_exeext
10507 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10508 shlibpath_overrides_runpath=yes
10512 $as_echo "$as_me: failed program was:" >&5
10513 sed 's/^/| /' conftest.$ac_ext >&5
10518 rm -rf conftest.dSYM
10519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10520 conftest$ac_exeext conftest.$ac_ext
10521 LDFLAGS=$save_LDFLAGS
10522 libdir=$save_libdir
10524 # This implies no fast_install, which is unacceptable.
10525 # Some rework will be needed to allow for fast_install
10526 # before this can be enabled.
10527 hardcode_into_libs=yes
10529 # Add ABI-specific directories to the system library path.
10530 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10532 # Append ld.so.conf contents to the search path
10533 if test -f /etc/ld.so.conf; then
10534 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' ' '`
10535 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10538 # We used to test for /lib/ld.so.1 and disable shared libraries on
10539 # powerpc, because MkLinux only supported shared libraries with the
10540 # GNU dynamic linker. Since this was broken with cross compilers,
10541 # most powerpc-linux boxes support dynamic linking these days and
10542 # people can always --disable-shared, the test was removed, and we
10543 # assume the GNU/Linux dynamic linker is in use.
10544 dynamic_linker='GNU/Linux ld.so'
10551 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10553 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10554 dynamic_linker='NetBSD (a.out) ld.so'
10556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10557 soname_spec='${libname}${release}${shared_ext}$major'
10558 dynamic_linker='NetBSD ld.elf_so'
10560 shlibpath_var=LD_LIBRARY_PATH
10561 shlibpath_overrides_runpath=yes
10562 hardcode_into_libs=yes
10567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10568 shlibpath_var=LD_LIBRARY_PATH
10569 shlibpath_overrides_runpath=yes
10576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10577 soname_spec='${libname}${release}${shared_ext}$major'
10578 shlibpath_var=LD_LIBRARY_PATH
10579 shlibpath_overrides_runpath=no
10580 hardcode_into_libs=yes
10581 dynamic_linker='ldqnx.so'
10586 sys_lib_dlsearch_path_spec="/usr/lib"
10588 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10590 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10591 *) need_version=no ;;
10593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10594 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10595 shlibpath_var=LD_LIBRARY_PATH
10596 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10598 openbsd2.[89] | openbsd2.[89].*)
10599 shlibpath_overrides_runpath=no
10602 shlibpath_overrides_runpath=yes
10606 shlibpath_overrides_runpath=yes
10611 libname_spec='$name'
10614 library_names_spec='$libname${shared_ext} $libname.a'
10615 dynamic_linker='OS/2 ld.exe'
10616 shlibpath_var=LIBPATH
10619 osf3* | osf4* | osf5*)
10623 soname_spec='${libname}${release}${shared_ext}$major'
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 shlibpath_var=LD_LIBRARY_PATH
10626 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10627 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 soname_spec='${libname}${release}${shared_ext}$major'
10640 shlibpath_var=LD_LIBRARY_PATH
10641 shlibpath_overrides_runpath=yes
10642 hardcode_into_libs=yes
10643 # ldd complains unless libraries are executable
10644 postinstall_cmds='chmod +x $lib'
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10650 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10651 shlibpath_var=LD_LIBRARY_PATH
10652 shlibpath_overrides_runpath=yes
10653 if test "$with_gnu_ld" = yes; then
10661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10662 soname_spec='${libname}${release}${shared_ext}$major'
10663 shlibpath_var=LD_LIBRARY_PATH
10664 case $host_vendor in
10666 shlibpath_overrides_runpath=no
10668 runpath_var=LD_RUN_PATH
10676 shlibpath_overrides_runpath=no
10677 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10683 if test -d /usr/nec ;then
10685 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10686 soname_spec='$libname${shared_ext}.$major'
10687 shlibpath_var=LD_LIBRARY_PATH
10691 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10692 version_type=freebsd-elf
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10696 soname_spec='${libname}${release}${shared_ext}$major'
10697 shlibpath_var=LD_LIBRARY_PATH
10698 shlibpath_overrides_runpath=yes
10699 hardcode_into_libs=yes
10700 if test "$with_gnu_ld" = yes; then
10701 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10703 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10706 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10710 sys_lib_dlsearch_path_spec='/usr/lib'
10714 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719 shlibpath_var=LD_LIBRARY_PATH
10720 shlibpath_overrides_runpath=no
10721 hardcode_into_libs=yes
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10727 soname_spec='${libname}${release}${shared_ext}$major'
10728 shlibpath_var=LD_LIBRARY_PATH
10735 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10736 $as_echo "$dynamic_linker" >&6; }
10737 test "$dynamic_linker" = no && can_build_shared=no
10739 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10740 if test "$GCC" = yes; then
10741 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10744 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10745 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10747 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10748 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10837 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10838 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10840 if test -n "$hardcode_libdir_flag_spec" ||
10841 test -n "$runpath_var" ||
10842 test "X$hardcode_automatic" = "Xyes" ; then
10844 # We can hardcode non-existent directories.
10845 if test "$hardcode_direct" != no &&
10846 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10847 # have to relink, otherwise we might link with an installed library
10848 # when we should be linking with a yet-to-be-installed one
10849 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10850 test "$hardcode_minus_L" != no; then
10851 # Linking always hardcodes the temporary library directory.
10852 hardcode_action=relink
10854 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10855 hardcode_action=immediate
10858 # We cannot hardcode anything, or else we can only hardcode existing
10860 hardcode_action=unsupported
10862 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10863 $as_echo "$hardcode_action" >&6; }
10865 if test "$hardcode_action" = relink ||
10866 test "$inherit_rpath" = yes; then
10867 # Fast installation is not supported
10868 enable_fast_install=no
10869 elif test "$shlibpath_overrides_runpath" = yes ||
10870 test "$enable_shared" = no; then
10871 # Fast installation is not necessary
10872 enable_fast_install=needless
10880 if test "x$enable_dlopen" != xyes; then
10881 enable_dlopen=unknown
10882 enable_dlopen_self=unknown
10883 enable_dlopen_self_static=unknown
10890 lt_cv_dlopen="load_add_on"
10892 lt_cv_dlopen_self=yes
10895 mingw* | pw32* | cegcc*)
10896 lt_cv_dlopen="LoadLibrary"
10901 lt_cv_dlopen="dlopen"
10906 # if libdl is installed we need to link against it
10907 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10908 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10909 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10910 $as_echo_n "(cached) " >&6
10912 ac_check_lib_save_LIBS=$LIBS
10914 cat >conftest.$ac_ext <<_ACEOF
10917 cat confdefs.h >>conftest.$ac_ext
10918 cat >>conftest.$ac_ext <<_ACEOF
10919 /* end confdefs.h. */
10921 /* Override any GCC internal prototype to avoid an error.
10922 Use char because int might match the return type of a GCC
10923 builtin and then its argument prototype would still apply. */
10936 rm -f conftest.$ac_objext conftest$ac_exeext
10937 if { (ac_try="$ac_link"
10938 case "(($ac_try" in
10939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10940 *) ac_try_echo=$ac_try;;
10942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10943 $as_echo "$ac_try_echo") >&5
10944 (eval "$ac_link") 2>conftest.er1
10946 grep -v '^ *+' conftest.er1 >conftest.err
10948 cat conftest.err >&5
10949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); } && {
10951 test -z "$ac_c_werror_flag" ||
10952 test ! -s conftest.err
10953 } && test -s conftest$ac_exeext && {
10954 test "$cross_compiling" = yes ||
10955 $as_test_x conftest$ac_exeext
10957 ac_cv_lib_dl_dlopen=yes
10959 $as_echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.$ac_ext >&5
10962 ac_cv_lib_dl_dlopen=no
10965 rm -rf conftest.dSYM
10966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10967 conftest$ac_exeext conftest.$ac_ext
10968 LIBS=$ac_check_lib_save_LIBS
10970 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10971 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10972 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10973 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10976 lt_cv_dlopen="dyld"
10978 lt_cv_dlopen_self=yes
10985 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10986 $as_echo_n "checking for shl_load... " >&6; }
10987 if test "${ac_cv_func_shl_load+set}" = set; then
10988 $as_echo_n "(cached) " >&6
10990 cat >conftest.$ac_ext <<_ACEOF
10993 cat confdefs.h >>conftest.$ac_ext
10994 cat >>conftest.$ac_ext <<_ACEOF
10995 /* end confdefs.h. */
10996 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10998 #define shl_load innocuous_shl_load
11000 /* System header to define __stub macros and hopefully few prototypes,
11001 which can conflict with char shl_load (); below.
11002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11003 <limits.h> exists even on freestanding compilers. */
11006 # include <limits.h>
11008 # include <assert.h>
11013 /* Override any GCC internal prototype to avoid an error.
11014 Use char because int might match the return type of a GCC
11015 builtin and then its argument prototype would still apply. */
11020 /* The GNU C library defines this for functions which it implements
11021 to always fail with ENOSYS. Some functions are actually named
11022 something starting with __ and the normal name is an alias. */
11023 #if defined __stub_shl_load || defined __stub___shl_load
11030 return shl_load ();
11035 rm -f conftest.$ac_objext conftest$ac_exeext
11036 if { (ac_try="$ac_link"
11037 case "(($ac_try" in
11038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11039 *) ac_try_echo=$ac_try;;
11041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11042 $as_echo "$ac_try_echo") >&5
11043 (eval "$ac_link") 2>conftest.er1
11045 grep -v '^ *+' conftest.er1 >conftest.err
11047 cat conftest.err >&5
11048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } && {
11050 test -z "$ac_c_werror_flag" ||
11051 test ! -s conftest.err
11052 } && test -s conftest$ac_exeext && {
11053 test "$cross_compiling" = yes ||
11054 $as_test_x conftest$ac_exeext
11056 ac_cv_func_shl_load=yes
11058 $as_echo "$as_me: failed program was:" >&5
11059 sed 's/^/| /' conftest.$ac_ext >&5
11061 ac_cv_func_shl_load=no
11064 rm -rf conftest.dSYM
11065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11066 conftest$ac_exeext conftest.$ac_ext
11068 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11069 $as_echo "$ac_cv_func_shl_load" >&6; }
11070 if test "x$ac_cv_func_shl_load" = x""yes; then
11071 lt_cv_dlopen="shl_load"
11073 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11074 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11075 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11076 $as_echo_n "(cached) " >&6
11078 ac_check_lib_save_LIBS=$LIBS
11080 cat >conftest.$ac_ext <<_ACEOF
11083 cat confdefs.h >>conftest.$ac_ext
11084 cat >>conftest.$ac_ext <<_ACEOF
11085 /* end confdefs.h. */
11087 /* Override any GCC internal prototype to avoid an error.
11088 Use char because int might match the return type of a GCC
11089 builtin and then its argument prototype would still apply. */
11097 return shl_load ();
11102 rm -f conftest.$ac_objext conftest$ac_exeext
11103 if { (ac_try="$ac_link"
11104 case "(($ac_try" in
11105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11106 *) ac_try_echo=$ac_try;;
11108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11109 $as_echo "$ac_try_echo") >&5
11110 (eval "$ac_link") 2>conftest.er1
11112 grep -v '^ *+' conftest.er1 >conftest.err
11114 cat conftest.err >&5
11115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); } && {
11117 test -z "$ac_c_werror_flag" ||
11118 test ! -s conftest.err
11119 } && test -s conftest$ac_exeext && {
11120 test "$cross_compiling" = yes ||
11121 $as_test_x conftest$ac_exeext
11123 ac_cv_lib_dld_shl_load=yes
11125 $as_echo "$as_me: failed program was:" >&5
11126 sed 's/^/| /' conftest.$ac_ext >&5
11128 ac_cv_lib_dld_shl_load=no
11131 rm -rf conftest.dSYM
11132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11133 conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_lib_save_LIBS
11136 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11137 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11138 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11139 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11141 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11142 $as_echo_n "checking for dlopen... " >&6; }
11143 if test "${ac_cv_func_dlopen+set}" = set; then
11144 $as_echo_n "(cached) " >&6
11146 cat >conftest.$ac_ext <<_ACEOF
11149 cat confdefs.h >>conftest.$ac_ext
11150 cat >>conftest.$ac_ext <<_ACEOF
11151 /* end confdefs.h. */
11152 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11154 #define dlopen innocuous_dlopen
11156 /* System header to define __stub macros and hopefully few prototypes,
11157 which can conflict with char dlopen (); below.
11158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11159 <limits.h> exists even on freestanding compilers. */
11162 # include <limits.h>
11164 # include <assert.h>
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11176 /* The GNU C library defines this for functions which it implements
11177 to always fail with ENOSYS. Some functions are actually named
11178 something starting with __ and the normal name is an alias. */
11179 #if defined __stub_dlopen || defined __stub___dlopen
11191 rm -f conftest.$ac_objext conftest$ac_exeext
11192 if { (ac_try="$ac_link"
11193 case "(($ac_try" in
11194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11195 *) ac_try_echo=$ac_try;;
11197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11198 $as_echo "$ac_try_echo") >&5
11199 (eval "$ac_link") 2>conftest.er1
11201 grep -v '^ *+' conftest.er1 >conftest.err
11203 cat conftest.err >&5
11204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } && {
11206 test -z "$ac_c_werror_flag" ||
11207 test ! -s conftest.err
11208 } && test -s conftest$ac_exeext && {
11209 test "$cross_compiling" = yes ||
11210 $as_test_x conftest$ac_exeext
11212 ac_cv_func_dlopen=yes
11214 $as_echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.$ac_ext >&5
11217 ac_cv_func_dlopen=no
11220 rm -rf conftest.dSYM
11221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11222 conftest$ac_exeext conftest.$ac_ext
11224 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11225 $as_echo "$ac_cv_func_dlopen" >&6; }
11226 if test "x$ac_cv_func_dlopen" = x""yes; then
11227 lt_cv_dlopen="dlopen"
11229 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11230 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11231 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11232 $as_echo_n "(cached) " >&6
11234 ac_check_lib_save_LIBS=$LIBS
11236 cat >conftest.$ac_ext <<_ACEOF
11239 cat confdefs.h >>conftest.$ac_ext
11240 cat >>conftest.$ac_ext <<_ACEOF
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11258 rm -f conftest.$ac_objext conftest$ac_exeext
11259 if { (ac_try="$ac_link"
11260 case "(($ac_try" in
11261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11262 *) ac_try_echo=$ac_try;;
11264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11265 $as_echo "$ac_try_echo") >&5
11266 (eval "$ac_link") 2>conftest.er1
11268 grep -v '^ *+' conftest.er1 >conftest.err
11270 cat conftest.err >&5
11271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); } && {
11273 test -z "$ac_c_werror_flag" ||
11274 test ! -s conftest.err
11275 } && test -s conftest$ac_exeext && {
11276 test "$cross_compiling" = yes ||
11277 $as_test_x conftest$ac_exeext
11279 ac_cv_lib_dl_dlopen=yes
11281 $as_echo "$as_me: failed program was:" >&5
11282 sed 's/^/| /' conftest.$ac_ext >&5
11284 ac_cv_lib_dl_dlopen=no
11287 rm -rf conftest.dSYM
11288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_lib_save_LIBS
11292 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11293 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11294 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11295 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11297 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11298 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11299 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11300 $as_echo_n "(cached) " >&6
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-lsvld $LIBS"
11304 cat >conftest.$ac_ext <<_ACEOF
11307 cat confdefs.h >>conftest.$ac_ext
11308 cat >>conftest.$ac_ext <<_ACEOF
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11326 rm -f conftest.$ac_objext conftest$ac_exeext
11327 if { (ac_try="$ac_link"
11328 case "(($ac_try" in
11329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11330 *) ac_try_echo=$ac_try;;
11332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11333 $as_echo "$ac_try_echo") >&5
11334 (eval "$ac_link") 2>conftest.er1
11336 grep -v '^ *+' conftest.er1 >conftest.err
11338 cat conftest.err >&5
11339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } && {
11341 test -z "$ac_c_werror_flag" ||
11342 test ! -s conftest.err
11343 } && test -s conftest$ac_exeext && {
11344 test "$cross_compiling" = yes ||
11345 $as_test_x conftest$ac_exeext
11347 ac_cv_lib_svld_dlopen=yes
11349 $as_echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11352 ac_cv_lib_svld_dlopen=no
11355 rm -rf conftest.dSYM
11356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_lib_save_LIBS
11360 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11361 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11362 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11363 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11365 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11366 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11367 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11368 $as_echo_n "(cached) " >&6
11370 ac_check_lib_save_LIBS=$LIBS
11372 cat >conftest.$ac_ext <<_ACEOF
11375 cat confdefs.h >>conftest.$ac_ext
11376 cat >>conftest.$ac_ext <<_ACEOF
11377 /* end confdefs.h. */
11379 /* Override any GCC internal prototype to avoid an error.
11380 Use char because int might match the return type of a GCC
11381 builtin and then its argument prototype would still apply. */
11389 return dld_link ();
11394 rm -f conftest.$ac_objext conftest$ac_exeext
11395 if { (ac_try="$ac_link"
11396 case "(($ac_try" in
11397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11398 *) ac_try_echo=$ac_try;;
11400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11401 $as_echo "$ac_try_echo") >&5
11402 (eval "$ac_link") 2>conftest.er1
11404 grep -v '^ *+' conftest.er1 >conftest.err
11406 cat conftest.err >&5
11407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); } && {
11409 test -z "$ac_c_werror_flag" ||
11410 test ! -s conftest.err
11411 } && test -s conftest$ac_exeext && {
11412 test "$cross_compiling" = yes ||
11413 $as_test_x conftest$ac_exeext
11415 ac_cv_lib_dld_dld_link=yes
11417 $as_echo "$as_me: failed program was:" >&5
11418 sed 's/^/| /' conftest.$ac_ext >&5
11420 ac_cv_lib_dld_dld_link=no
11423 rm -rf conftest.dSYM
11424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11429 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11430 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11431 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11452 if test "x$lt_cv_dlopen" != xno; then
11458 case $lt_cv_dlopen in
11460 save_CPPFLAGS="$CPPFLAGS"
11461 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11463 save_LDFLAGS="$LDFLAGS"
11464 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11467 LIBS="$lt_cv_dlopen_libs $LIBS"
11469 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11470 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11471 if test "${lt_cv_dlopen_self+set}" = set; then
11472 $as_echo_n "(cached) " >&6
11474 if test "$cross_compiling" = yes; then :
11475 lt_cv_dlopen_self=cross
11477 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11478 lt_status=$lt_dlunknown
11479 cat > conftest.$ac_ext <<_LT_EOF
11480 #line 11480 "configure"
11481 #include "confdefs.h"
11490 # define LT_DLGLOBAL RTLD_GLOBAL
11493 # define LT_DLGLOBAL DL_GLOBAL
11495 # define LT_DLGLOBAL 0
11499 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11500 find out it does not work in some platform. */
11501 #ifndef LT_DLLAZY_OR_NOW
11503 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11506 # define LT_DLLAZY_OR_NOW DL_LAZY
11509 # define LT_DLLAZY_OR_NOW RTLD_NOW
11512 # define LT_DLLAZY_OR_NOW DL_NOW
11514 # define LT_DLLAZY_OR_NOW 0
11521 void fnord() { int i=42;}
11524 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11525 int status = $lt_dlunknown;
11529 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11530 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11531 /* dlclose (self); */
11539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11540 (eval $ac_link) 2>&5
11542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11544 (./conftest; exit; ) >&5 2>/dev/null
11546 case x$lt_status in
11547 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11548 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11549 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11552 # compilation failed
11553 lt_cv_dlopen_self=no
11560 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11561 $as_echo "$lt_cv_dlopen_self" >&6; }
11563 if test "x$lt_cv_dlopen_self" = xyes; then
11564 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11565 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11566 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11567 if test "${lt_cv_dlopen_self_static+set}" = set; then
11568 $as_echo_n "(cached) " >&6
11570 if test "$cross_compiling" = yes; then :
11571 lt_cv_dlopen_self_static=cross
11573 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11574 lt_status=$lt_dlunknown
11575 cat > conftest.$ac_ext <<_LT_EOF
11576 #line 11576 "configure"
11577 #include "confdefs.h"
11586 # define LT_DLGLOBAL RTLD_GLOBAL
11589 # define LT_DLGLOBAL DL_GLOBAL
11591 # define LT_DLGLOBAL 0
11595 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11596 find out it does not work in some platform. */
11597 #ifndef LT_DLLAZY_OR_NOW
11599 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11602 # define LT_DLLAZY_OR_NOW DL_LAZY
11605 # define LT_DLLAZY_OR_NOW RTLD_NOW
11608 # define LT_DLLAZY_OR_NOW DL_NOW
11610 # define LT_DLLAZY_OR_NOW 0
11617 void fnord() { int i=42;}
11620 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11621 int status = $lt_dlunknown;
11625 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11626 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11627 /* dlclose (self); */
11635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11636 (eval $ac_link) 2>&5
11638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11640 (./conftest; exit; ) >&5 2>/dev/null
11642 case x$lt_status in
11643 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11644 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11645 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11648 # compilation failed
11649 lt_cv_dlopen_self_static=no
11656 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11657 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11660 CPPFLAGS="$save_CPPFLAGS"
11661 LDFLAGS="$save_LDFLAGS"
11666 case $lt_cv_dlopen_self in
11667 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11668 *) enable_dlopen_self=unknown ;;
11671 case $lt_cv_dlopen_self_static in
11672 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11673 *) enable_dlopen_self_static=unknown ;;
11695 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11696 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11697 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11698 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11699 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11700 { $as_echo "$as_me:$LINENO: result: yes" >&5
11701 $as_echo "yes" >&6; }
11703 # FIXME - insert some real tests, host_os isn't really good enough
11706 if test -n "$STRIP" ; then
11707 striplib="$STRIP -x"
11708 old_striplib="$STRIP -S"
11709 { $as_echo "$as_me:$LINENO: result: yes" >&5
11710 $as_echo "yes" >&6; }
11712 { $as_echo "$as_me:$LINENO: result: no" >&5
11713 $as_echo "no" >&6; }
11717 { $as_echo "$as_me:$LINENO: result: no" >&5
11718 $as_echo "no" >&6; }
11734 # Report which library types will actually be built
11735 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11736 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11737 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11738 $as_echo "$can_build_shared" >&6; }
11740 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11741 $as_echo_n "checking whether to build shared libraries... " >&6; }
11742 test "$can_build_shared" = "no" && enable_shared=no
11744 # On AIX, shared libraries and static libraries use the same namespace, and
11745 # are all built from PIC.
11748 test "$enable_shared" = yes && enable_static=no
11749 if test -n "$RANLIB"; then
11750 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11751 postinstall_cmds='$RANLIB $lib'
11756 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11757 test "$enable_shared" = yes && enable_static=no
11761 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11762 $as_echo "$enable_shared" >&6; }
11764 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11765 $as_echo_n "checking whether to build static libraries... " >&6; }
11766 # Make sure either enable_shared or enable_static is yes.
11767 test "$enable_shared" = yes || enable_static=yes
11768 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11769 $as_echo "$enable_static" >&6; }
11776 ac_cpp='$CPP $CPPFLAGS'
11777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11795 ac_config_commands="$ac_config_commands libtool"
11800 # Only expand once:
11805 for flag in -pipe -Wall -W -Wextra -pedantic -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -Wstrict-aliasing; do
11807 { $as_echo "$as_me:$LINENO: checking if $CC supports $flag flag" >&5
11808 $as_echo_n "checking if $CC supports $flag flag... " >&6; }
11809 if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
11810 $as_echo_n "(cached) " >&6
11813 if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
11814 $as_echo_n "(cached) " >&6
11816 ac_save_CFLAGS="$CFLAGS"
11817 CFLAGS="$CFLAGS $flag"
11818 cat >conftest.$ac_ext <<_ACEOF
11821 rm -f conftest.$ac_objext
11822 if { (ac_try="$ac_compile"
11823 case "(($ac_try" in
11824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11825 *) ac_try_echo=$ac_try;;
11827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11828 $as_echo "$ac_try_echo") >&5
11829 (eval "$ac_compile") 2>conftest.er1
11831 grep -v '^ *+' conftest.er1 >conftest.err
11833 cat conftest.err >&5
11834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } && {
11836 test -z "$ac_c_werror_flag" ||
11837 test ! -s conftest.err
11838 } && test -s conftest.$ac_objext; then
11839 eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
11841 $as_echo "$as_me: failed program was:" >&5
11842 sed 's/^/| /' conftest.$ac_ext >&5
11844 eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
11847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11848 CFLAGS="$ac_save_CFLAGS"
11856 ac_res=`eval 'as_val=${'\`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh\`'}
11857 $as_echo "$as_val"'`
11858 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11859 $as_echo "$ac_res" >&6; }
11861 if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then
11862 CFLAGS="$CFLAGS $flag";
11870 { $as_echo "$as_me:$LINENO: checking whether to enable assertions" >&5
11871 $as_echo_n "checking whether to enable assertions... " >&6; }
11872 # Check whether --enable-assert was given.
11873 if test "${enable_assert+set}" = set; then
11874 enableval=$enable_assert; { $as_echo "$as_me:$LINENO: result: no" >&5
11875 $as_echo "no" >&6; }
11877 cat >>confdefs.h <<\_ACEOF
11882 { $as_echo "$as_me:$LINENO: result: yes" >&5
11883 $as_echo "yes" >&6; }
11887 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11888 $as_echo_n "checking for ANSI C header files... " >&6; }
11889 if test "${ac_cv_header_stdc+set}" = set; then
11890 $as_echo_n "(cached) " >&6
11892 cat >conftest.$ac_ext <<_ACEOF
11895 cat confdefs.h >>conftest.$ac_ext
11896 cat >>conftest.$ac_ext <<_ACEOF
11897 /* end confdefs.h. */
11898 #include <stdlib.h>
11899 #include <stdarg.h>
11900 #include <string.h>
11911 rm -f conftest.$ac_objext
11912 if { (ac_try="$ac_compile"
11913 case "(($ac_try" in
11914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11915 *) ac_try_echo=$ac_try;;
11917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11918 $as_echo "$ac_try_echo") >&5
11919 (eval "$ac_compile") 2>conftest.er1
11921 grep -v '^ *+' conftest.er1 >conftest.err
11923 cat conftest.err >&5
11924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); } && {
11926 test -z "$ac_c_werror_flag" ||
11927 test ! -s conftest.err
11928 } && test -s conftest.$ac_objext; then
11929 ac_cv_header_stdc=yes
11931 $as_echo "$as_me: failed program was:" >&5
11932 sed 's/^/| /' conftest.$ac_ext >&5
11934 ac_cv_header_stdc=no
11937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11939 if test $ac_cv_header_stdc = yes; then
11940 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11941 cat >conftest.$ac_ext <<_ACEOF
11944 cat confdefs.h >>conftest.$ac_ext
11945 cat >>conftest.$ac_ext <<_ACEOF
11946 /* end confdefs.h. */
11947 #include <string.h>
11950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11951 $EGREP "memchr" >/dev/null 2>&1; then
11954 ac_cv_header_stdc=no
11960 if test $ac_cv_header_stdc = yes; then
11961 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11962 cat >conftest.$ac_ext <<_ACEOF
11965 cat confdefs.h >>conftest.$ac_ext
11966 cat >>conftest.$ac_ext <<_ACEOF
11967 /* end confdefs.h. */
11968 #include <stdlib.h>
11971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11972 $EGREP "free" >/dev/null 2>&1; then
11975 ac_cv_header_stdc=no
11981 if test $ac_cv_header_stdc = yes; then
11982 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11983 if test "$cross_compiling" = yes; then
11986 cat >conftest.$ac_ext <<_ACEOF
11989 cat confdefs.h >>conftest.$ac_ext
11990 cat >>conftest.$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11993 #include <stdlib.h>
11994 #if ((' ' & 0x0FF) == 0x020)
11995 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11996 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11998 # define ISLOWER(c) \
11999 (('a' <= (c) && (c) <= 'i') \
12000 || ('j' <= (c) && (c) <= 'r') \
12001 || ('s' <= (c) && (c) <= 'z'))
12002 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12005 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12010 for (i = 0; i < 256; i++)
12011 if (XOR (islower (i), ISLOWER (i))
12012 || toupper (i) != TOUPPER (i))
12017 rm -f conftest$ac_exeext
12018 if { (ac_try="$ac_link"
12019 case "(($ac_try" in
12020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12021 *) ac_try_echo=$ac_try;;
12023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12024 $as_echo "$ac_try_echo") >&5
12025 (eval "$ac_link") 2>&5
12027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12029 { (case "(($ac_try" in
12030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12031 *) ac_try_echo=$ac_try;;
12033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12034 $as_echo "$ac_try_echo") >&5
12035 (eval "$ac_try") 2>&5
12037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); }; }; then
12041 $as_echo "$as_me: program exited with status $ac_status" >&5
12042 $as_echo "$as_me: failed program was:" >&5
12043 sed 's/^/| /' conftest.$ac_ext >&5
12045 ( exit $ac_status )
12046 ac_cv_header_stdc=no
12048 rm -rf conftest.dSYM
12049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12055 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12056 $as_echo "$ac_cv_header_stdc" >&6; }
12057 if test $ac_cv_header_stdc = yes; then
12059 cat >>confdefs.h <<\_ACEOF
12060 #define STDC_HEADERS 1
12065 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
12066 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
12067 if test "${ac_cv_header_sys_wait_h+set}" = set; then
12068 $as_echo_n "(cached) " >&6
12070 cat >conftest.$ac_ext <<_ACEOF
12073 cat confdefs.h >>conftest.$ac_ext
12074 cat >>conftest.$ac_ext <<_ACEOF
12075 /* end confdefs.h. */
12076 #include <sys/types.h>
12077 #include <sys/wait.h>
12078 #ifndef WEXITSTATUS
12079 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
12082 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12090 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12095 rm -f conftest.$ac_objext
12096 if { (ac_try="$ac_compile"
12097 case "(($ac_try" in
12098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12099 *) ac_try_echo=$ac_try;;
12101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12102 $as_echo "$ac_try_echo") >&5
12103 (eval "$ac_compile") 2>conftest.er1
12105 grep -v '^ *+' conftest.er1 >conftest.err
12107 cat conftest.err >&5
12108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } && {
12110 test -z "$ac_c_werror_flag" ||
12111 test ! -s conftest.err
12112 } && test -s conftest.$ac_objext; then
12113 ac_cv_header_sys_wait_h=yes
12115 $as_echo "$as_me: failed program was:" >&5
12116 sed 's/^/| /' conftest.$ac_ext >&5
12118 ac_cv_header_sys_wait_h=no
12121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12123 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
12124 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
12125 if test $ac_cv_header_sys_wait_h = yes; then
12127 cat >>confdefs.h <<\_ACEOF
12128 #define HAVE_SYS_WAIT_H 1
12143 for ac_header in arpa/inet.h fcntl.h netdb.h stdlib.h string.h sys/socket.h unistd.h sys/prctl.h netinet/in.h arpa/nameser_compat.h
12145 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12147 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12148 $as_echo_n "checking for $ac_header... " >&6; }
12149 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12150 $as_echo_n "(cached) " >&6
12152 ac_res=`eval 'as_val=${'$as_ac_Header'}
12153 $as_echo "$as_val"'`
12154 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12155 $as_echo "$ac_res" >&6; }
12157 # Is the header compilable?
12158 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12159 $as_echo_n "checking $ac_header usability... " >&6; }
12160 cat >conftest.$ac_ext <<_ACEOF
12163 cat confdefs.h >>conftest.$ac_ext
12164 cat >>conftest.$ac_ext <<_ACEOF
12165 /* end confdefs.h. */
12166 $ac_includes_default
12167 #include <$ac_header>
12169 rm -f conftest.$ac_objext
12170 if { (ac_try="$ac_compile"
12171 case "(($ac_try" in
12172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12173 *) ac_try_echo=$ac_try;;
12175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12176 $as_echo "$ac_try_echo") >&5
12177 (eval "$ac_compile") 2>conftest.er1
12179 grep -v '^ *+' conftest.er1 >conftest.err
12181 cat conftest.err >&5
12182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } && {
12184 test -z "$ac_c_werror_flag" ||
12185 test ! -s conftest.err
12186 } && test -s conftest.$ac_objext; then
12187 ac_header_compiler=yes
12189 $as_echo "$as_me: failed program was:" >&5
12190 sed 's/^/| /' conftest.$ac_ext >&5
12192 ac_header_compiler=no
12195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12196 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12197 $as_echo "$ac_header_compiler" >&6; }
12199 # Is the header present?
12200 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12201 $as_echo_n "checking $ac_header presence... " >&6; }
12202 cat >conftest.$ac_ext <<_ACEOF
12205 cat confdefs.h >>conftest.$ac_ext
12206 cat >>conftest.$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12208 #include <$ac_header>
12210 if { (ac_try="$ac_cpp conftest.$ac_ext"
12211 case "(($ac_try" in
12212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12213 *) ac_try_echo=$ac_try;;
12215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12216 $as_echo "$ac_try_echo") >&5
12217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12219 grep -v '^ *+' conftest.er1 >conftest.err
12221 cat conftest.err >&5
12222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); } >/dev/null && {
12224 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12225 test ! -s conftest.err
12227 ac_header_preproc=yes
12229 $as_echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.$ac_ext >&5
12232 ac_header_preproc=no
12235 rm -f conftest.err conftest.$ac_ext
12236 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12237 $as_echo "$ac_header_preproc" >&6; }
12239 # So? What about this header?
12240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12242 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12243 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12245 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12246 ac_header_preproc=yes
12249 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12250 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12251 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12252 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12254 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12256 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12258 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12259 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12260 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12262 ## ----------------------------------------------- ##
12263 ## Report this to mznflapaf (at) 0pointer (dot) de ##
12264 ## ----------------------------------------------- ##
12266 ) | sed "s/^/$as_me: WARNING: /" >&2
12269 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12270 $as_echo_n "checking for $ac_header... " >&6; }
12271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12272 $as_echo_n "(cached) " >&6
12274 eval "$as_ac_Header=\$ac_header_preproc"
12276 ac_res=`eval 'as_val=${'$as_ac_Header'}
12277 $as_echo "$as_val"'`
12278 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12279 $as_echo "$ac_res" >&6; }
12282 as_val=`eval 'as_val=${'$as_ac_Header'}
12283 $as_echo "$as_val"'`
12284 if test "x$as_val" = x""yes; then
12285 cat >>confdefs.h <<_ACEOF
12286 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12294 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12295 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12296 if test "${ac_cv_c_const+set}" = set; then
12297 $as_echo_n "(cached) " >&6
12299 cat >conftest.$ac_ext <<_ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12309 /* FIXME: Include the comments suggested by Paul. */
12310 #ifndef __cplusplus
12311 /* Ultrix mips cc rejects this. */
12312 typedef int charset[2];
12314 /* SunOS 4.1.1 cc rejects this. */
12315 char const *const *pcpcc;
12317 /* NEC SVR4.0.2 mips cc rejects this. */
12318 struct point {int x, y;};
12319 static struct point const zero = {0,0};
12320 /* AIX XL C 1.02.0.0 rejects this.
12321 It does not let you subtract one const X* pointer from another in
12322 an arm of an if-expression whose if-part is not a constant
12324 const char *g = "string";
12325 pcpcc = &g + (g ? g-g : 0);
12326 /* HPUX 7.0 cc rejects these. */
12328 ppc = (char**) pcpcc;
12329 pcpcc = (char const *const *) ppc;
12330 { /* SCO 3.2v4 cc rejects this. */
12332 char const *s = 0 ? (char *) 0 : (char const *) 0;
12337 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12338 int x[] = {25, 17};
12339 const int *foo = &x[0];
12342 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12343 typedef const int *iptr;
12347 { /* AIX XL C 1.02.0.0 rejects this saying
12348 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12349 struct s { int j; const int *ap[3]; };
12350 struct s *b; b->j = 5;
12352 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12353 const int foo = 10;
12354 if (!foo) return 0;
12356 return !cs[0] && !zero.x;
12363 rm -f conftest.$ac_objext
12364 if { (ac_try="$ac_compile"
12365 case "(($ac_try" in
12366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12367 *) ac_try_echo=$ac_try;;
12369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12370 $as_echo "$ac_try_echo") >&5
12371 (eval "$ac_compile") 2>conftest.er1
12373 grep -v '^ *+' conftest.er1 >conftest.err
12375 cat conftest.err >&5
12376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); } && {
12378 test -z "$ac_c_werror_flag" ||
12379 test ! -s conftest.err
12380 } && test -s conftest.$ac_objext; then
12383 $as_echo "$as_me: failed program was:" >&5
12384 sed 's/^/| /' conftest.$ac_ext >&5
12389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12391 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12392 $as_echo "$ac_cv_c_const" >&6; }
12393 if test $ac_cv_c_const = no; then
12395 cat >>confdefs.h <<\_ACEOF
12401 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
12402 $as_echo_n "checking for pid_t... " >&6; }
12403 if test "${ac_cv_type_pid_t+set}" = set; then
12404 $as_echo_n "(cached) " >&6
12406 ac_cv_type_pid_t=no
12407 cat >conftest.$ac_ext <<_ACEOF
12410 cat confdefs.h >>conftest.$ac_ext
12411 cat >>conftest.$ac_ext <<_ACEOF
12412 /* end confdefs.h. */
12413 $ac_includes_default
12417 if (sizeof (pid_t))
12423 rm -f conftest.$ac_objext
12424 if { (ac_try="$ac_compile"
12425 case "(($ac_try" in
12426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12427 *) ac_try_echo=$ac_try;;
12429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12430 $as_echo "$ac_try_echo") >&5
12431 (eval "$ac_compile") 2>conftest.er1
12433 grep -v '^ *+' conftest.er1 >conftest.err
12435 cat conftest.err >&5
12436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); } && {
12438 test -z "$ac_c_werror_flag" ||
12439 test ! -s conftest.err
12440 } && test -s conftest.$ac_objext; then
12441 cat >conftest.$ac_ext <<_ACEOF
12444 cat confdefs.h >>conftest.$ac_ext
12445 cat >>conftest.$ac_ext <<_ACEOF
12446 /* end confdefs.h. */
12447 $ac_includes_default
12451 if (sizeof ((pid_t)))
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 $as_echo "$as_me: failed program was:" >&5
12478 sed 's/^/| /' conftest.$ac_ext >&5
12480 ac_cv_type_pid_t=yes
12483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12485 $as_echo "$as_me: failed program was:" >&5
12486 sed 's/^/| /' conftest.$ac_ext >&5
12491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12493 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12494 $as_echo "$ac_cv_type_pid_t" >&6; }
12495 if test "x$ac_cv_type_pid_t" = x""yes; then
12499 cat >>confdefs.h <<_ACEOF
12505 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
12506 $as_echo_n "checking for size_t... " >&6; }
12507 if test "${ac_cv_type_size_t+set}" = set; then
12508 $as_echo_n "(cached) " >&6
12510 ac_cv_type_size_t=no
12511 cat >conftest.$ac_ext <<_ACEOF
12514 cat confdefs.h >>conftest.$ac_ext
12515 cat >>conftest.$ac_ext <<_ACEOF
12516 /* end confdefs.h. */
12517 $ac_includes_default
12521 if (sizeof (size_t))
12527 rm -f conftest.$ac_objext
12528 if { (ac_try="$ac_compile"
12529 case "(($ac_try" in
12530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12531 *) ac_try_echo=$ac_try;;
12533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12534 $as_echo "$ac_try_echo") >&5
12535 (eval "$ac_compile") 2>conftest.er1
12537 grep -v '^ *+' conftest.er1 >conftest.err
12539 cat conftest.err >&5
12540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } && {
12542 test -z "$ac_c_werror_flag" ||
12543 test ! -s conftest.err
12544 } && test -s conftest.$ac_objext; then
12545 cat >conftest.$ac_ext <<_ACEOF
12548 cat confdefs.h >>conftest.$ac_ext
12549 cat >>conftest.$ac_ext <<_ACEOF
12550 /* end confdefs.h. */
12551 $ac_includes_default
12555 if (sizeof ((size_t)))
12561 rm -f conftest.$ac_objext
12562 if { (ac_try="$ac_compile"
12563 case "(($ac_try" in
12564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12565 *) ac_try_echo=$ac_try;;
12567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12568 $as_echo "$ac_try_echo") >&5
12569 (eval "$ac_compile") 2>conftest.er1
12571 grep -v '^ *+' conftest.er1 >conftest.err
12573 cat conftest.err >&5
12574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); } && {
12576 test -z "$ac_c_werror_flag" ||
12577 test ! -s conftest.err
12578 } && test -s conftest.$ac_objext; then
12581 $as_echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.$ac_ext >&5
12584 ac_cv_type_size_t=yes
12587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12589 $as_echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.$ac_ext >&5
12595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12597 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12598 $as_echo "$ac_cv_type_size_t" >&6; }
12599 if test "x$ac_cv_type_size_t" = x""yes; then
12603 cat >>confdefs.h <<_ACEOF
12604 #define size_t unsigned int
12609 { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
12610 $as_echo_n "checking for ssize_t... " >&6; }
12611 if test "${ac_cv_type_ssize_t+set}" = set; then
12612 $as_echo_n "(cached) " >&6
12614 ac_cv_type_ssize_t=no
12615 cat >conftest.$ac_ext <<_ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12621 $ac_includes_default
12625 if (sizeof (ssize_t))
12631 rm -f conftest.$ac_objext
12632 if { (ac_try="$ac_compile"
12633 case "(($ac_try" in
12634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12635 *) ac_try_echo=$ac_try;;
12637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12638 $as_echo "$ac_try_echo") >&5
12639 (eval "$ac_compile") 2>conftest.er1
12641 grep -v '^ *+' conftest.er1 >conftest.err
12643 cat conftest.err >&5
12644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); } && {
12646 test -z "$ac_c_werror_flag" ||
12647 test ! -s conftest.err
12648 } && test -s conftest.$ac_objext; then
12649 cat >conftest.$ac_ext <<_ACEOF
12652 cat confdefs.h >>conftest.$ac_ext
12653 cat >>conftest.$ac_ext <<_ACEOF
12654 /* end confdefs.h. */
12655 $ac_includes_default
12659 if (sizeof ((ssize_t)))
12665 rm -f conftest.$ac_objext
12666 if { (ac_try="$ac_compile"
12667 case "(($ac_try" in
12668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12669 *) ac_try_echo=$ac_try;;
12671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12672 $as_echo "$ac_try_echo") >&5
12673 (eval "$ac_compile") 2>conftest.er1
12675 grep -v '^ *+' conftest.er1 >conftest.err
12677 cat conftest.err >&5
12678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } && {
12680 test -z "$ac_c_werror_flag" ||
12681 test ! -s conftest.err
12682 } && test -s conftest.$ac_objext; then
12685 $as_echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.$ac_ext >&5
12688 ac_cv_type_ssize_t=yes
12691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12693 $as_echo "$as_me: failed program was:" >&5
12694 sed 's/^/| /' conftest.$ac_ext >&5
12699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12701 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12702 $as_echo "$ac_cv_type_ssize_t" >&6; }
12703 if test "x$ac_cv_type_ssize_t" = x""yes; then
12707 cat >>confdefs.h <<_ACEOF
12708 #define ssize_t int
12714 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
12715 $as_echo_n "checking for uint16_t... " >&6; }
12716 if test "${ac_cv_c_uint16_t+set}" = set; then
12717 $as_echo_n "(cached) " >&6
12719 ac_cv_c_uint16_t=no
12720 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
12721 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
12722 cat >conftest.$ac_ext <<_ACEOF
12725 cat confdefs.h >>conftest.$ac_ext
12726 cat >>conftest.$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12728 $ac_includes_default
12732 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
12739 rm -f conftest.$ac_objext
12740 if { (ac_try="$ac_compile"
12741 case "(($ac_try" in
12742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12743 *) ac_try_echo=$ac_try;;
12745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12746 $as_echo "$ac_try_echo") >&5
12747 (eval "$ac_compile") 2>conftest.er1
12749 grep -v '^ *+' conftest.er1 >conftest.err
12751 cat conftest.err >&5
12752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); } && {
12754 test -z "$ac_c_werror_flag" ||
12755 test ! -s conftest.err
12756 } && test -s conftest.$ac_objext; then
12758 uint16_t) ac_cv_c_uint16_t=yes ;;
12759 *) ac_cv_c_uint16_t=$ac_type ;;
12763 $as_echo "$as_me: failed program was:" >&5
12764 sed 's/^/| /' conftest.$ac_ext >&5
12769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12770 test "$ac_cv_c_uint16_t" != no && break
12773 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
12774 $as_echo "$ac_cv_c_uint16_t" >&6; }
12775 case $ac_cv_c_uint16_t in #(
12780 cat >>confdefs.h <<_ACEOF
12781 #define uint16_t $ac_cv_c_uint16_t
12787 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
12788 $as_echo_n "checking for uint8_t... " >&6; }
12789 if test "${ac_cv_c_uint8_t+set}" = set; then
12790 $as_echo_n "(cached) " >&6
12793 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
12794 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
12795 cat >conftest.$ac_ext <<_ACEOF
12798 cat confdefs.h >>conftest.$ac_ext
12799 cat >>conftest.$ac_ext <<_ACEOF
12800 /* end confdefs.h. */
12801 $ac_includes_default
12805 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
12812 rm -f conftest.$ac_objext
12813 if { (ac_try="$ac_compile"
12814 case "(($ac_try" in
12815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12816 *) ac_try_echo=$ac_try;;
12818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12819 $as_echo "$ac_try_echo") >&5
12820 (eval "$ac_compile") 2>conftest.er1
12822 grep -v '^ *+' conftest.er1 >conftest.err
12824 cat conftest.err >&5
12825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } && {
12827 test -z "$ac_c_werror_flag" ||
12828 test ! -s conftest.err
12829 } && test -s conftest.$ac_objext; then
12831 uint8_t) ac_cv_c_uint8_t=yes ;;
12832 *) ac_cv_c_uint8_t=$ac_type ;;
12836 $as_echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.$ac_ext >&5
12842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12843 test "$ac_cv_c_uint8_t" != no && break
12846 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
12847 $as_echo "$ac_cv_c_uint8_t" >&6; }
12848 case $ac_cv_c_uint8_t in #(
12852 cat >>confdefs.h <<\_ACEOF
12857 cat >>confdefs.h <<_ACEOF
12858 #define uint8_t $ac_cv_c_uint8_t
12863 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
12864 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12865 if test "${ac_cv_header_time+set}" = set; then
12866 $as_echo_n "(cached) " >&6
12868 cat >conftest.$ac_ext <<_ACEOF
12871 cat confdefs.h >>conftest.$ac_ext
12872 cat >>conftest.$ac_ext <<_ACEOF
12873 /* end confdefs.h. */
12874 #include <sys/types.h>
12875 #include <sys/time.h>
12881 if ((struct tm *) 0)
12887 rm -f conftest.$ac_objext
12888 if { (ac_try="$ac_compile"
12889 case "(($ac_try" in
12890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12891 *) ac_try_echo=$ac_try;;
12893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12894 $as_echo "$ac_try_echo") >&5
12895 (eval "$ac_compile") 2>conftest.er1
12897 grep -v '^ *+' conftest.er1 >conftest.err
12899 cat conftest.err >&5
12900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } && {
12902 test -z "$ac_c_werror_flag" ||
12903 test ! -s conftest.err
12904 } && test -s conftest.$ac_objext; then
12905 ac_cv_header_time=yes
12907 $as_echo "$as_me: failed program was:" >&5
12908 sed 's/^/| /' conftest.$ac_ext >&5
12910 ac_cv_header_time=no
12913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12915 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
12916 $as_echo "$ac_cv_header_time" >&6; }
12917 if test $ac_cv_header_time = yes; then
12919 cat >>confdefs.h <<\_ACEOF
12920 #define TIME_WITH_SYS_TIME 1
12927 for ac_header in vfork.h
12929 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12931 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12932 $as_echo_n "checking for $ac_header... " >&6; }
12933 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12934 $as_echo_n "(cached) " >&6
12936 ac_res=`eval 'as_val=${'$as_ac_Header'}
12937 $as_echo "$as_val"'`
12938 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12939 $as_echo "$ac_res" >&6; }
12941 # Is the header compilable?
12942 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12943 $as_echo_n "checking $ac_header usability... " >&6; }
12944 cat >conftest.$ac_ext <<_ACEOF
12947 cat confdefs.h >>conftest.$ac_ext
12948 cat >>conftest.$ac_ext <<_ACEOF
12949 /* end confdefs.h. */
12950 $ac_includes_default
12951 #include <$ac_header>
12953 rm -f conftest.$ac_objext
12954 if { (ac_try="$ac_compile"
12955 case "(($ac_try" in
12956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12957 *) ac_try_echo=$ac_try;;
12959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12960 $as_echo "$ac_try_echo") >&5
12961 (eval "$ac_compile") 2>conftest.er1
12963 grep -v '^ *+' conftest.er1 >conftest.err
12965 cat conftest.err >&5
12966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 (exit $ac_status); } && {
12968 test -z "$ac_c_werror_flag" ||
12969 test ! -s conftest.err
12970 } && test -s conftest.$ac_objext; then
12971 ac_header_compiler=yes
12973 $as_echo "$as_me: failed program was:" >&5
12974 sed 's/^/| /' conftest.$ac_ext >&5
12976 ac_header_compiler=no
12979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12980 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12981 $as_echo "$ac_header_compiler" >&6; }
12983 # Is the header present?
12984 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12985 $as_echo_n "checking $ac_header presence... " >&6; }
12986 cat >conftest.$ac_ext <<_ACEOF
12989 cat confdefs.h >>conftest.$ac_ext
12990 cat >>conftest.$ac_ext <<_ACEOF
12991 /* end confdefs.h. */
12992 #include <$ac_header>
12994 if { (ac_try="$ac_cpp conftest.$ac_ext"
12995 case "(($ac_try" in
12996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12997 *) ac_try_echo=$ac_try;;
12999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13000 $as_echo "$ac_try_echo") >&5
13001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13003 grep -v '^ *+' conftest.er1 >conftest.err
13005 cat conftest.err >&5
13006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); } >/dev/null && {
13008 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13009 test ! -s conftest.err
13011 ac_header_preproc=yes
13013 $as_echo "$as_me: failed program was:" >&5
13014 sed 's/^/| /' conftest.$ac_ext >&5
13016 ac_header_preproc=no
13019 rm -f conftest.err conftest.$ac_ext
13020 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13021 $as_echo "$ac_header_preproc" >&6; }
13023 # So? What about this header?
13024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13027 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13029 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13030 ac_header_preproc=yes
13033 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13034 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13035 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13036 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13037 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13038 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13039 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13040 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13042 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13044 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13046 ## ----------------------------------------------- ##
13047 ## Report this to mznflapaf (at) 0pointer (dot) de ##
13048 ## ----------------------------------------------- ##
13050 ) | sed "s/^/$as_me: WARNING: /" >&2
13053 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13054 $as_echo_n "checking for $ac_header... " >&6; }
13055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13056 $as_echo_n "(cached) " >&6
13058 eval "$as_ac_Header=\$ac_header_preproc"
13060 ac_res=`eval 'as_val=${'$as_ac_Header'}
13061 $as_echo "$as_val"'`
13062 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13063 $as_echo "$ac_res" >&6; }
13066 as_val=`eval 'as_val=${'$as_ac_Header'}
13067 $as_echo "$as_val"'`
13068 if test "x$as_val" = x""yes; then
13069 cat >>confdefs.h <<_ACEOF
13070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13079 for ac_func in fork vfork
13081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13082 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13083 $as_echo_n "checking for $ac_func... " >&6; }
13084 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13085 $as_echo_n "(cached) " >&6
13087 cat >conftest.$ac_ext <<_ACEOF
13090 cat confdefs.h >>conftest.$ac_ext
13091 cat >>conftest.$ac_ext <<_ACEOF
13092 /* end confdefs.h. */
13093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13095 #define $ac_func innocuous_$ac_func
13097 /* System header to define __stub macros and hopefully few prototypes,
13098 which can conflict with char $ac_func (); below.
13099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13100 <limits.h> exists even on freestanding compilers. */
13103 # include <limits.h>
13105 # include <assert.h>
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13117 /* The GNU C library defines this for functions which it implements
13118 to always fail with ENOSYS. Some functions are actually named
13119 something starting with __ and the normal name is an alias. */
13120 #if defined __stub_$ac_func || defined __stub___$ac_func
13127 return $ac_func ();
13132 rm -f conftest.$ac_objext conftest$ac_exeext
13133 if { (ac_try="$ac_link"
13134 case "(($ac_try" in
13135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13136 *) ac_try_echo=$ac_try;;
13138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13139 $as_echo "$ac_try_echo") >&5
13140 (eval "$ac_link") 2>conftest.er1
13142 grep -v '^ *+' conftest.er1 >conftest.err
13144 cat conftest.err >&5
13145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); } && {
13147 test -z "$ac_c_werror_flag" ||
13148 test ! -s conftest.err
13149 } && test -s conftest$ac_exeext && {
13150 test "$cross_compiling" = yes ||
13151 $as_test_x conftest$ac_exeext
13153 eval "$as_ac_var=yes"
13155 $as_echo "$as_me: failed program was:" >&5
13156 sed 's/^/| /' conftest.$ac_ext >&5
13158 eval "$as_ac_var=no"
13161 rm -rf conftest.dSYM
13162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13163 conftest$ac_exeext conftest.$ac_ext
13165 ac_res=`eval 'as_val=${'$as_ac_var'}
13166 $as_echo "$as_val"'`
13167 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13168 $as_echo "$ac_res" >&6; }
13169 as_val=`eval 'as_val=${'$as_ac_var'}
13170 $as_echo "$as_val"'`
13171 if test "x$as_val" = x""yes; then
13172 cat >>confdefs.h <<_ACEOF
13173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13179 if test "x$ac_cv_func_fork" = xyes; then
13180 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
13181 $as_echo_n "checking for working fork... " >&6; }
13182 if test "${ac_cv_func_fork_works+set}" = set; then
13183 $as_echo_n "(cached) " >&6
13185 if test "$cross_compiling" = yes; then
13186 ac_cv_func_fork_works=cross
13188 cat >conftest.$ac_ext <<_ACEOF
13191 cat confdefs.h >>conftest.$ac_ext
13192 cat >>conftest.$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194 $ac_includes_default
13199 /* By Ruediger Kuhlmann. */
13200 return fork () < 0;
13206 rm -f conftest$ac_exeext
13207 if { (ac_try="$ac_link"
13208 case "(($ac_try" in
13209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13210 *) ac_try_echo=$ac_try;;
13212 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13213 $as_echo "$ac_try_echo") >&5
13214 (eval "$ac_link") 2>&5
13216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13218 { (case "(($ac_try" in
13219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13220 *) ac_try_echo=$ac_try;;
13222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13223 $as_echo "$ac_try_echo") >&5
13224 (eval "$ac_try") 2>&5
13226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; }; then
13228 ac_cv_func_fork_works=yes
13230 $as_echo "$as_me: program exited with status $ac_status" >&5
13231 $as_echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.$ac_ext >&5
13234 ( exit $ac_status )
13235 ac_cv_func_fork_works=no
13237 rm -rf conftest.dSYM
13238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13243 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
13244 $as_echo "$ac_cv_func_fork_works" >&6; }
13247 ac_cv_func_fork_works=$ac_cv_func_fork
13249 if test "x$ac_cv_func_fork_works" = xcross; then
13251 *-*-amigaos* | *-*-msdosdjgpp*)
13252 # Override, as these systems have only a dummy fork() stub
13253 ac_cv_func_fork_works=no
13256 ac_cv_func_fork_works=yes
13259 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
13260 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
13262 ac_cv_func_vfork_works=$ac_cv_func_vfork
13263 if test "x$ac_cv_func_vfork" = xyes; then
13264 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
13265 $as_echo_n "checking for working vfork... " >&6; }
13266 if test "${ac_cv_func_vfork_works+set}" = set; then
13267 $as_echo_n "(cached) " >&6
13269 if test "$cross_compiling" = yes; then
13270 ac_cv_func_vfork_works=cross
13272 cat >conftest.$ac_ext <<_ACEOF
13275 cat confdefs.h >>conftest.$ac_ext
13276 cat >>conftest.$ac_ext <<_ACEOF
13277 /* end confdefs.h. */
13278 /* Thanks to Paul Eggert for this test. */
13279 $ac_includes_default
13280 #include <sys/wait.h>
13281 #ifdef HAVE_VFORK_H
13282 # include <vfork.h>
13284 /* On some sparc systems, changes by the child to local and incoming
13285 argument registers are propagated back to the parent. The compiler
13286 is told about this with #include <vfork.h>, but some compilers
13287 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
13288 static variable whose address is put into a register that is
13289 clobbered by the vfork. */
13292 sparc_address_test (int arg)
13294 sparc_address_test (arg) int arg;
13297 static pid_t child;
13315 pid_t parent = getpid ();
13318 sparc_address_test (0);
13323 /* Here is another test for sparc vfork register problems. This
13324 test uses lots of local variables, at least as many local
13325 variables as main has allocated so far including compiler
13326 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
13327 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
13328 reuse the register of parent for one of the local variables,
13329 since it will think that parent can't possibly be used any more
13330 in this routine. Assigning to the local variable will thus
13331 munge parent in the parent process. */
13333 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
13334 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
13335 /* Convince the compiler that p..p7 are live; otherwise, it might
13336 use the same hardware register for all 8 local variables. */
13337 if (p != p1 || p != p2 || p != p3 || p != p4
13338 || p != p5 || p != p6 || p != p7)
13341 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
13342 from child file descriptors. If the child closes a descriptor
13343 before it execs or exits, this munges the parent's descriptor
13344 as well. Test for this by closing stdout in the child. */
13345 _exit(close(fileno(stdout)) != 0);
13350 while (wait(&status) != child)
13353 /* Was there some problem with vforking? */
13356 /* Did the child fail? (This shouldn't happen.) */
13359 /* Did the vfork/compiler bug occur? */
13360 || parent != getpid()
13362 /* Did the file descriptor bug occur? */
13363 || fstat(fileno(stdout), &st) != 0
13368 rm -f conftest$ac_exeext
13369 if { (ac_try="$ac_link"
13370 case "(($ac_try" in
13371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13372 *) ac_try_echo=$ac_try;;
13374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13375 $as_echo "$ac_try_echo") >&5
13376 (eval "$ac_link") 2>&5
13378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13380 { (case "(($ac_try" in
13381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13382 *) ac_try_echo=$ac_try;;
13384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13385 $as_echo "$ac_try_echo") >&5
13386 (eval "$ac_try") 2>&5
13388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); }; }; then
13390 ac_cv_func_vfork_works=yes
13392 $as_echo "$as_me: program exited with status $ac_status" >&5
13393 $as_echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.$ac_ext >&5
13396 ( exit $ac_status )
13397 ac_cv_func_vfork_works=no
13399 rm -rf conftest.dSYM
13400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13405 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
13406 $as_echo "$ac_cv_func_vfork_works" >&6; }
13409 if test "x$ac_cv_func_fork_works" = xcross; then
13410 ac_cv_func_vfork_works=$ac_cv_func_vfork
13411 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13412 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13415 if test "x$ac_cv_func_vfork_works" = xyes; then
13417 cat >>confdefs.h <<\_ACEOF
13418 #define HAVE_WORKING_VFORK 1
13423 cat >>confdefs.h <<\_ACEOF
13428 if test "x$ac_cv_func_fork_works" = xyes; then
13430 cat >>confdefs.h <<\_ACEOF
13431 #define HAVE_WORKING_FORK 1
13437 for ac_header in stdlib.h
13439 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13441 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13442 $as_echo_n "checking for $ac_header... " >&6; }
13443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13444 $as_echo_n "(cached) " >&6
13446 ac_res=`eval 'as_val=${'$as_ac_Header'}
13447 $as_echo "$as_val"'`
13448 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13449 $as_echo "$ac_res" >&6; }
13451 # Is the header compilable?
13452 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13453 $as_echo_n "checking $ac_header usability... " >&6; }
13454 cat >conftest.$ac_ext <<_ACEOF
13457 cat confdefs.h >>conftest.$ac_ext
13458 cat >>conftest.$ac_ext <<_ACEOF
13459 /* end confdefs.h. */
13460 $ac_includes_default
13461 #include <$ac_header>
13463 rm -f conftest.$ac_objext
13464 if { (ac_try="$ac_compile"
13465 case "(($ac_try" in
13466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13467 *) ac_try_echo=$ac_try;;
13469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13470 $as_echo "$ac_try_echo") >&5
13471 (eval "$ac_compile") 2>conftest.er1
13473 grep -v '^ *+' conftest.er1 >conftest.err
13475 cat conftest.err >&5
13476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); } && {
13478 test -z "$ac_c_werror_flag" ||
13479 test ! -s conftest.err
13480 } && test -s conftest.$ac_objext; then
13481 ac_header_compiler=yes
13483 $as_echo "$as_me: failed program was:" >&5
13484 sed 's/^/| /' conftest.$ac_ext >&5
13486 ac_header_compiler=no
13489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13490 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13491 $as_echo "$ac_header_compiler" >&6; }
13493 # Is the header present?
13494 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13495 $as_echo_n "checking $ac_header presence... " >&6; }
13496 cat >conftest.$ac_ext <<_ACEOF
13499 cat confdefs.h >>conftest.$ac_ext
13500 cat >>conftest.$ac_ext <<_ACEOF
13501 /* end confdefs.h. */
13502 #include <$ac_header>
13504 if { (ac_try="$ac_cpp conftest.$ac_ext"
13505 case "(($ac_try" in
13506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13507 *) ac_try_echo=$ac_try;;
13509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13510 $as_echo "$ac_try_echo") >&5
13511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13513 grep -v '^ *+' conftest.er1 >conftest.err
13515 cat conftest.err >&5
13516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); } >/dev/null && {
13518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13519 test ! -s conftest.err
13521 ac_header_preproc=yes
13523 $as_echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.$ac_ext >&5
13526 ac_header_preproc=no
13529 rm -f conftest.err conftest.$ac_ext
13530 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13531 $as_echo "$ac_header_preproc" >&6; }
13533 # So? What about this header?
13534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13536 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13537 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13538 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13539 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13540 ac_header_preproc=yes
13543 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13544 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13546 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13548 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13550 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13552 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13553 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13554 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13556 ## ----------------------------------------------- ##
13557 ## Report this to mznflapaf (at) 0pointer (dot) de ##
13558 ## ----------------------------------------------- ##
13560 ) | sed "s/^/$as_me: WARNING: /" >&2
13563 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13564 $as_echo_n "checking for $ac_header... " >&6; }
13565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13566 $as_echo_n "(cached) " >&6
13568 eval "$as_ac_Header=\$ac_header_preproc"
13570 ac_res=`eval 'as_val=${'$as_ac_Header'}
13571 $as_echo "$as_val"'`
13572 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13573 $as_echo "$ac_res" >&6; }
13576 as_val=`eval 'as_val=${'$as_ac_Header'}
13577 $as_echo "$as_val"'`
13578 if test "x$as_val" = x""yes; then
13579 cat >>confdefs.h <<_ACEOF
13580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13587 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
13588 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
13589 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
13590 $as_echo_n "(cached) " >&6
13592 if test "$cross_compiling" = yes; then
13593 ac_cv_func_malloc_0_nonnull=no
13595 cat >conftest.$ac_ext <<_ACEOF
13598 cat confdefs.h >>conftest.$ac_ext
13599 cat >>conftest.$ac_ext <<_ACEOF
13600 /* end confdefs.h. */
13601 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13602 # include <stdlib.h>
13610 return ! malloc (0);
13615 rm -f conftest$ac_exeext
13616 if { (ac_try="$ac_link"
13617 case "(($ac_try" in
13618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13619 *) ac_try_echo=$ac_try;;
13621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13622 $as_echo "$ac_try_echo") >&5
13623 (eval "$ac_link") 2>&5
13625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13627 { (case "(($ac_try" in
13628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13629 *) ac_try_echo=$ac_try;;
13631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13632 $as_echo "$ac_try_echo") >&5
13633 (eval "$ac_try") 2>&5
13635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); }; }; then
13637 ac_cv_func_malloc_0_nonnull=yes
13639 $as_echo "$as_me: program exited with status $ac_status" >&5
13640 $as_echo "$as_me: failed program was:" >&5
13641 sed 's/^/| /' conftest.$ac_ext >&5
13643 ( exit $ac_status )
13644 ac_cv_func_malloc_0_nonnull=no
13646 rm -rf conftest.dSYM
13647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13652 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
13653 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
13654 if test $ac_cv_func_malloc_0_nonnull = yes; then
13656 cat >>confdefs.h <<\_ACEOF
13657 #define HAVE_MALLOC 1
13661 cat >>confdefs.h <<\_ACEOF
13662 #define HAVE_MALLOC 0
13665 case " $LIBOBJS " in
13666 *" malloc.$ac_objext "* ) ;;
13667 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
13672 cat >>confdefs.h <<\_ACEOF
13673 #define malloc rpl_malloc
13682 for ac_header in sys/select.h sys/socket.h
13684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13686 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13687 $as_echo_n "checking for $ac_header... " >&6; }
13688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13689 $as_echo_n "(cached) " >&6
13691 ac_res=`eval 'as_val=${'$as_ac_Header'}
13692 $as_echo "$as_val"'`
13693 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13694 $as_echo "$ac_res" >&6; }
13696 # Is the header compilable?
13697 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13698 $as_echo_n "checking $ac_header usability... " >&6; }
13699 cat >conftest.$ac_ext <<_ACEOF
13702 cat confdefs.h >>conftest.$ac_ext
13703 cat >>conftest.$ac_ext <<_ACEOF
13704 /* end confdefs.h. */
13705 $ac_includes_default
13706 #include <$ac_header>
13708 rm -f conftest.$ac_objext
13709 if { (ac_try="$ac_compile"
13710 case "(($ac_try" in
13711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13712 *) ac_try_echo=$ac_try;;
13714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13715 $as_echo "$ac_try_echo") >&5
13716 (eval "$ac_compile") 2>conftest.er1
13718 grep -v '^ *+' conftest.er1 >conftest.err
13720 cat conftest.err >&5
13721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } && {
13723 test -z "$ac_c_werror_flag" ||
13724 test ! -s conftest.err
13725 } && test -s conftest.$ac_objext; then
13726 ac_header_compiler=yes
13728 $as_echo "$as_me: failed program was:" >&5
13729 sed 's/^/| /' conftest.$ac_ext >&5
13731 ac_header_compiler=no
13734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13735 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13736 $as_echo "$ac_header_compiler" >&6; }
13738 # Is the header present?
13739 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13740 $as_echo_n "checking $ac_header presence... " >&6; }
13741 cat >conftest.$ac_ext <<_ACEOF
13744 cat confdefs.h >>conftest.$ac_ext
13745 cat >>conftest.$ac_ext <<_ACEOF
13746 /* end confdefs.h. */
13747 #include <$ac_header>
13749 if { (ac_try="$ac_cpp conftest.$ac_ext"
13750 case "(($ac_try" in
13751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13752 *) ac_try_echo=$ac_try;;
13754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13755 $as_echo "$ac_try_echo") >&5
13756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13758 grep -v '^ *+' conftest.er1 >conftest.err
13760 cat conftest.err >&5
13761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } >/dev/null && {
13763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13764 test ! -s conftest.err
13766 ac_header_preproc=yes
13768 $as_echo "$as_me: failed program was:" >&5
13769 sed 's/^/| /' conftest.$ac_ext >&5
13771 ac_header_preproc=no
13774 rm -f conftest.err conftest.$ac_ext
13775 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13776 $as_echo "$ac_header_preproc" >&6; }
13778 # So? What about this header?
13779 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13782 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13784 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13785 ac_header_preproc=yes
13788 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13789 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13790 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13791 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13792 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13793 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13794 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13795 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13796 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13797 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13798 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13799 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13801 ## ----------------------------------------------- ##
13802 ## Report this to mznflapaf (at) 0pointer (dot) de ##
13803 ## ----------------------------------------------- ##
13805 ) | sed "s/^/$as_me: WARNING: /" >&2
13808 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13809 $as_echo_n "checking for $ac_header... " >&6; }
13810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13811 $as_echo_n "(cached) " >&6
13813 eval "$as_ac_Header=\$ac_header_preproc"
13815 ac_res=`eval 'as_val=${'$as_ac_Header'}
13816 $as_echo "$as_val"'`
13817 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13818 $as_echo "$ac_res" >&6; }
13821 as_val=`eval 'as_val=${'$as_ac_Header'}
13822 $as_echo "$as_val"'`
13823 if test "x$as_val" = x""yes; then
13824 cat >>confdefs.h <<_ACEOF
13825 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13832 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
13833 $as_echo_n "checking types of arguments for select... " >&6; }
13834 if test "${ac_cv_func_select_args+set}" = set; then
13835 $as_echo_n "(cached) " >&6
13837 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
13838 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
13839 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
13840 cat >conftest.$ac_ext <<_ACEOF
13843 cat confdefs.h >>conftest.$ac_ext
13844 cat >>conftest.$ac_ext <<_ACEOF
13845 /* end confdefs.h. */
13846 $ac_includes_default
13847 #ifdef HAVE_SYS_SELECT_H
13848 # include <sys/select.h>
13850 #ifdef HAVE_SYS_SOCKET_H
13851 # include <sys/socket.h>
13857 extern int select ($ac_arg1,
13858 $ac_arg234, $ac_arg234, $ac_arg234,
13864 rm -f conftest.$ac_objext
13865 if { (ac_try="$ac_compile"
13866 case "(($ac_try" in
13867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13868 *) ac_try_echo=$ac_try;;
13870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13871 $as_echo "$ac_try_echo") >&5
13872 (eval "$ac_compile") 2>conftest.er1
13874 grep -v '^ *+' conftest.er1 >conftest.err
13876 cat conftest.err >&5
13877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } && {
13879 test -z "$ac_c_werror_flag" ||
13880 test ! -s conftest.err
13881 } && test -s conftest.$ac_objext; then
13882 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
13884 $as_echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.$ac_ext >&5
13890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13894 # Provide a safe default value.
13895 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
13898 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
13899 $as_echo "$ac_cv_func_select_args" >&6; }
13900 ac_save_IFS=$IFS; IFS=','
13901 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
13905 cat >>confdefs.h <<_ACEOF
13906 #define SELECT_TYPE_ARG1 $1
13910 cat >>confdefs.h <<_ACEOF
13911 #define SELECT_TYPE_ARG234 ($2)
13915 cat >>confdefs.h <<_ACEOF
13916 #define SELECT_TYPE_ARG5 ($3)
13921 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13922 $as_echo_n "checking return type of signal handlers... " >&6; }
13923 if test "${ac_cv_type_signal+set}" = set; then
13924 $as_echo_n "(cached) " >&6
13926 cat >conftest.$ac_ext <<_ACEOF
13929 cat confdefs.h >>conftest.$ac_ext
13930 cat >>conftest.$ac_ext <<_ACEOF
13931 /* end confdefs.h. */
13932 #include <sys/types.h>
13933 #include <signal.h>
13938 return *(signal (0, 0)) (0) == 1;
13943 rm -f conftest.$ac_objext
13944 if { (ac_try="$ac_compile"
13945 case "(($ac_try" in
13946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13947 *) ac_try_echo=$ac_try;;
13949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13950 $as_echo "$ac_try_echo") >&5
13951 (eval "$ac_compile") 2>conftest.er1
13953 grep -v '^ *+' conftest.er1 >conftest.err
13955 cat conftest.err >&5
13956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } && {
13958 test -z "$ac_c_werror_flag" ||
13959 test ! -s conftest.err
13960 } && test -s conftest.$ac_objext; then
13961 ac_cv_type_signal=int
13963 $as_echo "$as_me: failed program was:" >&5
13964 sed 's/^/| /' conftest.$ac_ext >&5
13966 ac_cv_type_signal=void
13969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13971 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13972 $as_echo "$ac_cv_type_signal" >&6; }
13974 cat >>confdefs.h <<_ACEOF
13975 #define RETSIGTYPE $ac_cv_type_signal
13985 for ac_func in memset select strndup setresuid setreuid strerror
13987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13988 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13989 $as_echo_n "checking for $ac_func... " >&6; }
13990 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13991 $as_echo_n "(cached) " >&6
13993 cat >conftest.$ac_ext <<_ACEOF
13996 cat confdefs.h >>conftest.$ac_ext
13997 cat >>conftest.$ac_ext <<_ACEOF
13998 /* end confdefs.h. */
13999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14001 #define $ac_func innocuous_$ac_func
14003 /* System header to define __stub macros and hopefully few prototypes,
14004 which can conflict with char $ac_func (); below.
14005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14006 <limits.h> exists even on freestanding compilers. */
14009 # include <limits.h>
14011 # include <assert.h>
14016 /* Override any GCC internal prototype to avoid an error.
14017 Use char because int might match the return type of a GCC
14018 builtin and then its argument prototype would still apply. */
14023 /* The GNU C library defines this for functions which it implements
14024 to always fail with ENOSYS. Some functions are actually named
14025 something starting with __ and the normal name is an alias. */
14026 #if defined __stub_$ac_func || defined __stub___$ac_func
14033 return $ac_func ();
14038 rm -f conftest.$ac_objext conftest$ac_exeext
14039 if { (ac_try="$ac_link"
14040 case "(($ac_try" in
14041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14042 *) ac_try_echo=$ac_try;;
14044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14045 $as_echo "$ac_try_echo") >&5
14046 (eval "$ac_link") 2>conftest.er1
14048 grep -v '^ *+' conftest.er1 >conftest.err
14050 cat conftest.err >&5
14051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } && {
14053 test -z "$ac_c_werror_flag" ||
14054 test ! -s conftest.err
14055 } && test -s conftest$ac_exeext && {
14056 test "$cross_compiling" = yes ||
14057 $as_test_x conftest$ac_exeext
14059 eval "$as_ac_var=yes"
14061 $as_echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14064 eval "$as_ac_var=no"
14067 rm -rf conftest.dSYM
14068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14069 conftest$ac_exeext conftest.$ac_ext
14071 ac_res=`eval 'as_val=${'$as_ac_var'}
14072 $as_echo "$as_val"'`
14073 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14074 $as_echo "$ac_res" >&6; }
14075 as_val=`eval 'as_val=${'$as_ac_var'}
14076 $as_echo "$as_val"'`
14077 if test "x$as_val" = x""yes; then
14078 cat >>confdefs.h <<_ACEOF
14079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14086 # Check whether --enable-largefile was given.
14087 if test "${enable_largefile+set}" = set; then
14088 enableval=$enable_largefile;
14091 if test "$enable_largefile" != no; then
14093 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
14094 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14095 if test "${ac_cv_sys_largefile_CC+set}" = set; then
14096 $as_echo_n "(cached) " >&6
14098 ac_cv_sys_largefile_CC=no
14099 if test "$GCC" != yes; then
14102 # IRIX 6.2 and later do not support large files by default,
14103 # so use the C compiler's -n32 option if that helps.
14104 cat >conftest.$ac_ext <<_ACEOF
14107 cat confdefs.h >>conftest.$ac_ext
14108 cat >>conftest.$ac_ext <<_ACEOF
14109 /* end confdefs.h. */
14110 #include <sys/types.h>
14111 /* Check that off_t can represent 2**63 - 1 correctly.
14112 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14113 since some C++ compilers masquerading as C compilers
14114 incorrectly reject 9223372036854775807. */
14115 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14116 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14117 && LARGE_OFF_T % 2147483647 == 1)
14127 rm -f conftest.$ac_objext
14128 if { (ac_try="$ac_compile"
14129 case "(($ac_try" in
14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14131 *) ac_try_echo=$ac_try;;
14133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14134 $as_echo "$ac_try_echo") >&5
14135 (eval "$ac_compile") 2>conftest.er1
14137 grep -v '^ *+' conftest.er1 >conftest.err
14139 cat conftest.err >&5
14140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); } && {
14142 test -z "$ac_c_werror_flag" ||
14143 test ! -s conftest.err
14144 } && test -s conftest.$ac_objext; then
14147 $as_echo "$as_me: failed program was:" >&5
14148 sed 's/^/| /' conftest.$ac_ext >&5
14153 rm -f core conftest.err conftest.$ac_objext
14155 rm -f conftest.$ac_objext
14156 if { (ac_try="$ac_compile"
14157 case "(($ac_try" in
14158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14159 *) ac_try_echo=$ac_try;;
14161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14162 $as_echo "$ac_try_echo") >&5
14163 (eval "$ac_compile") 2>conftest.er1
14165 grep -v '^ *+' conftest.er1 >conftest.err
14167 cat conftest.err >&5
14168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } && {
14170 test -z "$ac_c_werror_flag" ||
14171 test ! -s conftest.err
14172 } && test -s conftest.$ac_objext; then
14173 ac_cv_sys_largefile_CC=' -n32'; break
14175 $as_echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.$ac_ext >&5
14181 rm -f core conftest.err conftest.$ac_objext
14185 rm -f conftest.$ac_ext
14188 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
14189 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14190 if test "$ac_cv_sys_largefile_CC" != no; then
14191 CC=$CC$ac_cv_sys_largefile_CC
14194 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14195 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14196 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
14197 $as_echo_n "(cached) " >&6
14200 cat >conftest.$ac_ext <<_ACEOF
14203 cat confdefs.h >>conftest.$ac_ext
14204 cat >>conftest.$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14206 #include <sys/types.h>
14207 /* Check that off_t can represent 2**63 - 1 correctly.
14208 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14209 since some C++ compilers masquerading as C compilers
14210 incorrectly reject 9223372036854775807. */
14211 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14212 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14213 && LARGE_OFF_T % 2147483647 == 1)
14223 rm -f conftest.$ac_objext
14224 if { (ac_try="$ac_compile"
14225 case "(($ac_try" in
14226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14227 *) ac_try_echo=$ac_try;;
14229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14230 $as_echo "$ac_try_echo") >&5
14231 (eval "$ac_compile") 2>conftest.er1
14233 grep -v '^ *+' conftest.er1 >conftest.err
14235 cat conftest.err >&5
14236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } && {
14238 test -z "$ac_c_werror_flag" ||
14239 test ! -s conftest.err
14240 } && test -s conftest.$ac_objext; then
14241 ac_cv_sys_file_offset_bits=no; break
14243 $as_echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.$ac_ext >&5
14249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14250 cat >conftest.$ac_ext <<_ACEOF
14253 cat confdefs.h >>conftest.$ac_ext
14254 cat >>conftest.$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14256 #define _FILE_OFFSET_BITS 64
14257 #include <sys/types.h>
14258 /* Check that off_t can represent 2**63 - 1 correctly.
14259 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14260 since some C++ compilers masquerading as C compilers
14261 incorrectly reject 9223372036854775807. */
14262 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14263 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14264 && LARGE_OFF_T % 2147483647 == 1)
14274 rm -f conftest.$ac_objext
14275 if { (ac_try="$ac_compile"
14276 case "(($ac_try" in
14277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14278 *) ac_try_echo=$ac_try;;
14280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14281 $as_echo "$ac_try_echo") >&5
14282 (eval "$ac_compile") 2>conftest.er1
14284 grep -v '^ *+' conftest.er1 >conftest.err
14286 cat conftest.err >&5
14287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); } && {
14289 test -z "$ac_c_werror_flag" ||
14290 test ! -s conftest.err
14291 } && test -s conftest.$ac_objext; then
14292 ac_cv_sys_file_offset_bits=64; break
14294 $as_echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.$ac_ext >&5
14300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14301 ac_cv_sys_file_offset_bits=unknown
14305 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
14306 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14307 case $ac_cv_sys_file_offset_bits in #(
14310 cat >>confdefs.h <<_ACEOF
14311 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14316 if test $ac_cv_sys_file_offset_bits = unknown; then
14317 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
14318 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14319 if test "${ac_cv_sys_large_files+set}" = set; then
14320 $as_echo_n "(cached) " >&6
14323 cat >conftest.$ac_ext <<_ACEOF
14326 cat confdefs.h >>conftest.$ac_ext
14327 cat >>conftest.$ac_ext <<_ACEOF
14328 /* end confdefs.h. */
14329 #include <sys/types.h>
14330 /* Check that off_t can represent 2**63 - 1 correctly.
14331 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14332 since some C++ compilers masquerading as C compilers
14333 incorrectly reject 9223372036854775807. */
14334 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14335 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14336 && LARGE_OFF_T % 2147483647 == 1)
14346 rm -f conftest.$ac_objext
14347 if { (ac_try="$ac_compile"
14348 case "(($ac_try" in
14349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14350 *) ac_try_echo=$ac_try;;
14352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14353 $as_echo "$ac_try_echo") >&5
14354 (eval "$ac_compile") 2>conftest.er1
14356 grep -v '^ *+' conftest.er1 >conftest.err
14358 cat conftest.err >&5
14359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); } && {
14361 test -z "$ac_c_werror_flag" ||
14362 test ! -s conftest.err
14363 } && test -s conftest.$ac_objext; then
14364 ac_cv_sys_large_files=no; break
14366 $as_echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14373 cat >conftest.$ac_ext <<_ACEOF
14376 cat confdefs.h >>conftest.$ac_ext
14377 cat >>conftest.$ac_ext <<_ACEOF
14378 /* end confdefs.h. */
14379 #define _LARGE_FILES 1
14380 #include <sys/types.h>
14381 /* Check that off_t can represent 2**63 - 1 correctly.
14382 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14383 since some C++ compilers masquerading as C compilers
14384 incorrectly reject 9223372036854775807. */
14385 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14386 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14387 && LARGE_OFF_T % 2147483647 == 1)
14397 rm -f conftest.$ac_objext
14398 if { (ac_try="$ac_compile"
14399 case "(($ac_try" in
14400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14401 *) ac_try_echo=$ac_try;;
14403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14404 $as_echo "$ac_try_echo") >&5
14405 (eval "$ac_compile") 2>conftest.er1
14407 grep -v '^ *+' conftest.er1 >conftest.err
14409 cat conftest.err >&5
14410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); } && {
14412 test -z "$ac_c_werror_flag" ||
14413 test ! -s conftest.err
14414 } && test -s conftest.$ac_objext; then
14415 ac_cv_sys_large_files=1; break
14417 $as_echo "$as_me: failed program was:" >&5
14418 sed 's/^/| /' conftest.$ac_ext >&5
14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14424 ac_cv_sys_large_files=unknown
14428 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
14429 $as_echo "$ac_cv_sys_large_files" >&6; }
14430 case $ac_cv_sys_large_files in #(
14433 cat >>confdefs.h <<_ACEOF
14434 #define _LARGE_FILES $ac_cv_sys_large_files
14444 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
14445 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
14446 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
14447 $as_echo_n "(cached) " >&6
14449 ac_check_lib_save_LIBS=$LIBS
14451 cat >conftest.$ac_ext <<_ACEOF
14454 cat confdefs.h >>conftest.$ac_ext
14455 cat >>conftest.$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14458 /* Override any GCC internal prototype to avoid an error.
14459 Use char because int might match the return type of a GCC
14460 builtin and then its argument prototype would still apply. */
14464 char gethostbyname ();
14468 return gethostbyname ();
14473 rm -f conftest.$ac_objext conftest$ac_exeext
14474 if { (ac_try="$ac_link"
14475 case "(($ac_try" in
14476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14477 *) ac_try_echo=$ac_try;;
14479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14480 $as_echo "$ac_try_echo") >&5
14481 (eval "$ac_link") 2>conftest.er1
14483 grep -v '^ *+' conftest.er1 >conftest.err
14485 cat conftest.err >&5
14486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); } && {
14488 test -z "$ac_c_werror_flag" ||
14489 test ! -s conftest.err
14490 } && test -s conftest$ac_exeext && {
14491 test "$cross_compiling" = yes ||
14492 $as_test_x conftest$ac_exeext
14494 ac_cv_lib_nsl_gethostbyname=yes
14496 $as_echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.$ac_ext >&5
14499 ac_cv_lib_nsl_gethostbyname=no
14502 rm -rf conftest.dSYM
14503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14504 conftest$ac_exeext conftest.$ac_ext
14505 LIBS=$ac_check_lib_save_LIBS
14507 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
14508 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
14509 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
14510 cat >>confdefs.h <<_ACEOF
14511 #define HAVE_LIBNSL 1
14519 { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
14520 $as_echo_n "checking for connect in -lsocket... " >&6; }
14521 if test "${ac_cv_lib_socket_connect+set}" = set; then
14522 $as_echo_n "(cached) " >&6
14524 ac_check_lib_save_LIBS=$LIBS
14525 LIBS="-lsocket $LIBS"
14526 cat >conftest.$ac_ext <<_ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14533 /* Override any GCC internal prototype to avoid an error.
14534 Use char because int might match the return type of a GCC
14535 builtin and then its argument prototype would still apply. */
14548 rm -f conftest.$ac_objext conftest$ac_exeext
14549 if { (ac_try="$ac_link"
14550 case "(($ac_try" in
14551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14552 *) ac_try_echo=$ac_try;;
14554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14555 $as_echo "$ac_try_echo") >&5
14556 (eval "$ac_link") 2>conftest.er1
14558 grep -v '^ *+' conftest.er1 >conftest.err
14560 cat conftest.err >&5
14561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); } && {
14563 test -z "$ac_c_werror_flag" ||
14564 test ! -s conftest.err
14565 } && test -s conftest$ac_exeext && {
14566 test "$cross_compiling" = yes ||
14567 $as_test_x conftest$ac_exeext
14569 ac_cv_lib_socket_connect=yes
14571 $as_echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14574 ac_cv_lib_socket_connect=no
14577 rm -rf conftest.dSYM
14578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14579 conftest$ac_exeext conftest.$ac_ext
14580 LIBS=$ac_check_lib_save_LIBS
14582 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
14583 $as_echo "$ac_cv_lib_socket_connect" >&6; }
14584 if test "x$ac_cv_lib_socket_connect" = x""yes; then
14585 cat >>confdefs.h <<_ACEOF
14586 #define HAVE_LIBSOCKET 1
14589 LIBS="-lsocket $LIBS"
14601 { $as_echo "$as_me:$LINENO: checking for library containing res_query" >&5
14602 $as_echo_n "checking for library containing res_query... " >&6; }
14603 if test "${acf_cv_library_res_query+set}" = set; then
14604 $as_echo_n "(cached) " >&6
14610 cat >conftest.$ac_ext <<_ACEOF
14614 cat confdefs.h >>conftest.$ac_ext
14615 cat >>conftest.$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14618 #include <resolv.h>
14623 res_query(0, 0, 0, 0, 0);
14630 rm -f conftest.$ac_objext conftest$ac_exeext
14631 if { (ac_try="$ac_link"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14637 $as_echo "$ac_try_echo") >&5
14638 (eval "$ac_link") 2>conftest.er1
14640 grep -v '^ *+' conftest.er1 >conftest.err
14642 cat conftest.err >&5
14643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } && {
14645 test -z "$ac_c_werror_flag" ||
14646 test ! -s conftest.err
14647 } && test -s conftest$ac_exeext && {
14648 test "$cross_compiling" = yes ||
14649 $as_test_x conftest$ac_exeext
14651 acf_cv_library_res_query=" "
14653 $as_echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.$ac_ext >&5
14659 rm -rf conftest.dSYM
14660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14661 conftest$ac_exeext conftest.$ac_ext
14663 if test -n "$acf_cv_library_res_query"; then
14669 LIBS="$LIBS -lresolv"
14670 cat >conftest.$ac_ext <<_ACEOF
14674 cat confdefs.h >>conftest.$ac_ext
14675 cat >>conftest.$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14678 #include <resolv.h>
14683 res_query(0, 0, 0, 0, 0);
14690 rm -f conftest.$ac_objext conftest$ac_exeext
14691 if { (ac_try="$ac_link"
14692 case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14697 $as_echo "$ac_try_echo") >&5
14698 (eval "$ac_link") 2>conftest.er1
14700 grep -v '^ *+' conftest.er1 >conftest.err
14702 cat conftest.err >&5
14703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); } && {
14705 test -z "$ac_c_werror_flag" ||
14706 test ! -s conftest.err
14707 } && test -s conftest$ac_exeext && {
14708 test "$cross_compiling" = yes ||
14709 $as_test_x conftest$ac_exeext
14711 acf_cv_library_res_query=" -lresolv"
14713 $as_echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14719 rm -rf conftest.dSYM
14720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14721 conftest$ac_exeext conftest.$ac_ext
14723 if test -n "$acf_cv_library_res_query"; then
14729 LIBS="$LIBS -lbind"
14730 cat >conftest.$ac_ext <<_ACEOF
14734 cat confdefs.h >>conftest.$ac_ext
14735 cat >>conftest.$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14738 #include <resolv.h>
14743 res_query(0, 0, 0, 0, 0);
14750 rm -f conftest.$ac_objext conftest$ac_exeext
14751 if { (ac_try="$ac_link"
14752 case "(($ac_try" in
14753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14754 *) ac_try_echo=$ac_try;;
14756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14757 $as_echo "$ac_try_echo") >&5
14758 (eval "$ac_link") 2>conftest.er1
14760 grep -v '^ *+' conftest.er1 >conftest.err
14762 cat conftest.err >&5
14763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); } && {
14765 test -z "$ac_c_werror_flag" ||
14766 test ! -s conftest.err
14767 } && test -s conftest$ac_exeext && {
14768 test "$cross_compiling" = yes ||
14769 $as_test_x conftest$ac_exeext
14771 acf_cv_library_res_query=" -lbind"
14773 $as_echo "$as_me: failed program was:" >&5
14774 sed 's/^/| /' conftest.$ac_ext >&5
14779 rm -rf conftest.dSYM
14780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14781 conftest$ac_exeext conftest.$ac_ext
14783 if test -n "$acf_cv_library_res_query"; then
14792 { $as_echo "$as_me:$LINENO: result: $acf_cv_library_res_query" >&5
14793 $as_echo "$acf_cv_library_res_query" >&6; }
14797 if test -n "$acf_cv_library_res_query"; then
14798 LIBS="$LIBS $acf_cv_library_res_query"
14801 { { $as_echo "$as_me:$LINENO: error: res_query not found" >&5
14802 $as_echo "$as_me: error: res_query not found" >&2;}
14803 { (exit 1); exit 1; }; }
14816 ac_cpp='$CPP $CPPFLAGS'
14817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14823 # We used to check for pthread.h first, but this fails if pthread.h
14824 # requires special compiler flags (e.g. on True64 or Sequent).
14825 # It gets checked for in the link test anyway.
14827 # First of all, check if the user has set any of the PTHREAD_LIBS,
14828 # etcetera environment variables, and if threads linking works using
14830 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
14831 save_CFLAGS="$CFLAGS"
14832 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
14834 LIBS="$PTHREAD_LIBS $LIBS"
14835 { $as_echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
14836 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
14837 cat >conftest.$ac_ext <<_ACEOF
14840 cat confdefs.h >>conftest.$ac_ext
14841 cat >>conftest.$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14844 /* Override any GCC internal prototype to avoid an error.
14845 Use char because int might match the return type of a GCC
14846 builtin and then its argument prototype would still apply. */
14850 char pthread_join ();
14854 return pthread_join ();
14859 rm -f conftest.$ac_objext conftest$ac_exeext
14860 if { (ac_try="$ac_link"
14861 case "(($ac_try" in
14862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14863 *) ac_try_echo=$ac_try;;
14865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14866 $as_echo "$ac_try_echo") >&5
14867 (eval "$ac_link") 2>conftest.er1
14869 grep -v '^ *+' conftest.er1 >conftest.err
14871 cat conftest.err >&5
14872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); } && {
14874 test -z "$ac_c_werror_flag" ||
14875 test ! -s conftest.err
14876 } && test -s conftest$ac_exeext && {
14877 test "$cross_compiling" = yes ||
14878 $as_test_x conftest$ac_exeext
14882 $as_echo "$as_me: failed program was:" >&5
14883 sed 's/^/| /' conftest.$ac_ext >&5
14888 rm -rf conftest.dSYM
14889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14890 conftest$ac_exeext conftest.$ac_ext
14891 { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
14892 $as_echo "$acx_pthread_ok" >&6; }
14893 if test x"$acx_pthread_ok" = xno; then
14898 CFLAGS="$save_CFLAGS"
14901 # We must check for the threads library under a number of different
14902 # names; the ordering is very important because some systems
14903 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
14904 # libraries is broken (non-POSIX).
14906 # Create a list of thread flags to try. Items starting with a "-" are
14907 # C compiler flags, and other items are library names, except for "none"
14908 # which indicates that we try without any flags at all, and "pthread-config"
14909 # which is a program returning the flags for the Pth emulation library.
14911 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
14913 # The ordering *is* (sometimes) important. Some notes on the
14914 # individual items follow:
14916 # pthreads: AIX (must check this before -lpthread)
14917 # none: in case threads are in libc; should be tried before -Kthread and
14918 # other compiler flags to prevent continual compiler warnings
14919 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
14920 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
14921 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
14922 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
14923 # -pthreads: Solaris/gcc
14924 # -mthreads: Mingw32/gcc, Lynx/gcc
14925 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
14926 # doesn't hurt to check since this sometimes defines pthreads too;
14927 # also defines -D_REENTRANT)
14928 # pthread: Linux, etcetera
14929 # --thread-safe: KAI C++
14930 # pthread-config: use pthread-config program (for GNU Pth library)
14932 case "${host_cpu}-${host_os}" in
14935 # On Solaris (at least, for some versions), libc contains stubbed
14936 # (non-functional) versions of the pthreads routines, so link-based
14937 # tests will erroneously succeed. (We need to link with -pthread or
14938 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
14939 # a function called by this macro, so we could check for that, but
14940 # who knows whether they'll stub that too in a future libc.) So,
14941 # we'll just look for -pthreads and -lpthread first:
14943 acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
14947 if test x"$acx_pthread_ok" = xno; then
14948 for flag in $acx_pthread_flags; do
14952 { $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
14953 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
14957 { $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
14958 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
14959 PTHREAD_CFLAGS="$flag"
14963 # Extract the first word of "pthread-config", so it can be a program name with args.
14964 set dummy pthread-config; ac_word=$2
14965 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14966 $as_echo_n "checking for $ac_word... " >&6; }
14967 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
14968 $as_echo_n "(cached) " >&6
14970 if test -n "$acx_pthread_config"; then
14971 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
14973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14974 for as_dir in $PATH
14977 test -z "$as_dir" && as_dir=.
14978 for ac_exec_ext in '' $ac_executable_extensions; do
14979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14980 ac_cv_prog_acx_pthread_config="yes"
14981 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14988 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
14991 acx_pthread_config=$ac_cv_prog_acx_pthread_config
14992 if test -n "$acx_pthread_config"; then
14993 { $as_echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
14994 $as_echo "$acx_pthread_config" >&6; }
14996 { $as_echo "$as_me:$LINENO: result: no" >&5
14997 $as_echo "no" >&6; }
15001 if test x"$acx_pthread_config" = xno; then continue; fi
15002 PTHREAD_CFLAGS="`pthread-config --cflags`"
15003 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
15007 { $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
15008 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
15009 PTHREAD_LIBS="-l$flag"
15014 save_CFLAGS="$CFLAGS"
15015 LIBS="$PTHREAD_LIBS $LIBS"
15016 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15018 # Check for various functions. We must include pthread.h,
15019 # since some functions may be macros. (On the Sequent, we
15020 # need a special flag -Kthread to make this header compile.)
15021 # We check for pthread_join because it is in -lpthread on IRIX
15022 # while pthread_create is in libc. We check for pthread_attr_init
15023 # due to DEC craziness with -lpthreads. We check for
15024 # pthread_cleanup_push because it is one of the few pthread
15025 # functions on Solaris that doesn't have a non-functional libc stub.
15026 # We try pthread_create on general principles.
15027 cat >conftest.$ac_ext <<_ACEOF
15030 cat confdefs.h >>conftest.$ac_ext
15031 cat >>conftest.$ac_ext <<_ACEOF
15032 /* end confdefs.h. */
15033 #include <pthread.h>
15037 pthread_t th; pthread_join(th, 0);
15038 pthread_attr_init(0); pthread_cleanup_push(0, 0);
15039 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
15044 rm -f conftest.$ac_objext conftest$ac_exeext
15045 if { (ac_try="$ac_link"
15046 case "(($ac_try" in
15047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15048 *) ac_try_echo=$ac_try;;
15050 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15051 $as_echo "$ac_try_echo") >&5
15052 (eval "$ac_link") 2>conftest.er1
15054 grep -v '^ *+' conftest.er1 >conftest.err
15056 cat conftest.err >&5
15057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); } && {
15059 test -z "$ac_c_werror_flag" ||
15060 test ! -s conftest.err
15061 } && test -s conftest$ac_exeext && {
15062 test "$cross_compiling" = yes ||
15063 $as_test_x conftest$ac_exeext
15067 $as_echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.$ac_ext >&5
15073 rm -rf conftest.dSYM
15074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15075 conftest$ac_exeext conftest.$ac_ext
15078 CFLAGS="$save_CFLAGS"
15080 { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
15081 $as_echo "$acx_pthread_ok" >&6; }
15082 if test "x$acx_pthread_ok" = xyes; then
15091 # Various other checks:
15092 if test "x$acx_pthread_ok" = xyes; then
15094 LIBS="$PTHREAD_LIBS $LIBS"
15095 save_CFLAGS="$CFLAGS"
15096 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15098 # Detect AIX lossage: threads are created detached by default
15099 # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
15100 { $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
15101 $as_echo_n "checking for joinable pthread attribute... " >&6; }
15102 cat >conftest.$ac_ext <<_ACEOF
15105 cat confdefs.h >>conftest.$ac_ext
15106 cat >>conftest.$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15108 #include <pthread.h>
15112 int attr=PTHREAD_CREATE_JOINABLE;
15117 rm -f conftest.$ac_objext conftest$ac_exeext
15118 if { (ac_try="$ac_link"
15119 case "(($ac_try" in
15120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15121 *) ac_try_echo=$ac_try;;
15123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15124 $as_echo "$ac_try_echo") >&5
15125 (eval "$ac_link") 2>conftest.er1
15127 grep -v '^ *+' conftest.er1 >conftest.err
15129 cat conftest.err >&5
15130 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); } && {
15132 test -z "$ac_c_werror_flag" ||
15133 test ! -s conftest.err
15134 } && test -s conftest$ac_exeext && {
15135 test "$cross_compiling" = yes ||
15136 $as_test_x conftest$ac_exeext
15138 ok=PTHREAD_CREATE_JOINABLE
15140 $as_echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15146 rm -rf conftest.dSYM
15147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15148 conftest$ac_exeext conftest.$ac_ext
15149 if test x"$ok" = xunknown; then
15150 cat >conftest.$ac_ext <<_ACEOF
15153 cat confdefs.h >>conftest.$ac_ext
15154 cat >>conftest.$ac_ext <<_ACEOF
15155 /* end confdefs.h. */
15156 #include <pthread.h>
15160 int attr=PTHREAD_CREATE_UNDETACHED;
15165 rm -f conftest.$ac_objext conftest$ac_exeext
15166 if { (ac_try="$ac_link"
15167 case "(($ac_try" in
15168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15169 *) ac_try_echo=$ac_try;;
15171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15172 $as_echo "$ac_try_echo") >&5
15173 (eval "$ac_link") 2>conftest.er1
15175 grep -v '^ *+' conftest.er1 >conftest.err
15177 cat conftest.err >&5
15178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } && {
15180 test -z "$ac_c_werror_flag" ||
15181 test ! -s conftest.err
15182 } && test -s conftest$ac_exeext && {
15183 test "$cross_compiling" = yes ||
15184 $as_test_x conftest$ac_exeext
15186 ok=PTHREAD_CREATE_UNDETACHED
15188 $as_echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.$ac_ext >&5
15194 rm -rf conftest.dSYM
15195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15196 conftest$ac_exeext conftest.$ac_ext
15198 if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
15200 cat >>confdefs.h <<\_ACEOF
15201 #define PTHREAD_CREATE_JOINABLE $ok
15205 { $as_echo "$as_me:$LINENO: result: ${ok}" >&5
15206 $as_echo "${ok}" >&6; }
15207 if test x"$ok" = xunknown; then
15208 { $as_echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
15209 $as_echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
15212 { $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
15213 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
15215 case "${host_cpu}-${host_os}" in
15216 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
15217 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
15219 { $as_echo "$as_me:$LINENO: result: ${flag}" >&5
15220 $as_echo "${flag}" >&6; }
15221 if test "x$flag" != xno; then
15222 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
15226 CFLAGS="$save_CFLAGS"
15228 # More AIX lossage: must compile with cc_r
15229 # Extract the first word of "cc_r", so it can be a program name with args.
15230 set dummy cc_r; ac_word=$2
15231 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15232 $as_echo_n "checking for $ac_word... " >&6; }
15233 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
15234 $as_echo_n "(cached) " >&6
15236 if test -n "$PTHREAD_CC"; then
15237 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
15239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15240 for as_dir in $PATH
15243 test -z "$as_dir" && as_dir=.
15244 for ac_exec_ext in '' $ac_executable_extensions; do
15245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15246 ac_cv_prog_PTHREAD_CC="cc_r"
15247 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15254 test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
15257 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
15258 if test -n "$PTHREAD_CC"; then
15259 { $as_echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
15260 $as_echo "$PTHREAD_CC" >&6; }
15262 { $as_echo "$as_me:$LINENO: result: no" >&5
15263 $as_echo "no" >&6; }
15275 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
15276 if test x"$acx_pthread_ok" = xyes; then
15278 cat >>confdefs.h <<\_ACEOF
15279 #define HAVE_PTHREAD 1
15288 ac_cpp='$CPP $CPPFLAGS'
15289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15301 for possible_flags in "-Wl,--no-undefined" "-Wl,-z,defs"; do
15303 { $as_echo "$as_me:$LINENO: checking if $CC supports $possible_flags flag" >&5
15304 $as_echo_n "checking if $CC supports $possible_flags flag... " >&6; }
15305 if { as_var=`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
15306 $as_echo_n "(cached) " >&6
15308 ac_save_LDFLAGS="$LDFLAGS"
15309 LDFLAGS="$LDFLAGS $possible_flags"
15310 cat >conftest.$ac_ext <<_ACEOF
15311 int main() { return 1; }
15313 rm -f conftest.$ac_objext conftest$ac_exeext
15314 if { (ac_try="$ac_link"
15315 case "(($ac_try" in
15316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15317 *) ac_try_echo=$ac_try;;
15319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15320 $as_echo "$ac_try_echo") >&5
15321 (eval "$ac_link") 2>conftest.er1
15323 grep -v '^ *+' conftest.er1 >conftest.err
15325 cat conftest.err >&5
15326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest$ac_exeext && {
15331 test "$cross_compiling" = yes ||
15332 $as_test_x conftest$ac_exeext
15334 eval "`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`='yes'"
15336 $as_echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.$ac_ext >&5
15339 eval "`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`="
15342 rm -rf conftest.dSYM
15343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15344 conftest$ac_exeext conftest.$ac_ext
15345 LDFLAGS="$ac_save_LDFLAGS"
15348 ac_res=`eval 'as_val=${'\`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh\`'}
15349 $as_echo "$as_val"'`
15350 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15351 $as_echo "$ac_res" >&6; }
15353 if eval test x$`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh` = xyes; then
15354 LDFLAGS_NOUNDEFINED="$possible_flags"
15367 # Check whether --enable-lynx was given.
15368 if test "${enable_lynx+set}" = set; then
15369 enableval=$enable_lynx;
15375 case "${enable_lynx}" in
15377 # Extract the first word of "lynx", so it can be a program name with args.
15378 set dummy lynx; ac_word=$2
15379 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15380 $as_echo_n "checking for $ac_word... " >&6; }
15381 if test "${ac_cv_prog_have_lynx+set}" = set; then
15382 $as_echo_n "(cached) " >&6
15384 if test -n "$have_lynx"; then
15385 ac_cv_prog_have_lynx="$have_lynx" # Let the user override the test.
15387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15388 for as_dir in $PATH
15391 test -z "$as_dir" && as_dir=.
15392 for ac_exec_ext in '' $ac_executable_extensions; do
15393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15394 ac_cv_prog_have_lynx="yes"
15395 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15402 test -z "$ac_cv_prog_have_lynx" && ac_cv_prog_have_lynx="no"
15405 have_lynx=$ac_cv_prog_have_lynx
15406 if test -n "$have_lynx"; then
15407 { $as_echo "$as_me:$LINENO: result: $have_lynx" >&5
15408 $as_echo "$have_lynx" >&6; }
15410 { $as_echo "$as_me:$LINENO: result: no" >&5
15411 $as_echo "no" >&6; }
15416 if test x$have_lynx = xno ; then
15417 { $as_echo "$as_me:$LINENO: WARNING: *** lynx not found, plain text README will not be built ***" >&5
15418 $as_echo "$as_me: WARNING: *** lynx not found, plain text README will not be built ***" >&2;}
15424 { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-lynx" >&5
15425 $as_echo "$as_me: error: bad value ${enableval} for --disable-lynx" >&2;}
15426 { (exit 1); exit 1; }; } ;;
15429 if test "x$have_lynx" = xyes; then
15439 ac_config_files="$ac_config_files Makefile libasyncns/Makefile doc/Makefile doc/README.html doxygen/Makefile doxygen/doxygen.conf libasyncns.pc"
15441 cat >confcache <<\_ACEOF
15442 # This file is a shell script that caches the results of configure
15443 # tests run on this system so they can be shared between configure
15444 # scripts and configure runs, see configure's option --config-cache.
15445 # It is not useful on other systems. If it contains results you don't
15446 # want to keep, you may remove or edit it.
15448 # config.status only pays attention to the cache file if you give it
15449 # the --recheck option to rerun configure.
15451 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15452 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15453 # following values.
15457 # The following way of writing the cache mishandles newlines in values,
15458 # but we know of no workaround that is simple, portable, and efficient.
15459 # So, we kill variables containing newlines.
15460 # Ultrix sh set writes to stderr and can't be redirected directly,
15461 # and sets the high bit in the cache file unless we assign to the vars.
15463 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15464 eval ac_val=\$$ac_var
15468 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15469 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15472 _ | IFS | as_nl) ;; #(
15473 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15474 *) $as_unset $ac_var ;;
15480 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15481 *${as_nl}ac_space=\ *)
15482 # `set' does not quote correctly, so add quotes (double-quote
15483 # substitution turns \\\\ into \\, and sed turns \\ into \).
15486 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15489 # `set' quotes correctly as required by POSIX, so do not add quotes.
15490 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15499 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15501 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15503 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15504 if test -w "$cache_file"; then
15505 test "x$cache_file" != "x/dev/null" &&
15506 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15507 $as_echo "$as_me: updating cache $cache_file" >&6;}
15508 cat confcache >$cache_file
15510 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15511 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15516 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15517 # Let make expand exec_prefix.
15518 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15520 DEFS=-DHAVE_CONFIG_H
15524 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15525 # 1. Remove the extension, and $U if already installed.
15526 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15527 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15528 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15529 # will be set to the directory where LIBOBJS objects are built.
15530 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15531 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15533 LIBOBJS=$ac_libobjs
15535 LTLIBOBJS=$ac_ltlibobjs
15538 if test -n "$EXEEXT"; then
15540 am__EXEEXT_FALSE='#'
15542 am__EXEEXT_TRUE='#'
15546 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15547 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15548 Usually this means the macro was only invoked conditionally." >&5
15549 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
15550 Usually this means the macro was only invoked conditionally." >&2;}
15551 { (exit 1); exit 1; }; }
15553 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15554 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15555 Usually this means the macro was only invoked conditionally." >&5
15556 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15557 Usually this means the macro was only invoked conditionally." >&2;}
15558 { (exit 1); exit 1; }; }
15560 if test -z "${USE_LYNX_TRUE}" && test -z "${USE_LYNX_FALSE}"; then
15561 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LYNX\" was never defined.
15562 Usually this means the macro was only invoked conditionally." >&5
15563 $as_echo "$as_me: error: conditional \"USE_LYNX\" was never defined.
15564 Usually this means the macro was only invoked conditionally." >&2;}
15565 { (exit 1); exit 1; }; }
15568 : ${CONFIG_STATUS=./config.status}
15570 ac_clean_files_save=$ac_clean_files
15571 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15572 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15573 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15574 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15576 # Generated by $as_me.
15577 # Run this file to recreate the current configuration.
15578 # Compiler output produced by configure, useful for debugging
15579 # configure, is in config.log if it exists.
15582 ac_cs_recheck=false
15584 SHELL=\${CONFIG_SHELL-$SHELL}
15587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15588 ## --------------------- ##
15589 ## M4sh Initialization. ##
15590 ## --------------------- ##
15592 # Be more Bourne compatible
15593 DUALCASE=1; export DUALCASE # for MKS sh
15594 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15597 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15598 # is contrary to our usage. Disable this feature.
15599 alias -g '${1+"$@"}'='"$@"'
15600 setopt NO_GLOB_SUBST
15602 case `(set -o) 2>/dev/null` in
15603 *posix*) set -o posix ;;
15612 # Avoid depending upon Character Ranges.
15613 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15614 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15615 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15616 as_cr_digits='0123456789'
15617 as_cr_alnum=$as_cr_Letters$as_cr_digits
15622 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15623 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15624 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15625 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15626 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15627 as_echo='printf %s\n'
15628 as_echo_n='printf %s'
15630 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15631 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15632 as_echo_n='/usr/ucb/echo -n'
15634 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15635 as_echo_n_body='eval
15639 expr "X$arg" : "X\\(.*\\)$as_nl";
15640 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15642 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15644 export as_echo_n_body
15645 as_echo_n='sh -c $as_echo_n_body as_echo'
15647 export as_echo_body
15648 as_echo='sh -c $as_echo_body as_echo'
15651 # The user is always right.
15652 if test "${PATH_SEPARATOR+set}" != set; then
15654 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15655 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15660 # Support unset when possible.
15661 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15669 # We need space, tab and new line, in precisely that order. Quoting is
15670 # there to prevent editors from complaining about space-tab.
15671 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15672 # splitting by setting IFS to empty value.)
15675 # Find who we are. Look in the path if we contain no directory separator.
15677 *[\\/]* ) as_myself=$0 ;;
15678 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15679 for as_dir in $PATH
15682 test -z "$as_dir" && as_dir=.
15683 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15689 # We did not find ourselves, most probably we were run as `sh COMMAND'
15690 # in which case we are not to be found in the path.
15691 if test "x$as_myself" = x; then
15694 if test ! -f "$as_myself"; then
15695 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15696 { (exit 1); exit 1; }
15699 # Work around bugs in pre-3.0 UWIN ksh.
15700 for as_var in ENV MAIL MAILPATH
15701 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15713 # Required to use basename.
15714 if expr a : '\(a\)' >/dev/null 2>&1 &&
15715 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15721 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15722 as_basename=basename
15728 # Name of the executable.
15729 as_me=`$as_basename -- "$0" ||
15730 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15731 X"$0" : 'X\(//\)$' \| \
15732 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15734 sed '/^.*\/\([^/][^/]*\)\/*$/{
15753 as_lineno_1=$LINENO
15754 as_lineno_2=$LINENO
15755 test "x$as_lineno_1" != "x$as_lineno_2" &&
15756 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15758 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15759 # uniformly replaced by the line number. The first 'sed' inserts a
15760 # line-number line after each line using $LINENO; the second 'sed'
15761 # does the real work. The second script uses 'N' to pair each
15762 # line-number line with the line containing $LINENO, and appends
15763 # trailing '-' during substitution so that $LINENO is not a special
15764 # case at line end.
15765 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15766 # scripts with optimization help from Paolo Bonzini. Blame Lee
15767 # E. McMahon (1931-1989) for sed's syntax. :-)
15779 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15782 ' >$as_me.lineno &&
15783 chmod +x "$as_me.lineno" ||
15784 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15785 { (exit 1); exit 1; }; }
15787 # Don't try to exec as it changes $[0], causing all sort of problems
15788 # (the dirname of $[0] is not the place where we might find the
15789 # original and so on. Autoconf is especially sensitive to this).
15790 . "./$as_me.lineno"
15791 # Exit status is that of the last command.
15796 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15802 ECHO_C= ECHO_N= ECHO_T=
15803 case `echo -n x` in
15805 case `echo 'x\c'` in
15806 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15812 if expr a : '\(a\)' >/dev/null 2>&1 &&
15813 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15819 rm -f conf$$ conf$$.exe conf$$.file
15820 if test -d conf$$.dir; then
15821 rm -f conf$$.dir/conf$$.file
15824 mkdir conf$$.dir 2>/dev/null
15826 if (echo >conf$$.file) 2>/dev/null; then
15827 if ln -s conf$$.file conf$$ 2>/dev/null; then
15829 # ... but there are two gotchas:
15830 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15831 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15832 # In both cases, we have to default to `cp -p'.
15833 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15835 elif ln conf$$.file conf$$ 2>/dev/null; then
15843 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15844 rmdir conf$$.dir 2>/dev/null
15846 if mkdir -p . 2>/dev/null; then
15849 test -d ./-p && rmdir ./-p
15853 if test -x / >/dev/null 2>&1; then
15854 as_test_x='test -x'
15856 if ls -dL / >/dev/null 2>&1; then
15863 if test -d "$1"; then
15869 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15870 ???[sx]*):;;*)false;;esac;fi
15874 as_executable_p=$as_test_x
15876 # Sed expression to map a string onto a valid CPP name.
15877 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15879 # Sed expression to map a string onto a valid variable name.
15880 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15885 # Save the log message, to keep $[0] and so on meaningful, and to
15886 # report actual input values of CONFIG_FILES etc. instead of their
15887 # values after options handling.
15889 This file was extended by libasyncns $as_me 0.8, which was
15890 generated by GNU Autoconf 2.63. Invocation command line was
15892 CONFIG_FILES = $CONFIG_FILES
15893 CONFIG_HEADERS = $CONFIG_HEADERS
15894 CONFIG_LINKS = $CONFIG_LINKS
15895 CONFIG_COMMANDS = $CONFIG_COMMANDS
15898 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15903 case $ac_config_files in *"
15904 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15907 case $ac_config_headers in *"
15908 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15913 # Files that config.status was made for.
15914 config_files="$ac_config_files"
15915 config_headers="$ac_config_headers"
15916 config_commands="$ac_config_commands"
15920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15922 \`$as_me' instantiates files from templates according to the
15923 current configuration.
15925 Usage: $0 [OPTION]... [FILE]...
15927 -h, --help print this help, then exit
15928 -V, --version print version number and configuration settings, then exit
15929 -q, --quiet, --silent
15930 do not print progress messages
15931 -d, --debug don't remove temporary files
15932 --recheck update $as_me by reconfiguring in the same conditions
15933 --file=FILE[:TEMPLATE]
15934 instantiate the configuration file FILE
15935 --header=FILE[:TEMPLATE]
15936 instantiate the configuration header FILE
15938 Configuration files:
15941 Configuration headers:
15944 Configuration commands:
15947 Report bugs to <bug-autoconf@gnu.org>."
15950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15952 libasyncns config.status 0.8
15953 configured by $0, generated by GNU Autoconf 2.63,
15954 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15956 Copyright (C) 2008 Free Software Foundation, Inc.
15957 This config.status script is free software; the Free Software Foundation
15958 gives unlimited permission to copy, distribute and modify it."
15965 test -n "\$AWK" || AWK=awk
15968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15969 # The default lists apply if the user does not specify any file.
15975 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15976 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15987 # Handling of the options.
15988 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15990 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15991 $as_echo "$ac_cs_version"; exit ;;
15992 --debug | --debu | --deb | --de | --d | -d )
15994 --file | --fil | --fi | --f )
15997 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15999 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
16000 ac_need_defaults=false;;
16001 --header | --heade | --head | --hea )
16004 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16006 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
16007 ac_need_defaults=false;;
16009 # Conflict between --help and --header
16010 { $as_echo "$as_me: error: ambiguous option: $1
16011 Try \`$0 --help' for more information." >&2
16012 { (exit 1); exit 1; }; };;
16013 --help | --hel | -h )
16014 $as_echo "$ac_cs_usage"; exit ;;
16015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16016 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16019 # This is an error.
16020 -*) { $as_echo "$as_me: error: unrecognized option: $1
16021 Try \`$0 --help' for more information." >&2
16022 { (exit 1); exit 1; }; } ;;
16024 *) ac_config_targets="$ac_config_targets $1"
16025 ac_need_defaults=false ;;
16031 ac_configure_extra_args=
16033 if $ac_cs_silent; then
16035 ac_configure_extra_args="$ac_configure_extra_args --silent"
16039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16040 if \$ac_cs_recheck; then
16041 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16043 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16044 CONFIG_SHELL='$SHELL'
16045 export CONFIG_SHELL
16050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16054 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16055 ## Running $as_me. ##
16061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16065 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16068 # The HP-UX ksh and POSIX shell print the target directory to stdout
16069 # if CDPATH is set.
16070 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16072 sed_quote_subst='$sed_quote_subst'
16073 double_quote_subst='$double_quote_subst'
16074 delay_variable_subst='$delay_variable_subst'
16075 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16076 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16077 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16078 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16079 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16080 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16081 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16082 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16083 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16084 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16085 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16086 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16087 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16088 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16089 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16090 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16091 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16092 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16093 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16094 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16095 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16096 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16097 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16098 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16099 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16100 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16101 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16102 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16103 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16104 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16105 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16106 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16107 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16108 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16109 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16110 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16111 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16112 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16113 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16114 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16115 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16116 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16117 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16118 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16119 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"`'
16120 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"`'
16121 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16122 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16123 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16124 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16125 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16126 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16127 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16128 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16129 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16130 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16131 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16132 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16133 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16134 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16135 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16136 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16137 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16138 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16139 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16140 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16141 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16142 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16143 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16144 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16145 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16146 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16147 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16148 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16149 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16150 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16151 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16152 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16153 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16154 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16155 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16156 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16157 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16158 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16159 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16160 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16161 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16162 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16163 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16164 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16165 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16166 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16167 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16168 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16169 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16170 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16171 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16172 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16173 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16174 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16175 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16176 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16177 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16178 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16179 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16180 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16181 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16182 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16183 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16184 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16185 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16186 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16187 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16188 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16189 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16190 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16191 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16192 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16195 LTCFLAGS='$LTCFLAGS'
16196 compiler='$compiler_DEFAULT'
16198 # Quote evaled strings.
16210 deplibs_check_method \
16219 lt_cv_sys_global_symbol_pipe \
16220 lt_cv_sys_global_symbol_to_cdecl \
16221 lt_cv_sys_global_symbol_to_c_name_address \
16222 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16225 lt_prog_compiler_no_builtin_flag \
16226 lt_prog_compiler_wl \
16227 lt_prog_compiler_pic \
16228 lt_prog_compiler_static \
16229 lt_cv_prog_compiler_c_o \
16237 export_dynamic_flag_spec \
16238 whole_archive_flag_spec \
16239 compiler_needs_object \
16241 allow_undefined_flag \
16242 no_undefined_flag \
16243 hardcode_libdir_flag_spec \
16244 hardcode_libdir_flag_spec_ld \
16245 hardcode_libdir_separator \
16250 variables_saved_for_relink \
16252 library_names_spec \
16257 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16258 *[\\\\\\\`\\"\\\$]*)
16259 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16262 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16267 # Double-quote double-evaled strings.
16268 for var in reload_cmds \
16269 old_postinstall_cmds \
16270 old_postuninstall_cmds \
16272 extract_expsyms_cmds \
16273 old_archive_from_new_cmds \
16274 old_archive_from_expsyms_cmds \
16276 archive_expsym_cmds \
16278 module_expsym_cmds \
16279 export_symbols_cmds \
16282 postuninstall_cmds \
16284 sys_lib_search_path_spec \
16285 sys_lib_dlsearch_path_spec; do
16286 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16287 *[\\\\\\\`\\"\\\$]*)
16288 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16291 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16296 # Fix-up fallback echo if it was mangled by the above quoting rules.
16298 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16302 ac_aux_dir='$ac_aux_dir'
16303 xsi_shell='$xsi_shell'
16304 lt_shell_append='$lt_shell_append'
16306 # See if we are running on zsh, and set the options which allow our
16307 # commands through without removal of \ escapes INIT.
16308 if test -n "\${ZSH_VERSION+set}" ; then
16309 setopt NO_GLOB_SUBST
16315 TIMESTAMP='$TIMESTAMP'
16324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16326 # Handling of arguments.
16327 for ac_config_target in $ac_config_targets
16329 case $ac_config_target in
16330 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16331 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16332 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16333 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16334 "libasyncns/Makefile") CONFIG_FILES="$CONFIG_FILES libasyncns/Makefile" ;;
16335 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16336 "doc/README.html") CONFIG_FILES="$CONFIG_FILES doc/README.html" ;;
16337 "doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES doxygen/Makefile" ;;
16338 "doxygen/doxygen.conf") CONFIG_FILES="$CONFIG_FILES doxygen/doxygen.conf" ;;
16339 "libasyncns.pc") CONFIG_FILES="$CONFIG_FILES libasyncns.pc" ;;
16341 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16342 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16343 { (exit 1); exit 1; }; };;
16348 # If the user did not use the arguments to specify the items to instantiate,
16349 # then the envvar interface is used. Set only those that are not.
16350 # We use the long form for the default assignment because of an extremely
16351 # bizarre bug on SunOS 4.1.3.
16352 if $ac_need_defaults; then
16353 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16354 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16355 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16358 # Have a temporary directory for convenience. Make it in the build tree
16359 # simply because there is no reason against having it here, and in addition,
16360 # creating and moving files from /tmp can sometimes cause problems.
16361 # Hook for its removal unless debugging.
16362 # Note that there is a small window in which the directory will not be cleaned:
16363 # after its creation but before its name has been assigned to `$tmp'.
16367 trap 'exit_status=$?
16368 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16370 trap '{ (exit 1); exit 1; }' 1 2 13 15
16372 # Create a (secure) tmp directory for tmp files.
16375 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16376 test -n "$tmp" && test -d "$tmp"
16379 tmp=./conf$$-$RANDOM
16380 (umask 077 && mkdir "$tmp")
16383 $as_echo "$as_me: cannot create a temporary directory in ." >&2
16384 { (exit 1); exit 1; }
16387 # Set up the scripts for CONFIG_FILES section.
16388 # No need to generate them if there are no CONFIG_FILES.
16389 # This happens for instance with `./config.status config.h'.
16390 if test -n "$CONFIG_FILES"; then
16394 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16395 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16398 ac_cs_awk_cr=$ac_cr
16401 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16406 echo "cat >conf$$subs.awk <<_ACEOF" &&
16407 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16409 } >conf$$subs.sh ||
16410 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16411 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16412 { (exit 1); exit 1; }; }
16413 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16415 for ac_last_try in false false false false false :; do
16416 . ./conf$$subs.sh ||
16417 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16418 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16419 { (exit 1); exit 1; }; }
16421 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16422 if test $ac_delim_n = $ac_delim_num; then
16424 elif $ac_last_try; then
16425 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16426 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16427 { (exit 1); exit 1; }; }
16429 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16432 rm -f conf$$subs.sh
16434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16435 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16439 s/^/S["/; s/!.*/"]=/
16449 s/\(.\{148\}\).*/\1/
16451 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16456 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16463 s/\(.\{148\}\).*/\1/
16465 s/["\\]/\\&/g; s/^/"/; s/$/"/
16469 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16474 ' <conf$$subs.awk | sed '
16479 ' >>$CONFIG_STATUS || ac_write_fail=1
16480 rm -f conf$$subs.awk
16481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16483 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16484 for (key in S) S_is_set[key] = 1
16490 nfields = split(line, field, "@")
16492 len = length(field[1])
16493 for (i = 2; i < nfields; i++) {
16495 keylen = length(key)
16496 if (S_is_set[key]) {
16498 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16499 len += length(value) + length(field[++i])
16510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16511 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16512 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16515 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16516 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
16517 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
16518 { (exit 1); exit 1; }; }
16521 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16522 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16523 # trailing colons and then remove the whole line if VPATH becomes empty
16524 # (actually we leave an empty line to preserve line numbers).
16525 if test "x$srcdir" = x.; then
16526 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16527 s/:*\$(srcdir):*/:/
16528 s/:*\${srcdir}:*/:/
16530 s/^\([^=]*=[ ]*\):*/\1/
16536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16537 fi # test -n "$CONFIG_FILES"
16539 # Set up the scripts for CONFIG_HEADERS section.
16540 # No need to generate them if there are no CONFIG_HEADERS.
16541 # This happens for instance with `./config.status Makefile'.
16542 if test -n "$CONFIG_HEADERS"; then
16543 cat >"$tmp/defines.awk" <<\_ACAWK ||
16547 # Transform confdefs.h into an awk script `defines.awk', embedded as
16548 # here-document in config.status, that substitutes the proper values into
16549 # config.h.in to produce config.h.
16551 # Create a delimiter string that does not exist in confdefs.h, to ease
16552 # handling of long lines.
16554 for ac_last_try in false false :; do
16555 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16556 if test -z "$ac_t"; then
16558 elif $ac_last_try; then
16559 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
16560 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
16561 { (exit 1); exit 1; }; }
16563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16567 # For the awk script, D is an array of macro values keyed by name,
16568 # likewise P contains macro parameters if any. Preserve backslash
16569 # newline sequences.
16571 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16573 s/.\{148\}/&'"$ac_delim"'/g
16576 s/^[ ]*#[ ]*define[ ][ ]*/ /
16583 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16585 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16589 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16590 D["\1"]=" \3\\\\\\n"\\/p
16592 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16597 s/.\{148\}/&'"$ac_delim"'/g
16602 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16605 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16607 ' <confdefs.h | sed '
16608 s/'"$ac_delim"'/"\\\
16609 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16612 for (key in D) D_is_set[key] = 1
16615 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16617 split(line, arg, " ")
16618 if (arg[1] == "#") {
16622 defundef = substr(arg[1], 2)
16625 split(mac1, mac2, "(") #)
16627 prefix = substr(line, 1, index(line, defundef) - 1)
16628 if (D_is_set[macro]) {
16629 # Preserve the white space surrounding the "#".
16630 print prefix "define", macro P[macro] D[macro]
16633 # Replace #undef with comments. This is necessary, for example,
16634 # in the case of _POSIX_SOURCE, which is predefined and required
16635 # on some systems where configure will not decide to define it.
16636 if (defundef == "undef") {
16637 print "/*", prefix defundef, macro, "*/"
16645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16646 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16647 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16648 { (exit 1); exit 1; }; }
16649 fi # test -n "$CONFIG_HEADERS"
16652 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16657 :[FHLC]) ac_mode=$ac_tag; continue;;
16659 case $ac_mode$ac_tag in
16661 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16662 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16663 { (exit 1); exit 1; }; };;
16664 :[FH]-) ac_tag=-:-;;
16665 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16682 -) ac_f="$tmp/stdin";;
16683 *) # Look for the file first in the build tree, then in the source tree
16684 # (if the path is not absolute). The absolute path cannot be DOS-style,
16685 # because $ac_f cannot contain `:'.
16689 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16691 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16692 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16693 { (exit 1); exit 1; }; };;
16695 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16696 ac_file_inputs="$ac_file_inputs '$ac_f'"
16699 # Let's still pretend it is `configure' which instantiates (i.e., don't
16700 # use $as_me), people would be surprised to read:
16701 # /* config.h. Generated by config.status. */
16702 configure_input='Generated from '`
16703 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16705 if test x"$ac_file" != x-; then
16706 configure_input="$ac_file. $configure_input"
16707 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16708 $as_echo "$as_me: creating $ac_file" >&6;}
16710 # Neutralize special characters interpreted by sed in replacement strings.
16711 case $configure_input in #(
16712 *\&* | *\|* | *\\* )
16713 ac_sed_conf_input=`$as_echo "$configure_input" |
16714 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16715 *) ac_sed_conf_input=$configure_input;;
16719 *:-:* | *:-) cat >"$tmp/stdin" \
16720 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16721 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16722 { (exit 1); exit 1; }; } ;;
16727 ac_dir=`$as_dirname -- "$ac_file" ||
16728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16729 X"$ac_file" : 'X\(//\)[^/]' \| \
16730 X"$ac_file" : 'X\(//\)$' \| \
16731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16732 $as_echo X"$ac_file" |
16733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16737 /^X\(\/\/\)[^/].*/{
16752 -*) as_dir=./$as_dir;;
16754 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16758 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16759 *) as_qdir=$as_dir;;
16761 as_dirs="'$as_qdir' $as_dirs"
16762 as_dir=`$as_dirname -- "$as_dir" ||
16763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16764 X"$as_dir" : 'X\(//\)[^/]' \| \
16765 X"$as_dir" : 'X\(//\)$' \| \
16766 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16767 $as_echo X"$as_dir" |
16768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16772 /^X\(\/\/\)[^/].*/{
16785 test -d "$as_dir" && break
16787 test -z "$as_dirs" || eval "mkdir $as_dirs"
16788 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16789 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16790 { (exit 1); exit 1; }; }; }
16794 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16796 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16797 # A ".." for each directory in $ac_dir_suffix.
16798 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16799 case $ac_top_builddir_sub in
16800 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16801 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16804 ac_abs_top_builddir=$ac_pwd
16805 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16806 # for backward compatibility:
16807 ac_top_builddir=$ac_top_build_prefix
16810 .) # We are building in place.
16812 ac_top_srcdir=$ac_top_builddir_sub
16813 ac_abs_top_srcdir=$ac_pwd ;;
16814 [\\/]* | ?:[\\/]* ) # Absolute name.
16815 ac_srcdir=$srcdir$ac_dir_suffix;
16816 ac_top_srcdir=$srcdir
16817 ac_abs_top_srcdir=$srcdir ;;
16818 *) # Relative name.
16819 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16820 ac_top_srcdir=$ac_top_build_prefix$srcdir
16821 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16823 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16833 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16834 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16836 ac_MKDIR_P=$MKDIR_P
16838 [\\/$]* | ?:[\\/]* ) ;;
16839 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16844 # If the template does not know about datarootdir, expand it.
16845 # FIXME: This hack should be removed a few years after 2.60.
16846 ac_datarootdir_hack=; ac_datarootdir_seen=
16859 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16860 *datarootdir*) ac_datarootdir_seen=yes;;
16861 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16862 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16863 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16866 ac_datarootdir_hack='
16867 s&@datadir@&$datadir&g
16868 s&@docdir@&$docdir&g
16869 s&@infodir@&$infodir&g
16870 s&@localedir@&$localedir&g
16871 s&@mandir@&$mandir&g
16872 s&\\\${datarootdir}&$datarootdir&g' ;;
16876 # Neutralize VPATH when `$srcdir' = `.'.
16877 # Shell code in configure.ac might set extrasub.
16878 # FIXME: do we really want to maintain this feature?
16879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16880 ac_sed_extra="$ac_vpsub
16883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16885 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16886 s|@configure_input@|$ac_sed_conf_input|;t t
16887 s&@top_builddir@&$ac_top_builddir_sub&;t t
16888 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16889 s&@srcdir@&$ac_srcdir&;t t
16890 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16891 s&@top_srcdir@&$ac_top_srcdir&;t t
16892 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16893 s&@builddir@&$ac_builddir&;t t
16894 s&@abs_builddir@&$ac_abs_builddir&;t t
16895 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16896 s&@INSTALL@&$ac_INSTALL&;t t
16897 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16898 $ac_datarootdir_hack
16900 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16901 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16902 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16903 { (exit 1); exit 1; }; }
16905 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16906 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16907 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16908 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16909 which seems to be undefined. Please make sure it is defined." >&5
16910 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16911 which seems to be undefined. Please make sure it is defined." >&2;}
16915 -) cat "$tmp/out" && rm -f "$tmp/out";;
16916 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16918 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16919 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16920 { (exit 1); exit 1; }; }
16926 if test x"$ac_file" != x-; then
16928 $as_echo "/* $configure_input */" \
16929 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16930 } >"$tmp/config.h" \
16931 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16932 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16933 { (exit 1); exit 1; }; }
16934 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16935 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16936 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16939 mv "$tmp/config.h" "$ac_file" \
16940 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16941 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16942 { (exit 1); exit 1; }; }
16945 $as_echo "/* $configure_input */" \
16946 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16947 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16948 $as_echo "$as_me: error: could not create -" >&2;}
16949 { (exit 1); exit 1; }; }
16951 # Compute "$ac_file"'s index in $config_headers.
16954 for _am_header in $config_headers :; do
16955 case $_am_header in
16956 $_am_arg | $_am_arg:* )
16959 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16962 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16963 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16964 X"$_am_arg" : 'X\(//\)[^/]' \| \
16965 X"$_am_arg" : 'X\(//\)$' \| \
16966 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16967 $as_echo X"$_am_arg" |
16968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16972 /^X\(\/\/\)[^/].*/{
16984 s/.*/./; q'`/stamp-h$_am_stamp_count
16987 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
16988 $as_echo "$as_me: executing $ac_file commands" >&6;}
16993 case $ac_file$ac_mode in
16994 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16995 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16996 # are listed without --file. Let's play safe and only enable the eval
16997 # if we detect the quoting.
16998 case $CONFIG_FILES in
16999 *\'*) eval set x "$CONFIG_FILES" ;;
17000 *) set x $CONFIG_FILES ;;
17005 # Strip MF so we end up with the name of the file.
17006 mf=`echo "$mf" | sed -e 's/:.*$//'`
17007 # Check whether this is an Automake generated Makefile or not.
17008 # We used to match only the files named `Makefile.in', but
17009 # some people rename them; so instead we look at the file content.
17010 # Grep'ing the first line is not enough: some people post-process
17011 # each Makefile.in and add a new line on top of each file to say so.
17012 # Grep'ing the whole file is not good either: AIX grep has a line
17013 # limit of 2048, but all sed's we know have understand at least 4000.
17014 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17015 dirpart=`$as_dirname -- "$mf" ||
17016 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17017 X"$mf" : 'X\(//\)[^/]' \| \
17018 X"$mf" : 'X\(//\)$' \| \
17019 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17025 /^X\(\/\/\)[^/].*/{
17041 # Extract the definition of DEPDIR, am__include, and am__quote
17042 # from the Makefile without running `make'.
17043 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17044 test -z "$DEPDIR" && continue
17045 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17046 test -z "am__include" && continue
17047 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17048 # When using ansi2knr, U may be empty or an underscore; expand it
17049 U=`sed -n 's/^U = //p' < "$mf"`
17050 # Find all dependency output files, they are included files with
17051 # $(DEPDIR) in their names. We invoke sed twice because it is the
17052 # simplest approach to changing $(DEPDIR) to its actual value in the
17054 for file in `sed -n "
17055 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17056 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17057 # Make sure the directory exists.
17058 test -f "$dirpart/$file" && continue
17059 fdir=`$as_dirname -- "$file" ||
17060 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17061 X"$file" : 'X\(//\)[^/]' \| \
17062 X"$file" : 'X\(//\)$' \| \
17063 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17064 $as_echo X"$file" |
17065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17069 /^X\(\/\/\)[^/].*/{
17082 { as_dir=$dirpart/$fdir
17084 -*) as_dir=./$as_dir;;
17086 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17090 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17091 *) as_qdir=$as_dir;;
17093 as_dirs="'$as_qdir' $as_dirs"
17094 as_dir=`$as_dirname -- "$as_dir" ||
17095 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17096 X"$as_dir" : 'X\(//\)[^/]' \| \
17097 X"$as_dir" : 'X\(//\)$' \| \
17098 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17099 $as_echo X"$as_dir" |
17100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17104 /^X\(\/\/\)[^/].*/{
17117 test -d "$as_dir" && break
17119 test -z "$as_dirs" || eval "mkdir $as_dirs"
17120 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17121 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
17122 { (exit 1); exit 1; }; }; }
17123 # echo "creating $dirpart/$file"
17124 echo '# dummy' > "$dirpart/$file"
17131 # See if we are running on zsh, and set the options which allow our
17132 # commands through without removal of \ escapes.
17133 if test -n "${ZSH_VERSION+set}" ; then
17134 setopt NO_GLOB_SUBST
17137 cfgfile="${ofile}T"
17138 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17141 cat <<_LT_EOF >> "$cfgfile"
17144 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17145 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17146 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17147 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17149 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17150 # 2006, 2007, 2008 Free Software Foundation, Inc.
17151 # Written by Gordon Matzigkeit, 1996
17153 # This file is part of GNU Libtool.
17155 # GNU Libtool is free software; you can redistribute it and/or
17156 # modify it under the terms of the GNU General Public License as
17157 # published by the Free Software Foundation; either version 2 of
17158 # the License, or (at your option) any later version.
17160 # As a special exception to the GNU General Public License,
17161 # if you distribute this file as part of a program or library that
17162 # is built using GNU Libtool, you may include this file under the
17163 # same distribution terms that you use for the rest of that program.
17165 # GNU Libtool is distributed in the hope that it will be useful,
17166 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17167 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17168 # GNU General Public License for more details.
17170 # You should have received a copy of the GNU General Public License
17171 # along with GNU Libtool; see the file COPYING. If not, a copy
17172 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17173 # obtained by writing to the Free Software Foundation, Inc.,
17174 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17177 # The names of the tagged configurations supported by this script.
17180 # ### BEGIN LIBTOOL CONFIG
17182 # Which release of libtool.m4 was used?
17183 macro_version=$macro_version
17184 macro_revision=$macro_revision
17186 # Whether or not to build shared libraries.
17187 build_libtool_libs=$enable_shared
17189 # Whether or not to build static libraries.
17190 build_old_libs=$enable_static
17192 # What type of objects to build.
17195 # Whether or not to optimize for fast installation.
17196 fast_install=$enable_fast_install
17199 host_alias=$host_alias
17203 # The build system.
17204 build_alias=$build_alias
17208 # A sed program that does not truncate output.
17211 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17212 Xsed="\$SED -e 1s/^X//"
17214 # A grep program that handles long lines.
17220 # A literal string matcher.
17223 # A BSD- or MS-compatible name lister.
17226 # Whether we need soft or hard links.
17229 # What is the maximum length of a command?
17230 max_cmd_len=$max_cmd_len
17232 # Object file suffix (normally "o").
17235 # Executable file suffix (normally "").
17238 # whether the shell understands "unset".
17241 # turn spaces into newlines.
17244 # turn newlines into spaces.
17247 # How to create reloadable object files.
17248 reload_flag=$lt_reload_flag
17249 reload_cmds=$lt_reload_cmds
17251 # An object symbol dumper.
17252 OBJDUMP=$lt_OBJDUMP
17254 # Method to check whether dependent libraries are shared objects.
17255 deplibs_check_method=$lt_deplibs_check_method
17257 # Command to use when deplibs_check_method == "file_magic".
17258 file_magic_cmd=$lt_file_magic_cmd
17262 AR_FLAGS=$lt_AR_FLAGS
17264 # A symbol stripping program.
17267 # Commands used to install an old-style archive.
17269 old_postinstall_cmds=$lt_old_postinstall_cmds
17270 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17275 # LTCC compiler flags.
17276 LTCFLAGS=$lt_CFLAGS
17278 # Take the output of nm and produce a listing of raw symbols and C names.
17279 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17281 # Transform the output of nm in a proper C declaration.
17282 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17284 # Transform the output of nm in a C name address pair.
17285 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17287 # Transform the output of nm in a C name address pair when lib prefix is needed.
17288 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17290 # The name of the directory that contains temporary libtool files.
17293 # Shell to use when invoking shell scripts.
17296 # An echo program that does not interpret backslashes.
17299 # Used to examine libraries when file_magic_cmd begins with "file".
17300 MAGIC_CMD=$MAGIC_CMD
17302 # Must we lock files when doing compilation?
17303 need_locks=$lt_need_locks
17305 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17306 DSYMUTIL=$lt_DSYMUTIL
17308 # Tool to change global to local symbols on Mac OS X.
17311 # Tool to manipulate fat objects and archives on Mac OS X.
17314 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17317 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17318 OTOOL64=$lt_OTOOL64
17320 # Old archive suffix (normally "a").
17323 # Shared library suffix (normally ".so").
17324 shrext_cmds=$lt_shrext_cmds
17326 # The commands to extract the exported symbol list from a shared archive.
17327 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17329 # Variables whose values should be saved in libtool wrapper scripts and
17330 # restored at link time.
17331 variables_saved_for_relink=$lt_variables_saved_for_relink
17333 # Do we need the "lib" prefix for modules?
17334 need_lib_prefix=$need_lib_prefix
17336 # Do we need a version for libraries?
17337 need_version=$need_version
17339 # Library versioning type.
17340 version_type=$version_type
17342 # Shared library runtime path variable.
17343 runpath_var=$runpath_var
17345 # Shared library path variable.
17346 shlibpath_var=$shlibpath_var
17348 # Is shlibpath searched before the hard-coded library search path?
17349 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17351 # Format of library name prefix.
17352 libname_spec=$lt_libname_spec
17354 # List of archive names. First name is the real one, the rest are links.
17355 # The last name is the one that the linker finds with -lNAME
17356 library_names_spec=$lt_library_names_spec
17358 # The coded name of the library, if different from the real name.
17359 soname_spec=$lt_soname_spec
17361 # Command to use after installation of a shared archive.
17362 postinstall_cmds=$lt_postinstall_cmds
17364 # Command to use after uninstallation of a shared archive.
17365 postuninstall_cmds=$lt_postuninstall_cmds
17367 # Commands used to finish a libtool library installation in a directory.
17368 finish_cmds=$lt_finish_cmds
17370 # As "finish_cmds", except a single script fragment to be evaled but
17372 finish_eval=$lt_finish_eval
17374 # Whether we should hardcode library paths into libraries.
17375 hardcode_into_libs=$hardcode_into_libs
17377 # Compile-time system search path for libraries.
17378 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17380 # Run-time system search path for libraries.
17381 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17383 # Whether dlopen is supported.
17384 dlopen_support=$enable_dlopen
17386 # Whether dlopen of programs is supported.
17387 dlopen_self=$enable_dlopen_self
17389 # Whether dlopen of statically linked programs is supported.
17390 dlopen_self_static=$enable_dlopen_self_static
17392 # Commands to strip libraries.
17393 old_striplib=$lt_old_striplib
17394 striplib=$lt_striplib
17397 # The linker used to build libraries.
17400 # Commands used to build an old-style archive.
17401 old_archive_cmds=$lt_old_archive_cmds
17403 # A language specific compiler.
17406 # Is the compiler the GNU compiler?
17409 # Compiler flag to turn off builtin functions.
17410 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17412 # How to pass a linker flag through the compiler.
17413 wl=$lt_lt_prog_compiler_wl
17415 # Additional compiler flags for building library objects.
17416 pic_flag=$lt_lt_prog_compiler_pic
17418 # Compiler flag to prevent dynamic linking.
17419 link_static_flag=$lt_lt_prog_compiler_static
17421 # Does compiler simultaneously support -c and -o options?
17422 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17424 # Whether or not to add -lc for building shared libraries.
17425 build_libtool_need_lc=$archive_cmds_need_lc
17427 # Whether or not to disallow shared libs when runtime libs are static.
17428 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17430 # Compiler flag to allow reflexive dlopens.
17431 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17433 # Compiler flag to generate shared objects directly from archives.
17434 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17436 # Whether the compiler copes with passing no objects directly.
17437 compiler_needs_object=$lt_compiler_needs_object
17439 # Create an old-style archive from a shared archive.
17440 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17442 # Create a temporary old-style archive to link instead of a shared archive.
17443 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17445 # Commands used to build a shared archive.
17446 archive_cmds=$lt_archive_cmds
17447 archive_expsym_cmds=$lt_archive_expsym_cmds
17449 # Commands used to build a loadable module if different from building
17450 # a shared archive.
17451 module_cmds=$lt_module_cmds
17452 module_expsym_cmds=$lt_module_expsym_cmds
17454 # Whether we are building with GNU ld or not.
17455 with_gnu_ld=$lt_with_gnu_ld
17457 # Flag that allows shared libraries with undefined symbols to be built.
17458 allow_undefined_flag=$lt_allow_undefined_flag
17460 # Flag that enforces no undefined symbols.
17461 no_undefined_flag=$lt_no_undefined_flag
17463 # Flag to hardcode \$libdir into a binary during linking.
17464 # This must work even if \$libdir does not exist
17465 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17467 # If ld is used when linking, flag to hardcode \$libdir into a binary
17468 # during linking. This must work even if \$libdir does not exist.
17469 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17471 # Whether we need a single "-rpath" flag with a separated argument.
17472 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17474 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17475 # DIR into the resulting binary.
17476 hardcode_direct=$hardcode_direct
17478 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17479 # DIR into the resulting binary and the resulting library dependency is
17480 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17481 # library is relocated.
17482 hardcode_direct_absolute=$hardcode_direct_absolute
17484 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17485 # into the resulting binary.
17486 hardcode_minus_L=$hardcode_minus_L
17488 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17489 # into the resulting binary.
17490 hardcode_shlibpath_var=$hardcode_shlibpath_var
17492 # Set to "yes" if building a shared library automatically hardcodes DIR
17493 # into the library and all subsequent libraries and executables linked
17495 hardcode_automatic=$hardcode_automatic
17497 # Set to yes if linker adds runtime paths of dependent libraries
17498 # to runtime path list.
17499 inherit_rpath=$inherit_rpath
17501 # Whether libtool must link a program against all its dependency libraries.
17502 link_all_deplibs=$link_all_deplibs
17504 # Fix the shell variable \$srcfile for the compiler.
17505 fix_srcfile_path=$lt_fix_srcfile_path
17507 # Set to "yes" if exported symbols are required.
17508 always_export_symbols=$always_export_symbols
17510 # The commands to list exported symbols.
17511 export_symbols_cmds=$lt_export_symbols_cmds
17513 # Symbols that should not be listed in the preloaded symbols.
17514 exclude_expsyms=$lt_exclude_expsyms
17516 # Symbols that must always be exported.
17517 include_expsyms=$lt_include_expsyms
17519 # Commands necessary for linking programs (against libraries) with templates.
17520 prelink_cmds=$lt_prelink_cmds
17522 # Specify filename containing input files.
17523 file_list_spec=$lt_file_list_spec
17525 # How to hardcode a shared library path into an executable.
17526 hardcode_action=$hardcode_action
17528 # ### END LIBTOOL CONFIG
17534 cat <<\_LT_EOF >> "$cfgfile"
17535 # AIX sometimes has problems with the GCC collect2 program. For some
17536 # reason, if we set the COLLECT_NAMES environment variable, the problems
17537 # vanish in a puff of smoke.
17538 if test "X${COLLECT_NAMES+set}" != Xset; then
17540 export COLLECT_NAMES
17547 ltmain="$ac_aux_dir/ltmain.sh"
17550 # We use sed instead of cat because bash on DJGPP gets confused if
17551 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17552 # text mode, it properly converts lines to CR/LF. This bash problem
17553 # is reportedly fixed, but why not run on old versions too?
17554 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17555 || (rm -f "$cfgfile"; exit 1)
17559 cat << \_LT_EOF >> "$cfgfile"
17561 # func_dirname file append nondir_replacement
17562 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17563 # otherwise set result to NONDIR_REPLACEMENT.
17567 */*) func_dirname_result="${1%/*}${2}" ;;
17568 * ) func_dirname_result="${3}" ;;
17572 # func_basename file
17575 func_basename_result="${1##*/}"
17578 # func_dirname_and_basename file append nondir_replacement
17579 # perform func_basename and func_dirname in a single function
17581 # dirname: Compute the dirname of FILE. If nonempty,
17582 # add APPEND to the result, otherwise set result
17583 # to NONDIR_REPLACEMENT.
17584 # value returned in "$func_dirname_result"
17585 # basename: Compute filename of FILE.
17586 # value retuned in "$func_basename_result"
17587 # Implementation must be kept synchronized with func_dirname
17588 # and func_basename. For efficiency, we do not delegate to
17589 # those functions but instead duplicate the functionality here.
17590 func_dirname_and_basename ()
17593 */*) func_dirname_result="${1%/*}${2}" ;;
17594 * ) func_dirname_result="${3}" ;;
17596 func_basename_result="${1##*/}"
17599 # func_stripname prefix suffix name
17600 # strip PREFIX and SUFFIX off of NAME.
17601 # PREFIX and SUFFIX must not contain globbing or regex special
17602 # characters, hashes, percent signs, but SUFFIX may contain a leading
17603 # dot (in which case that matches only a dot).
17606 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17607 # positional parameters, so assign one to ordinary parameter first.
17608 func_stripname_result=${3}
17609 func_stripname_result=${func_stripname_result#"${1}"}
17610 func_stripname_result=${func_stripname_result%"${2}"}
17616 func_opt_split_opt=${1%%=*}
17617 func_opt_split_arg=${1#*=}
17624 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17625 *) func_lo2o_result=${1} ;;
17629 # func_xform libobj-or-source
17632 func_xform_result=${1%.*}.lo
17635 # func_arith arithmetic-term...
17638 func_arith_result=$(( $* ))
17642 # STRING may not start with a hyphen.
17645 func_len_result=${#1}
17650 *) # Bourne compatible functions.
17651 cat << \_LT_EOF >> "$cfgfile"
17653 # func_dirname file append nondir_replacement
17654 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17655 # otherwise set result to NONDIR_REPLACEMENT.
17658 # Extract subdirectory from the argument.
17659 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17660 if test "X$func_dirname_result" = "X${1}"; then
17661 func_dirname_result="${3}"
17663 func_dirname_result="$func_dirname_result${2}"
17667 # func_basename file
17670 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17674 # func_stripname prefix suffix name
17675 # strip PREFIX and SUFFIX off of NAME.
17676 # PREFIX and SUFFIX must not contain globbing or regex special
17677 # characters, hashes, percent signs, but SUFFIX may contain a leading
17678 # dot (in which case that matches only a dot).
17679 # func_strip_suffix prefix name
17683 .*) func_stripname_result=`$ECHO "X${3}" \
17684 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17685 *) func_stripname_result=`$ECHO "X${3}" \
17686 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17691 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17692 my_sed_long_arg='1s/^-[^=]*=//'
17697 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17698 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17704 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17707 # func_xform libobj-or-source
17710 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17713 # func_arith arithmetic-term...
17716 func_arith_result=`expr "$@"`
17720 # STRING may not start with a hyphen.
17723 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17729 case $lt_shell_append in
17731 cat << \_LT_EOF >> "$cfgfile"
17733 # func_append var value
17734 # Append VALUE to the end of shell variable VAR.
17742 cat << \_LT_EOF >> "$cfgfile"
17744 # func_append var value
17745 # Append VALUE to the end of shell variable VAR.
17756 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17757 || (rm -f "$cfgfile"; exit 1)
17759 mv -f "$cfgfile" "$ofile" ||
17760 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17769 { (exit 0); exit 0; }
17771 chmod +x $CONFIG_STATUS
17772 ac_clean_files=$ac_clean_files_save
17774 test $ac_write_fail = 0 ||
17775 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17776 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17777 { (exit 1); exit 1; }; }
17780 # configure is writing to config.log, and then calls config.status.
17781 # config.status does its own redirection, appending to config.log.
17782 # Unfortunately, on DOS this fails, as config.log is still kept open
17783 # by configure, so config.status won't be able to write to it; its
17784 # output is simply discarded. So we exec the FD to /dev/null,
17785 # effectively closing config.log, so it can be properly (re)opened and
17786 # appended to by config.status. When coming back to configure, we
17787 # need to make the FD available again.
17788 if test "$no_create" != yes; then
17790 ac_config_status_args=
17791 test "$silent" = yes &&
17792 ac_config_status_args="$ac_config_status_args --quiet"
17794 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17796 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17797 # would make configure fail if this is the last instruction.
17798 $ac_cs_success || { (exit 1); exit 1; }
17800 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17801 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17802 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}