2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for iptables 1.4.9.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs 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 ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo; then
568 # Avoid inline document here, it may be left over
570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $ECHO works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
591 if test -z "$lt_ECHO"; then
592 if test "X${echo_test_string+set}" != Xset; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
597 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
604 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
609 # The Solaris, AIX, and Digital Unix default echo programs unquote
610 # backslashes. This makes it impossible to quote backslashes using
611 # echo "$something" | sed 's/\\/\\\\/g'
613 # So, first we look for a working echo in the user's PATH.
615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
616 for dir in $PATH /usr/ucb; do
618 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
619 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621 test "X$echo_testing_string" = "X$echo_test_string"; then
628 if test "X$ECHO" = Xecho; then
629 # We didn't find a better echo, so look for alternatives.
630 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # This shell has a builtin print -r that does the trick.
635 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
636 test "X$CONFIG_SHELL" != X/bin/ksh; then
637 # If we have ksh, try running configure again with it.
638 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
639 export ORIGINAL_CONFIG_SHELL
640 CONFIG_SHELL=/bin/ksh
642 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
651 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652 test "X$echo_testing_string" = 'X\t' &&
653 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657 SHELL="$CONFIG_SHELL"
659 ECHO="$CONFIG_SHELL $0 --fallback-echo"
660 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661 test "X$echo_testing_string" = 'X\t' &&
662 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663 test "X$echo_testing_string" = "X$echo_test_string"; then
664 ECHO="$CONFIG_SHELL $0 --fallback-echo"
666 # maybe with a smaller string...
669 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
677 if test "$prev" != 'sed 50q "$0"'; then
678 echo_test_string=`eval $prev`
679 export echo_test_string
680 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682 # Oops. We lost completely, so just stick with echo.
691 # Copy echo and quote the copy suitably for passing to libtool from
692 # the Makefile, instead of quoting the original, which is used later.
694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
701 exec 7<&0 </dev/null 6>&1
704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705 # so uname gets run too.
706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
711 ac_default_prefix=/usr/local
713 ac_config_libobj_dir=.
719 SHELL=${CONFIG_SHELL-/bin/sh}
721 # Identity of this package.
722 PACKAGE_NAME='iptables'
723 PACKAGE_TARNAME='iptables'
724 PACKAGE_VERSION='1.4.9.1'
725 PACKAGE_STRING='iptables 1.4.9.1'
728 # Factoring default headers for most tests.
729 ac_includes_default="\
731 #ifdef HAVE_SYS_TYPES_H
732 # include <sys/types.h>
734 #ifdef HAVE_SYS_STAT_H
735 # include <sys/stat.h>
741 # ifdef HAVE_STDLIB_H
746 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
751 #ifdef HAVE_STRINGS_H
752 # include <strings.h>
754 #ifdef HAVE_INTTYPES_H
755 # include <inttypes.h>
773 program_transform_name
815 INSTALL_STRIP_PROGRAM
875 ENABLE_LARGEFILE_TRUE
876 ENABLE_LARGEFILE_FALSE
884 HAVE_LIBNFNETLINK_TRUE
885 HAVE_LIBNFNETLINK_FALSE
899 ac_precious_vars='build_alias
913 # Initialize some variables set by options.
915 ac_init_version=false
916 # The variables have the same names as the options, with
917 # dashes changed to underlines.
925 program_transform_name=s,x,x,
933 # Installation directory options.
934 # These are left unexpanded so users can "make install exec_prefix=/foo"
935 # and all the variables that are supposed to be based on exec_prefix
936 # by default will actually change.
937 # Use braces instead of parens because sh, perl, etc. also accept them.
938 # (The list follows the same order as the GNU Coding Standards.)
939 bindir='${exec_prefix}/bin'
940 sbindir='${exec_prefix}/sbin'
941 libexecdir='${exec_prefix}/libexec'
942 datarootdir='${prefix}/share'
943 datadir='${datarootdir}'
944 sysconfdir='${prefix}/etc'
945 sharedstatedir='${prefix}/com'
946 localstatedir='${prefix}/var'
947 includedir='${prefix}/include'
948 oldincludedir='/usr/include'
949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
950 infodir='${datarootdir}/info'
955 libdir='${exec_prefix}/lib'
956 localedir='${datarootdir}/locale'
957 mandir='${datarootdir}/man'
963 # If the previous option needs an argument, assign it.
964 if test -n "$ac_prev"; then
965 eval $ac_prev=\$ac_option
971 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 # Accept the important Cygnus configure options, so we can diagnose typos.
977 case $ac_dashdash$ac_option in
981 -bindir | --bindir | --bindi | --bind | --bin | --bi)
983 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
986 -build | --build | --buil | --bui | --bu)
987 ac_prev=build_alias ;;
988 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
989 build_alias=$ac_optarg ;;
991 -cache-file | --cache-file | --cache-fil | --cache-fi \
992 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
993 ac_prev=cache_file ;;
994 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
995 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
996 cache_file=$ac_optarg ;;
999 cache_file=config.cache ;;
1001 -datadir | --datadir | --datadi | --datad)
1003 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1004 datadir=$ac_optarg ;;
1006 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1007 | --dataroo | --dataro | --datar)
1008 ac_prev=datarootdir ;;
1009 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1010 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1011 datarootdir=$ac_optarg ;;
1013 -disable-* | --disable-*)
1014 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1017 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1020 eval enable_$ac_feature=no ;;
1022 -docdir | --docdir | --docdi | --doc | --do)
1024 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1025 docdir=$ac_optarg ;;
1027 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1029 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1030 dvidir=$ac_optarg ;;
1032 -enable-* | --enable-*)
1033 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1036 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1037 { (exit 1); exit 1; }; }
1038 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1039 eval enable_$ac_feature=\$ac_optarg ;;
1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043 | --exec | --exe | --ex)
1044 ac_prev=exec_prefix ;;
1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047 | --exec=* | --exe=* | --ex=*)
1048 exec_prefix=$ac_optarg ;;
1050 -gas | --gas | --ga | --g)
1051 # Obsolete; use --with-gas.
1054 -help | --help | --hel | --he | -h)
1055 ac_init_help=long ;;
1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057 ac_init_help=recursive ;;
1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059 ac_init_help=short ;;
1061 -host | --host | --hos | --ho)
1062 ac_prev=host_alias ;;
1063 -host=* | --host=* | --hos=* | --ho=*)
1064 host_alias=$ac_optarg ;;
1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1070 htmldir=$ac_optarg ;;
1072 -includedir | --includedir | --includedi | --included | --include \
1073 | --includ | --inclu | --incl | --inc)
1074 ac_prev=includedir ;;
1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076 | --includ=* | --inclu=* | --incl=* | --inc=*)
1077 includedir=$ac_optarg ;;
1079 -infodir | --infodir | --infodi | --infod | --info | --inf)
1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082 infodir=$ac_optarg ;;
1084 -libdir | --libdir | --libdi | --libd)
1086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087 libdir=$ac_optarg ;;
1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090 | --libexe | --libex | --libe)
1091 ac_prev=libexecdir ;;
1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093 | --libexe=* | --libex=* | --libe=*)
1094 libexecdir=$ac_optarg ;;
1096 -localedir | --localedir | --localedi | --localed | --locale)
1097 ac_prev=localedir ;;
1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099 localedir=$ac_optarg ;;
1101 -localstatedir | --localstatedir | --localstatedi | --localstated \
1102 | --localstate | --localstat | --localsta | --localst | --locals)
1103 ac_prev=localstatedir ;;
1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106 localstatedir=$ac_optarg ;;
1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111 mandir=$ac_optarg ;;
1113 -nfp | --nfp | --nf)
1114 # Obsolete; use --without-fp.
1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118 | --no-cr | --no-c | -n)
1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127 | --oldin | --oldi | --old | --ol | --o)
1128 ac_prev=oldincludedir ;;
1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132 oldincludedir=$ac_optarg ;;
1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137 prefix=$ac_optarg ;;
1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140 | --program-pre | --program-pr | --program-p)
1141 ac_prev=program_prefix ;;
1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144 program_prefix=$ac_optarg ;;
1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147 | --program-suf | --program-su | --program-s)
1148 ac_prev=program_suffix ;;
1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151 program_suffix=$ac_optarg ;;
1153 -program-transform-name | --program-transform-name \
1154 | --program-transform-nam | --program-transform-na \
1155 | --program-transform-n | --program-transform- \
1156 | --program-transform | --program-transfor \
1157 | --program-transfo | --program-transf \
1158 | --program-trans | --program-tran \
1159 | --progr-tra | --program-tr | --program-t)
1160 ac_prev=program_transform_name ;;
1161 -program-transform-name=* | --program-transform-name=* \
1162 | --program-transform-nam=* | --program-transform-na=* \
1163 | --program-transform-n=* | --program-transform-=* \
1164 | --program-transform=* | --program-transfor=* \
1165 | --program-transfo=* | --program-transf=* \
1166 | --program-trans=* | --program-tran=* \
1167 | --progr-tra=* | --program-tr=* | --program-t=*)
1168 program_transform_name=$ac_optarg ;;
1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173 pdfdir=$ac_optarg ;;
1175 -psdir | --psdir | --psdi | --psd | --ps)
1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181 | -silent | --silent | --silen | --sile | --sil)
1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1188 sbindir=$ac_optarg ;;
1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192 | --sharedst | --shareds | --shared | --share | --shar \
1194 ac_prev=sharedstatedir ;;
1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1199 sharedstatedir=$ac_optarg ;;
1201 -site | --site | --sit)
1203 -site=* | --site=* | --sit=*)
1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 srcdir=$ac_optarg ;;
1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212 | --syscon | --sysco | --sysc | --sys | --sy)
1213 ac_prev=sysconfdir ;;
1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 sysconfdir=$ac_optarg ;;
1218 -target | --target | --targe | --targ | --tar | --ta | --t)
1219 ac_prev=target_alias ;;
1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 target_alias=$ac_optarg ;;
1223 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1226 -version | --version | --versio | --versi | --vers | -V)
1227 ac_init_version=: ;;
1230 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233 { echo "$as_me: error: invalid package name: $ac_package" >&2
1234 { (exit 1); exit 1; }; }
1235 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1236 eval with_$ac_package=\$ac_optarg ;;
1238 -without-* | --without-*)
1239 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242 { echo "$as_me: error: invalid package name: $ac_package" >&2
1243 { (exit 1); exit 1; }; }
1244 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1245 eval with_$ac_package=no ;;
1248 # Obsolete; use --with-x.
1251 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1252 | --x-incl | --x-inc | --x-in | --x-i)
1253 ac_prev=x_includes ;;
1254 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1255 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1256 x_includes=$ac_optarg ;;
1258 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1259 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1260 ac_prev=x_libraries ;;
1261 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1262 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1263 x_libraries=$ac_optarg ;;
1265 -*) { echo "$as_me: error: unrecognized option: $ac_option
1266 Try \`$0 --help' for more information." >&2
1267 { (exit 1); exit 1; }; }
1271 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1274 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1275 { (exit 1); exit 1; }; }
1276 eval $ac_envvar=\$ac_optarg
1277 export $ac_envvar ;;
1280 # FIXME: should be removed in autoconf 3.0.
1281 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1282 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1283 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1284 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1290 if test -n "$ac_prev"; then
1291 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1292 { echo "$as_me: error: missing argument to $ac_option" >&2
1293 { (exit 1); exit 1; }; }
1296 # Be sure to have absolute directory names.
1297 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1298 datadir sysconfdir sharedstatedir localstatedir includedir \
1299 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1300 libdir localedir mandir
1302 eval ac_val=\$$ac_var
1304 [\\/$]* | ?:[\\/]* ) continue;;
1305 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1307 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1308 { (exit 1); exit 1; }; }
1311 # There might be people who depend on the old broken behavior: `$host'
1312 # used to hold the argument of --host etc.
1313 # FIXME: To remove some day.
1316 target=$target_alias
1318 # FIXME: To remove some day.
1319 if test "x$host_alias" != x; then
1320 if test "x$build_alias" = x; then
1321 cross_compiling=maybe
1322 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1323 If a cross compiler is detected then cross compile mode will be used." >&2
1324 elif test "x$build_alias" != "x$host_alias"; then
1330 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1332 test "$silent" = yes && exec 6>/dev/null
1335 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1336 ac_ls_di=`ls -di .` &&
1337 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1338 { echo "$as_me: error: Working directory cannot be determined" >&2
1339 { (exit 1); exit 1; }; }
1340 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1341 { echo "$as_me: error: pwd does not report name of working directory" >&2
1342 { (exit 1); exit 1; }; }
1345 # Find the source files, if location was not specified.
1346 if test -z "$srcdir"; then
1347 ac_srcdir_defaulted=yes
1348 # Try the directory containing this script, then the parent directory.
1349 ac_confdir=`$as_dirname -- "$0" ||
1350 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1351 X"$0" : 'X\(//\)[^/]' \| \
1352 X"$0" : 'X\(//\)$' \| \
1353 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1373 if test ! -r "$srcdir/$ac_unique_file"; then
1377 ac_srcdir_defaulted=no
1379 if test ! -r "$srcdir/$ac_unique_file"; then
1380 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1381 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1382 { (exit 1); exit 1; }; }
1384 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1386 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1387 { (exit 1); exit 1; }; }
1389 # When building in place, set srcdir=.
1390 if test "$ac_abs_confdir" = "$ac_pwd"; then
1393 # Remove unnecessary trailing slashes from srcdir.
1394 # Double slashes in file names in object file debugging info
1395 # mess up M-x gdb in Emacs.
1397 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1399 for ac_var in $ac_precious_vars; do
1400 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1401 eval ac_env_${ac_var}_value=\$${ac_var}
1402 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1403 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1407 # Report the --help message.
1409 if test "$ac_init_help" = "long"; then
1410 # Omit some internal or obsolete options to make the list less imposing.
1411 # This message is too long to be a string in the A/UX 3.1 sh.
1413 \`configure' configures iptables 1.4.9.1 to adapt to many kinds of systems.
1415 Usage: $0 [OPTION]... [VAR=VALUE]...
1417 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1418 VAR=VALUE. See below for descriptions of some of the useful variables.
1420 Defaults for the options are specified in brackets.
1423 -h, --help display this help and exit
1424 --help=short display options specific to this package
1425 --help=recursive display the short help of all the included packages
1426 -V, --version display version information and exit
1427 -q, --quiet, --silent do not print \`checking...' messages
1428 --cache-file=FILE cache test results in FILE [disabled]
1429 -C, --config-cache alias for \`--cache-file=config.cache'
1430 -n, --no-create do not create output files
1431 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1433 Installation directories:
1434 --prefix=PREFIX install architecture-independent files in PREFIX
1435 [$ac_default_prefix]
1436 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1439 By default, \`make install' will install all the files in
1440 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1441 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1442 for instance \`--prefix=\$HOME'.
1444 For better control, use the options below.
1446 Fine tuning of the installation directories:
1447 --bindir=DIR user executables [EPREFIX/bin]
1448 --sbindir=DIR system admin executables [EPREFIX/sbin]
1449 --libexecdir=DIR program executables [EPREFIX/libexec]
1450 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1451 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1452 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1453 --libdir=DIR object code libraries [EPREFIX/lib]
1454 --includedir=DIR C header files [PREFIX/include]
1455 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1456 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1457 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1458 --infodir=DIR info documentation [DATAROOTDIR/info]
1459 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1460 --mandir=DIR man documentation [DATAROOTDIR/man]
1461 --docdir=DIR documentation root [DATAROOTDIR/doc/iptables]
1462 --htmldir=DIR html documentation [DOCDIR]
1463 --dvidir=DIR dvi documentation [DOCDIR]
1464 --pdfdir=DIR pdf documentation [DOCDIR]
1465 --psdir=DIR ps documentation [DOCDIR]
1471 --program-prefix=PREFIX prepend PREFIX to installed program names
1472 --program-suffix=SUFFIX append SUFFIX to installed program names
1473 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1476 --build=BUILD configure for building on BUILD [guessed]
1477 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1481 if test -n "$ac_init_help"; then
1482 case $ac_init_help in
1483 short | recursive ) echo "Configuration of iptables 1.4.9.1:";;
1488 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1489 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1490 --disable-dependency-tracking speeds up one-time build
1491 --enable-dependency-tracking do not reject slow dependency extractors
1492 --enable-static[=PKGS] build static libraries [default=no]
1493 --enable-shared[=PKGS] build shared libraries [default=yes]
1494 --enable-fast-install[=PKGS]
1495 optimize for fast installation [default=yes]
1496 --disable-libtool-lock avoid locking (might break parallel builds)
1497 --disable-ipv4 Do not build iptables
1498 --disable-ipv6 Do not build ip6tables
1499 --disable-largefile Do not build largefile support
1500 --enable-devel Install Xtables development headers
1501 --enable-libipq Build and install libipq
1504 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1505 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1506 --with-pic try to use only PIC/non-PIC objects [default=use
1508 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1509 --with-kernel=PATH Path to kernel source/build directory
1510 --with-kbuild=PATH Path to kernel build directory
1511 [/lib/modules/CURRENT/build]
1512 --with-ksource=PATH Path to kernel source directory
1513 [/lib/modules/CURRENT/source]
1514 --with-xtlibdir=PATH Path where to install Xtables extensions
1515 [LIBEXECDIR/xtables]
1516 --with-pkgconfigdir=PATH
1517 Path to the pkgconfig directory [LIBDIR/pkgconfig]
1519 Some influential environment variables:
1520 CC C compiler command
1521 CFLAGS C compiler flags
1522 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1523 nonstandard directory <lib dir>
1524 LIBS libraries to pass to the linker, e.g. -l<library>
1525 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1526 you have headers in a nonstandard directory <include dir>
1528 PKG_CONFIG path to pkg-config utility
1530 C compiler flags for libnfnetlink, overriding pkg-config
1532 linker flags for libnfnetlink, overriding pkg-config
1534 Use these variables to override the choices made by `configure' or to help
1535 it to find libraries and programs with nonstandard names/locations.
1541 if test "$ac_init_help" = "recursive"; then
1542 # If there are subdirs, report their specific --help.
1543 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1544 test -d "$ac_dir" || continue
1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir=$ac_pwd
1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir=$ac_top_build_prefix
1564 .) # We are building in place.
1566 ac_top_srcdir=$ac_top_builddir_sub
1567 ac_abs_top_srcdir=$ac_pwd ;;
1568 [\\/]* | ?:[\\/]* ) # Absolute name.
1569 ac_srcdir=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir=$srcdir
1571 ac_abs_top_srcdir=$srcdir ;;
1573 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" || { ac_status=$?; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" || { ac_status=$?; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1597 iptables configure 1.4.9.1
1598 generated by GNU Autoconf 2.61
1600 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1601 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1602 This configure script is free software; the Free Software Foundation
1603 gives unlimited permission to copy, distribute and modify it.
1607 cat >config.log <<_ACEOF
1608 This file contains any messages produced by compilers while
1609 running configure, to aid debugging if configure makes a mistake.
1611 It was created by iptables $as_me 1.4.9.1, which was
1612 generated by GNU Autoconf 2.61. Invocation command line was
1624 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1625 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1626 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1627 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1628 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1630 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1631 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1633 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1634 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1635 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1636 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1637 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1638 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1639 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir=.
1648 echo "PATH: $as_dir"
1664 # Keep a trace of the command line.
1665 # Strip out --no-create and --no-recursion so they do not pile up.
1666 # Strip out --silent because we don't want to record it for future runs.
1667 # Also quote any args containing shell meta-characters.
1668 # Make two passes to allow for proper duplicate-argument suppression.
1672 ac_must_keep_next=false
1678 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1679 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1680 | -silent | --silent | --silen | --sile | --sil)
1683 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1686 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1688 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1689 if test $ac_must_keep_next = true; then
1690 ac_must_keep_next=false # Got value, back to normal.
1693 *=* | --config-cache | -C | -disable-* | --disable-* \
1694 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1695 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1696 | -with-* | --with-* | -without-* | --without-* | --x)
1697 case "$ac_configure_args0 " in
1698 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1701 -* ) ac_must_keep_next=true ;;
1704 ac_configure_args="$ac_configure_args '$ac_arg'"
1709 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1710 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1712 # When interrupted or exit'd, cleanup temporary files, and complete
1713 # config.log. We remove comments because anyway the quotes in there
1714 # would cause problems or look ugly.
1715 # WARNING: Use '\'' to represent an apostrophe within the trap.
1716 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1717 trap 'exit_status=$?
1718 # Save into config.log some information that might help in debugging.
1723 ## ---------------- ##
1724 ## Cache variables. ##
1725 ## ---------------- ##
1728 # The following way of writing the cache mishandles newlines in values,
1730 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1731 eval ac_val=\$$ac_var
1735 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1736 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1739 _ | IFS | as_nl) ;; #(
1740 *) $as_unset $ac_var ;;
1745 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1746 *${as_nl}ac_space=\ *)
1748 "s/'\''/'\''\\\\'\'''\''/g;
1749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1752 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1760 ## ----------------- ##
1761 ## Output variables. ##
1762 ## ----------------- ##
1765 for ac_var in $ac_subst_vars
1767 eval ac_val=\$$ac_var
1769 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1771 echo "$ac_var='\''$ac_val'\''"
1775 if test -n "$ac_subst_files"; then
1777 ## ------------------- ##
1778 ## File substitutions. ##
1779 ## ------------------- ##
1782 for ac_var in $ac_subst_files
1784 eval ac_val=\$$ac_var
1786 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1788 echo "$ac_var='\''$ac_val'\''"
1793 if test -s confdefs.h; then
1803 test "$ac_signal" != 0 &&
1804 echo "$as_me: caught signal $ac_signal"
1805 echo "$as_me: exit $exit_status"
1807 rm -f core *.core core.conftest.* &&
1808 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1811 for ac_signal in 1 2 13 15; do
1812 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1816 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1817 rm -f -r conftest* confdefs.h
1819 # Predefined preprocessor variables.
1821 cat >>confdefs.h <<_ACEOF
1822 #define PACKAGE_NAME "$PACKAGE_NAME"
1826 cat >>confdefs.h <<_ACEOF
1827 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1831 cat >>confdefs.h <<_ACEOF
1832 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1836 cat >>confdefs.h <<_ACEOF
1837 #define PACKAGE_STRING "$PACKAGE_STRING"
1841 cat >>confdefs.h <<_ACEOF
1842 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1846 # Let the site file select an alternate cache file if it wants to.
1847 # Prefer explicitly selected file to automatically selected ones.
1848 if test -n "$CONFIG_SITE"; then
1849 set x "$CONFIG_SITE"
1850 elif test "x$prefix" != xNONE; then
1851 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1853 set x "$ac_default_prefix/share/config.site" \
1854 "$ac_default_prefix/etc/config.site"
1859 if test -r "$ac_site_file"; then
1860 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1861 echo "$as_me: loading site script $ac_site_file" >&6;}
1862 sed 's/^/| /' "$ac_site_file" >&5
1867 if test -r "$cache_file"; then
1868 # Some versions of bash will fail to source /dev/null (special
1869 # files actually), so we avoid doing that.
1870 if test -f "$cache_file"; then
1871 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1872 echo "$as_me: loading cache $cache_file" >&6;}
1874 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1875 *) . "./$cache_file";;
1879 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1880 echo "$as_me: creating cache $cache_file" >&6;}
1884 # Check that the precious variables saved in the cache have kept the same
1886 ac_cache_corrupted=false
1887 for ac_var in $ac_precious_vars; do
1888 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1889 eval ac_new_set=\$ac_env_${ac_var}_set
1890 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1891 eval ac_new_val=\$ac_env_${ac_var}_value
1892 case $ac_old_set,$ac_new_set in
1894 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1895 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1896 ac_cache_corrupted=: ;;
1898 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1899 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1900 ac_cache_corrupted=: ;;
1903 if test "x$ac_old_val" != "x$ac_new_val"; then
1904 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1905 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1906 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1907 echo "$as_me: former value: $ac_old_val" >&2;}
1908 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1909 echo "$as_me: current value: $ac_new_val" >&2;}
1910 ac_cache_corrupted=:
1913 # Pass precious variables to config.status.
1914 if test "$ac_new_set" = set; then
1916 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1917 *) ac_arg=$ac_var=$ac_new_val ;;
1919 case " $ac_configure_args " in
1920 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1921 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1925 if $ac_cache_corrupted; then
1926 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1927 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1928 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1929 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1930 { (exit 1); exit 1; }; }
1958 ac_cpp='$CPP $CPPFLAGS'
1959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1965 # See libtool.info "Libtool's versioning system"
1966 libxtables_vcurrent=5
1969 ac_config_headers="$ac_config_headers config.h"
1973 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1974 if test -f "$ac_dir/install-sh"; then
1976 ac_install_sh="$ac_aux_dir/install-sh -c"
1978 elif test -f "$ac_dir/install.sh"; then
1980 ac_install_sh="$ac_aux_dir/install.sh -c"
1982 elif test -f "$ac_dir/shtool"; then
1984 ac_install_sh="$ac_aux_dir/shtool install -c"
1988 if test -z "$ac_aux_dir"; then
1989 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1990 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1991 { (exit 1); exit 1; }; }
1994 # These three variables are undocumented and unsupported,
1995 # and are intended to be withdrawn in a future Autoconf release.
1996 # They can cause serious problems if a builder's source tree is in a directory
1997 # whose full name contains unusual characters.
1998 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1999 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2000 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2003 # Find a good install program. We prefer a C program (faster),
2004 # so one script is as good as another. But avoid the broken or
2005 # incompatible versions:
2006 # SysV /etc/install, /usr/sbin/install
2007 # SunOS /usr/etc/install
2008 # IRIX /sbin/install
2010 # AmigaOS /C/install, which installs bootblocks on floppy discs
2011 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2012 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2013 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2014 # OS/2's system install, which has a completely different semantic
2015 # ./install, which can be erroneously created by make from ./install.sh.
2016 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2017 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2018 if test -z "$INSTALL"; then
2019 if test "${ac_cv_path_install+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026 test -z "$as_dir" && as_dir=.
2027 # Account for people who put trailing slashes in PATH elements.
2029 ./ | .// | /cC/* | \
2030 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2031 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2034 # OSF1 and SCO ODT 3.0 have their own names for install.
2035 # Don't use installbsd from OSF since it installs stuff as root
2037 for ac_prog in ginstall scoinst install; do
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2040 if test $ac_prog = install &&
2041 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2042 # AIX install. It has an incompatible calling convention.
2044 elif test $ac_prog = install &&
2045 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2046 # program-specific install script used by HP pwplus--don't use.
2049 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2062 if test "${ac_cv_path_install+set}" = set; then
2063 INSTALL=$ac_cv_path_install
2065 # As a last resort, use the slow shell script. Don't cache a
2066 # value for INSTALL within a source directory, because that will
2067 # break other packages using the cache if that directory is
2068 # removed, or if the value is a relative name.
2069 INSTALL=$ac_install_sh
2072 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2073 echo "${ECHO_T}$INSTALL" >&6; }
2075 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2076 # It thinks the first close brace ends the variable substitution.
2077 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2079 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2081 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2083 am__api_version='1.10'
2085 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2086 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2089 echo timestamp > conftest.file
2090 # Do `set' in a subshell so we don't clobber the current shell's
2091 # arguments. Must try -L first in case configure is actually a
2092 # symlink; some systems play weird games with the mod time of symlinks
2093 # (eg FreeBSD returns the mod time of the symlink's containing
2096 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2097 if test "$*" = "X"; then
2099 set X `ls -t $srcdir/configure conftest.file`
2102 if test "$*" != "X $srcdir/configure conftest.file" \
2103 && test "$*" != "X conftest.file $srcdir/configure"; then
2105 # If neither matched, then we have a broken ls. This can happen
2106 # if, for instance, CONFIG_SHELL is bash and it inherits a
2107 # broken ls alias from the environment. This has actually
2108 # happened. Such a system could not be considered "sane".
2109 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2110 alias in your environment" >&5
2111 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2112 alias in your environment" >&2;}
2113 { (exit 1); exit 1; }; }
2116 test "$2" = conftest.file
2122 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2123 Check your system clock" >&5
2124 echo "$as_me: error: newly created file is older than distributed files!
2125 Check your system clock" >&2;}
2126 { (exit 1); exit 1; }; }
2128 { echo "$as_me:$LINENO: result: yes" >&5
2129 echo "${ECHO_T}yes" >&6; }
2130 test "$program_prefix" != NONE &&
2131 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2132 # Use a double $ so make ignores it.
2133 test "$program_suffix" != NONE &&
2134 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2135 # Double any \ or $. echo might interpret backslashes.
2136 # By default was `s,x,x', remove it if useless.
2137 cat <<\_ACEOF >conftest.sed
2138 s/[\\$]/&&/g;s/;s,x,x,$//
2140 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2143 # expand $ac_aux_dir to an absolute path
2144 am_aux_dir=`cd $ac_aux_dir && pwd`
2146 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2147 # Use eval to expand $SHELL
2148 if eval "$MISSING --run true"; then
2149 am_missing_run="$MISSING --run "
2152 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2153 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2156 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2157 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2158 if test -z "$MKDIR_P"; then
2159 if test "${ac_cv_path_mkdir+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2166 test -z "$as_dir" && as_dir=.
2167 for ac_prog in mkdir gmkdir; do
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2170 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2171 'mkdir (GNU coreutils) '* | \
2172 'mkdir (coreutils) '* | \
2173 'mkdir (fileutils) '4.1*)
2174 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2184 if test "${ac_cv_path_mkdir+set}" = set; then
2185 MKDIR_P="$ac_cv_path_mkdir -p"
2187 # As a last resort, use the slow shell script. Don't cache a
2188 # value for MKDIR_P within a source directory, because that will
2189 # break other packages using the cache if that directory is
2190 # removed, or if the value is a relative name.
2191 test -d ./--version && rmdir ./--version
2192 MKDIR_P="$ac_install_sh -d"
2195 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2196 echo "${ECHO_T}$MKDIR_P" >&6; }
2200 [\\/$]* | ?:[\\/]*) ;;
2201 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2204 for ac_prog in gawk mawk nawk awk
2206 # Extract the first word of "$ac_prog", so it can be a program name with args.
2207 set dummy $ac_prog; ac_word=$2
2208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2210 if test "${ac_cv_prog_AWK+set}" = set; then
2211 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 if test -n "$AWK"; then
2214 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220 test -z "$as_dir" && as_dir=.
2221 for ac_exec_ext in '' $ac_executable_extensions; do
2222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2223 ac_cv_prog_AWK="$ac_prog"
2224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234 if test -n "$AWK"; then
2235 { echo "$as_me:$LINENO: result: $AWK" >&5
2236 echo "${ECHO_T}$AWK" >&6; }
2238 { echo "$as_me:$LINENO: result: no" >&5
2239 echo "${ECHO_T}no" >&6; }
2243 test -n "$AWK" && break
2246 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2247 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2248 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2249 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 cat >conftest.make <<\_ACEOF
2255 @echo '@@@%%%=$(MAKE)=@@@%%%'
2257 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2258 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2260 eval ac_cv_prog_make_${ac_make}_set=yes;;
2262 eval ac_cv_prog_make_${ac_make}_set=no;;
2266 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2267 { echo "$as_me:$LINENO: result: yes" >&5
2268 echo "${ECHO_T}yes" >&6; }
2271 { echo "$as_me:$LINENO: result: no" >&5
2272 echo "${ECHO_T}no" >&6; }
2273 SET_MAKE="MAKE=${MAKE-make}"
2276 rm -rf .tst 2>/dev/null
2277 mkdir .tst 2>/dev/null
2278 if test -d .tst; then
2283 rmdir .tst 2>/dev/null
2285 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2286 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2287 # is not polluted with repeated "-I."
2288 am__isrc=' -I$(srcdir)'
2289 # test to see if srcdir already configured
2290 if test -f $srcdir/config.status; then
2291 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2292 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2293 { (exit 1); exit 1; }; }
2297 # test whether we have cygpath
2298 if test -z "$CYGPATH_W"; then
2299 if (cygpath --version) >/dev/null 2>/dev/null; then
2300 CYGPATH_W='cygpath -w'
2307 # Define the identity of the package.
2312 cat >>confdefs.h <<_ACEOF
2313 #define PACKAGE "$PACKAGE"
2317 cat >>confdefs.h <<_ACEOF
2318 #define VERSION "$VERSION"
2321 # Some tools Automake needs.
2323 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2326 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2329 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2332 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2335 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2337 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2339 # Installed binaries are usually stripped using `strip' when the user
2340 # run `make install-strip'. However `strip' might not be the right
2341 # tool to use in cross-compilation environments, therefore Automake
2342 # will honor the `STRIP' environment variable to overrule this program.
2343 if test "$cross_compiling" != no; then
2344 if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2346 set dummy ${ac_tool_prefix}strip; ac_word=$2
2347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2349 if test "${ac_cv_prog_STRIP+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 if test -n "$STRIP"; then
2353 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2362 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 STRIP=$ac_cv_prog_STRIP
2373 if test -n "$STRIP"; then
2374 { echo "$as_me:$LINENO: result: $STRIP" >&5
2375 echo "${ECHO_T}$STRIP" >&6; }
2377 { echo "$as_me:$LINENO: result: no" >&5
2378 echo "${ECHO_T}no" >&6; }
2383 if test -z "$ac_cv_prog_STRIP"; then
2385 # Extract the first word of "strip", so it can be a program name with args.
2386 set dummy strip; ac_word=$2
2387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2389 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2392 if test -n "$ac_ct_STRIP"; then
2393 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2402 ac_cv_prog_ac_ct_STRIP="strip"
2403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2413 if test -n "$ac_ct_STRIP"; then
2414 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2415 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2417 { echo "$as_me:$LINENO: result: no" >&5
2418 echo "${ECHO_T}no" >&6; }
2421 if test "x$ac_ct_STRIP" = x; then
2424 case $cross_compiling:$ac_tool_warned in
2426 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2427 whose name does not start with the host triplet. If you think this
2428 configuration is useful to you, please write to autoconf@gnu.org." >&5
2429 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2430 whose name does not start with the host triplet. If you think this
2431 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2432 ac_tool_warned=yes ;;
2437 STRIP="$ac_cv_prog_STRIP"
2441 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2443 # We need awk for the "check" target. The system "awk" is bad on
2445 # Always define AMTAR for backward compatibility.
2447 AMTAR=${AMTAR-"${am_missing_run}tar"}
2449 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2456 ac_cpp='$CPP $CPPFLAGS'
2457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460 if test -n "$ac_tool_prefix"; then
2461 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2462 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2465 if test "${ac_cv_prog_CC+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 if test -n "$CC"; then
2469 ac_cv_prog_CC="$CC" # Let the user override the test.
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475 test -z "$as_dir" && as_dir=.
2476 for ac_exec_ext in '' $ac_executable_extensions; do
2477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 if test -n "$CC"; then
2490 { echo "$as_me:$LINENO: result: $CC" >&5
2491 echo "${ECHO_T}$CC" >&6; }
2493 { echo "$as_me:$LINENO: result: no" >&5
2494 echo "${ECHO_T}no" >&6; }
2499 if test -z "$ac_cv_prog_CC"; then
2501 # Extract the first word of "gcc", so it can be a program name with args.
2502 set dummy gcc; ac_word=$2
2503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test -n "$ac_ct_CC"; then
2509 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2518 ac_cv_prog_ac_ct_CC="gcc"
2519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2529 if test -n "$ac_ct_CC"; then
2530 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2531 echo "${ECHO_T}$ac_ct_CC" >&6; }
2533 { echo "$as_me:$LINENO: result: no" >&5
2534 echo "${ECHO_T}no" >&6; }
2537 if test "x$ac_ct_CC" = x; then
2540 case $cross_compiling:$ac_tool_warned in
2542 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2543 whose name does not start with the host triplet. If you think this
2544 configuration is useful to you, please write to autoconf@gnu.org." >&5
2545 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2546 whose name does not start with the host triplet. If you think this
2547 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2548 ac_tool_warned=yes ;;
2556 if test -z "$CC"; then
2557 if test -n "$ac_tool_prefix"; then
2558 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2559 set dummy ${ac_tool_prefix}cc; ac_word=$2
2560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2562 if test "${ac_cv_prog_CC+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 if test -n "$CC"; then
2566 ac_cv_prog_CC="$CC" # Let the user override the test.
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 ac_cv_prog_CC="${ac_tool_prefix}cc"
2576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 if test -n "$CC"; then
2587 { echo "$as_me:$LINENO: result: $CC" >&5
2588 echo "${ECHO_T}$CC" >&6; }
2590 { echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6; }
2597 if test -z "$CC"; then
2598 # Extract the first word of "cc", so it can be a program name with args.
2599 set dummy cc; ac_word=$2
2600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2602 if test "${ac_cv_prog_CC+set}" = set; then
2603 echo $ECHO_N "(cached) $ECHO_C" >&6
2605 if test -n "$CC"; then
2606 ac_cv_prog_CC="$CC" # Let the user override the test.
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2616 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2617 ac_prog_rejected=yes
2621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 if test $ac_prog_rejected = yes; then
2629 # We found a bogon in the path, so make sure we never use it.
2630 set dummy $ac_cv_prog_CC
2632 if test $# != 0; then
2633 # We chose a different compiler from the bogus one.
2634 # However, it has the same basename, so the bogon will be chosen
2635 # first if we set CC to just the basename; use the full file name.
2637 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2643 if test -n "$CC"; then
2644 { echo "$as_me:$LINENO: result: $CC" >&5
2645 echo "${ECHO_T}$CC" >&6; }
2647 { echo "$as_me:$LINENO: result: no" >&5
2648 echo "${ECHO_T}no" >&6; }
2653 if test -z "$CC"; then
2654 if test -n "$ac_tool_prefix"; then
2655 for ac_prog in cl.exe
2657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2661 if test "${ac_cv_prog_CC+set}" = set; then
2662 echo $ECHO_N "(cached) $ECHO_C" >&6
2664 if test -n "$CC"; then
2665 ac_cv_prog_CC="$CC" # Let the user override the test.
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671 test -z "$as_dir" && as_dir=.
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2674 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2685 if test -n "$CC"; then
2686 { echo "$as_me:$LINENO: result: $CC" >&5
2687 echo "${ECHO_T}$CC" >&6; }
2689 { echo "$as_me:$LINENO: result: no" >&5
2690 echo "${ECHO_T}no" >&6; }
2694 test -n "$CC" && break
2697 if test -z "$CC"; then
2699 for ac_prog in cl.exe
2701 # Extract the first word of "$ac_prog", so it can be a program name with args.
2702 set dummy $ac_prog; ac_word=$2
2703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2706 echo $ECHO_N "(cached) $ECHO_C" >&6
2708 if test -n "$ac_ct_CC"; then
2709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir=.
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718 ac_cv_prog_ac_ct_CC="$ac_prog"
2719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2729 if test -n "$ac_ct_CC"; then
2730 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2731 echo "${ECHO_T}$ac_ct_CC" >&6; }
2733 { echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6; }
2738 test -n "$ac_ct_CC" && break
2741 if test "x$ac_ct_CC" = x; then
2744 case $cross_compiling:$ac_tool_warned in
2746 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2747 whose name does not start with the host triplet. If you think this
2748 configuration is useful to you, please write to autoconf@gnu.org." >&5
2749 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2750 whose name does not start with the host triplet. If you think this
2751 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2752 ac_tool_warned=yes ;;
2761 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2762 See \`config.log' for more details." >&5
2763 echo "$as_me: error: no acceptable C compiler found in \$PATH
2764 See \`config.log' for more details." >&2;}
2765 { (exit 1); exit 1; }; }
2767 # Provide some information about the compiler.
2768 echo "$as_me:$LINENO: checking for C compiler version" >&5
2769 ac_compiler=`set X $ac_compile; echo $2`
2770 { (ac_try="$ac_compiler --version >&5"
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2776 (eval "$ac_compiler --version >&5") 2>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }
2780 { (ac_try="$ac_compiler -v >&5"
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2786 (eval "$ac_compiler -v >&5") 2>&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }
2790 { (ac_try="$ac_compiler -V >&5"
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2796 (eval "$ac_compiler -V >&5") 2>&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }
2801 cat >conftest.$ac_ext <<_ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2816 ac_clean_files_save=$ac_clean_files
2817 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2818 # Try to create an executable without -o first, disregard a.out.
2819 # It will help us diagnose broken compilers, and finding out an intuition
2821 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2822 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2823 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2825 # List of possible output files, starting from the most likely.
2826 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2827 # only as a last resort. b.out is created by i960 compilers.
2828 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2830 # The IRIX 6 linker writes into existing files which may not be
2831 # executable, retaining their permissions. Remove them first so a
2832 # subsequent execution test works.
2834 for ac_file in $ac_files
2837 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2838 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2843 if { (ac_try="$ac_link_default"
2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2849 (eval "$ac_link_default") 2>&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; then
2853 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2854 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2855 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2856 # so that the user can short-circuit this test for compilers unknown to
2858 for ac_file in $ac_files ''
2860 test -f "$ac_file" || continue
2862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2865 # We found the default executable, but exeext='' is most
2869 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2871 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2873 # We set ac_cv_exeext here because the later test for it is not
2874 # safe: cross compilers may not add the suffix if given an `-o'
2875 # argument, so we may need to know it at that point already.
2876 # Even if this section looks crufty: it has the advantage of
2883 test "$ac_cv_exeext" = no && ac_cv_exeext=
2889 { echo "$as_me:$LINENO: result: $ac_file" >&5
2890 echo "${ECHO_T}$ac_file" >&6; }
2891 if test -z "$ac_file"; then
2892 echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2896 See \`config.log' for more details." >&5
2897 echo "$as_me: error: C compiler cannot create executables
2898 See \`config.log' for more details." >&2;}
2899 { (exit 77); exit 77; }; }
2902 ac_exeext=$ac_cv_exeext
2904 # Check that the compiler produces executables we can run. If not, either
2905 # the compiler is broken, or we cross compile.
2906 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2907 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2908 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2909 # If not cross compiling, check that we can run a simple program.
2910 if test "$cross_compiling" != yes; then
2911 if { ac_try='./$ac_file'
2912 { (case "(($ac_try" in
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2917 (eval "$ac_try") 2>&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; }; then
2923 if test "$cross_compiling" = maybe; then
2926 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2927 If you meant to cross compile, use \`--host'.
2928 See \`config.log' for more details." >&5
2929 echo "$as_me: error: cannot run C compiled programs.
2930 If you meant to cross compile, use \`--host'.
2931 See \`config.log' for more details." >&2;}
2932 { (exit 1); exit 1; }; }
2936 { echo "$as_me:$LINENO: result: yes" >&5
2937 echo "${ECHO_T}yes" >&6; }
2939 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2940 ac_clean_files=$ac_clean_files_save
2941 # Check that the compiler produces executables we can run. If not, either
2942 # the compiler is broken, or we cross compile.
2943 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2944 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2945 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2946 echo "${ECHO_T}$cross_compiling" >&6; }
2948 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2949 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2950 if { (ac_try="$ac_link"
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_link") 2>&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; then
2960 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2961 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2962 # work properly (i.e., refer to `conftest.exe'), while it won't with
2964 for ac_file in conftest.exe conftest conftest.*; do
2965 test -f "$ac_file" || continue
2967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2968 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2974 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2975 See \`config.log' for more details." >&5
2976 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2977 See \`config.log' for more details." >&2;}
2978 { (exit 1); exit 1; }; }
2981 rm -f conftest$ac_cv_exeext
2982 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2983 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2985 rm -f conftest.$ac_ext
2986 EXEEXT=$ac_cv_exeext
2988 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2989 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2990 if test "${ac_cv_objext+set}" = set; then
2991 echo $ECHO_N "(cached) $ECHO_C" >&6
2993 cat >conftest.$ac_ext <<_ACEOF
2996 cat confdefs.h >>conftest.$ac_ext
2997 cat >>conftest.$ac_ext <<_ACEOF
2998 /* end confdefs.h. */
3008 rm -f conftest.o conftest.obj
3009 if { (ac_try="$ac_compile"
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3015 (eval "$ac_compile") 2>&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; then
3019 for ac_file in conftest.o conftest.obj conftest.*; do
3020 test -f "$ac_file" || continue;
3022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3023 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3028 echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.$ac_ext >&5
3031 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3032 See \`config.log' for more details." >&5
3033 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3034 See \`config.log' for more details." >&2;}
3035 { (exit 1); exit 1; }; }
3038 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3040 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3041 echo "${ECHO_T}$ac_cv_objext" >&6; }
3042 OBJEXT=$ac_cv_objext
3044 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3045 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3046 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 cat >conftest.$ac_ext <<_ACEOF
3052 cat confdefs.h >>conftest.$ac_ext
3053 cat >>conftest.$ac_ext <<_ACEOF
3054 /* end confdefs.h. */
3067 rm -f conftest.$ac_objext
3068 if { (ac_try="$ac_compile"
3070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071 *) ac_try_echo=$ac_try;;
3073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3074 (eval "$ac_compile") 2>conftest.er1
3076 grep -v '^ *+' conftest.er1 >conftest.err
3078 cat conftest.err >&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } && {
3081 test -z "$ac_c_werror_flag" ||
3082 test ! -s conftest.err
3083 } && test -s conftest.$ac_objext; then
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3096 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3097 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3098 GCC=`test $ac_compiler_gnu = yes && echo yes`
3099 ac_test_CFLAGS=${CFLAGS+set}
3100 ac_save_CFLAGS=$CFLAGS
3101 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3102 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3103 if test "${ac_cv_prog_cc_g+set}" = set; then
3104 echo $ECHO_N "(cached) $ECHO_C" >&6
3106 ac_save_c_werror_flag=$ac_c_werror_flag
3107 ac_c_werror_flag=yes
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3125 rm -f conftest.$ac_objext
3126 if { (ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); } && {
3139 test -z "$ac_c_werror_flag" ||
3140 test ! -s conftest.err
3141 } && test -s conftest.$ac_objext; then
3144 echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3148 cat >conftest.$ac_ext <<_ACEOF
3151 cat confdefs.h >>conftest.$ac_ext
3152 cat >>conftest.$ac_ext <<_ACEOF
3153 /* end confdefs.h. */
3163 rm -f conftest.$ac_objext
3164 if { (ac_try="$ac_compile"
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_compile") 2>conftest.er1
3172 grep -v '^ *+' conftest.er1 >conftest.err
3174 cat conftest.err >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } && {
3177 test -z "$ac_c_werror_flag" ||
3178 test ! -s conftest.err
3179 } && test -s conftest.$ac_objext; then
3182 echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3185 ac_c_werror_flag=$ac_save_c_werror_flag
3187 cat >conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3202 rm -f conftest.$ac_objext
3203 if { (ac_try="$ac_compile"
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3209 (eval "$ac_compile") 2>conftest.er1
3211 grep -v '^ *+' conftest.er1 >conftest.err
3213 cat conftest.err >&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); } && {
3216 test -z "$ac_c_werror_flag" ||
3217 test ! -s conftest.err
3218 } && test -s conftest.$ac_objext; then
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 ac_c_werror_flag=$ac_save_c_werror_flag
3236 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3237 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3238 if test "$ac_test_CFLAGS" = set; then
3239 CFLAGS=$ac_save_CFLAGS
3240 elif test $ac_cv_prog_cc_g = yes; then
3241 if test "$GCC" = yes; then
3247 if test "$GCC" = yes; then
3253 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3254 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3255 if test "${ac_cv_prog_cc_c89+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 ac_cv_prog_cc_c89=no
3260 cat >conftest.$ac_ext <<_ACEOF
3263 cat confdefs.h >>conftest.$ac_ext
3264 cat >>conftest.$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3268 #include <sys/types.h>
3269 #include <sys/stat.h>
3270 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3271 struct buf { int x; };
3272 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3273 static char *e (p, i)
3279 static char *f (char * (*g) (char **, int), char **p, ...)
3284 s = g (p, va_arg (v,int));
3289 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3290 function prototypes and stuff, but not '\xHH' hex character constants.
3291 These don't provoke an error unfortunately, instead are silently treated
3292 as 'x'. The following induces an error, until -std is added to get
3293 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3294 array size at least. It's necessary to write '\x00'==0 to get something
3295 that's true only with -std. */
3296 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3298 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3299 inside strings and character constants. */
3301 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3303 int test (int i, double x);
3304 struct s1 {int (*f) (int a);};
3305 struct s2 {int (*f) (double a);};
3306 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3312 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3317 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3318 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3320 CC="$ac_save_CC $ac_arg"
3321 rm -f conftest.$ac_objext
3322 if { (ac_try="$ac_compile"
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3328 (eval "$ac_compile") 2>conftest.er1
3330 grep -v '^ *+' conftest.er1 >conftest.err
3332 cat conftest.err >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } && {
3335 test -z "$ac_c_werror_flag" ||
3336 test ! -s conftest.err
3337 } && test -s conftest.$ac_objext; then
3338 ac_cv_prog_cc_c89=$ac_arg
3340 echo "$as_me: failed program was:" >&5
3341 sed 's/^/| /' conftest.$ac_ext >&5
3346 rm -f core conftest.err conftest.$ac_objext
3347 test "x$ac_cv_prog_cc_c89" != "xno" && break
3349 rm -f conftest.$ac_ext
3354 case "x$ac_cv_prog_cc_c89" in
3356 { echo "$as_me:$LINENO: result: none needed" >&5
3357 echo "${ECHO_T}none needed" >&6; } ;;
3359 { echo "$as_me:$LINENO: result: unsupported" >&5
3360 echo "${ECHO_T}unsupported" >&6; } ;;
3362 CC="$CC $ac_cv_prog_cc_c89"
3363 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3364 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3369 ac_cpp='$CPP $CPPFLAGS'
3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3373 DEPDIR="${am__leading_dot}deps"
3375 ac_config_commands="$ac_config_commands depfiles"
3378 am_make=${MAKE-make}
3379 cat > confinc << 'END'
3384 # If we don't find an include directive, just comment out the code.
3385 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3386 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3390 # First try GNU make style include.
3391 echo "include confinc" > confmf
3392 # We grep out `Entering directory' and `Leaving directory'
3393 # messages which can occur if `w' ends up in MAKEFLAGS.
3394 # In particular we don't look at `^make:' because GNU make might
3395 # be invoked under some other name (usually "gmake"), in which
3396 # case it prints its new name instead of `make'.
3397 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3402 # Now try BSD make style include.
3403 if test "$am__include" = "#"; then
3404 echo '.include "confinc"' > confmf
3405 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3406 am__include=.include
3413 { echo "$as_me:$LINENO: result: $_am_result" >&5
3414 echo "${ECHO_T}$_am_result" >&6; }
3415 rm -f confinc confmf
3417 # Check whether --enable-dependency-tracking was given.
3418 if test "${enable_dependency_tracking+set}" = set; then
3419 enableval=$enable_dependency_tracking;
3422 if test "x$enable_dependency_tracking" != xno; then
3423 am_depcomp="$ac_aux_dir/depcomp"
3426 if test "x$enable_dependency_tracking" != xno; then
3436 depcc="$CC" am_compiler_list=
3438 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3439 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3440 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3444 # We make a subdir and do the tests there. Otherwise we can end up
3445 # making bogus files that we don't know about and never remove. For
3446 # instance it was reported that on HP-UX the gcc test will end up
3447 # making a dummy file named `D' -- because `-MD' means `put the output
3450 # Copy depcomp to subdir because otherwise we won't find it if we're
3451 # using a relative directory.
3452 cp "$am_depcomp" conftest.dir
3454 # We will build objects and dependencies in a subdirectory because
3455 # it helps to detect inapplicable dependency modes. For instance
3456 # both Tru64's cc and ICC support -MD to output dependencies as a
3457 # side effect of compilation, but ICC will put the dependencies in
3458 # the current directory while Tru64 will put them in the object
3462 am_cv_CC_dependencies_compiler_type=none
3463 if test "$am_compiler_list" = ""; then
3464 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3466 for depmode in $am_compiler_list; do
3467 # Setup a source with many dependencies, because some compilers
3468 # like to wrap large dependency lists on column 80 (with \), and
3469 # we should not choose a depcomp mode which is confused by this.
3471 # We need to recreate these files for each test, as the compiler may
3472 # overwrite some of them when testing with obscure command lines.
3473 # This happens at least with the AIX C compiler.
3475 for i in 1 2 3 4 5 6; do
3476 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3477 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3478 # Solaris 8's {/usr,}/bin/sh.
3479 touch sub/conftst$i.h
3481 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3485 # after this tag, mechanisms are not by side-effect, so they'll
3486 # only be used when explicitly requested
3487 if test "x$enable_dependency_tracking" = xyes; then
3495 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3496 # mode. It turns out that the SunPro C++ compiler does not properly
3497 # handle `-M -o', and we need to detect this.
3498 if depmode=$depmode \
3499 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3500 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3501 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3502 >/dev/null 2>conftest.err &&
3503 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3504 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3505 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3506 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3507 # icc doesn't choke on unknown options, it will just issue warnings
3508 # or remarks (even with -Werror). So we grep stderr for any message
3509 # that says an option was ignored or not supported.
3510 # When given -MP, icc 7.0 and 7.1 complain thusly:
3511 # icc: Command line warning: ignoring option '-M'; no argument required
3512 # The diagnosis changed in icc 8.0:
3513 # icc: Command line remark: option '-MP' not supported
3514 if (grep 'ignoring option' conftest.err ||
3515 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3516 am_cv_CC_dependencies_compiler_type=$depmode
3525 am_cv_CC_dependencies_compiler_type=none
3529 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3530 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3531 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3534 test "x$enable_dependency_tracking" != xno \
3535 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3537 am__fastdepCC_FALSE='#'
3539 am__fastdepCC_TRUE='#'
3540 am__fastdepCC_FALSE=
3544 if test "x$CC" != xcc; then
3545 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3546 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3548 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3549 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3551 set dummy $CC; ac_cc=`echo $2 |
3552 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3553 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 cat >conftest.$ac_ext <<_ACEOF
3559 cat confdefs.h >>conftest.$ac_ext
3560 cat >>conftest.$ac_ext <<_ACEOF
3561 /* end confdefs.h. */
3571 # Make sure it works both with $CC and with simple cc.
3572 # We do the test twice because some compilers refuse to overwrite an
3573 # existing .o file with -o, though they will create one.
3574 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3576 if { (case "(($ac_try" in
3577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3578 *) ac_try_echo=$ac_try;;
3580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3581 (eval "$ac_try") 2>&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } &&
3585 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3590 (eval "$ac_try") 2>&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); };
3595 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3596 if test "x$CC" != xcc; then
3597 # Test first that cc exists at all.
3598 if { ac_try='cc -c conftest.$ac_ext >&5'
3599 { (case "(($ac_try" in
3600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601 *) ac_try_echo=$ac_try;;
3603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3604 (eval "$ac_try") 2>&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); }; }; then
3608 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3610 if { (case "(($ac_try" in
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3615 (eval "$ac_try") 2>&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } &&
3619 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 *) ac_try_echo=$ac_try;;
3623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3624 (eval "$ac_try") 2>&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); };
3632 # cc exists but doesn't like -o.
3633 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3638 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3640 rm -f core conftest*
3643 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3644 { echo "$as_me:$LINENO: result: yes" >&5
3645 echo "${ECHO_T}yes" >&6; }
3647 { echo "$as_me:$LINENO: result: no" >&5
3648 echo "${ECHO_T}no" >&6; }
3650 cat >>confdefs.h <<\_ACEOF
3651 #define NO_MINUS_C_MINUS_O 1
3656 # FIXME: we rely on the cache variable name because
3657 # there is no other way.
3659 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3660 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3661 if test "$am_t" != yes; then
3662 # Losing compiler, so override with the script.
3663 # FIXME: It is wrong to rewrite CC.
3664 # But if we don't then we get into trouble of one sort or another.
3665 # A longer-term fix would be to have automake use am__CC in this case,
3666 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3667 CC="$am_aux_dir/compile $CC"
3671 # Check whether --enable-static was given.
3672 if test "${enable_static+set}" = set; then
3673 enableval=$enable_static; p=${PACKAGE-default}
3675 yes) enable_static=yes ;;
3676 no) enable_static=no ;;
3679 # Look at the argument we got. We use all the common list separators.
3680 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3681 for pkg in $enableval; do
3683 if test "X$pkg" = "X$p"; then
3704 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3705 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3710 macro_version='2.2.4'
3711 macro_revision='1.2976'
3725 ltmain="$ac_aux_dir/ltmain.sh"
3727 # Make sure we can run config.sub.
3728 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3729 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3730 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3731 { (exit 1); exit 1; }; }
3733 { echo "$as_me:$LINENO: checking build system type" >&5
3734 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3735 if test "${ac_cv_build+set}" = set; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 ac_build_alias=$build_alias
3739 test "x$ac_build_alias" = x &&
3740 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3741 test "x$ac_build_alias" = x &&
3742 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3743 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3744 { (exit 1); exit 1; }; }
3745 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3746 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3747 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3748 { (exit 1); exit 1; }; }
3751 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3752 echo "${ECHO_T}$ac_cv_build" >&6; }
3753 case $ac_cv_build in
3755 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3756 echo "$as_me: error: invalid value of canonical build" >&2;}
3757 { (exit 1); exit 1; }; };;
3760 ac_save_IFS=$IFS; IFS='-'
3766 # Remember, the first character of IFS is used to create $*,
3767 # except with old shells:
3770 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3773 { echo "$as_me:$LINENO: checking host system type" >&5
3774 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3775 if test "${ac_cv_host+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 if test "x$host_alias" = x; then
3779 ac_cv_host=$ac_cv_build
3781 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3782 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3783 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3784 { (exit 1); exit 1; }; }
3788 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3789 echo "${ECHO_T}$ac_cv_host" >&6; }
3792 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3793 echo "$as_me: error: invalid value of canonical host" >&2;}
3794 { (exit 1); exit 1; }; };;
3797 ac_save_IFS=$IFS; IFS='-'
3803 # Remember, the first character of IFS is used to create $*,
3804 # except with old shells:
3807 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3810 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3811 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3812 if test "${ac_cv_path_SED+set}" = set; then
3813 echo $ECHO_N "(cached) $ECHO_C" >&6
3815 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3816 for ac_i in 1 2 3 4 5 6 7; do
3817 ac_script="$ac_script$as_nl$ac_script"
3819 echo "$ac_script" | sed 99q >conftest.sed
3820 $as_unset ac_script || ac_script=
3821 # Extract the first word of "sed gsed" to use in msg output
3822 if test -z "$SED"; then
3823 set dummy sed gsed; ac_prog_name=$2
3824 if test "${ac_cv_path_SED+set}" = set; then
3825 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 ac_path_SED_found=false
3828 # Loop through the user's path and test for each of PROGNAME-LIST
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir=.
3834 for ac_prog in sed gsed; do
3835 for ac_exec_ext in '' $ac_executable_extensions; do
3836 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3837 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3838 # Check for GNU ac_path_SED and select it if it is found.
3839 # Check for GNU $ac_path_SED
3840 case `"$ac_path_SED" --version 2>&1` in
3842 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3845 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3848 cat "conftest.in" "conftest.in" >"conftest.tmp"
3849 mv "conftest.tmp" "conftest.in"
3850 cp "conftest.in" "conftest.nl"
3851 echo '' >> "conftest.nl"
3852 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3853 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3854 ac_count=`expr $ac_count + 1`
3855 if test $ac_count -gt ${ac_path_SED_max-0}; then
3856 # Best one so far, save it but keep looking for a better one
3857 ac_cv_path_SED="$ac_path_SED"
3858 ac_path_SED_max=$ac_count
3860 # 10*(2^10) chars as input seems more than enough
3861 test $ac_count -gt 10 && break
3863 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3867 $ac_path_SED_found && break 3
3877 SED="$ac_cv_path_SED"
3878 if test -z "$SED"; then
3879 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
3880 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
3881 { (exit 1); exit 1; }; }
3889 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3890 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
3891 SED="$ac_cv_path_SED"
3894 test -z "$SED" && SED=sed
3895 Xsed="$SED -e 1s/^X//"
3907 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3908 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3909 if test "${ac_cv_path_GREP+set}" = set; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 # Extract the first word of "grep ggrep" to use in msg output
3913 if test -z "$GREP"; then
3914 set dummy grep ggrep; ac_prog_name=$2
3915 if test "${ac_cv_path_GREP+set}" = set; then
3916 echo $ECHO_N "(cached) $ECHO_C" >&6
3918 ac_path_GREP_found=false
3919 # Loop through the user's path and test for each of PROGNAME-LIST
3920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3924 test -z "$as_dir" && as_dir=.
3925 for ac_prog in grep ggrep; do
3926 for ac_exec_ext in '' $ac_executable_extensions; do
3927 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3928 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3929 # Check for GNU ac_path_GREP and select it if it is found.
3930 # Check for GNU $ac_path_GREP
3931 case `"$ac_path_GREP" --version 2>&1` in
3933 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3936 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3939 cat "conftest.in" "conftest.in" >"conftest.tmp"
3940 mv "conftest.tmp" "conftest.in"
3941 cp "conftest.in" "conftest.nl"
3942 echo 'GREP' >> "conftest.nl"
3943 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3944 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3945 ac_count=`expr $ac_count + 1`
3946 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3947 # Best one so far, save it but keep looking for a better one
3948 ac_cv_path_GREP="$ac_path_GREP"
3949 ac_path_GREP_max=$ac_count
3951 # 10*(2^10) chars as input seems more than enough
3952 test $ac_count -gt 10 && break
3954 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3958 $ac_path_GREP_found && break 3
3968 GREP="$ac_cv_path_GREP"
3969 if test -z "$GREP"; then
3970 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3971 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3972 { (exit 1); exit 1; }; }
3976 ac_cv_path_GREP=$GREP
3981 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3982 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3983 GREP="$ac_cv_path_GREP"
3986 { echo "$as_me:$LINENO: checking for egrep" >&5
3987 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3988 if test "${ac_cv_path_EGREP+set}" = set; then
3989 echo $ECHO_N "(cached) $ECHO_C" >&6
3991 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3992 then ac_cv_path_EGREP="$GREP -E"
3994 # Extract the first word of "egrep" to use in msg output
3995 if test -z "$EGREP"; then
3996 set dummy egrep; ac_prog_name=$2
3997 if test "${ac_cv_path_EGREP+set}" = set; then
3998 echo $ECHO_N "(cached) $ECHO_C" >&6
4000 ac_path_EGREP_found=false
4001 # Loop through the user's path and test for each of PROGNAME-LIST
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4006 test -z "$as_dir" && as_dir=.
4007 for ac_prog in egrep; do
4008 for ac_exec_ext in '' $ac_executable_extensions; do
4009 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4010 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4011 # Check for GNU ac_path_EGREP and select it if it is found.
4012 # Check for GNU $ac_path_EGREP
4013 case `"$ac_path_EGREP" --version 2>&1` in
4015 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4018 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4021 cat "conftest.in" "conftest.in" >"conftest.tmp"
4022 mv "conftest.tmp" "conftest.in"
4023 cp "conftest.in" "conftest.nl"
4024 echo 'EGREP' >> "conftest.nl"
4025 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4026 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4027 ac_count=`expr $ac_count + 1`
4028 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4029 # Best one so far, save it but keep looking for a better one
4030 ac_cv_path_EGREP="$ac_path_EGREP"
4031 ac_path_EGREP_max=$ac_count
4033 # 10*(2^10) chars as input seems more than enough
4034 test $ac_count -gt 10 && break
4036 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4040 $ac_path_EGREP_found && break 3
4050 EGREP="$ac_cv_path_EGREP"
4051 if test -z "$EGREP"; then
4052 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4053 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4054 { (exit 1); exit 1; }; }
4058 ac_cv_path_EGREP=$EGREP
4064 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4065 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4066 EGREP="$ac_cv_path_EGREP"
4069 { echo "$as_me:$LINENO: checking for fgrep" >&5
4070 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4071 if test "${ac_cv_path_FGREP+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4075 then ac_cv_path_FGREP="$GREP -F"
4077 # Extract the first word of "fgrep" to use in msg output
4078 if test -z "$FGREP"; then
4079 set dummy fgrep; ac_prog_name=$2
4080 if test "${ac_cv_path_FGREP+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 ac_path_FGREP_found=false
4084 # Loop through the user's path and test for each of PROGNAME-LIST
4085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4086 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4089 test -z "$as_dir" && as_dir=.
4090 for ac_prog in fgrep; do
4091 for ac_exec_ext in '' $ac_executable_extensions; do
4092 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4093 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4094 # Check for GNU ac_path_FGREP and select it if it is found.
4095 # Check for GNU $ac_path_FGREP
4096 case `"$ac_path_FGREP" --version 2>&1` in
4098 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4101 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4104 cat "conftest.in" "conftest.in" >"conftest.tmp"
4105 mv "conftest.tmp" "conftest.in"
4106 cp "conftest.in" "conftest.nl"
4107 echo 'FGREP' >> "conftest.nl"
4108 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4109 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4110 ac_count=`expr $ac_count + 1`
4111 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4112 # Best one so far, save it but keep looking for a better one
4113 ac_cv_path_FGREP="$ac_path_FGREP"
4114 ac_path_FGREP_max=$ac_count
4116 # 10*(2^10) chars as input seems more than enough
4117 test $ac_count -gt 10 && break
4119 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4123 $ac_path_FGREP_found && break 3
4133 FGREP="$ac_cv_path_FGREP"
4134 if test -z "$FGREP"; then
4135 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4136 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4137 { (exit 1); exit 1; }; }
4141 ac_cv_path_FGREP=$FGREP
4147 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4148 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4149 FGREP="$ac_cv_path_FGREP"
4152 test -z "$GREP" && GREP=grep
4172 # Check whether --with-gnu-ld was given.
4173 if test "${with_gnu_ld+set}" = set; then
4174 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4180 if test "$GCC" = yes; then
4181 # Check if gcc -print-prog-name=ld gives a path.
4182 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4183 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4186 # gcc leaves a trailing carriage return which upsets mingw
4187 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4189 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4192 # Accept absolute paths.
4194 re_direlt='/[^/][^/]*/\.\./'
4195 # Canonicalize the pathname of ld
4196 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4197 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4198 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4200 test -z "$LD" && LD="$ac_prog"
4203 # If it fails, then pretend we aren't using GCC.
4207 # If it is relative, then search for the first ld in PATH.
4211 elif test "$with_gnu_ld" = yes; then
4212 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4213 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4215 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4216 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4218 if test "${lt_cv_path_LD+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 if test -z "$LD"; then
4222 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4223 for ac_dir in $PATH; do
4225 test -z "$ac_dir" && ac_dir=.
4226 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4227 lt_cv_path_LD="$ac_dir/$ac_prog"
4228 # Check to see if the program is GNU ld. I'd rather use --version,
4229 # but apparently some variants of GNU ld only accept -v.
4230 # Break only if it was the GNU/non-GNU ld that we prefer.
4231 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4232 *GNU* | *'with BFD'*)
4233 test "$with_gnu_ld" != no && break
4236 test "$with_gnu_ld" != yes && break
4243 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4248 if test -n "$LD"; then
4249 { echo "$as_me:$LINENO: result: $LD" >&5
4250 echo "${ECHO_T}$LD" >&6; }
4252 { echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6; }
4255 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4256 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4257 { (exit 1); exit 1; }; }
4258 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4259 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4260 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4264 case `$LD -v 2>&1 </dev/null` in
4265 *GNU* | *'with BFD'*)
4266 lt_cv_prog_gnu_ld=yes
4269 lt_cv_prog_gnu_ld=no
4273 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4274 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4275 with_gnu_ld=$lt_cv_prog_gnu_ld
4285 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4286 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4287 if test "${lt_cv_path_NM+set}" = set; then
4288 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 if test -n "$NM"; then
4291 # Let the user override the test.
4294 lt_nm_to_check="${ac_tool_prefix}nm"
4295 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4296 lt_nm_to_check="$lt_nm_to_check nm"
4298 for lt_tmp_nm in $lt_nm_to_check; do
4299 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4300 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4302 test -z "$ac_dir" && ac_dir=.
4303 tmp_nm="$ac_dir/$lt_tmp_nm"
4304 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4305 # Check to see if the nm accepts a BSD-compat flag.
4306 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4307 # nm: unknown option "B" ignored
4308 # Tru64's nm complains that /dev/null is an invalid object file
4309 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4310 */dev/null* | *'Invalid file or object type'*)
4311 lt_cv_path_NM="$tmp_nm -B"
4315 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4317 lt_cv_path_NM="$tmp_nm -p"
4321 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4322 continue # so that we can try to find one that supports BSD flags
4331 : ${lt_cv_path_NM=no}
4334 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4335 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4336 if test "$lt_cv_path_NM" != "no"; then
4339 # Didn't find any BSD compatible name lister, look for dumpbin.
4340 if test -n "$ac_tool_prefix"; then
4341 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4347 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4348 echo $ECHO_N "(cached) $ECHO_C" >&6
4350 if test -n "$DUMPBIN"; then
4351 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir=.
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 DUMPBIN=$ac_cv_prog_DUMPBIN
4371 if test -n "$DUMPBIN"; then
4372 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4373 echo "${ECHO_T}$DUMPBIN" >&6; }
4375 { echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6; }
4380 test -n "$DUMPBIN" && break
4383 if test -z "$DUMPBIN"; then
4384 ac_ct_DUMPBIN=$DUMPBIN
4385 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4387 # Extract the first word of "$ac_prog", so it can be a program name with args.
4388 set dummy $ac_prog; ac_word=$2
4389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4391 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 if test -n "$ac_ct_DUMPBIN"; then
4395 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir=.
4402 for ac_exec_ext in '' $ac_executable_extensions; do
4403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4415 if test -n "$ac_ct_DUMPBIN"; then
4416 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4417 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4419 { echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6; }
4424 test -n "$ac_ct_DUMPBIN" && break
4427 if test "x$ac_ct_DUMPBIN" = x; then
4430 case $cross_compiling:$ac_tool_warned in
4432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4433 whose name does not start with the host triplet. If you think this
4434 configuration is useful to you, please write to autoconf@gnu.org." >&5
4435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4436 whose name does not start with the host triplet. If you think this
4437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4438 ac_tool_warned=yes ;;
4440 DUMPBIN=$ac_ct_DUMPBIN
4445 if test "$DUMPBIN" != ":"; then
4449 test -z "$NM" && NM=nm
4456 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4457 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4458 if test "${lt_cv_nm_interface+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 lt_cv_nm_interface="BSD nm"
4462 echo "int some_variable = 0;" > conftest.$ac_ext
4463 (eval echo "\"\$as_me:4463: $ac_compile\"" >&5)
4464 (eval "$ac_compile" 2>conftest.err)
4465 cat conftest.err >&5
4466 (eval echo "\"\$as_me:4466: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4467 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4468 cat conftest.err >&5
4469 (eval echo "\"\$as_me:4469: output\"" >&5)
4470 cat conftest.out >&5
4471 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4472 lt_cv_nm_interface="MS dumpbin"
4476 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4477 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4479 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4480 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4482 if test "$LN_S" = "ln -s"; then
4483 { echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6; }
4486 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4487 echo "${ECHO_T}no, using $LN_S" >&6; }
4490 # find the maximum length of command line arguments
4491 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4492 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4493 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4494 echo $ECHO_N "(cached) $ECHO_C" >&6
4501 # On DJGPP, this test can blow up pretty badly due to problems in libc
4502 # (any single argument exceeding 2000 bytes causes a buffer overrun
4503 # during glob expansion). Even if it were fixed, the result of this
4504 # check would be larger than it should be.
4505 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4509 # Under GNU Hurd, this test is not required because there is
4510 # no limit to the length of command line arguments.
4511 # Libtool will interpret -1 as no limit whatsoever
4512 lt_cv_sys_max_cmd_len=-1;
4516 # On Win9x/ME, this test blows up -- it succeeds, but takes
4517 # about 5 minutes as the teststring grows exponentially.
4518 # Worse, since 9x/ME are not pre-emptively multitasking,
4519 # you end up with a "frozen" computer, even though with patience
4520 # the test eventually succeeds (with a max line length of 256k).
4521 # Instead, let's just punt: use the minimum linelength reported by
4522 # all of the supported platforms: 8192 (on NT/2K/XP).
4523 lt_cv_sys_max_cmd_len=8192;
4527 # On AmigaOS with pdksh, this test takes hours, literally.
4528 # So we just punt and use a minimum line length of 8192.
4529 lt_cv_sys_max_cmd_len=8192;
4532 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4533 # This has been around since 386BSD, at least. Likely further.
4534 if test -x /sbin/sysctl; then
4535 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4536 elif test -x /usr/sbin/sysctl; then
4537 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4539 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4541 # And add a safety zone
4542 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4543 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4547 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4548 lt_cv_sys_max_cmd_len=196608
4552 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4553 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4554 # nice to cause kernel panics so lets avoid the loop below.
4555 # First set a reasonable default.
4556 lt_cv_sys_max_cmd_len=16384
4558 if test -x /sbin/sysconfig; then
4559 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4560 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4565 lt_cv_sys_max_cmd_len=102400
4567 sysv5* | sco5v6* | sysv4.2uw2*)
4568 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4569 if test -n "$kargmax"; then
4570 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4572 lt_cv_sys_max_cmd_len=32768
4576 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4577 if test -n "$lt_cv_sys_max_cmd_len"; then
4578 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4579 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4581 # Make teststring a little bigger before we do anything with it.
4582 # a 1K string should be a reasonable start.
4583 for i in 1 2 3 4 5 6 7 8 ; do
4584 teststring=$teststring$teststring
4586 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4587 # If test is not a shell built-in, we'll probably end up computing a
4588 # maximum length that is only half of the actual maximum length, but
4590 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4591 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4592 test $i != 17 # 1/2 MB should be enough
4595 teststring=$teststring$teststring
4597 # Only check the string length outside the loop.
4598 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4600 # Add a significant safety factor because C++ compilers can tack on
4601 # massive amounts of additional arguments before passing them to the
4602 # linker. It appears as though 1/2 is a usable value.
4603 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4610 if test -n $lt_cv_sys_max_cmd_len ; then
4611 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4612 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4614 { echo "$as_me:$LINENO: result: none" >&5
4615 echo "${ECHO_T}none" >&6; }
4617 max_cmd_len=$lt_cv_sys_max_cmd_len
4628 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4629 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4630 # Try some XSI features
4633 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4635 && eval 'test $(( 1 + 1 )) -eq 2 \
4636 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4638 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4639 echo "${ECHO_T}$xsi_shell" >&6; }
4642 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4643 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4645 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4647 && lt_shell_append=yes
4648 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4649 echo "${ECHO_T}$lt_shell_append" >&6; }
4652 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4662 # test EBCDIC or ASCII
4663 case `echo X|tr X '\101'` in
4664 A) # ASCII based system
4665 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4666 lt_SP2NL='tr \040 \012'
4667 lt_NL2SP='tr \015\012 \040\040'
4669 *) # EBCDIC based system
4670 lt_SP2NL='tr \100 \n'
4671 lt_NL2SP='tr \r\n \100\100'
4683 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4684 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4685 if test "${lt_cv_ld_reload_flag+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 lt_cv_ld_reload_flag='-r'
4690 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4691 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4692 reload_flag=$lt_cv_ld_reload_flag
4693 case $reload_flag in
4695 *) reload_flag=" $reload_flag" ;;
4697 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4700 if test "$GCC" = yes; then
4701 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4703 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4717 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4718 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4719 if test "${lt_cv_deplibs_check_method+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 lt_cv_file_magic_cmd='$MAGIC_CMD'
4723 lt_cv_file_magic_test_file=
4724 lt_cv_deplibs_check_method='unknown'
4725 # Need to set the preceding variable on all platforms that support
4726 # interlibrary dependencies.
4727 # 'none' -- dependencies not supported.
4728 # `unknown' -- same as none, but documents that we really don't know.
4729 # 'pass_all' -- all dependencies passed with no checks.
4730 # 'test_compile' -- check by making test program.
4731 # 'file_magic [[regex]]' -- check by looking for files in library path
4732 # which responds to the $file_magic_cmd with a given extended regex.
4733 # If you have `file' or equivalent on your system and you're not sure
4734 # whether `pass_all' will *always* work, you probably want this one.
4738 lt_cv_deplibs_check_method=pass_all
4742 lt_cv_deplibs_check_method=pass_all
4746 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4747 lt_cv_file_magic_cmd='/usr/bin/file -L'
4748 lt_cv_file_magic_test_file=/shlib/libc.so
4752 # func_win32_libid is a shell function defined in ltmain.sh
4753 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4754 lt_cv_file_magic_cmd='func_win32_libid'
4758 # Base MSYS/MinGW do not provide the 'file' command needed by
4759 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4760 # unless we find 'file', for example because we are cross-compiling.
4761 if ( file / ) >/dev/null 2>&1; then
4762 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4763 lt_cv_file_magic_cmd='func_win32_libid'
4765 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4766 lt_cv_file_magic_cmd='$OBJDUMP -f'
4770 darwin* | rhapsody*)
4771 lt_cv_deplibs_check_method=pass_all
4774 freebsd* | dragonfly*)
4775 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4778 # Not sure whether the presence of OpenBSD here was a mistake.
4779 # Let's accept both of them until this is cleared up.
4780 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4781 lt_cv_file_magic_cmd=/usr/bin/file
4782 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4786 lt_cv_deplibs_check_method=pass_all
4791 lt_cv_deplibs_check_method=pass_all
4794 hpux10.20* | hpux11*)
4795 lt_cv_file_magic_cmd=/usr/bin/file
4798 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4799 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4802 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]'
4803 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4806 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4807 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4813 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4814 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4817 irix5* | irix6* | nonstopux*)
4819 *-32|*"-32 ") libmagic=32-bit;;
4820 *-n32|*"-n32 ") libmagic=N32;;
4821 *-64|*"-64 ") libmagic=64-bit;;
4822 *) libmagic=never-match;;
4824 lt_cv_deplibs_check_method=pass_all
4827 # This must be Linux ELF.
4828 linux* | k*bsd*-gnu)
4829 lt_cv_deplibs_check_method=pass_all
4833 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4834 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4836 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4841 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4842 lt_cv_file_magic_cmd=/usr/bin/file
4843 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4847 lt_cv_deplibs_check_method=pass_all
4851 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4852 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4854 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4858 osf3* | osf4* | osf5*)
4859 lt_cv_deplibs_check_method=pass_all
4863 lt_cv_deplibs_check_method=pass_all
4867 lt_cv_deplibs_check_method=pass_all
4870 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4871 lt_cv_deplibs_check_method=pass_all
4875 case $host_vendor in
4877 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]'
4878 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4881 lt_cv_deplibs_check_method=pass_all
4884 lt_cv_file_magic_cmd='/bin/file'
4885 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4888 lt_cv_file_magic_cmd='/bin/file'
4889 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4890 lt_cv_file_magic_test_file=/lib/libc.so
4893 lt_cv_deplibs_check_method=pass_all
4896 lt_cv_deplibs_check_method=pass_all
4902 lt_cv_deplibs_check_method=pass_all
4907 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4908 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4909 file_magic_cmd=$lt_cv_file_magic_cmd
4910 deplibs_check_method=$lt_cv_deplibs_check_method
4911 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4924 if test -n "$ac_tool_prefix"; then
4925 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4926 set dummy ${ac_tool_prefix}ar; ac_word=$2
4927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4929 if test "${ac_cv_prog_AR+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 if test -n "$AR"; then
4933 ac_cv_prog_AR="$AR" # Let the user override the test.
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir=.
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4942 ac_cv_prog_AR="${ac_tool_prefix}ar"
4943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 if test -n "$AR"; then
4954 { echo "$as_me:$LINENO: result: $AR" >&5
4955 echo "${ECHO_T}$AR" >&6; }
4957 { echo "$as_me:$LINENO: result: no" >&5
4958 echo "${ECHO_T}no" >&6; }
4963 if test -z "$ac_cv_prog_AR"; then
4965 # Extract the first word of "ar", so it can be a program name with args.
4966 set dummy ar; ac_word=$2
4967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4969 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4970 echo $ECHO_N "(cached) $ECHO_C" >&6
4972 if test -n "$ac_ct_AR"; then
4973 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 test -z "$as_dir" && as_dir=.
4980 for ac_exec_ext in '' $ac_executable_extensions; do
4981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4982 ac_cv_prog_ac_ct_AR="ar"
4983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4993 if test -n "$ac_ct_AR"; then
4994 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4995 echo "${ECHO_T}$ac_ct_AR" >&6; }
4997 { echo "$as_me:$LINENO: result: no" >&5
4998 echo "${ECHO_T}no" >&6; }
5001 if test "x$ac_ct_AR" = x; then
5004 case $cross_compiling:$ac_tool_warned in
5006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5007 whose name does not start with the host triplet. If you think this
5008 configuration is useful to you, please write to autoconf@gnu.org." >&5
5009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5010 whose name does not start with the host triplet. If you think this
5011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5012 ac_tool_warned=yes ;;
5020 test -z "$AR" && AR=ar
5021 test -z "$AR_FLAGS" && AR_FLAGS=cru
5033 if test -n "$ac_tool_prefix"; then
5034 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5035 set dummy ${ac_tool_prefix}strip; ac_word=$2
5036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5038 if test "${ac_cv_prog_STRIP+set}" = set; then
5039 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 if test -n "$STRIP"; then
5042 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5051 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 STRIP=$ac_cv_prog_STRIP
5062 if test -n "$STRIP"; then
5063 { echo "$as_me:$LINENO: result: $STRIP" >&5
5064 echo "${ECHO_T}$STRIP" >&6; }
5066 { echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6; }
5072 if test -z "$ac_cv_prog_STRIP"; then
5074 # Extract the first word of "strip", so it can be a program name with args.
5075 set dummy strip; ac_word=$2
5076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5078 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5079 echo $ECHO_N "(cached) $ECHO_C" >&6
5081 if test -n "$ac_ct_STRIP"; then
5082 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5091 ac_cv_prog_ac_ct_STRIP="strip"
5092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5102 if test -n "$ac_ct_STRIP"; then
5103 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5104 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5106 { echo "$as_me:$LINENO: result: no" >&5
5107 echo "${ECHO_T}no" >&6; }
5110 if test "x$ac_ct_STRIP" = x; then
5113 case $cross_compiling:$ac_tool_warned in
5115 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5116 whose name does not start with the host triplet. If you think this
5117 configuration is useful to you, please write to autoconf@gnu.org." >&5
5118 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5119 whose name does not start with the host triplet. If you think this
5120 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5121 ac_tool_warned=yes ;;
5126 STRIP="$ac_cv_prog_STRIP"
5129 test -z "$STRIP" && STRIP=:
5136 if test -n "$ac_tool_prefix"; then
5137 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5138 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5141 if test "${ac_cv_prog_RANLIB+set}" = set; then
5142 echo $ECHO_N "(cached) $ECHO_C" >&6
5144 if test -n "$RANLIB"; then
5145 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 test -z "$as_dir" && as_dir=.
5152 for ac_exec_ext in '' $ac_executable_extensions; do
5153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5154 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 RANLIB=$ac_cv_prog_RANLIB
5165 if test -n "$RANLIB"; then
5166 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5167 echo "${ECHO_T}$RANLIB" >&6; }
5169 { echo "$as_me:$LINENO: result: no" >&5
5170 echo "${ECHO_T}no" >&6; }
5175 if test -z "$ac_cv_prog_RANLIB"; then
5176 ac_ct_RANLIB=$RANLIB
5177 # Extract the first word of "ranlib", so it can be a program name with args.
5178 set dummy ranlib; ac_word=$2
5179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5181 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5182 echo $ECHO_N "(cached) $ECHO_C" >&6
5184 if test -n "$ac_ct_RANLIB"; then
5185 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 test -z "$as_dir" && as_dir=.
5192 for ac_exec_ext in '' $ac_executable_extensions; do
5193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5194 ac_cv_prog_ac_ct_RANLIB="ranlib"
5195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5204 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5205 if test -n "$ac_ct_RANLIB"; then
5206 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5207 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5209 { echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6; }
5213 if test "x$ac_ct_RANLIB" = x; then
5216 case $cross_compiling:$ac_tool_warned in
5218 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5219 whose name does not start with the host triplet. If you think this
5220 configuration is useful to you, please write to autoconf@gnu.org." >&5
5221 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5222 whose name does not start with the host triplet. If you think this
5223 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5224 ac_tool_warned=yes ;;
5226 RANLIB=$ac_ct_RANLIB
5229 RANLIB="$ac_cv_prog_RANLIB"
5232 test -z "$RANLIB" && RANLIB=:
5239 # Determine commands to create old-style static archives.
5240 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5241 old_postinstall_cmds='chmod 644 $oldlib'
5242 old_postuninstall_cmds=
5244 if test -n "$RANLIB"; then
5247 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5250 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5253 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5289 # If no C compiler was specified, use CC.
5292 # If no C compiler flags were specified, use CFLAGS.
5293 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5295 # Allow CC to be a program name with arguments.
5299 # Check for command to grab the raw symbol name followed by C symbol from nm.
5300 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5301 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5302 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 # These are sane defaults that work on at least a few old systems.
5307 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5309 # Character class describing NM global symbol codes.
5310 symcode='[BCDEGRST]'
5312 # Regexp to match symbols that can be accessed directly from C.
5313 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5315 # Define system-specific variables.
5320 cygwin* | mingw* | pw32*)
5321 symcode='[ABCDGISTW]'
5324 if test "$host_cpu" = ia64; then
5325 symcode='[ABCDEGRST]'
5329 symcode='[BCDEGRST]'
5332 symcode='[BCDEGQRST]'
5343 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5351 # If we're using GNU nm, then use its standard symbol codes.
5352 case `$NM -V 2>&1` in
5353 *GNU* | *'with BFD'*)
5354 symcode='[ABCDGIRSTW]' ;;
5357 # Transform an extracted symbol line into a proper C declaration.
5358 # Some systems (esp. on ia64) link data and code symbols differently,
5359 # so use this general approach.
5360 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5362 # Transform an extracted symbol line into symbol name and symbol address
5363 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5364 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'"
5366 # Handle CRLF in mingw tool chain
5370 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5374 # Try without a prefix underscore, then with it.
5375 for ac_symprfx in "" "_"; do
5377 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5378 symxfrm="\\1 $ac_symprfx\\2 \\2"
5380 # Write the raw and C identifiers.
5381 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5382 # Fake it for dumpbin and say T for any non-static function
5383 # and D for any global variable.
5384 # Also find C++ and __fastcall symbols from MSVC++,
5385 # which start with @ or ?.
5386 lt_cv_sys_global_symbol_pipe="$AWK '"\
5387 " {last_section=section; section=\$ 3};"\
5388 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5389 " \$ 0!~/External *\|/{next};"\
5390 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5391 " {if(hide[section]) next};"\
5392 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5393 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5394 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5395 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5396 " ' prfx=^$ac_symprfx"
5398 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5401 # Check to see that the pipe works correctly.
5405 cat > conftest.$ac_ext <<_LT_EOF
5410 void nm_test_func(void);
5411 void nm_test_func(void){}
5415 int main(){nm_test_var='a';nm_test_func();return(0);}
5418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5419 (eval $ac_compile) 2>&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); }; then
5423 # Now try to grab the symbols.
5425 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5426 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5429 (exit $ac_status); } && test -s "$nlist"; then
5430 # Try sorting and uniquifying the output.
5431 if sort "$nlist" | uniq > "$nlist"T; then
5432 mv -f "$nlist"T "$nlist"
5437 # Make sure that we snagged all the symbols we need.
5438 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5439 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5440 cat <<_LT_EOF > conftest.$ac_ext
5446 # Now generate the symbol file.
5447 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5449 cat <<_LT_EOF >> conftest.$ac_ext
5451 /* The mapping between symbol names and symbols. */
5456 lt__PROGRAM__LTX_preloaded_symbols[] =
5458 { "@PROGRAM@", (void *) 0 },
5460 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5461 cat <<\_LT_EOF >> conftest.$ac_ext
5465 /* This works around a problem in FreeBSD linker */
5466 #ifdef FREEBSD_WORKAROUND
5467 static const void *lt_preloaded_setup() {
5468 return lt__PROGRAM__LTX_preloaded_symbols;
5476 # Now try linking the two files.
5477 mv conftest.$ac_objext conftstm.$ac_objext
5478 lt_save_LIBS="$LIBS"
5479 lt_save_CFLAGS="$CFLAGS"
5480 LIBS="conftstm.$ac_objext"
5481 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5483 (eval $ac_link) 2>&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5489 LIBS="$lt_save_LIBS"
5490 CFLAGS="$lt_save_CFLAGS"
5492 echo "cannot find nm_test_func in $nlist" >&5
5495 echo "cannot find nm_test_var in $nlist" >&5
5498 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5501 echo "$progname: failed program was:" >&5
5502 cat conftest.$ac_ext >&5
5504 rm -rf conftest* conftst*
5506 # Do not use the global_symbol_pipe unless it works.
5507 if test "$pipe_works" = yes; then
5510 lt_cv_sys_global_symbol_pipe=
5516 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5517 lt_cv_sys_global_symbol_to_cdecl=
5519 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5520 { echo "$as_me:$LINENO: result: failed" >&5
5521 echo "${ECHO_T}failed" >&6; }
5523 { echo "$as_me:$LINENO: result: ok" >&5
5524 echo "${ECHO_T}ok" >&6; }
5549 # Check whether --enable-libtool-lock was given.
5550 if test "${enable_libtool_lock+set}" = set; then
5551 enableval=$enable_libtool_lock;
5554 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5556 # Some flags need to be propagated to the compiler or linker for good
5560 # Find out which ABI we are using.
5561 echo 'int i;' > conftest.$ac_ext
5562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5563 (eval $ac_compile) 2>&5
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); }; then
5567 case `/usr/bin/file conftest.$ac_objext` in
5579 # Find out which ABI we are using.
5580 echo '#line 5580 "configure"' > conftest.$ac_ext
5581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5582 (eval $ac_compile) 2>&5
5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5585 (exit $ac_status); }; then
5586 if test "$lt_cv_prog_gnu_ld" = yes; then
5587 case `/usr/bin/file conftest.$ac_objext` in
5589 LD="${LD-ld} -melf32bsmip"
5592 LD="${LD-ld} -melf32bmipn32"
5595 LD="${LD-ld} -melf64bmip"
5599 case `/usr/bin/file conftest.$ac_objext` in
5615 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5616 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5617 # Find out which ABI we are using.
5618 echo 'int i;' > conftest.$ac_ext
5619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5620 (eval $ac_compile) 2>&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); }; then
5624 case `/usr/bin/file conftest.o` in
5627 x86_64-*kfreebsd*-gnu)
5628 LD="${LD-ld} -m elf_i386_fbsd"
5631 LD="${LD-ld} -m elf_i386"
5633 ppc64-*linux*|powerpc64-*linux*)
5634 LD="${LD-ld} -m elf32ppclinux"
5637 LD="${LD-ld} -m elf_s390"
5640 LD="${LD-ld} -m elf32_sparc"
5646 x86_64-*kfreebsd*-gnu)
5647 LD="${LD-ld} -m elf_x86_64_fbsd"
5650 LD="${LD-ld} -m elf_x86_64"
5652 ppc*-*linux*|powerpc*-*linux*)
5653 LD="${LD-ld} -m elf64ppc"
5655 s390*-*linux*|s390*-*tpf*)
5656 LD="${LD-ld} -m elf64_s390"
5659 LD="${LD-ld} -m elf64_sparc"
5669 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5670 SAVE_CFLAGS="$CFLAGS"
5671 CFLAGS="$CFLAGS -belf"
5672 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5673 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5674 if test "${lt_cv_cc_needs_belf+set}" = set; then
5675 echo $ECHO_N "(cached) $ECHO_C" >&6
5678 ac_cpp='$CPP $CPPFLAGS'
5679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5683 cat >conftest.$ac_ext <<_ACEOF
5686 cat confdefs.h >>conftest.$ac_ext
5687 cat >>conftest.$ac_ext <<_ACEOF
5688 /* end confdefs.h. */
5698 rm -f conftest.$ac_objext conftest$ac_exeext
5699 if { (ac_try="$ac_link"
5701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5702 *) ac_try_echo=$ac_try;;
5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705 (eval "$ac_link") 2>conftest.er1
5707 grep -v '^ *+' conftest.er1 >conftest.err
5709 cat conftest.err >&5
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); } && {
5712 test -z "$ac_c_werror_flag" ||
5713 test ! -s conftest.err
5714 } && test -s conftest$ac_exeext &&
5715 $as_test_x conftest$ac_exeext; then
5716 lt_cv_cc_needs_belf=yes
5718 echo "$as_me: failed program was:" >&5
5719 sed 's/^/| /' conftest.$ac_ext >&5
5721 lt_cv_cc_needs_belf=no
5724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5725 conftest$ac_exeext conftest.$ac_ext
5727 ac_cpp='$CPP $CPPFLAGS'
5728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5733 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5734 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5735 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5736 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5737 CFLAGS="$SAVE_CFLAGS"
5741 # Find out which ABI we are using.
5742 echo 'int i;' > conftest.$ac_ext
5743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5744 (eval $ac_compile) 2>&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; then
5748 case `/usr/bin/file conftest.o` in
5750 case $lt_cv_prog_gnu_ld in
5751 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5753 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5765 need_locks="$enable_libtool_lock"
5769 rhapsody* | darwin*)
5770 if test -n "$ac_tool_prefix"; then
5771 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5772 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5775 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5778 if test -n "$DSYMUTIL"; then
5779 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5788 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5799 if test -n "$DSYMUTIL"; then
5800 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5801 echo "${ECHO_T}$DSYMUTIL" >&6; }
5803 { echo "$as_me:$LINENO: result: no" >&5
5804 echo "${ECHO_T}no" >&6; }
5809 if test -z "$ac_cv_prog_DSYMUTIL"; then
5810 ac_ct_DSYMUTIL=$DSYMUTIL
5811 # Extract the first word of "dsymutil", so it can be a program name with args.
5812 set dummy dsymutil; ac_word=$2
5813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5815 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 if test -n "$ac_ct_DSYMUTIL"; then
5819 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5839 if test -n "$ac_ct_DSYMUTIL"; then
5840 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5841 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
5843 { echo "$as_me:$LINENO: result: no" >&5
5844 echo "${ECHO_T}no" >&6; }
5847 if test "x$ac_ct_DSYMUTIL" = x; then
5850 case $cross_compiling:$ac_tool_warned in
5852 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5853 whose name does not start with the host triplet. If you think this
5854 configuration is useful to you, please write to autoconf@gnu.org." >&5
5855 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5856 whose name does not start with the host triplet. If you think this
5857 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5858 ac_tool_warned=yes ;;
5860 DSYMUTIL=$ac_ct_DSYMUTIL
5863 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5866 if test -n "$ac_tool_prefix"; then
5867 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5868 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5871 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5874 if test -n "$NMEDIT"; then
5875 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5884 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5894 NMEDIT=$ac_cv_prog_NMEDIT
5895 if test -n "$NMEDIT"; then
5896 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
5897 echo "${ECHO_T}$NMEDIT" >&6; }
5899 { echo "$as_me:$LINENO: result: no" >&5
5900 echo "${ECHO_T}no" >&6; }
5905 if test -z "$ac_cv_prog_NMEDIT"; then
5906 ac_ct_NMEDIT=$NMEDIT
5907 # Extract the first word of "nmedit", so it can be a program name with args.
5908 set dummy nmedit; ac_word=$2
5909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5911 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 if test -n "$ac_ct_NMEDIT"; then
5915 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5924 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5935 if test -n "$ac_ct_NMEDIT"; then
5936 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5937 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
5939 { echo "$as_me:$LINENO: result: no" >&5
5940 echo "${ECHO_T}no" >&6; }
5943 if test "x$ac_ct_NMEDIT" = x; then
5946 case $cross_compiling:$ac_tool_warned in
5948 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5949 whose name does not start with the host triplet. If you think this
5950 configuration is useful to you, please write to autoconf@gnu.org." >&5
5951 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5952 whose name does not start with the host triplet. If you think this
5953 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5954 ac_tool_warned=yes ;;
5956 NMEDIT=$ac_ct_NMEDIT
5959 NMEDIT="$ac_cv_prog_NMEDIT"
5962 if test -n "$ac_tool_prefix"; then
5963 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5964 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5967 if test "${ac_cv_prog_LIPO+set}" = set; then
5968 echo $ECHO_N "(cached) $ECHO_C" >&6
5970 if test -n "$LIPO"; then
5971 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5980 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 LIPO=$ac_cv_prog_LIPO
5991 if test -n "$LIPO"; then
5992 { echo "$as_me:$LINENO: result: $LIPO" >&5
5993 echo "${ECHO_T}$LIPO" >&6; }
5995 { echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6; }
6001 if test -z "$ac_cv_prog_LIPO"; then
6003 # Extract the first word of "lipo", so it can be a program name with args.
6004 set dummy lipo; ac_word=$2
6005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6007 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6008 echo $ECHO_N "(cached) $ECHO_C" >&6
6010 if test -n "$ac_ct_LIPO"; then
6011 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6020 ac_cv_prog_ac_ct_LIPO="lipo"
6021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6031 if test -n "$ac_ct_LIPO"; then
6032 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6033 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6035 { echo "$as_me:$LINENO: result: no" >&5
6036 echo "${ECHO_T}no" >&6; }
6039 if test "x$ac_ct_LIPO" = x; then
6042 case $cross_compiling:$ac_tool_warned in
6044 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6045 whose name does not start with the host triplet. If you think this
6046 configuration is useful to you, please write to autoconf@gnu.org." >&5
6047 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6048 whose name does not start with the host triplet. If you think this
6049 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6050 ac_tool_warned=yes ;;
6055 LIPO="$ac_cv_prog_LIPO"
6058 if test -n "$ac_tool_prefix"; then
6059 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6060 set dummy ${ac_tool_prefix}otool; ac_word=$2
6061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6063 if test "${ac_cv_prog_OTOOL+set}" = set; then
6064 echo $ECHO_N "(cached) $ECHO_C" >&6
6066 if test -n "$OTOOL"; then
6067 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 OTOOL=$ac_cv_prog_OTOOL
6087 if test -n "$OTOOL"; then
6088 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6089 echo "${ECHO_T}$OTOOL" >&6; }
6091 { echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6; }
6097 if test -z "$ac_cv_prog_OTOOL"; then
6099 # Extract the first word of "otool", so it can be a program name with args.
6100 set dummy otool; ac_word=$2
6101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6103 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6104 echo $ECHO_N "(cached) $ECHO_C" >&6
6106 if test -n "$ac_ct_OTOOL"; then
6107 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116 ac_cv_prog_ac_ct_OTOOL="otool"
6117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6127 if test -n "$ac_ct_OTOOL"; then
6128 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6129 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6131 { echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6; }
6135 if test "x$ac_ct_OTOOL" = x; then
6138 case $cross_compiling:$ac_tool_warned in
6140 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6141 whose name does not start with the host triplet. If you think this
6142 configuration is useful to you, please write to autoconf@gnu.org." >&5
6143 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6144 whose name does not start with the host triplet. If you think this
6145 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6146 ac_tool_warned=yes ;;
6151 OTOOL="$ac_cv_prog_OTOOL"
6154 if test -n "$ac_tool_prefix"; then
6155 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6156 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6159 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 if test -n "$OTOOL64"; then
6163 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 OTOOL64=$ac_cv_prog_OTOOL64
6183 if test -n "$OTOOL64"; then
6184 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6185 echo "${ECHO_T}$OTOOL64" >&6; }
6187 { echo "$as_me:$LINENO: result: no" >&5
6188 echo "${ECHO_T}no" >&6; }
6193 if test -z "$ac_cv_prog_OTOOL64"; then
6194 ac_ct_OTOOL64=$OTOOL64
6195 # Extract the first word of "otool64", so it can be a program name with args.
6196 set dummy otool64; ac_word=$2
6197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6199 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6200 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 if test -n "$ac_ct_OTOOL64"; then
6203 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6212 ac_cv_prog_ac_ct_OTOOL64="otool64"
6213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6223 if test -n "$ac_ct_OTOOL64"; then
6224 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6225 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6227 { echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6; }
6231 if test "x$ac_ct_OTOOL64" = x; then
6234 case $cross_compiling:$ac_tool_warned in
6236 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6237 whose name does not start with the host triplet. If you think this
6238 configuration is useful to you, please write to autoconf@gnu.org." >&5
6239 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6240 whose name does not start with the host triplet. If you think this
6241 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6242 ac_tool_warned=yes ;;
6244 OTOOL64=$ac_ct_OTOOL64
6247 OTOOL64="$ac_cv_prog_OTOOL64"
6276 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6277 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6278 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 lt_cv_apple_cc_single_mod=no
6282 if test -z "${LT_MULTI_MODULE}"; then
6283 # By default we will add the -single_module flag. You can override
6284 # by either setting the environment variable LT_MULTI_MODULE
6285 # non-empty at configure time, or by adding -multi_module to the
6287 rm -rf libconftest.dylib*
6288 echo "int foo(void){return 1;}" > conftest.c
6289 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6290 -dynamiclib -Wl,-single_module conftest.c" >&5
6291 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6292 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6294 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6295 lt_cv_apple_cc_single_mod=yes
6297 cat conftest.err >&5
6299 rm -rf libconftest.dylib*
6303 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6304 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6305 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6306 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6307 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 lt_cv_ld_exported_symbols_list=no
6311 save_LDFLAGS=$LDFLAGS
6312 echo "_main" > conftest.sym
6313 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6314 cat >conftest.$ac_ext <<_ACEOF
6317 cat confdefs.h >>conftest.$ac_ext
6318 cat >>conftest.$ac_ext <<_ACEOF
6319 /* end confdefs.h. */
6329 rm -f conftest.$ac_objext conftest$ac_exeext
6330 if { (ac_try="$ac_link"
6332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6333 *) ac_try_echo=$ac_try;;
6335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6336 (eval "$ac_link") 2>conftest.er1
6338 grep -v '^ *+' conftest.er1 >conftest.err
6340 cat conftest.err >&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } && {
6343 test -z "$ac_c_werror_flag" ||
6344 test ! -s conftest.err
6345 } && test -s conftest$ac_exeext &&
6346 $as_test_x conftest$ac_exeext; then
6347 lt_cv_ld_exported_symbols_list=yes
6349 echo "$as_me: failed program was:" >&5
6350 sed 's/^/| /' conftest.$ac_ext >&5
6352 lt_cv_ld_exported_symbols_list=no
6355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6356 conftest$ac_exeext conftest.$ac_ext
6357 LDFLAGS="$save_LDFLAGS"
6360 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6361 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6363 rhapsody* | darwin1.[012])
6364 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6366 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6367 darwin*) # darwin 5.x on
6368 # if running on 10.5 or later, the deployment target defaults
6369 # to the OS version, if on x86, and 10.4, the deployment
6370 # target defaults to 10.4. Don't you love it?
6371 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6372 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6373 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6375 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6377 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6381 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6382 _lt_dar_single_mod='$single_module'
6384 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6385 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6387 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6389 if test "$DSYMUTIL" != ":"; then
6390 _lt_dsymutil='~$DSYMUTIL $lib || :'
6398 ac_cpp='$CPP $CPPFLAGS'
6399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6402 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6403 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6404 # On Suns, sometimes $CPP names a directory.
6405 if test -n "$CPP" && test -d "$CPP"; then
6408 if test -z "$CPP"; then
6409 if test "${ac_cv_prog_CPP+set}" = set; then
6410 echo $ECHO_N "(cached) $ECHO_C" >&6
6412 # Double quotes because CPP needs to be expanded
6413 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6416 for ac_c_preproc_warn_flag in '' yes
6418 # Use a header file that comes with gcc, so configuring glibc
6419 # with a fresh cross-compiler works.
6420 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6421 # <limits.h> exists even on freestanding compilers.
6422 # On the NeXT, cc -E runs the code through the compiler's parser,
6423 # not just through cpp. "Syntax error" is here to catch this case.
6424 cat >conftest.$ac_ext <<_ACEOF
6427 cat confdefs.h >>conftest.$ac_ext
6428 cat >>conftest.$ac_ext <<_ACEOF
6429 /* end confdefs.h. */
6431 # include <limits.h>
6433 # include <assert.h>
6437 if { (ac_try="$ac_cpp conftest.$ac_ext"
6439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6440 *) ac_try_echo=$ac_try;;
6442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6445 grep -v '^ *+' conftest.er1 >conftest.err
6447 cat conftest.err >&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); } >/dev/null && {
6450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6451 test ! -s conftest.err
6455 echo "$as_me: failed program was:" >&5
6456 sed 's/^/| /' conftest.$ac_ext >&5
6458 # Broken: fails on valid input.
6462 rm -f conftest.err conftest.$ac_ext
6464 # OK, works on sane cases. Now check whether nonexistent headers
6465 # can be detected and how.
6466 cat >conftest.$ac_ext <<_ACEOF
6469 cat confdefs.h >>conftest.$ac_ext
6470 cat >>conftest.$ac_ext <<_ACEOF
6471 /* end confdefs.h. */
6472 #include <ac_nonexistent.h>
6474 if { (ac_try="$ac_cpp conftest.$ac_ext"
6476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6477 *) ac_try_echo=$ac_try;;
6479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6480 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6482 grep -v '^ *+' conftest.er1 >conftest.err
6484 cat conftest.err >&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); } >/dev/null && {
6487 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6488 test ! -s conftest.err
6490 # Broken: success on invalid input.
6493 echo "$as_me: failed program was:" >&5
6494 sed 's/^/| /' conftest.$ac_ext >&5
6496 # Passes both tests.
6501 rm -f conftest.err conftest.$ac_ext
6504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6505 rm -f conftest.err conftest.$ac_ext
6506 if $ac_preproc_ok; then
6518 { echo "$as_me:$LINENO: result: $CPP" >&5
6519 echo "${ECHO_T}$CPP" >&6; }
6521 for ac_c_preproc_warn_flag in '' yes
6523 # Use a header file that comes with gcc, so configuring glibc
6524 # with a fresh cross-compiler works.
6525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6526 # <limits.h> exists even on freestanding compilers.
6527 # On the NeXT, cc -E runs the code through the compiler's parser,
6528 # not just through cpp. "Syntax error" is here to catch this case.
6529 cat >conftest.$ac_ext <<_ACEOF
6532 cat confdefs.h >>conftest.$ac_ext
6533 cat >>conftest.$ac_ext <<_ACEOF
6534 /* end confdefs.h. */
6536 # include <limits.h>
6538 # include <assert.h>
6542 if { (ac_try="$ac_cpp conftest.$ac_ext"
6544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6545 *) ac_try_echo=$ac_try;;
6547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6550 grep -v '^ *+' conftest.er1 >conftest.err
6552 cat conftest.err >&5
6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554 (exit $ac_status); } >/dev/null && {
6555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6556 test ! -s conftest.err
6560 echo "$as_me: failed program was:" >&5
6561 sed 's/^/| /' conftest.$ac_ext >&5
6563 # Broken: fails on valid input.
6567 rm -f conftest.err conftest.$ac_ext
6569 # OK, works on sane cases. Now check whether nonexistent headers
6570 # can be detected and how.
6571 cat >conftest.$ac_ext <<_ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6577 #include <ac_nonexistent.h>
6579 if { (ac_try="$ac_cpp conftest.$ac_ext"
6581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6582 *) ac_try_echo=$ac_try;;
6584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6587 grep -v '^ *+' conftest.er1 >conftest.err
6589 cat conftest.err >&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } >/dev/null && {
6592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6593 test ! -s conftest.err
6595 # Broken: success on invalid input.
6598 echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.$ac_ext >&5
6601 # Passes both tests.
6606 rm -f conftest.err conftest.$ac_ext
6609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6610 rm -f conftest.err conftest.$ac_ext
6611 if $ac_preproc_ok; then
6614 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6615 See \`config.log' for more details." >&5
6616 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6617 See \`config.log' for more details." >&2;}
6618 { (exit 1); exit 1; }; }
6622 ac_cpp='$CPP $CPPFLAGS'
6623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6628 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6629 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6630 if test "${ac_cv_header_stdc+set}" = set; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 cat >conftest.$ac_ext <<_ACEOF
6636 cat confdefs.h >>conftest.$ac_ext
6637 cat >>conftest.$ac_ext <<_ACEOF
6638 /* end confdefs.h. */
6652 rm -f conftest.$ac_objext
6653 if { (ac_try="$ac_compile"
6655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6656 *) ac_try_echo=$ac_try;;
6658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6659 (eval "$ac_compile") 2>conftest.er1
6661 grep -v '^ *+' conftest.er1 >conftest.err
6663 cat conftest.err >&5
6664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 (exit $ac_status); } && {
6666 test -z "$ac_c_werror_flag" ||
6667 test ! -s conftest.err
6668 } && test -s conftest.$ac_objext; then
6669 ac_cv_header_stdc=yes
6671 echo "$as_me: failed program was:" >&5
6672 sed 's/^/| /' conftest.$ac_ext >&5
6674 ac_cv_header_stdc=no
6677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6679 if test $ac_cv_header_stdc = yes; then
6680 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6681 cat >conftest.$ac_ext <<_ACEOF
6684 cat confdefs.h >>conftest.$ac_ext
6685 cat >>conftest.$ac_ext <<_ACEOF
6686 /* end confdefs.h. */
6690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6691 $EGREP "memchr" >/dev/null 2>&1; then
6694 ac_cv_header_stdc=no
6700 if test $ac_cv_header_stdc = yes; then
6701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6702 cat >conftest.$ac_ext <<_ACEOF
6705 cat confdefs.h >>conftest.$ac_ext
6706 cat >>conftest.$ac_ext <<_ACEOF
6707 /* end confdefs.h. */
6711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6712 $EGREP "free" >/dev/null 2>&1; then
6715 ac_cv_header_stdc=no
6721 if test $ac_cv_header_stdc = yes; then
6722 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6723 if test "$cross_compiling" = yes; then
6726 cat >conftest.$ac_ext <<_ACEOF
6729 cat confdefs.h >>conftest.$ac_ext
6730 cat >>conftest.$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6734 #if ((' ' & 0x0FF) == 0x020)
6735 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6736 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6738 # define ISLOWER(c) \
6739 (('a' <= (c) && (c) <= 'i') \
6740 || ('j' <= (c) && (c) <= 'r') \
6741 || ('s' <= (c) && (c) <= 'z'))
6742 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6745 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6750 for (i = 0; i < 256; i++)
6751 if (XOR (islower (i), ISLOWER (i))
6752 || toupper (i) != TOUPPER (i))
6757 rm -f conftest$ac_exeext
6758 if { (ac_try="$ac_link"
6760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6761 *) ac_try_echo=$ac_try;;
6763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6764 (eval "$ac_link") 2>&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6768 { (case "(($ac_try" in
6769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6770 *) ac_try_echo=$ac_try;;
6772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6773 (eval "$ac_try") 2>&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); }; }; then
6779 echo "$as_me: program exited with status $ac_status" >&5
6780 echo "$as_me: failed program was:" >&5
6781 sed 's/^/| /' conftest.$ac_ext >&5
6784 ac_cv_header_stdc=no
6786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6792 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6793 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6794 if test $ac_cv_header_stdc = yes; then
6796 cat >>confdefs.h <<\_ACEOF
6797 #define STDC_HEADERS 1
6802 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6812 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6813 inttypes.h stdint.h unistd.h
6815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6816 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6819 echo $ECHO_N "(cached) $ECHO_C" >&6
6821 cat >conftest.$ac_ext <<_ACEOF
6824 cat confdefs.h >>conftest.$ac_ext
6825 cat >>conftest.$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6827 $ac_includes_default
6829 #include <$ac_header>
6831 rm -f conftest.$ac_objext
6832 if { (ac_try="$ac_compile"
6834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6835 *) ac_try_echo=$ac_try;;
6837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6838 (eval "$ac_compile") 2>conftest.er1
6840 grep -v '^ *+' conftest.er1 >conftest.err
6842 cat conftest.err >&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); } && {
6845 test -z "$ac_c_werror_flag" ||
6846 test ! -s conftest.err
6847 } && test -s conftest.$ac_objext; then
6848 eval "$as_ac_Header=yes"
6850 echo "$as_me: failed program was:" >&5
6851 sed 's/^/| /' conftest.$ac_ext >&5
6853 eval "$as_ac_Header=no"
6856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6858 ac_res=`eval echo '${'$as_ac_Header'}'`
6859 { echo "$as_me:$LINENO: result: $ac_res" >&5
6860 echo "${ECHO_T}$ac_res" >&6; }
6861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6862 cat >>confdefs.h <<_ACEOF
6863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6872 for ac_header in dlfcn.h
6874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6878 echo $ECHO_N "(cached) $ECHO_C" >&6
6880 cat >conftest.$ac_ext <<_ACEOF
6883 cat confdefs.h >>conftest.$ac_ext
6884 cat >>conftest.$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6886 $ac_includes_default
6888 #include <$ac_header>
6890 rm -f conftest.$ac_objext
6891 if { (ac_try="$ac_compile"
6893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894 *) ac_try_echo=$ac_try;;
6896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6897 (eval "$ac_compile") 2>conftest.er1
6899 grep -v '^ *+' conftest.er1 >conftest.err
6901 cat conftest.err >&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } && {
6904 test -z "$ac_c_werror_flag" ||
6905 test ! -s conftest.err
6906 } && test -s conftest.$ac_objext; then
6907 eval "$as_ac_Header=yes"
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.$ac_ext >&5
6912 eval "$as_ac_Header=no"
6915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6917 ac_res=`eval echo '${'$as_ac_Header'}'`
6918 { echo "$as_me:$LINENO: result: $ac_res" >&5
6919 echo "${ECHO_T}$ac_res" >&6; }
6920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6921 cat >>confdefs.h <<_ACEOF
6922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6941 # Check whether --enable-shared was given.
6942 if test "${enable_shared+set}" = set; then
6943 enableval=$enable_shared; p=${PACKAGE-default}
6945 yes) enable_shared=yes ;;
6946 no) enable_shared=no ;;
6949 # Look at the argument we got. We use all the common list separators.
6950 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6951 for pkg in $enableval; do
6953 if test "X$pkg" = "X$p"; then
6974 # Check whether --with-pic was given.
6975 if test "${with_pic+set}" = set; then
6976 withval=$with_pic; pic_mode="$withval"
6982 test -z "$pic_mode" && pic_mode=default
6990 # Check whether --enable-fast-install was given.
6991 if test "${enable_fast_install+set}" = set; then
6992 enableval=$enable_fast_install; p=${PACKAGE-default}
6994 yes) enable_fast_install=yes ;;
6995 no) enable_fast_install=no ;;
6997 enable_fast_install=no
6998 # Look at the argument we got. We use all the common list separators.
6999 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7000 for pkg in $enableval; do
7002 if test "X$pkg" = "X$p"; then
7003 enable_fast_install=yes
7010 enable_fast_install=yes
7023 # This can be used to rebuild libtool when needed
7024 LIBTOOL_DEPS="$ltmain"
7026 # Always use our own libtool.
7027 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7053 test -z "$LN_S" && LN_S="ln -s"
7068 if test -n "${ZSH_VERSION+set}" ; then
7069 setopt NO_GLOB_SUBST
7072 { echo "$as_me:$LINENO: checking for objdir" >&5
7073 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7074 if test "${lt_cv_objdir+set}" = set; then
7075 echo $ECHO_N "(cached) $ECHO_C" >&6
7077 rm -f .libs 2>/dev/null
7078 mkdir .libs 2>/dev/null
7079 if test -d .libs; then
7082 # MS-DOS does not allow filenames that begin with a dot.
7085 rmdir .libs 2>/dev/null
7087 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7088 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7089 objdir=$lt_cv_objdir
7095 cat >>confdefs.h <<_ACEOF
7096 #define LT_OBJDIR "$lt_cv_objdir/"
7117 # AIX sometimes has problems with the GCC collect2 program. For some
7118 # reason, if we set the COLLECT_NAMES environment variable, the problems
7119 # vanish in a puff of smoke.
7120 if test "X${COLLECT_NAMES+set}" != Xset; then
7122 export COLLECT_NAMES
7127 # Sed substitution that helps us do robust quoting. It backslashifies
7128 # metacharacters that are still active within double-quoted strings.
7129 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7131 # Same as above, but do not quote variable references.
7132 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7134 # Sed substitution to delay expansion of an escaped shell variable in a
7135 # double_quote_subst'ed string.
7136 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7138 # Sed substitution to delay expansion of an escaped single quote.
7139 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7141 # Sed substitution to avoid accidental globbing in evaled expressions
7142 no_glob_subst='s/\*/\\\*/g'
7146 can_build_shared=yes
7148 # All known linkers require a `.a' archive for static linking (except MSVC,
7149 # which needs '.lib').
7152 with_gnu_ld="$lt_cv_prog_gnu_ld"
7155 old_CFLAGS="$CFLAGS"
7157 # Set sane defaults for various variables
7158 test -z "$CC" && CC=cc
7159 test -z "$LTCC" && LTCC=$CC
7160 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7161 test -z "$LD" && LD=ld
7162 test -z "$ac_objext" && ac_objext=o
7164 for cc_temp in $compiler""; do
7166 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7167 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7172 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7175 # Only perform the check for file, if the check method requires it
7176 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7177 case $deplibs_check_method in
7179 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7180 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7181 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7182 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7183 echo $ECHO_N "(cached) $ECHO_C" >&6
7187 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7190 lt_save_MAGIC_CMD="$MAGIC_CMD"
7191 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7192 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7193 for ac_dir in $ac_dummy; do
7195 test -z "$ac_dir" && ac_dir=.
7196 if test -f $ac_dir/${ac_tool_prefix}file; then
7197 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7198 if test -n "$file_magic_test_file"; then
7199 case $deplibs_check_method in
7201 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7202 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7203 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7204 $EGREP "$file_magic_regex" > /dev/null; then
7209 *** Warning: the command libtool uses to detect shared libraries,
7210 *** $file_magic_cmd, produces output that libtool cannot recognize.
7211 *** The result is that libtool may fail to recognize shared libraries
7212 *** as such. This will affect the creation of libtool libraries that
7213 *** depend on shared libraries, but programs linked with such libtool
7214 *** libraries will work regardless of this problem. Nevertheless, you
7215 *** may want to report the problem to your system manager and/or to
7216 *** bug-libtool@gnu.org
7226 MAGIC_CMD="$lt_save_MAGIC_CMD"
7231 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7232 if test -n "$MAGIC_CMD"; then
7233 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7234 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7236 { echo "$as_me:$LINENO: result: no" >&5
7237 echo "${ECHO_T}no" >&6; }
7244 if test -z "$lt_cv_path_MAGIC_CMD"; then
7245 if test -n "$ac_tool_prefix"; then
7246 { echo "$as_me:$LINENO: checking for file" >&5
7247 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7248 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7249 echo $ECHO_N "(cached) $ECHO_C" >&6
7253 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7256 lt_save_MAGIC_CMD="$MAGIC_CMD"
7257 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7258 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7259 for ac_dir in $ac_dummy; do
7261 test -z "$ac_dir" && ac_dir=.
7262 if test -f $ac_dir/file; then
7263 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7264 if test -n "$file_magic_test_file"; then
7265 case $deplibs_check_method in
7267 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7268 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7269 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7270 $EGREP "$file_magic_regex" > /dev/null; then
7275 *** Warning: the command libtool uses to detect shared libraries,
7276 *** $file_magic_cmd, produces output that libtool cannot recognize.
7277 *** The result is that libtool may fail to recognize shared libraries
7278 *** as such. This will affect the creation of libtool libraries that
7279 *** depend on shared libraries, but programs linked with such libtool
7280 *** libraries will work regardless of this problem. Nevertheless, you
7281 *** may want to report the problem to your system manager and/or to
7282 *** bug-libtool@gnu.org
7292 MAGIC_CMD="$lt_save_MAGIC_CMD"
7297 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7298 if test -n "$MAGIC_CMD"; then
7299 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7300 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7302 { echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6; }
7316 # Use C for the default configuration in the libtool script
7320 ac_cpp='$CPP $CPPFLAGS'
7321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7326 # Source file extension for C test sources.
7329 # Object file extension for compiled C test sources.
7333 # Code to be used in simple compile tests
7334 lt_simple_compile_test_code="int some_variable = 0;"
7336 # Code to be used in simple link tests
7337 lt_simple_link_test_code='int main(){return(0);}'
7345 # If no C compiler was specified, use CC.
7348 # If no C compiler flags were specified, use CFLAGS.
7349 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7351 # Allow CC to be a program name with arguments.
7354 # Save the default compiler, since it gets overwritten when the other
7355 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7356 compiler_DEFAULT=$CC
7358 # save warnings/boilerplate of simple test code
7359 ac_outfile=conftest.$ac_objext
7360 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7361 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7362 _lt_compiler_boilerplate=`cat conftest.err`
7365 ac_outfile=conftest.$ac_objext
7366 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7367 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7368 _lt_linker_boilerplate=`cat conftest.err`
7373 ## There is no encapsulation within the following macros, do not change
7374 ## the running order or otherwise move them around unless you know exactly
7375 ## what you are doing...
7376 if test -n "$compiler"; then
7378 lt_prog_compiler_no_builtin_flag=
7380 if test "$GCC" = yes; then
7381 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7383 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7384 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7385 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7388 lt_cv_prog_compiler_rtti_exceptions=no
7389 ac_outfile=conftest.$ac_objext
7390 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7391 lt_compiler_flag="-fno-rtti -fno-exceptions"
7392 # Insert the option either (1) after the last *FLAGS variable, or
7393 # (2) before a word containing "conftest.", or (3) at the end.
7394 # Note that $ac_compile itself does not contain backslashes and begins
7395 # with a dollar sign (not a hyphen), so the echo should work correctly.
7396 # The option is referenced via a variable to avoid confusing sed.
7397 lt_compile=`echo "$ac_compile" | $SED \
7398 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7399 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7400 -e 's:$: $lt_compiler_flag:'`
7401 (eval echo "\"\$as_me:7401: $lt_compile\"" >&5)
7402 (eval "$lt_compile" 2>conftest.err)
7404 cat conftest.err >&5
7405 echo "$as_me:7405: \$? = $ac_status" >&5
7406 if (exit $ac_status) && test -s "$ac_outfile"; then
7407 # The compiler can only warn and ignore the option if not recognized
7408 # So say no if there are warnings other than the usual output.
7409 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7410 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7411 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7412 lt_cv_prog_compiler_rtti_exceptions=yes
7418 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7419 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7421 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7422 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7434 lt_prog_compiler_wl=
7435 lt_prog_compiler_pic=
7436 lt_prog_compiler_static=
7438 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7439 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7441 if test "$GCC" = yes; then
7442 lt_prog_compiler_wl='-Wl,'
7443 lt_prog_compiler_static='-static'
7447 # All AIX code is PIC.
7448 if test "$host_cpu" = ia64; then
7449 # AIX 5 now supports IA64 processor
7450 lt_prog_compiler_static='-Bstatic'
7457 # see comment about AmigaOS4 .so support
7458 lt_prog_compiler_pic='-fPIC'
7461 # FIXME: we need at least 68020 code to build shared libraries, but
7462 # adding the `-m68020' flag to GCC prevents building anything better,
7464 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7469 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7470 # PIC is the default for these OSes.
7473 mingw* | cygwin* | pw32* | os2*)
7474 # This hack is so that the source file can tell whether it is being
7475 # built for inclusion in a dll (and should export symbols for example).
7476 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7477 # (--disable-auto-import) libraries
7478 lt_prog_compiler_pic='-DDLL_EXPORT'
7481 darwin* | rhapsody*)
7482 # PIC is the default on this platform
7483 # Common symbols not allowed in MH_DYLIB files
7484 lt_prog_compiler_pic='-fno-common'
7488 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7495 lt_prog_compiler_pic='-fPIC'
7501 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7502 # Instead, we relocate shared libraries at runtime.
7506 # Just because we use GCC doesn't mean we suddenly get shared libraries
7507 # on systems that don't support them.
7508 lt_prog_compiler_can_build_shared=no
7513 # QNX uses GNU C++, but need to define -shared option too, otherwise
7515 lt_prog_compiler_pic='-fPIC -shared'
7519 if test -d /usr/nec; then
7520 lt_prog_compiler_pic=-Kconform_pic
7525 lt_prog_compiler_pic='-fPIC'
7529 # PORTME Check for flag to pass linker flags through the system compiler.
7532 lt_prog_compiler_wl='-Wl,'
7533 if test "$host_cpu" = ia64; then
7534 # AIX 5 now supports IA64 processor
7535 lt_prog_compiler_static='-Bstatic'
7537 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7541 mingw* | cygwin* | pw32* | os2*)
7542 # This hack is so that the source file can tell whether it is being
7543 # built for inclusion in a dll (and should export symbols for example).
7544 lt_prog_compiler_pic='-DDLL_EXPORT'
7547 hpux9* | hpux10* | hpux11*)
7548 lt_prog_compiler_wl='-Wl,'
7549 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7556 lt_prog_compiler_pic='+Z'
7559 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7560 lt_prog_compiler_static='${wl}-a ${wl}archive'
7563 irix5* | irix6* | nonstopux*)
7564 lt_prog_compiler_wl='-Wl,'
7565 # PIC (with -KPIC) is the default.
7566 lt_prog_compiler_static='-non_shared'
7569 linux* | k*bsd*-gnu)
7570 case $cc_basename in
7571 icc* | ecc* | ifort*)
7572 lt_prog_compiler_wl='-Wl,'
7573 lt_prog_compiler_pic='-KPIC'
7574 lt_prog_compiler_static='-static'
7576 pgcc* | pgf77* | pgf90* | pgf95*)
7577 # Portland Group compilers (*not* the Pentium gcc compiler,
7578 # which looks to be a dead project)
7579 lt_prog_compiler_wl='-Wl,'
7580 lt_prog_compiler_pic='-fpic'
7581 lt_prog_compiler_static='-Bstatic'
7584 lt_prog_compiler_wl='-Wl,'
7585 # All Alpha code is PIC.
7586 lt_prog_compiler_static='-non_shared'
7589 # IBM XL C 8.0/Fortran 10.1 on PPC
7590 lt_prog_compiler_wl='-Wl,'
7591 lt_prog_compiler_pic='-qpic'
7592 lt_prog_compiler_static='-qstaticlink'
7595 case `$CC -V 2>&1 | sed 5q` in
7598 lt_prog_compiler_pic='-KPIC'
7599 lt_prog_compiler_static='-Bstatic'
7600 lt_prog_compiler_wl='-Wl,'
7603 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7604 lt_prog_compiler_pic='-KPIC'
7605 lt_prog_compiler_static='-Bstatic'
7606 lt_prog_compiler_wl=''
7614 lt_prog_compiler_pic='-KPIC'
7615 lt_prog_compiler_static='-Bstatic'
7619 # QNX uses GNU C++, but need to define -shared option too, otherwise
7621 lt_prog_compiler_pic='-fPIC -shared'
7624 osf3* | osf4* | osf5*)
7625 lt_prog_compiler_wl='-Wl,'
7626 # All OSF/1 code is PIC.
7627 lt_prog_compiler_static='-non_shared'
7631 lt_prog_compiler_static='-non_shared'
7635 lt_prog_compiler_pic='-KPIC'
7636 lt_prog_compiler_static='-Bstatic'
7637 case $cc_basename in
7639 lt_prog_compiler_wl='-Qoption ld ';;
7641 lt_prog_compiler_wl='-Wl,';;
7646 lt_prog_compiler_wl='-Qoption ld '
7647 lt_prog_compiler_pic='-PIC'
7648 lt_prog_compiler_static='-Bstatic'
7651 sysv4 | sysv4.2uw2* | sysv4.3*)
7652 lt_prog_compiler_wl='-Wl,'
7653 lt_prog_compiler_pic='-KPIC'
7654 lt_prog_compiler_static='-Bstatic'
7658 if test -d /usr/nec ;then
7659 lt_prog_compiler_pic='-Kconform_pic'
7660 lt_prog_compiler_static='-Bstatic'
7664 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7665 lt_prog_compiler_wl='-Wl,'
7666 lt_prog_compiler_pic='-KPIC'
7667 lt_prog_compiler_static='-Bstatic'
7671 lt_prog_compiler_wl='-Wl,'
7672 lt_prog_compiler_can_build_shared=no
7676 lt_prog_compiler_pic='-pic'
7677 lt_prog_compiler_static='-Bstatic'
7681 lt_prog_compiler_can_build_shared=no
7687 # For platforms which do not support PIC, -DPIC is meaningless:
7689 lt_prog_compiler_pic=
7692 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7695 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7696 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7704 # Check to make sure the PIC flag actually works.
7706 if test -n "$lt_prog_compiler_pic"; then
7707 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7708 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7709 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 lt_cv_prog_compiler_pic_works=no
7713 ac_outfile=conftest.$ac_objext
7714 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7715 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7716 # Insert the option either (1) after the last *FLAGS variable, or
7717 # (2) before a word containing "conftest.", or (3) at the end.
7718 # Note that $ac_compile itself does not contain backslashes and begins
7719 # with a dollar sign (not a hyphen), so the echo should work correctly.
7720 # The option is referenced via a variable to avoid confusing sed.
7721 lt_compile=`echo "$ac_compile" | $SED \
7722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7724 -e 's:$: $lt_compiler_flag:'`
7725 (eval echo "\"\$as_me:7725: $lt_compile\"" >&5)
7726 (eval "$lt_compile" 2>conftest.err)
7728 cat conftest.err >&5
7729 echo "$as_me:7729: \$? = $ac_status" >&5
7730 if (exit $ac_status) && test -s "$ac_outfile"; then
7731 # The compiler can only warn and ignore the option if not recognized
7732 # So say no if there are warnings other than the usual output.
7733 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7734 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7735 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7736 lt_cv_prog_compiler_pic_works=yes
7742 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7743 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7745 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7746 case $lt_prog_compiler_pic in
7748 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7751 lt_prog_compiler_pic=
7752 lt_prog_compiler_can_build_shared=no
7763 # Check to make sure the static flag actually works.
7765 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7766 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7767 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7768 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7769 echo $ECHO_N "(cached) $ECHO_C" >&6
7771 lt_cv_prog_compiler_static_works=no
7772 save_LDFLAGS="$LDFLAGS"
7773 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7774 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7775 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7776 # The linker can only warn and ignore the option if not recognized
7777 # So say no if there are warnings
7778 if test -s conftest.err; then
7779 # Append any errors to the config.log.
7780 cat conftest.err 1>&5
7781 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7782 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7783 if diff conftest.exp conftest.er2 >/dev/null; then
7784 lt_cv_prog_compiler_static_works=yes
7787 lt_cv_prog_compiler_static_works=yes
7791 LDFLAGS="$save_LDFLAGS"
7794 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7795 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7797 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7800 lt_prog_compiler_static=
7809 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7810 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7811 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 lt_cv_prog_compiler_c_o=no
7815 $RM -r conftest 2>/dev/null
7819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7821 lt_compiler_flag="-o out/conftest2.$ac_objext"
7822 # Insert the option either (1) after the last *FLAGS variable, or
7823 # (2) before a word containing "conftest.", or (3) at the end.
7824 # Note that $ac_compile itself does not contain backslashes and begins
7825 # with a dollar sign (not a hyphen), so the echo should work correctly.
7826 lt_compile=`echo "$ac_compile" | $SED \
7827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7829 -e 's:$: $lt_compiler_flag:'`
7830 (eval echo "\"\$as_me:7830: $lt_compile\"" >&5)
7831 (eval "$lt_compile" 2>out/conftest.err)
7833 cat out/conftest.err >&5
7834 echo "$as_me:7834: \$? = $ac_status" >&5
7835 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7837 # The compiler can only warn and ignore the option if not recognized
7838 # So say no if there are warnings
7839 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7840 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7841 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7842 lt_cv_prog_compiler_c_o=yes
7847 # SGI C++ compiler will create directory out/ii_files/ for
7848 # template instantiation
7849 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7850 $RM out/* && rmdir out
7856 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7857 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7864 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7865 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7866 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 lt_cv_prog_compiler_c_o=no
7870 $RM -r conftest 2>/dev/null
7874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7876 lt_compiler_flag="-o out/conftest2.$ac_objext"
7877 # Insert the option either (1) after the last *FLAGS variable, or
7878 # (2) before a word containing "conftest.", or (3) at the end.
7879 # Note that $ac_compile itself does not contain backslashes and begins
7880 # with a dollar sign (not a hyphen), so the echo should work correctly.
7881 lt_compile=`echo "$ac_compile" | $SED \
7882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7884 -e 's:$: $lt_compiler_flag:'`
7885 (eval echo "\"\$as_me:7885: $lt_compile\"" >&5)
7886 (eval "$lt_compile" 2>out/conftest.err)
7888 cat out/conftest.err >&5
7889 echo "$as_me:7889: \$? = $ac_status" >&5
7890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7892 # The compiler can only warn and ignore the option if not recognized
7893 # So say no if there are warnings
7894 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7897 lt_cv_prog_compiler_c_o=yes
7902 # SGI C++ compiler will create directory out/ii_files/ for
7903 # template instantiation
7904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7905 $RM out/* && rmdir out
7911 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7912 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7917 hard_links="nottested"
7918 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7919 # do not overwrite the value of need_locks provided by the user
7920 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7921 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7924 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7926 ln conftest.a conftest.b 2>&5 || hard_links=no
7927 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7928 { echo "$as_me:$LINENO: result: $hard_links" >&5
7929 echo "${ECHO_T}$hard_links" >&6; }
7930 if test "$hard_links" = no; then
7931 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7932 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7944 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7945 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7948 allow_undefined_flag=
7949 always_export_symbols=no
7951 archive_expsym_cmds=
7952 compiler_needs_object=no
7953 enable_shared_with_static_runtimes=no
7954 export_dynamic_flag_spec=
7955 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7956 hardcode_automatic=no
7958 hardcode_direct_absolute=no
7959 hardcode_libdir_flag_spec=
7960 hardcode_libdir_flag_spec_ld=
7961 hardcode_libdir_separator=
7963 hardcode_shlibpath_var=unsupported
7965 link_all_deplibs=unknown
7968 old_archive_from_new_cmds=
7969 old_archive_from_expsyms_cmds=
7970 thread_safe_flag_spec=
7971 whole_archive_flag_spec=
7972 # include_expsyms should be a list of space-separated symbols to be *always*
7973 # included in the symbol list
7975 # exclude_expsyms can be an extended regexp of symbols to exclude
7976 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7977 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7978 # as well as any symbol that contains `d'.
7979 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7980 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7981 # platforms (ab)use it in PIC code, but their linkers get confused if
7982 # the symbol is explicitly referenced. Since portable code cannot
7983 # rely on this symbol name, it's probably fine to never include it in
7984 # preloaded symbol tables.
7985 # Exclude shared library initialization/finalization symbols.
7986 extract_expsyms_cmds=
7989 cygwin* | mingw* | pw32*)
7990 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7991 # When not using gcc, we currently assume that we are using
7992 # Microsoft Visual C++.
7993 if test "$GCC" != yes; then
7998 # we just hope/assume this is gcc and not c89 (= MSVC++)
8007 if test "$with_gnu_ld" = yes; then
8008 # If archive_cmds runs LD, not CC, wlarc should be empty
8011 # Set some defaults for GNU ld with shared library support. These
8012 # are reset later if shared libraries are not supported. Putting them
8013 # here allows them to be overridden if necessary.
8014 runpath_var=LD_RUN_PATH
8015 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8016 export_dynamic_flag_spec='${wl}--export-dynamic'
8017 # ancient GNU ld didn't support --whole-archive et. al.
8018 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8019 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8021 whole_archive_flag_spec=
8023 supports_anon_versioning=no
8024 case `$LD -v 2>&1` in
8025 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8026 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8027 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8028 *\ 2.11.*) ;; # other 2.11 versions
8029 *) supports_anon_versioning=yes ;;
8032 # See if GNU ld supports shared libraries.
8035 # On AIX/PPC, the GNU linker is very broken
8036 if test "$host_cpu" != ia64; then
8040 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8041 *** to be unable to reliably create shared libraries on AIX.
8042 *** Therefore, libtool is disabling shared libraries support. If you
8043 *** really care for shared libraries, you may want to modify your PATH
8044 *** so that a non-GNU linker is found, and then restart.
8053 # see comment about AmigaOS4 .so support
8054 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8055 archive_expsym_cmds=''
8058 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)'
8059 hardcode_libdir_flag_spec='-L$libdir'
8060 hardcode_minus_L=yes
8066 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8067 allow_undefined_flag=unsupported
8068 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8069 # support --undefined. This deserves some investigation. FIXME
8070 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8076 cygwin* | mingw* | pw32*)
8077 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8078 # as there is no search path for DLLs.
8079 hardcode_libdir_flag_spec='-L$libdir'
8080 allow_undefined_flag=unsupported
8081 always_export_symbols=no
8082 enable_shared_with_static_runtimes=yes
8083 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8085 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8086 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8087 # If the export-symbols file already is a .def file (1st line
8088 # is EXPORTS), use it as is; otherwise, prepend...
8089 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8090 cp $export_symbols $output_objdir/$soname.def;
8092 echo EXPORTS > $output_objdir/$soname.def;
8093 cat $export_symbols >> $output_objdir/$soname.def;
8095 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8103 hardcode_shlibpath_var=no
8104 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8105 export_dynamic_flag_spec='${wl}-E'
8106 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8107 # Instead, shared libraries are loaded at an image base (0x10000000 by
8108 # default) and relocated if they conflict, which is a slow very memory
8109 # consuming and fragmenting process. To avoid this, we pick a random,
8110 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8111 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8112 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8113 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'
8116 gnu* | linux* | tpf* | k*bsd*-gnu)
8118 if test "$host_os" = linux-dietlibc; then
8119 case $cc_basename in
8120 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8123 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8124 && test "$tmp_diet" = no
8127 tmp_sharedflag='-shared'
8128 case $cc_basename,$host_cpu in
8129 pgcc*) # Portland Group C compiler
8130 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'
8131 tmp_addflag=' $pic_flag'
8133 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8134 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'
8135 tmp_addflag=' $pic_flag -Mnomain' ;;
8136 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8137 tmp_addflag=' -i_dynamic' ;;
8138 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8139 tmp_addflag=' -i_dynamic -nofor_main' ;;
8140 ifc* | ifort*) # Intel Fortran compiler
8141 tmp_addflag=' -nofor_main' ;;
8142 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8143 tmp_sharedflag='-qmkshrobj'
8146 case `$CC -V 2>&1 | sed 5q` in
8147 *Sun\ C*) # Sun C 5.9
8148 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'
8149 compiler_needs_object=yes
8150 tmp_sharedflag='-G' ;;
8151 *Sun\ F*) # Sun Fortran 8.3
8152 tmp_sharedflag='-G' ;;
8154 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8156 if test "x$supports_anon_versioning" = xyes; then
8157 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8158 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8159 echo "local: *; };" >> $output_objdir/$libname.ver~
8160 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8163 case $cc_basename in
8165 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8166 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8167 hardcode_libdir_flag_spec=
8168 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8169 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8170 if test "x$supports_anon_versioning" = xyes; then
8171 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8172 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8173 echo "local: *; };" >> $output_objdir/$libname.ver~
8174 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8184 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8185 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8188 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8189 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8194 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8198 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8199 *** create shared libraries on Solaris systems. Therefore, libtool
8200 *** is disabling shared libraries support. We urge you to upgrade GNU
8201 *** binutils to release 2.9.1 or newer. Another option is to modify
8202 *** your PATH or compiler configuration so that the native linker is
8203 *** used, and then restart.
8206 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8207 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8208 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8214 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8215 case `$LD -v 2>&1` in
8216 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8220 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8221 *** reliably create shared libraries on SCO systems. Therefore, libtool
8222 *** is disabling shared libraries support. We urge you to upgrade GNU
8223 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8224 *** your PATH or compiler configuration so that the native linker is
8225 *** used, and then restart.
8230 # For security reasons, it is highly recommended that you always
8231 # use absolute paths for naming shared libraries, and exclude the
8232 # DT_RUNPATH tag from executables and libraries. But doing so
8233 # requires that you compile everything twice, which is a pain.
8234 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8235 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8236 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8237 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8246 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8249 hardcode_shlibpath_var=no
8253 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8254 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8255 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8262 if test "$ld_shlibs" = no; then
8264 hardcode_libdir_flag_spec=
8265 export_dynamic_flag_spec=
8266 whole_archive_flag_spec=
8269 # PORTME fill in a description of your system's linker (not GNU ld)
8272 allow_undefined_flag=unsupported
8273 always_export_symbols=yes
8274 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'
8275 # Note: this linker hardcodes the directories in LIBPATH if there
8276 # are no directories specified by -L.
8277 hardcode_minus_L=yes
8278 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8279 # Neither direct hardcoding nor static linking is supported with a
8281 hardcode_direct=unsupported
8286 if test "$host_cpu" = ia64; then
8287 # On IA64, the linker does run time linking by default, so we don't
8288 # have to do anything special.
8289 aix_use_runtimelinking=no
8290 exp_sym_flag='-Bexport'
8293 # If we're using GNU nm, then we don't want the "-C" option.
8294 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8295 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8296 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'
8298 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'
8300 aix_use_runtimelinking=no
8302 # Test if we are trying to use run time linking or normal
8303 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8304 # need to do runtime linking.
8305 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8306 for ld_flag in $LDFLAGS; do
8307 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8308 aix_use_runtimelinking=yes
8315 exp_sym_flag='-bexport'
8316 no_entry_flag='-bnoentry'
8319 # When large executables or shared objects are built, AIX ld can
8320 # have problems creating the table of contents. If linking a library
8321 # or program results in "error TOC overflow" add -mminimal-toc to
8322 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8323 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8327 hardcode_direct_absolute=yes
8328 hardcode_libdir_separator=':'
8329 link_all_deplibs=yes
8330 file_list_spec='${wl}-f,'
8332 if test "$GCC" = yes; then
8333 case $host_os in aix4.[012]|aix4.[012].*)
8334 # We only want to do this on AIX 4.2 and lower, the check
8335 # below for broken collect2 doesn't work under 4.3+
8336 collect2name=`${CC} -print-prog-name=collect2`
8337 if test -f "$collect2name" &&
8338 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8340 # We have reworked collect2
8343 # We have old collect2
8344 hardcode_direct=unsupported
8345 # It fails to find uninstalled libraries when the uninstalled
8346 # path is not listed in the libpath. Setting hardcode_minus_L
8347 # to unsupported forces relinking
8348 hardcode_minus_L=yes
8349 hardcode_libdir_flag_spec='-L$libdir'
8350 hardcode_libdir_separator=
8354 shared_flag='-shared'
8355 if test "$aix_use_runtimelinking" = yes; then
8356 shared_flag="$shared_flag "'${wl}-G'
8360 if test "$host_cpu" = ia64; then
8361 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8362 # chokes on -Wl,-G. The following line is correct:
8365 if test "$aix_use_runtimelinking" = yes; then
8366 shared_flag='${wl}-G'
8368 shared_flag='${wl}-bM:SRE'
8373 # It seems that -bexpall does not export symbols beginning with
8374 # underscore (_), so it is better to generate a list of symbols to export.
8375 always_export_symbols=yes
8376 if test "$aix_use_runtimelinking" = yes; then
8377 # Warning - without using the other runtime loading flags (-brtl),
8378 # -berok will link without error, but may produce a broken library.
8379 allow_undefined_flag='-berok'
8380 # Determine the default libpath from the value encoded in an
8382 cat >conftest.$ac_ext <<_ACEOF
8385 cat confdefs.h >>conftest.$ac_ext
8386 cat >>conftest.$ac_ext <<_ACEOF
8387 /* end confdefs.h. */
8397 rm -f conftest.$ac_objext conftest$ac_exeext
8398 if { (ac_try="$ac_link"
8400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8401 *) ac_try_echo=$ac_try;;
8403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8404 (eval "$ac_link") 2>conftest.er1
8406 grep -v '^ *+' conftest.er1 >conftest.err
8408 cat conftest.err >&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); } && {
8411 test -z "$ac_c_werror_flag" ||
8412 test ! -s conftest.err
8413 } && test -s conftest$ac_exeext &&
8414 $as_test_x conftest$ac_exeext; then
8416 lt_aix_libpath_sed='
8417 /Import File Strings/,/^$/ {
8423 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8424 # Check for a 64-bit object if we didn't find anything.
8425 if test -z "$aix_libpath"; then
8426 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8429 echo "$as_me: failed program was:" >&5
8430 sed 's/^/| /' conftest.$ac_ext >&5
8435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8436 conftest$ac_exeext conftest.$ac_ext
8437 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8439 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8440 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"
8442 if test "$host_cpu" = ia64; then
8443 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8444 allow_undefined_flag="-z nodefs"
8445 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"
8447 # Determine the default libpath from the value encoded in an
8449 cat >conftest.$ac_ext <<_ACEOF
8452 cat confdefs.h >>conftest.$ac_ext
8453 cat >>conftest.$ac_ext <<_ACEOF
8454 /* end confdefs.h. */
8464 rm -f conftest.$ac_objext conftest$ac_exeext
8465 if { (ac_try="$ac_link"
8467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8468 *) ac_try_echo=$ac_try;;
8470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8471 (eval "$ac_link") 2>conftest.er1
8473 grep -v '^ *+' conftest.er1 >conftest.err
8475 cat conftest.err >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); } && {
8478 test -z "$ac_c_werror_flag" ||
8479 test ! -s conftest.err
8480 } && test -s conftest$ac_exeext &&
8481 $as_test_x conftest$ac_exeext; then
8483 lt_aix_libpath_sed='
8484 /Import File Strings/,/^$/ {
8490 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8491 # Check for a 64-bit object if we didn't find anything.
8492 if test -z "$aix_libpath"; then
8493 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8496 echo "$as_me: failed program was:" >&5
8497 sed 's/^/| /' conftest.$ac_ext >&5
8502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8503 conftest$ac_exeext conftest.$ac_ext
8504 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8506 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8507 # Warning - without using the other run time loading flags,
8508 # -berok will link without error, but may produce a broken library.
8509 no_undefined_flag=' ${wl}-bernotok'
8510 allow_undefined_flag=' ${wl}-berok'
8511 # Exported symbols can be pulled into shared objects from archives
8512 whole_archive_flag_spec='$convenience'
8513 archive_cmds_need_lc=yes
8514 # This is similar to how AIX traditionally builds its shared libraries.
8515 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'
8523 # see comment about AmigaOS4 .so support
8524 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8525 archive_expsym_cmds=''
8528 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)'
8529 hardcode_libdir_flag_spec='-L$libdir'
8530 hardcode_minus_L=yes
8536 export_dynamic_flag_spec=-rdynamic
8539 cygwin* | mingw* | pw32*)
8540 # When not using gcc, we currently assume that we are using
8541 # Microsoft Visual C++.
8542 # hardcode_libdir_flag_spec is actually meaningless, as there is
8543 # no search path for DLLs.
8544 hardcode_libdir_flag_spec=' '
8545 allow_undefined_flag=unsupported
8546 # Tell ltmain to make .lib files, not .a files.
8548 # Tell ltmain to make .dll files, not .so files.
8550 # FIXME: Setting linknames here is a bad hack.
8551 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8552 # The linker will automatically build a .lib file if we build a DLL.
8553 old_archive_from_new_cmds='true'
8554 # FIXME: Should let the user specify the lib program.
8555 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8556 fix_srcfile_path='`cygpath -w "$srcfile"`'
8557 enable_shared_with_static_runtimes=yes
8560 darwin* | rhapsody*)
8563 archive_cmds_need_lc=no
8565 hardcode_automatic=yes
8566 hardcode_shlibpath_var=unsupported
8567 whole_archive_flag_spec=''
8568 link_all_deplibs=yes
8569 allow_undefined_flag="$_lt_dar_allow_undefined"
8570 if test "$GCC" = "yes"; then
8571 output_verbose_link_cmd=echo
8572 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8573 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8574 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}"
8575 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}"
8584 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8585 hardcode_libdir_flag_spec='-L$libdir'
8586 hardcode_shlibpath_var=no
8593 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8594 # support. Future versions do this automatically, but an explicit c++rt0.o
8595 # does not break anything, and helps significantly (at the cost of a little
8598 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8599 hardcode_libdir_flag_spec='-R$libdir'
8601 hardcode_shlibpath_var=no
8604 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8606 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8608 hardcode_minus_L=yes
8609 hardcode_shlibpath_var=no
8612 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8613 freebsd* | dragonfly*)
8614 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8615 hardcode_libdir_flag_spec='-R$libdir'
8617 hardcode_shlibpath_var=no
8621 if test "$GCC" = yes; then
8622 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'
8624 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'
8626 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8627 hardcode_libdir_separator=:
8630 # hardcode_minus_L: Not really in the search PATH,
8631 # but as the default location of the library.
8632 hardcode_minus_L=yes
8633 export_dynamic_flag_spec='${wl}-E'
8637 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8638 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8640 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8642 if test "$with_gnu_ld" = no; then
8643 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8644 hardcode_libdir_flag_spec_ld='+b $libdir'
8645 hardcode_libdir_separator=:
8647 hardcode_direct_absolute=yes
8648 export_dynamic_flag_spec='${wl}-E'
8649 # hardcode_minus_L: Not really in the search PATH,
8650 # but as the default location of the library.
8651 hardcode_minus_L=yes
8656 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8659 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8662 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8665 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8671 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8674 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8677 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8681 if test "$with_gnu_ld" = no; then
8682 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8683 hardcode_libdir_separator=:
8688 hardcode_shlibpath_var=no
8692 hardcode_direct_absolute=yes
8693 export_dynamic_flag_spec='${wl}-E'
8695 # hardcode_minus_L: Not really in the search PATH,
8696 # but as the default location of the library.
8697 hardcode_minus_L=yes
8703 irix5* | irix6* | nonstopux*)
8704 if test "$GCC" = yes; then
8705 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'
8706 # Try to use the -exported_symbol ld option, if it does not
8707 # work, assume that -exports_file does not work either and
8708 # implicitly export all symbols.
8709 save_LDFLAGS="$LDFLAGS"
8710 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8711 cat >conftest.$ac_ext <<_ACEOF
8714 rm -f conftest.$ac_objext conftest$ac_exeext
8715 if { (ac_try="$ac_link"
8717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8718 *) ac_try_echo=$ac_try;;
8720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8721 (eval "$ac_link") 2>conftest.er1
8723 grep -v '^ *+' conftest.er1 >conftest.err
8725 cat conftest.err >&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); } && {
8728 test -z "$ac_c_werror_flag" ||
8729 test ! -s conftest.err
8730 } && test -s conftest$ac_exeext &&
8731 $as_test_x conftest$ac_exeext; then
8732 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'
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.$ac_ext >&5
8741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8742 conftest$ac_exeext conftest.$ac_ext
8743 LDFLAGS="$save_LDFLAGS"
8745 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'
8746 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'
8748 archive_cmds_need_lc='no'
8749 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8750 hardcode_libdir_separator=:
8752 link_all_deplibs=yes
8756 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8759 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8761 hardcode_libdir_flag_spec='-R$libdir'
8763 hardcode_shlibpath_var=no
8767 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8770 hardcode_libdir_separator=:
8771 hardcode_shlibpath_var=no
8778 if test -f /usr/libexec/ld.so; then
8780 hardcode_shlibpath_var=no
8781 hardcode_direct_absolute=yes
8782 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8783 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8784 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8785 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8786 export_dynamic_flag_spec='${wl}-E'
8789 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8790 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8791 hardcode_libdir_flag_spec='-R$libdir'
8794 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8795 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8805 hardcode_libdir_flag_spec='-L$libdir'
8806 hardcode_minus_L=yes
8807 allow_undefined_flag=unsupported
8808 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'
8809 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8813 if test "$GCC" = yes; then
8814 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8815 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'
8817 allow_undefined_flag=' -expect_unresolved \*'
8818 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'
8820 archive_cmds_need_lc='no'
8821 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8822 hardcode_libdir_separator=:
8825 osf4* | osf5*) # as osf3* with the addition of -msym flag
8826 if test "$GCC" = yes; then
8827 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8828 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'
8829 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8831 allow_undefined_flag=' -expect_unresolved \*'
8832 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'
8833 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~
8834 $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'
8836 # Both c and cxx compiler support -rpath directly
8837 hardcode_libdir_flag_spec='-rpath $libdir'
8839 archive_cmds_need_lc='no'
8840 hardcode_libdir_separator=:
8844 no_undefined_flag=' -z defs'
8845 if test "$GCC" = yes; then
8847 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8848 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8849 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8851 case `$CC -V 2>&1` in
8854 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8855 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8856 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8860 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8861 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8862 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8866 hardcode_libdir_flag_spec='-R$libdir'
8867 hardcode_shlibpath_var=no
8869 solaris2.[0-5] | solaris2.[0-5].*) ;;
8871 # The compiler driver will combine and reorder linker options,
8872 # but understands `-z linker_flag'. GCC discards it without `$wl',
8873 # but is careful enough not to reorder.
8874 # Supported since Solaris 2.6 (maybe 2.5.1?)
8875 if test "$GCC" = yes; then
8876 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8878 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8882 link_all_deplibs=yes
8886 if test "x$host_vendor" = xsequent; then
8887 # Use $CC to link under sequent, because it throws in some extra .o
8888 # files that make .init and .fini sections work.
8889 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8891 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8893 hardcode_libdir_flag_spec='-L$libdir'
8895 hardcode_minus_L=yes
8896 hardcode_shlibpath_var=no
8900 case $host_vendor in
8902 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8903 hardcode_direct=yes # is this really true???
8906 ## LD is ld it makes a PLAMLIB
8907 ## CC just makes a GrossModule.
8908 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8909 reload_cmds='$CC -r -o $output$reload_objs'
8913 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8914 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8917 runpath_var='LD_RUN_PATH'
8918 hardcode_shlibpath_var=no
8922 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8923 hardcode_shlibpath_var=no
8924 export_dynamic_flag_spec='-Bexport'
8928 if test -d /usr/nec; then
8929 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8930 hardcode_shlibpath_var=no
8931 runpath_var=LD_RUN_PATH
8932 hardcode_runpath_var=yes
8937 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8938 no_undefined_flag='${wl}-z,text'
8939 archive_cmds_need_lc=no
8940 hardcode_shlibpath_var=no
8941 runpath_var='LD_RUN_PATH'
8943 if test "$GCC" = yes; then
8944 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8945 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8947 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8948 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8952 sysv5* | sco3.2v5* | sco5v6*)
8953 # Note: We can NOT use -z defs as we might desire, because we do not
8954 # link with -lc, and that would cause any symbols used from libc to
8955 # always be unresolved, which means just about no library would
8956 # ever link correctly. If we're not using GNU ld we use -z text
8957 # though, which does catch some bad symbols but isn't as heavy-handed
8959 no_undefined_flag='${wl}-z,text'
8960 allow_undefined_flag='${wl}-z,nodefs'
8961 archive_cmds_need_lc=no
8962 hardcode_shlibpath_var=no
8963 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8964 hardcode_libdir_separator=':'
8965 link_all_deplibs=yes
8966 export_dynamic_flag_spec='${wl}-Bexport'
8967 runpath_var='LD_RUN_PATH'
8969 if test "$GCC" = yes; then
8970 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8971 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8973 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8974 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8979 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8980 hardcode_libdir_flag_spec='-L$libdir'
8981 hardcode_shlibpath_var=no
8989 if test x$host_vendor = xsni; then
8991 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8992 export_dynamic_flag_spec='${wl}-Blargedynsym'
8998 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8999 echo "${ECHO_T}$ld_shlibs" >&6; }
9000 test "$ld_shlibs" = no && can_build_shared=no
9002 with_gnu_ld=$with_gnu_ld
9019 # Do we need to explicitly link libc?
9021 case "x$archive_cmds_need_lc" in
9023 # Assume -lc should be added
9024 archive_cmds_need_lc=yes
9026 if test "$enable_shared" = yes && test "$GCC" = yes; then
9027 case $archive_cmds in
9029 # FIXME: we may have to deal with multi-command sequences.
9032 # Test whether the compiler implicitly links with -lc since on some
9033 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9034 # to ld, don't add -lc before -lgcc.
9035 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9036 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9038 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9041 (eval $ac_compile) 2>&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); } 2>conftest.err; then
9047 libobjs=conftest.$ac_objext
9049 wl=$lt_prog_compiler_wl
9050 pic_flag=$lt_prog_compiler_pic
9056 lt_save_allow_undefined_flag=$allow_undefined_flag
9057 allow_undefined_flag=
9058 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9059 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }
9064 archive_cmds_need_lc=no
9066 archive_cmds_need_lc=yes
9068 allow_undefined_flag=$lt_save_allow_undefined_flag
9070 cat conftest.err 1>&5
9073 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9074 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9237 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9238 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9240 if test "$GCC" = yes; then
9242 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9243 *) lt_awk_arg="/^libraries:/" ;;
9245 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9246 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9247 # if the path contains ";" then we assume it to be the separator
9248 # otherwise default to the standard path separator (i.e. ":") - it is
9249 # assumed that no part of a normal pathname contains ";" but that should
9250 # okay in the real world where ";" in dirpaths is itself problematic.
9251 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9253 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9255 # Ok, now we have the path, separated by spaces, we can step through it
9256 # and add multilib dir if necessary.
9257 lt_tmp_lt_search_path_spec=
9258 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9259 for lt_sys_path in $lt_search_path_spec; do
9260 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9261 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9263 test -d "$lt_sys_path" && \
9264 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9267 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9268 BEGIN {RS=" "; FS="/|\n";} {
9271 for (lt_i = NF; lt_i > 0; lt_i--) {
9272 if ($lt_i != "" && $lt_i != ".") {
9273 if ($lt_i == "..") {
9276 if (lt_count == 0) {
9277 lt_foo="/" $lt_i lt_foo;
9284 if (lt_foo != "") { lt_freq[lt_foo]++; }
9285 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9287 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9289 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9292 libname_spec='lib$name'
9300 shlibpath_overrides_runpath=unknown
9302 dynamic_linker="$host_os ld.so"
9303 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9304 need_lib_prefix=unknown
9305 hardcode_into_libs=no
9307 # when you set need_version to no, make sure it does not cause -set_version
9308 # flags to be left without arguments
9309 need_version=unknown
9314 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9315 shlibpath_var=LIBPATH
9317 # AIX 3 has no versioning support, so we append a major version to the name.
9318 soname_spec='${libname}${release}${shared_ext}$major'
9325 hardcode_into_libs=yes
9326 if test "$host_cpu" = ia64; then
9327 # AIX 5 supports IA64
9328 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9329 shlibpath_var=LD_LIBRARY_PATH
9331 # With GCC up to 2.95.x, collect2 would create an import file
9332 # for dependence libraries. The import file would start with
9333 # the line `#! .'. This would cause the generated library to
9334 # depend on `.', always an invalid library. This was fixed in
9335 # development snapshots of GCC prior to 3.0.
9337 aix4 | aix4.[01] | aix4.[01].*)
9338 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9340 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9347 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9348 # soname into executable. Probably we can add versioning support to
9349 # collect2, so additional links can be useful in future.
9350 if test "$aix_use_runtimelinking" = yes; then
9351 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9352 # instead of lib<name>.a to let people know that these are not
9353 # typical AIX shared libraries.
9354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9356 # We preserve .a as extension for shared libraries through AIX4.2
9357 # and later when we are not doing run time linking.
9358 library_names_spec='${libname}${release}.a $libname.a'
9359 soname_spec='${libname}${release}${shared_ext}$major'
9361 shlibpath_var=LIBPATH
9368 # Since July 2007 AmigaOS4 officially supports .so libraries.
9369 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9373 library_names_spec='$libname.ixlibrary $libname.a'
9374 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9375 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'
9381 library_names_spec='${libname}${shared_ext}'
9382 dynamic_linker="$host_os ld.so"
9383 shlibpath_var=LIBRARY_PATH
9389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9390 soname_spec='${libname}${release}${shared_ext}$major'
9391 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9392 shlibpath_var=LD_LIBRARY_PATH
9393 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9394 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9395 # the default ld.so.conf also contains /usr/contrib/lib and
9396 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9397 # libtool to hard-code these into programs
9400 cygwin* | mingw* | pw32*)
9401 version_type=windows
9406 case $GCC,$host_os in
9407 yes,cygwin* | yes,mingw* | yes,pw32*)
9408 library_names_spec='$libname.dll.a'
9409 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9410 postinstall_cmds='base_file=`basename \${file}`~
9411 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9412 dldir=$destdir/`dirname \$dlpath`~
9413 test -d \$dldir || mkdir -p \$dldir~
9414 $install_prog $dir/$dlname \$dldir/$dlname~
9415 chmod a+x \$dldir/$dlname~
9416 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9417 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9419 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9420 dlpath=$dir/\$dldll~
9422 shlibpath_overrides_runpath=yes
9426 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9427 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9428 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9431 # MinGW DLLs use traditional 'lib' prefix
9432 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9433 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9434 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9435 # It is most probably a Windows format PATH printed by
9436 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9437 # path with ; separators, and with drive letters. We can handle the
9438 # drive letters (cygwin fileutils understands them), so leave them,
9439 # especially as we might pass files found there to a mingw objdump,
9440 # which wouldn't understand a cygwinified path. Ahh.
9441 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9443 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9447 # pw32 DLLs use 'pw' prefix rather than 'lib'
9448 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9454 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9457 dynamic_linker='Win32 ld.exe'
9458 # FIXME: first we should search . and the directory the executable is in
9462 darwin* | rhapsody*)
9463 dynamic_linker="$host_os dyld"
9467 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9468 soname_spec='${libname}${release}${major}$shared_ext'
9469 shlibpath_overrides_runpath=yes
9470 shlibpath_var=DYLD_LIBRARY_PATH
9471 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9473 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9474 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9482 soname_spec='${libname}${release}${shared_ext}$major'
9483 shlibpath_var=LD_LIBRARY_PATH
9490 freebsd* | dragonfly*)
9491 # DragonFly does not have aout. When/if they implement a new
9492 # versioning mechanism, adjust this.
9493 if test -x /usr/bin/objformat; then
9494 objformat=`/usr/bin/objformat`
9497 freebsd[123]*) objformat=aout ;;
9501 version_type=freebsd-$objformat
9502 case $version_type in
9504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9509 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9513 shlibpath_var=LD_LIBRARY_PATH
9516 shlibpath_overrides_runpath=yes
9518 freebsd3.[01]* | freebsdelf3.[01]*)
9519 shlibpath_overrides_runpath=yes
9520 hardcode_into_libs=yes
9522 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9523 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9524 shlibpath_overrides_runpath=no
9525 hardcode_into_libs=yes
9527 *) # from 4.6 on, and DragonFly
9528 shlibpath_overrides_runpath=yes
9529 hardcode_into_libs=yes
9538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9539 soname_spec='${libname}${release}${shared_ext}$major'
9540 shlibpath_var=LD_LIBRARY_PATH
9541 hardcode_into_libs=yes
9544 hpux9* | hpux10* | hpux11*)
9545 # Give a soname corresponding to the major version so that dld.sl refuses to
9546 # link against other versions.
9553 hardcode_into_libs=yes
9554 dynamic_linker="$host_os dld.so"
9555 shlibpath_var=LD_LIBRARY_PATH
9556 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9558 soname_spec='${libname}${release}${shared_ext}$major'
9559 if test "X$HPUX_IA64_MODE" = X32; then
9560 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9562 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9564 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9568 hardcode_into_libs=yes
9569 dynamic_linker="$host_os dld.sl"
9570 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9571 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9573 soname_spec='${libname}${release}${shared_ext}$major'
9574 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9575 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9579 dynamic_linker="$host_os dld.sl"
9580 shlibpath_var=SHLIB_PATH
9581 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9583 soname_spec='${libname}${release}${shared_ext}$major'
9586 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9587 postinstall_cmds='chmod 555 $lib'
9594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9595 soname_spec='${libname}${release}${shared_ext}$major'
9596 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9597 shlibpath_var=LD_LIBRARY_PATH
9598 shlibpath_overrides_runpath=no
9599 hardcode_into_libs=yes
9602 irix5* | irix6* | nonstopux*)
9604 nonstopux*) version_type=nonstopux ;;
9606 if test "$lt_cv_prog_gnu_ld" = yes; then
9614 soname_spec='${libname}${release}${shared_ext}$major'
9615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9617 irix5* | nonstopux*)
9621 case $LD in # libtool.m4 will add one of these switches to LD
9622 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9623 libsuff= shlibsuff= libmagic=32-bit;;
9624 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9625 libsuff=32 shlibsuff=N32 libmagic=N32;;
9626 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9627 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9628 *) libsuff= shlibsuff= libmagic=never-match;;
9632 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9633 shlibpath_overrides_runpath=no
9634 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9635 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9636 hardcode_into_libs=yes
9639 # No shared lib support for Linux oldld, aout, or coff.
9640 linux*oldld* | linux*aout* | linux*coff*)
9644 # This must be Linux ELF.
9645 linux* | k*bsd*-gnu)
9649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9650 soname_spec='${libname}${release}${shared_ext}$major'
9651 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9652 shlibpath_var=LD_LIBRARY_PATH
9653 shlibpath_overrides_runpath=no
9654 # Some binutils ld are patched to set DT_RUNPATH
9655 save_LDFLAGS=$LDFLAGS
9657 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9658 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9659 cat >conftest.$ac_ext <<_ACEOF
9662 cat confdefs.h >>conftest.$ac_ext
9663 cat >>conftest.$ac_ext <<_ACEOF
9664 /* end confdefs.h. */
9674 rm -f conftest.$ac_objext conftest$ac_exeext
9675 if { (ac_try="$ac_link"
9677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9678 *) ac_try_echo=$ac_try;;
9680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9681 (eval "$ac_link") 2>conftest.er1
9683 grep -v '^ *+' conftest.er1 >conftest.err
9685 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } && {
9688 test -z "$ac_c_werror_flag" ||
9689 test ! -s conftest.err
9690 } && test -s conftest$ac_exeext &&
9691 $as_test_x conftest$ac_exeext; then
9692 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9693 shlibpath_overrides_runpath=yes
9697 echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9704 conftest$ac_exeext conftest.$ac_ext
9705 LDFLAGS=$save_LDFLAGS
9708 # This implies no fast_install, which is unacceptable.
9709 # Some rework will be needed to allow for fast_install
9710 # before this can be enabled.
9711 hardcode_into_libs=yes
9713 # Append ld.so.conf contents to the search path
9714 if test -f /etc/ld.so.conf; then
9715 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' ' '`
9716 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9719 # We used to test for /lib/ld.so.1 and disable shared libraries on
9720 # powerpc, because MkLinux only supported shared libraries with the
9721 # GNU dynamic linker. Since this was broken with cross compilers,
9722 # most powerpc-linux boxes support dynamic linking these days and
9723 # people can always --disable-shared, the test was removed, and we
9724 # assume the GNU/Linux dynamic linker is in use.
9725 dynamic_linker='GNU/Linux ld.so'
9732 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9734 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9735 dynamic_linker='NetBSD (a.out) ld.so'
9737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9738 soname_spec='${libname}${release}${shared_ext}$major'
9739 dynamic_linker='NetBSD ld.elf_so'
9741 shlibpath_var=LD_LIBRARY_PATH
9742 shlibpath_overrides_runpath=yes
9743 hardcode_into_libs=yes
9748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749 shlibpath_var=LD_LIBRARY_PATH
9750 shlibpath_overrides_runpath=yes
9757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9758 soname_spec='${libname}${release}${shared_ext}$major'
9759 shlibpath_var=LD_LIBRARY_PATH
9760 shlibpath_overrides_runpath=no
9761 hardcode_into_libs=yes
9762 dynamic_linker='ldqnx.so'
9767 sys_lib_dlsearch_path_spec="/usr/lib"
9769 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9771 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9772 *) need_version=no ;;
9774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9775 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9776 shlibpath_var=LD_LIBRARY_PATH
9777 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9779 openbsd2.[89] | openbsd2.[89].*)
9780 shlibpath_overrides_runpath=no
9783 shlibpath_overrides_runpath=yes
9787 shlibpath_overrides_runpath=yes
9792 libname_spec='$name'
9795 library_names_spec='$libname${shared_ext} $libname.a'
9796 dynamic_linker='OS/2 ld.exe'
9797 shlibpath_var=LIBPATH
9800 osf3* | osf4* | osf5*)
9804 soname_spec='${libname}${release}${shared_ext}$major'
9805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9806 shlibpath_var=LD_LIBRARY_PATH
9807 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9808 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9820 soname_spec='${libname}${release}${shared_ext}$major'
9821 shlibpath_var=LD_LIBRARY_PATH
9822 shlibpath_overrides_runpath=yes
9823 hardcode_into_libs=yes
9824 # ldd complains unless libraries are executable
9825 postinstall_cmds='chmod +x $lib'
9830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9831 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9832 shlibpath_var=LD_LIBRARY_PATH
9833 shlibpath_overrides_runpath=yes
9834 if test "$with_gnu_ld" = yes; then
9842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9843 soname_spec='${libname}${release}${shared_ext}$major'
9844 shlibpath_var=LD_LIBRARY_PATH
9845 case $host_vendor in
9847 shlibpath_overrides_runpath=no
9849 runpath_var=LD_RUN_PATH
9857 shlibpath_overrides_runpath=no
9858 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9864 if test -d /usr/nec ;then
9866 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9867 soname_spec='$libname${shared_ext}.$major'
9868 shlibpath_var=LD_LIBRARY_PATH
9872 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9873 version_type=freebsd-elf
9876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9877 soname_spec='${libname}${release}${shared_ext}$major'
9878 shlibpath_var=LD_LIBRARY_PATH
9879 shlibpath_overrides_runpath=yes
9880 hardcode_into_libs=yes
9881 if test "$with_gnu_ld" = yes; then
9882 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9884 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9887 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9891 sys_lib_dlsearch_path_spec='/usr/lib'
9895 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9899 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900 shlibpath_var=LD_LIBRARY_PATH
9901 shlibpath_overrides_runpath=no
9902 hardcode_into_libs=yes
9907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9908 soname_spec='${libname}${release}${shared_ext}$major'
9909 shlibpath_var=LD_LIBRARY_PATH
9916 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9917 echo "${ECHO_T}$dynamic_linker" >&6; }
9918 test "$dynamic_linker" = no && can_build_shared=no
9920 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9921 if test "$GCC" = yes; then
9922 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9925 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9926 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9928 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9929 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10018 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10019 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10021 if test -n "$hardcode_libdir_flag_spec" ||
10022 test -n "$runpath_var" ||
10023 test "X$hardcode_automatic" = "Xyes" ; then
10025 # We can hardcode non-existent directories.
10026 if test "$hardcode_direct" != no &&
10027 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10028 # have to relink, otherwise we might link with an installed library
10029 # when we should be linking with a yet-to-be-installed one
10030 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10031 test "$hardcode_minus_L" != no; then
10032 # Linking always hardcodes the temporary library directory.
10033 hardcode_action=relink
10035 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10036 hardcode_action=immediate
10039 # We cannot hardcode anything, or else we can only hardcode existing
10041 hardcode_action=unsupported
10043 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10044 echo "${ECHO_T}$hardcode_action" >&6; }
10046 if test "$hardcode_action" = relink ||
10047 test "$inherit_rpath" = yes; then
10048 # Fast installation is not supported
10049 enable_fast_install=no
10050 elif test "$shlibpath_overrides_runpath" = yes ||
10051 test "$enable_shared" = no; then
10052 # Fast installation is not necessary
10053 enable_fast_install=needless
10061 if test "x$enable_dlopen" != xyes; then
10062 enable_dlopen=unknown
10063 enable_dlopen_self=unknown
10064 enable_dlopen_self_static=unknown
10071 lt_cv_dlopen="load_add_on"
10073 lt_cv_dlopen_self=yes
10077 lt_cv_dlopen="LoadLibrary"
10082 lt_cv_dlopen="dlopen"
10087 # if libdl is installed we need to link against it
10088 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10089 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10090 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10091 echo $ECHO_N "(cached) $ECHO_C" >&6
10093 ac_check_lib_save_LIBS=$LIBS
10095 cat >conftest.$ac_ext <<_ACEOF
10098 cat confdefs.h >>conftest.$ac_ext
10099 cat >>conftest.$ac_ext <<_ACEOF
10100 /* end confdefs.h. */
10102 /* Override any GCC internal prototype to avoid an error.
10103 Use char because int might match the return type of a GCC
10104 builtin and then its argument prototype would still apply. */
10117 rm -f conftest.$ac_objext conftest$ac_exeext
10118 if { (ac_try="$ac_link"
10119 case "(($ac_try" in
10120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10121 *) ac_try_echo=$ac_try;;
10123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10124 (eval "$ac_link") 2>conftest.er1
10126 grep -v '^ *+' conftest.er1 >conftest.err
10128 cat conftest.err >&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); } && {
10131 test -z "$ac_c_werror_flag" ||
10132 test ! -s conftest.err
10133 } && test -s conftest$ac_exeext &&
10134 $as_test_x conftest$ac_exeext; then
10135 ac_cv_lib_dl_dlopen=yes
10137 echo "$as_me: failed program was:" >&5
10138 sed 's/^/| /' conftest.$ac_ext >&5
10140 ac_cv_lib_dl_dlopen=no
10143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10144 conftest$ac_exeext conftest.$ac_ext
10145 LIBS=$ac_check_lib_save_LIBS
10147 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10148 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10149 if test $ac_cv_lib_dl_dlopen = yes; then
10150 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10153 lt_cv_dlopen="dyld"
10155 lt_cv_dlopen_self=yes
10162 { echo "$as_me:$LINENO: checking for shl_load" >&5
10163 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10164 if test "${ac_cv_func_shl_load+set}" = set; then
10165 echo $ECHO_N "(cached) $ECHO_C" >&6
10167 cat >conftest.$ac_ext <<_ACEOF
10170 cat confdefs.h >>conftest.$ac_ext
10171 cat >>conftest.$ac_ext <<_ACEOF
10172 /* end confdefs.h. */
10173 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10175 #define shl_load innocuous_shl_load
10177 /* System header to define __stub macros and hopefully few prototypes,
10178 which can conflict with char shl_load (); below.
10179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10180 <limits.h> exists even on freestanding compilers. */
10183 # include <limits.h>
10185 # include <assert.h>
10190 /* Override any GCC internal prototype to avoid an error.
10191 Use char because int might match the return type of a GCC
10192 builtin and then its argument prototype would still apply. */
10197 /* The GNU C library defines this for functions which it implements
10198 to always fail with ENOSYS. Some functions are actually named
10199 something starting with __ and the normal name is an alias. */
10200 #if defined __stub_shl_load || defined __stub___shl_load
10207 return shl_load ();
10212 rm -f conftest.$ac_objext conftest$ac_exeext
10213 if { (ac_try="$ac_link"
10214 case "(($ac_try" in
10215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10216 *) ac_try_echo=$ac_try;;
10218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10219 (eval "$ac_link") 2>conftest.er1
10221 grep -v '^ *+' conftest.er1 >conftest.err
10223 cat conftest.err >&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); } && {
10226 test -z "$ac_c_werror_flag" ||
10227 test ! -s conftest.err
10228 } && test -s conftest$ac_exeext &&
10229 $as_test_x conftest$ac_exeext; then
10230 ac_cv_func_shl_load=yes
10232 echo "$as_me: failed program was:" >&5
10233 sed 's/^/| /' conftest.$ac_ext >&5
10235 ac_cv_func_shl_load=no
10238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10239 conftest$ac_exeext conftest.$ac_ext
10241 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10242 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10243 if test $ac_cv_func_shl_load = yes; then
10244 lt_cv_dlopen="shl_load"
10246 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10247 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10248 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10249 echo $ECHO_N "(cached) $ECHO_C" >&6
10251 ac_check_lib_save_LIBS=$LIBS
10253 cat >conftest.$ac_ext <<_ACEOF
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10270 return shl_load ();
10275 rm -f conftest.$ac_objext conftest$ac_exeext
10276 if { (ac_try="$ac_link"
10277 case "(($ac_try" in
10278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10279 *) ac_try_echo=$ac_try;;
10281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10282 (eval "$ac_link") 2>conftest.er1
10284 grep -v '^ *+' conftest.er1 >conftest.err
10286 cat conftest.err >&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); } && {
10289 test -z "$ac_c_werror_flag" ||
10290 test ! -s conftest.err
10291 } && test -s conftest$ac_exeext &&
10292 $as_test_x conftest$ac_exeext; then
10293 ac_cv_lib_dld_shl_load=yes
10295 echo "$as_me: failed program was:" >&5
10296 sed 's/^/| /' conftest.$ac_ext >&5
10298 ac_cv_lib_dld_shl_load=no
10301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10302 conftest$ac_exeext conftest.$ac_ext
10303 LIBS=$ac_check_lib_save_LIBS
10305 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10306 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10307 if test $ac_cv_lib_dld_shl_load = yes; then
10308 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10310 { echo "$as_me:$LINENO: checking for dlopen" >&5
10311 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10312 if test "${ac_cv_func_dlopen+set}" = set; then
10313 echo $ECHO_N "(cached) $ECHO_C" >&6
10315 cat >conftest.$ac_ext <<_ACEOF
10318 cat confdefs.h >>conftest.$ac_ext
10319 cat >>conftest.$ac_ext <<_ACEOF
10320 /* end confdefs.h. */
10321 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10323 #define dlopen innocuous_dlopen
10325 /* System header to define __stub macros and hopefully few prototypes,
10326 which can conflict with char dlopen (); below.
10327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10328 <limits.h> exists even on freestanding compilers. */
10331 # include <limits.h>
10333 # include <assert.h>
10338 /* Override any GCC internal prototype to avoid an error.
10339 Use char because int might match the return type of a GCC
10340 builtin and then its argument prototype would still apply. */
10345 /* The GNU C library defines this for functions which it implements
10346 to always fail with ENOSYS. Some functions are actually named
10347 something starting with __ and the normal name is an alias. */
10348 #if defined __stub_dlopen || defined __stub___dlopen
10360 rm -f conftest.$ac_objext conftest$ac_exeext
10361 if { (ac_try="$ac_link"
10362 case "(($ac_try" in
10363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10364 *) ac_try_echo=$ac_try;;
10366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10367 (eval "$ac_link") 2>conftest.er1
10369 grep -v '^ *+' conftest.er1 >conftest.err
10371 cat conftest.err >&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); } && {
10374 test -z "$ac_c_werror_flag" ||
10375 test ! -s conftest.err
10376 } && test -s conftest$ac_exeext &&
10377 $as_test_x conftest$ac_exeext; then
10378 ac_cv_func_dlopen=yes
10380 echo "$as_me: failed program was:" >&5
10381 sed 's/^/| /' conftest.$ac_ext >&5
10383 ac_cv_func_dlopen=no
10386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10387 conftest$ac_exeext conftest.$ac_ext
10389 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10390 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10391 if test $ac_cv_func_dlopen = yes; then
10392 lt_cv_dlopen="dlopen"
10394 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10395 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10396 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 ac_check_lib_save_LIBS=$LIBS
10401 cat >conftest.$ac_ext <<_ACEOF
10404 cat confdefs.h >>conftest.$ac_ext
10405 cat >>conftest.$ac_ext <<_ACEOF
10406 /* end confdefs.h. */
10408 /* Override any GCC internal prototype to avoid an error.
10409 Use char because int might match the return type of a GCC
10410 builtin and then its argument prototype would still apply. */
10423 rm -f conftest.$ac_objext conftest$ac_exeext
10424 if { (ac_try="$ac_link"
10425 case "(($ac_try" in
10426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10427 *) ac_try_echo=$ac_try;;
10429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10430 (eval "$ac_link") 2>conftest.er1
10432 grep -v '^ *+' conftest.er1 >conftest.err
10434 cat conftest.err >&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } && {
10437 test -z "$ac_c_werror_flag" ||
10438 test ! -s conftest.err
10439 } && test -s conftest$ac_exeext &&
10440 $as_test_x conftest$ac_exeext; then
10441 ac_cv_lib_dl_dlopen=yes
10443 echo "$as_me: failed program was:" >&5
10444 sed 's/^/| /' conftest.$ac_ext >&5
10446 ac_cv_lib_dl_dlopen=no
10449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10450 conftest$ac_exeext conftest.$ac_ext
10451 LIBS=$ac_check_lib_save_LIBS
10453 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10454 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10455 if test $ac_cv_lib_dl_dlopen = yes; then
10456 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10458 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10459 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10460 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 ac_check_lib_save_LIBS=$LIBS
10464 LIBS="-lsvld $LIBS"
10465 cat >conftest.$ac_ext <<_ACEOF
10468 cat confdefs.h >>conftest.$ac_ext
10469 cat >>conftest.$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10472 /* Override any GCC internal prototype to avoid an error.
10473 Use char because int might match the return type of a GCC
10474 builtin and then its argument prototype would still apply. */
10487 rm -f conftest.$ac_objext conftest$ac_exeext
10488 if { (ac_try="$ac_link"
10489 case "(($ac_try" in
10490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10491 *) ac_try_echo=$ac_try;;
10493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10494 (eval "$ac_link") 2>conftest.er1
10496 grep -v '^ *+' conftest.er1 >conftest.err
10498 cat conftest.err >&5
10499 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 $as_test_x conftest$ac_exeext; then
10505 ac_cv_lib_svld_dlopen=yes
10507 echo "$as_me: failed program was:" >&5
10508 sed 's/^/| /' conftest.$ac_ext >&5
10510 ac_cv_lib_svld_dlopen=no
10513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10514 conftest$ac_exeext conftest.$ac_ext
10515 LIBS=$ac_check_lib_save_LIBS
10517 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10518 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10519 if test $ac_cv_lib_svld_dlopen = yes; then
10520 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10522 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10523 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10524 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 ac_check_lib_save_LIBS=$LIBS
10529 cat >conftest.$ac_ext <<_ACEOF
10532 cat confdefs.h >>conftest.$ac_ext
10533 cat >>conftest.$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10546 return dld_link ();
10551 rm -f conftest.$ac_objext conftest$ac_exeext
10552 if { (ac_try="$ac_link"
10553 case "(($ac_try" in
10554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10555 *) ac_try_echo=$ac_try;;
10557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10558 (eval "$ac_link") 2>conftest.er1
10560 grep -v '^ *+' conftest.er1 >conftest.err
10562 cat conftest.err >&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); } && {
10565 test -z "$ac_c_werror_flag" ||
10566 test ! -s conftest.err
10567 } && test -s conftest$ac_exeext &&
10568 $as_test_x conftest$ac_exeext; then
10569 ac_cv_lib_dld_dld_link=yes
10571 echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.$ac_ext >&5
10574 ac_cv_lib_dld_dld_link=no
10577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10578 conftest$ac_exeext conftest.$ac_ext
10579 LIBS=$ac_check_lib_save_LIBS
10581 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10582 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10583 if test $ac_cv_lib_dld_dld_link = yes; then
10584 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10605 if test "x$lt_cv_dlopen" != xno; then
10611 case $lt_cv_dlopen in
10613 save_CPPFLAGS="$CPPFLAGS"
10614 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10616 save_LDFLAGS="$LDFLAGS"
10617 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10620 LIBS="$lt_cv_dlopen_libs $LIBS"
10622 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10623 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10624 if test "${lt_cv_dlopen_self+set}" = set; then
10625 echo $ECHO_N "(cached) $ECHO_C" >&6
10627 if test "$cross_compiling" = yes; then :
10628 lt_cv_dlopen_self=cross
10630 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10631 lt_status=$lt_dlunknown
10632 cat > conftest.$ac_ext <<_LT_EOF
10633 #line 10633 "configure"
10634 #include "confdefs.h"
10643 # define LT_DLGLOBAL RTLD_GLOBAL
10646 # define LT_DLGLOBAL DL_GLOBAL
10648 # define LT_DLGLOBAL 0
10652 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10653 find out it does not work in some platform. */
10654 #ifndef LT_DLLAZY_OR_NOW
10656 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10659 # define LT_DLLAZY_OR_NOW DL_LAZY
10662 # define LT_DLLAZY_OR_NOW RTLD_NOW
10665 # define LT_DLLAZY_OR_NOW DL_NOW
10667 # define LT_DLLAZY_OR_NOW 0
10675 extern "C" void exit (int);
10678 void fnord() { int i=42;}
10681 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10682 int status = $lt_dlunknown;
10686 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10687 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10688 /* dlclose (self); */
10696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10697 (eval $ac_link) 2>&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10701 (./conftest; exit; ) >&5 2>/dev/null
10703 case x$lt_status in
10704 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10705 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10706 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10709 # compilation failed
10710 lt_cv_dlopen_self=no
10717 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10718 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10720 if test "x$lt_cv_dlopen_self" = xyes; then
10721 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10722 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10723 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10724 if test "${lt_cv_dlopen_self_static+set}" = set; then
10725 echo $ECHO_N "(cached) $ECHO_C" >&6
10727 if test "$cross_compiling" = yes; then :
10728 lt_cv_dlopen_self_static=cross
10730 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10731 lt_status=$lt_dlunknown
10732 cat > conftest.$ac_ext <<_LT_EOF
10733 #line 10733 "configure"
10734 #include "confdefs.h"
10743 # define LT_DLGLOBAL RTLD_GLOBAL
10746 # define LT_DLGLOBAL DL_GLOBAL
10748 # define LT_DLGLOBAL 0
10752 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10753 find out it does not work in some platform. */
10754 #ifndef LT_DLLAZY_OR_NOW
10756 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10759 # define LT_DLLAZY_OR_NOW DL_LAZY
10762 # define LT_DLLAZY_OR_NOW RTLD_NOW
10765 # define LT_DLLAZY_OR_NOW DL_NOW
10767 # define LT_DLLAZY_OR_NOW 0
10775 extern "C" void exit (int);
10778 void fnord() { int i=42;}
10781 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10782 int status = $lt_dlunknown;
10786 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10787 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10788 /* dlclose (self); */
10796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10797 (eval $ac_link) 2>&5
10799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10801 (./conftest; exit; ) >&5 2>/dev/null
10803 case x$lt_status in
10804 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10805 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10806 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10809 # compilation failed
10810 lt_cv_dlopen_self_static=no
10817 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10818 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10821 CPPFLAGS="$save_CPPFLAGS"
10822 LDFLAGS="$save_LDFLAGS"
10827 case $lt_cv_dlopen_self in
10828 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10829 *) enable_dlopen_self=unknown ;;
10832 case $lt_cv_dlopen_self_static in
10833 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10834 *) enable_dlopen_self_static=unknown ;;
10856 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10857 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10858 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10859 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10860 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10861 { echo "$as_me:$LINENO: result: yes" >&5
10862 echo "${ECHO_T}yes" >&6; }
10864 # FIXME - insert some real tests, host_os isn't really good enough
10867 if test -n "$STRIP" ; then
10868 striplib="$STRIP -x"
10869 old_striplib="$STRIP -S"
10870 { echo "$as_me:$LINENO: result: yes" >&5
10871 echo "${ECHO_T}yes" >&6; }
10873 { echo "$as_me:$LINENO: result: no" >&5
10874 echo "${ECHO_T}no" >&6; }
10878 { echo "$as_me:$LINENO: result: no" >&5
10879 echo "${ECHO_T}no" >&6; }
10895 # Report which library types will actually be built
10896 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10897 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10898 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10899 echo "${ECHO_T}$can_build_shared" >&6; }
10901 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10902 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10903 test "$can_build_shared" = "no" && enable_shared=no
10905 # On AIX, shared libraries and static libraries use the same namespace, and
10906 # are all built from PIC.
10909 test "$enable_shared" = yes && enable_static=no
10910 if test -n "$RANLIB"; then
10911 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10912 postinstall_cmds='$RANLIB $lib'
10917 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10918 test "$enable_shared" = yes && enable_static=no
10922 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10923 echo "${ECHO_T}$enable_shared" >&6; }
10925 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10926 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10927 # Make sure either enable_shared or enable_static is yes.
10928 test "$enable_shared" = yes || enable_static=yes
10929 { echo "$as_me:$LINENO: result: $enable_static" >&5
10930 echo "${ECHO_T}$enable_static" >&6; }
10937 ac_cpp='$CPP $CPPFLAGS'
10938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10956 ac_config_commands="$ac_config_commands libtool"
10961 # Only expand once:
10966 # Check whether --with-kernel was given.
10967 if test "${with_kernel+set}" = set; then
10968 withval=$with_kernel; kbuilddir="$withval"; ksourcedir="$withval";
10972 # Check whether --with-kbuild was given.
10973 if test "${with_kbuild+set}" = set; then
10974 withval=$with_kbuild; kbuilddir="$withval"
10978 # Check whether --with-ksource was given.
10979 if test "${with_ksource+set}" = set; then
10980 withval=$with_ksource; ksourcedir="$withval"
10984 # Check whether --with-xtlibdir was given.
10985 if test "${with_xtlibdir+set}" = set; then
10986 withval=$with_xtlibdir; xtlibdir="$withval"
10988 xtlibdir="${libexecdir}/xtables"
10991 # Check whether --enable-ipv4 was given.
10992 if test "${enable_ipv4+set}" = set; then
10993 enableval=$enable_ipv4; enable_ipv4="$enableval"
10998 # Check whether --enable-ipv6 was given.
10999 if test "${enable_ipv6+set}" = set; then
11000 enableval=$enable_ipv6; enable_ipv6="$enableval"
11005 # Check whether --enable-largefile was given.
11006 if test "${enable_largefile+set}" = set; then
11007 enableval=$enable_largefile; enable_largefile="$enableval"
11009 enable_largefile="yes";
11010 largefile_cflags='-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64'
11013 # Check whether --enable-devel was given.
11014 if test "${enable_devel+set}" = set; then
11015 enableval=$enable_devel; enable_devel="$enableval"
11020 # Check whether --enable-libipq was given.
11021 if test "${enable_libipq+set}" = set; then
11022 enableval=$enable_libipq;
11026 # Check whether --with-pkgconfigdir was given.
11027 if test "${with_pkgconfigdir+set}" = set; then
11028 withval=$with_pkgconfigdir; pkgconfigdir="$withval"
11030 pkgconfigdir='${libdir}/pkgconfig'
11034 if test "${ac_cv_header_linux_dccp_h+set}" = set; then
11035 { echo "$as_me:$LINENO: checking for linux/dccp.h" >&5
11036 echo $ECHO_N "checking for linux/dccp.h... $ECHO_C" >&6; }
11037 if test "${ac_cv_header_linux_dccp_h+set}" = set; then
11038 echo $ECHO_N "(cached) $ECHO_C" >&6
11040 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_dccp_h" >&5
11041 echo "${ECHO_T}$ac_cv_header_linux_dccp_h" >&6; }
11043 # Is the header compilable?
11044 { echo "$as_me:$LINENO: checking linux/dccp.h usability" >&5
11045 echo $ECHO_N "checking linux/dccp.h usability... $ECHO_C" >&6; }
11046 cat >conftest.$ac_ext <<_ACEOF
11049 cat confdefs.h >>conftest.$ac_ext
11050 cat >>conftest.$ac_ext <<_ACEOF
11051 /* end confdefs.h. */
11052 $ac_includes_default
11053 #include <linux/dccp.h>
11055 rm -f conftest.$ac_objext
11056 if { (ac_try="$ac_compile"
11057 case "(($ac_try" in
11058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11059 *) ac_try_echo=$ac_try;;
11061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11062 (eval "$ac_compile") 2>conftest.er1
11064 grep -v '^ *+' conftest.er1 >conftest.err
11066 cat conftest.err >&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } && {
11069 test -z "$ac_c_werror_flag" ||
11070 test ! -s conftest.err
11071 } && test -s conftest.$ac_objext; then
11072 ac_header_compiler=yes
11074 echo "$as_me: failed program was:" >&5
11075 sed 's/^/| /' conftest.$ac_ext >&5
11077 ac_header_compiler=no
11080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11081 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11082 echo "${ECHO_T}$ac_header_compiler" >&6; }
11084 # Is the header present?
11085 { echo "$as_me:$LINENO: checking linux/dccp.h presence" >&5
11086 echo $ECHO_N "checking linux/dccp.h presence... $ECHO_C" >&6; }
11087 cat >conftest.$ac_ext <<_ACEOF
11090 cat confdefs.h >>conftest.$ac_ext
11091 cat >>conftest.$ac_ext <<_ACEOF
11092 /* end confdefs.h. */
11093 #include <linux/dccp.h>
11095 if { (ac_try="$ac_cpp conftest.$ac_ext"
11096 case "(($ac_try" in
11097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11098 *) ac_try_echo=$ac_try;;
11100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11101 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11103 grep -v '^ *+' conftest.er1 >conftest.err
11105 cat conftest.err >&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); } >/dev/null && {
11108 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11109 test ! -s conftest.err
11111 ac_header_preproc=yes
11113 echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.$ac_ext >&5
11116 ac_header_preproc=no
11119 rm -f conftest.err conftest.$ac_ext
11120 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11121 echo "${ECHO_T}$ac_header_preproc" >&6; }
11123 # So? What about this header?
11124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11126 { echo "$as_me:$LINENO: WARNING: linux/dccp.h: accepted by the compiler, rejected by the preprocessor!" >&5
11127 echo "$as_me: WARNING: linux/dccp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11128 { echo "$as_me:$LINENO: WARNING: linux/dccp.h: proceeding with the compiler's result" >&5
11129 echo "$as_me: WARNING: linux/dccp.h: proceeding with the compiler's result" >&2;}
11130 ac_header_preproc=yes
11133 { echo "$as_me:$LINENO: WARNING: linux/dccp.h: present but cannot be compiled" >&5
11134 echo "$as_me: WARNING: linux/dccp.h: present but cannot be compiled" >&2;}
11135 { echo "$as_me:$LINENO: WARNING: linux/dccp.h: check for missing prerequisite headers?" >&5
11136 echo "$as_me: WARNING: linux/dccp.h: check for missing prerequisite headers?" >&2;}
11137 { echo "$as_me:$LINENO: WARNING: linux/dccp.h: see the Autoconf documentation" >&5
11138 echo "$as_me: WARNING: linux/dccp.h: see the Autoconf documentation" >&2;}
11139 { echo "$as_me:$LINENO: WARNING: linux/dccp.h: section \"Present But Cannot Be Compiled\"" >&5
11140 echo "$as_me: WARNING: linux/dccp.h: section \"Present But Cannot Be Compiled\"" >&2;}
11141 { echo "$as_me:$LINENO: WARNING: linux/dccp.h: proceeding with the preprocessor's result" >&5
11142 echo "$as_me: WARNING: linux/dccp.h: proceeding with the preprocessor's result" >&2;}
11143 { echo "$as_me:$LINENO: WARNING: linux/dccp.h: in the future, the compiler will take precedence" >&5
11144 echo "$as_me: WARNING: linux/dccp.h: in the future, the compiler will take precedence" >&2;}
11148 { echo "$as_me:$LINENO: checking for linux/dccp.h" >&5
11149 echo $ECHO_N "checking for linux/dccp.h... $ECHO_C" >&6; }
11150 if test "${ac_cv_header_linux_dccp_h+set}" = set; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 ac_cv_header_linux_dccp_h=$ac_header_preproc
11155 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_dccp_h" >&5
11156 echo "${ECHO_T}$ac_cv_header_linux_dccp_h" >&6; }
11162 blacklist_modules="";
11163 if test "$ac_cv_header_linux_dccp_h" != "yes"; then
11164 blacklist_modules="$blacklist_modules dccp";
11168 if test "$enable_static" = "yes"; then
11169 ENABLE_STATIC_TRUE=
11170 ENABLE_STATIC_FALSE='#'
11172 ENABLE_STATIC_TRUE='#'
11173 ENABLE_STATIC_FALSE=
11176 if test "$enable_shared" = "yes"; then
11177 ENABLE_SHARED_TRUE=
11178 ENABLE_SHARED_FALSE='#'
11180 ENABLE_SHARED_TRUE='#'
11181 ENABLE_SHARED_FALSE=
11184 if test "$enable_ipv4" = "yes"; then
11186 ENABLE_IPV4_FALSE='#'
11188 ENABLE_IPV4_TRUE='#'
11192 if test "$enable_ipv6" = "yes"; then
11194 ENABLE_IPV6_FALSE='#'
11196 ENABLE_IPV6_TRUE='#'
11200 if test "$enable_largefile" = "yes"; then
11201 ENABLE_LARGEFILE_TRUE=
11202 ENABLE_LARGEFILE_FALSE='#'
11204 ENABLE_LARGEFILE_TRUE='#'
11205 ENABLE_LARGEFILE_FALSE=
11208 if test "$enable_devel" = "yes"; then
11210 ENABLE_DEVEL_FALSE='#'
11212 ENABLE_DEVEL_TRUE='#'
11213 ENABLE_DEVEL_FALSE=
11216 if test "$enable_libipq" = "yes"; then
11217 ENABLE_LIBIPQ_TRUE=
11218 ENABLE_LIBIPQ_FALSE='#'
11220 ENABLE_LIBIPQ_TRUE='#'
11221 ENABLE_LIBIPQ_FALSE=
11227 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11228 if test -n "$ac_tool_prefix"; then
11229 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11230 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11233 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 case $PKG_CONFIG in
11238 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11242 for as_dir in $PATH
11245 test -z "$as_dir" && as_dir=.
11246 for ac_exec_ext in '' $ac_executable_extensions; do
11247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11248 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11259 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11260 if test -n "$PKG_CONFIG"; then
11261 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11262 echo "${ECHO_T}$PKG_CONFIG" >&6; }
11264 { echo "$as_me:$LINENO: result: no" >&5
11265 echo "${ECHO_T}no" >&6; }
11270 if test -z "$ac_cv_path_PKG_CONFIG"; then
11271 ac_pt_PKG_CONFIG=$PKG_CONFIG
11272 # Extract the first word of "pkg-config", so it can be a program name with args.
11273 set dummy pkg-config; ac_word=$2
11274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11276 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 case $ac_pt_PKG_CONFIG in
11281 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11285 for as_dir in $PATH
11288 test -z "$as_dir" && as_dir=.
11289 for ac_exec_ext in '' $ac_executable_extensions; do
11290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11291 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11302 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11303 if test -n "$ac_pt_PKG_CONFIG"; then
11304 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11305 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
11307 { echo "$as_me:$LINENO: result: no" >&5
11308 echo "${ECHO_T}no" >&6; }
11311 if test "x$ac_pt_PKG_CONFIG" = x; then
11314 case $cross_compiling:$ac_tool_warned in
11316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11317 whose name does not start with the host triplet. If you think this
11318 configuration is useful to you, please write to autoconf@gnu.org." >&5
11319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11320 whose name does not start with the host triplet. If you think this
11321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11322 ac_tool_warned=yes ;;
11324 PKG_CONFIG=$ac_pt_PKG_CONFIG
11327 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11331 if test -n "$PKG_CONFIG"; then
11332 _pkg_min_version=0.9.0
11333 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11334 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
11335 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11336 { echo "$as_me:$LINENO: result: yes" >&5
11337 echo "${ECHO_T}yes" >&6; }
11339 { echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6; }
11347 { echo "$as_me:$LINENO: checking for libnfnetlink" >&5
11348 echo $ECHO_N "checking for libnfnetlink... $ECHO_C" >&6; }
11350 if test -n "$PKG_CONFIG"; then
11351 if test -n "$libnfnetlink_CFLAGS"; then
11352 pkg_cv_libnfnetlink_CFLAGS="$libnfnetlink_CFLAGS"
11354 if test -n "$PKG_CONFIG" && \
11355 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0\"") >&5
11356 ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0") 2>&5
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); }; then
11360 pkg_cv_libnfnetlink_CFLAGS=`$PKG_CONFIG --cflags "libnfnetlink >= 1.0" 2>/dev/null`
11368 if test -n "$PKG_CONFIG"; then
11369 if test -n "$libnfnetlink_LIBS"; then
11370 pkg_cv_libnfnetlink_LIBS="$libnfnetlink_LIBS"
11372 if test -n "$PKG_CONFIG" && \
11373 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0\"") >&5
11374 ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0") 2>&5
11376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377 (exit $ac_status); }; then
11378 pkg_cv_libnfnetlink_LIBS=`$PKG_CONFIG --libs "libnfnetlink >= 1.0" 2>/dev/null`
11389 if test $pkg_failed = yes; then
11391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11392 _pkg_short_errors_supported=yes
11394 _pkg_short_errors_supported=no
11396 if test $_pkg_short_errors_supported = yes; then
11397 libnfnetlink_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnfnetlink >= 1.0"`
11399 libnfnetlink_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnfnetlink >= 1.0"`
11401 # Put the nasty error message in config.log where it belongs
11402 echo "$libnfnetlink_PKG_ERRORS" >&5
11404 { echo "$as_me:$LINENO: result: no" >&5
11405 echo "${ECHO_T}no" >&6; }
11407 elif test $pkg_failed = untried; then
11410 libnfnetlink_CFLAGS=$pkg_cv_libnfnetlink_CFLAGS
11411 libnfnetlink_LIBS=$pkg_cv_libnfnetlink_LIBS
11412 { echo "$as_me:$LINENO: result: yes" >&5
11413 echo "${ECHO_T}yes" >&6; }
11416 if test "$nfnetlink" = 1; then
11417 HAVE_LIBNFNETLINK_TRUE=
11418 HAVE_LIBNFNETLINK_FALSE='#'
11420 HAVE_LIBNFNETLINK_TRUE='#'
11421 HAVE_LIBNFNETLINK_FALSE=
11425 regular_CFLAGS="${largefile_cflags} \
11426 -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
11427 -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
11429 -DXTABLES_LIBDIR=\\\"\${xtlibdir}\\\" -DXTABLES_INTERNAL";
11430 kinclude_CFLAGS="";
11431 if [ -n "$kbuilddir" ]; then
11432 kinclude_CFLAGS="$kinclude_CFLAGS -I $kbuilddir/include";
11434 if [ -n "$ksourcedir" ]; then
11435 kinclude_CFLAGS="$kinclude_CFLAGS -I $ksourcedir/include";
11437 pkgdatadir='${datadir}/xtables';
11448 libxtables_vmajor=$(($libxtables_vcurrent - $libxtables_vage));
11451 ac_config_files="$ac_config_files Makefile extensions/GNUmakefile include/Makefile libipq/Makefile utils/Makefile include/xtables.h include/iptables/internal.h libiptc.pc xtables.pc"
11453 cat >confcache <<\_ACEOF
11454 # This file is a shell script that caches the results of configure
11455 # tests run on this system so they can be shared between configure
11456 # scripts and configure runs, see configure's option --config-cache.
11457 # It is not useful on other systems. If it contains results you don't
11458 # want to keep, you may remove or edit it.
11460 # config.status only pays attention to the cache file if you give it
11461 # the --recheck option to rerun configure.
11463 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11464 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11465 # following values.
11469 # The following way of writing the cache mishandles newlines in values,
11470 # but we know of no workaround that is simple, portable, and efficient.
11471 # So, we kill variables containing newlines.
11472 # Ultrix sh set writes to stderr and can't be redirected directly,
11473 # and sets the high bit in the cache file unless we assign to the vars.
11475 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11476 eval ac_val=\$$ac_var
11480 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11481 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11484 _ | IFS | as_nl) ;; #(
11485 *) $as_unset $ac_var ;;
11491 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11492 *${as_nl}ac_space=\ *)
11493 # `set' does not quote correctly, so add quotes (double-quote
11494 # substitution turns \\\\ into \\, and sed turns \\ into \).
11497 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11500 # `set' quotes correctly as required by POSIX, so do not add quotes.
11501 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11510 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11512 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11514 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11515 if test -w "$cache_file"; then
11516 test "x$cache_file" != "x/dev/null" &&
11517 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11518 echo "$as_me: updating cache $cache_file" >&6;}
11519 cat confcache >$cache_file
11521 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11522 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11527 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11528 # Let make expand exec_prefix.
11529 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11531 DEFS=-DHAVE_CONFIG_H
11535 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11536 # 1. Remove the extension, and $U if already installed.
11537 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11538 ac_i=`echo "$ac_i" | sed "$ac_script"`
11539 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11540 # will be set to the directory where LIBOBJS objects are built.
11541 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11542 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11544 LIBOBJS=$ac_libobjs
11546 LTLIBOBJS=$ac_ltlibobjs
11549 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11550 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11551 Usually this means the macro was only invoked conditionally." >&5
11552 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11553 Usually this means the macro was only invoked conditionally." >&2;}
11554 { (exit 1); exit 1; }; }
11556 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11557 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11558 Usually this means the macro was only invoked conditionally." >&5
11559 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11560 Usually this means the macro was only invoked conditionally." >&2;}
11561 { (exit 1); exit 1; }; }
11563 if test -z "${ENABLE_STATIC_TRUE}" && test -z "${ENABLE_STATIC_FALSE}"; then
11564 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_STATIC\" was never defined.
11565 Usually this means the macro was only invoked conditionally." >&5
11566 echo "$as_me: error: conditional \"ENABLE_STATIC\" was never defined.
11567 Usually this means the macro was only invoked conditionally." >&2;}
11568 { (exit 1); exit 1; }; }
11570 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
11571 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
11572 Usually this means the macro was only invoked conditionally." >&5
11573 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
11574 Usually this means the macro was only invoked conditionally." >&2;}
11575 { (exit 1); exit 1; }; }
11577 if test -z "${ENABLE_IPV4_TRUE}" && test -z "${ENABLE_IPV4_FALSE}"; then
11578 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_IPV4\" was never defined.
11579 Usually this means the macro was only invoked conditionally." >&5
11580 echo "$as_me: error: conditional \"ENABLE_IPV4\" was never defined.
11581 Usually this means the macro was only invoked conditionally." >&2;}
11582 { (exit 1); exit 1; }; }
11584 if test -z "${ENABLE_IPV6_TRUE}" && test -z "${ENABLE_IPV6_FALSE}"; then
11585 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_IPV6\" was never defined.
11586 Usually this means the macro was only invoked conditionally." >&5
11587 echo "$as_me: error: conditional \"ENABLE_IPV6\" was never defined.
11588 Usually this means the macro was only invoked conditionally." >&2;}
11589 { (exit 1); exit 1; }; }
11591 if test -z "${ENABLE_LARGEFILE_TRUE}" && test -z "${ENABLE_LARGEFILE_FALSE}"; then
11592 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LARGEFILE\" was never defined.
11593 Usually this means the macro was only invoked conditionally." >&5
11594 echo "$as_me: error: conditional \"ENABLE_LARGEFILE\" was never defined.
11595 Usually this means the macro was only invoked conditionally." >&2;}
11596 { (exit 1); exit 1; }; }
11598 if test -z "${ENABLE_DEVEL_TRUE}" && test -z "${ENABLE_DEVEL_FALSE}"; then
11599 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_DEVEL\" was never defined.
11600 Usually this means the macro was only invoked conditionally." >&5
11601 echo "$as_me: error: conditional \"ENABLE_DEVEL\" was never defined.
11602 Usually this means the macro was only invoked conditionally." >&2;}
11603 { (exit 1); exit 1; }; }
11605 if test -z "${ENABLE_LIBIPQ_TRUE}" && test -z "${ENABLE_LIBIPQ_FALSE}"; then
11606 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LIBIPQ\" was never defined.
11607 Usually this means the macro was only invoked conditionally." >&5
11608 echo "$as_me: error: conditional \"ENABLE_LIBIPQ\" was never defined.
11609 Usually this means the macro was only invoked conditionally." >&2;}
11610 { (exit 1); exit 1; }; }
11612 if test -z "${HAVE_LIBNFNETLINK_TRUE}" && test -z "${HAVE_LIBNFNETLINK_FALSE}"; then
11613 { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBNFNETLINK\" was never defined.
11614 Usually this means the macro was only invoked conditionally." >&5
11615 echo "$as_me: error: conditional \"HAVE_LIBNFNETLINK\" was never defined.
11616 Usually this means the macro was only invoked conditionally." >&2;}
11617 { (exit 1); exit 1; }; }
11620 : ${CONFIG_STATUS=./config.status}
11621 ac_clean_files_save=$ac_clean_files
11622 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11623 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11624 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11625 cat >$CONFIG_STATUS <<_ACEOF
11627 # Generated by $as_me.
11628 # Run this file to recreate the current configuration.
11629 # Compiler output produced by configure, useful for debugging
11630 # configure, is in config.log if it exists.
11633 ac_cs_recheck=false
11635 SHELL=\${CONFIG_SHELL-$SHELL}
11638 cat >>$CONFIG_STATUS <<\_ACEOF
11639 ## --------------------- ##
11640 ## M4sh Initialization. ##
11641 ## --------------------- ##
11643 # Be more Bourne compatible
11644 DUALCASE=1; export DUALCASE # for MKS sh
11645 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11648 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11649 # is contrary to our usage. Disable this feature.
11650 alias -g '${1+"$@"}'='"$@"'
11651 setopt NO_GLOB_SUBST
11653 case `(set -o) 2>/dev/null` in
11654 *posix*) set -o posix ;;
11663 # Avoid depending upon Character Ranges.
11664 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11665 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11666 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11667 as_cr_digits='0123456789'
11668 as_cr_alnum=$as_cr_Letters$as_cr_digits
11670 # The user is always right.
11671 if test "${PATH_SEPARATOR+set}" != set; then
11672 echo "#! /bin/sh" >conf$$.sh
11673 echo "exit 0" >>conf$$.sh
11675 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11683 # Support unset when possible.
11684 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11692 # We need space, tab and new line, in precisely that order. Quoting is
11693 # there to prevent editors from complaining about space-tab.
11694 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11695 # splitting by setting IFS to empty value.)
11700 # Find who we are. Look in the path if we contain no directory separator.
11702 *[\\/]* ) as_myself=$0 ;;
11703 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11704 for as_dir in $PATH
11707 test -z "$as_dir" && as_dir=.
11708 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11714 # We did not find ourselves, most probably we were run as `sh COMMAND'
11715 # in which case we are not to be found in the path.
11716 if test "x$as_myself" = x; then
11719 if test ! -f "$as_myself"; then
11720 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11721 { (exit 1); exit 1; }
11724 # Work around bugs in pre-3.0 UWIN ksh.
11725 for as_var in ENV MAIL MAILPATH
11726 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11734 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11735 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11736 LC_TELEPHONE LC_TIME
11738 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11739 eval $as_var=C; export $as_var
11741 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11745 # Required to use basename.
11746 if expr a : '\(a\)' >/dev/null 2>&1 &&
11747 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11753 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11754 as_basename=basename
11760 # Name of the executable.
11761 as_me=`$as_basename -- "$0" ||
11762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11763 X"$0" : 'X\(//\)$' \| \
11764 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11766 sed '/^.*\/\([^/][^/]*\)\/*$/{
11785 as_lineno_1=$LINENO
11786 as_lineno_2=$LINENO
11787 test "x$as_lineno_1" != "x$as_lineno_2" &&
11788 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11790 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11791 # uniformly replaced by the line number. The first 'sed' inserts a
11792 # line-number line after each line using $LINENO; the second 'sed'
11793 # does the real work. The second script uses 'N' to pair each
11794 # line-number line with the line containing $LINENO, and appends
11795 # trailing '-' during substitution so that $LINENO is not a special
11796 # case at line end.
11797 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11798 # scripts with optimization help from Paolo Bonzini. Blame Lee
11799 # E. McMahon (1931-1989) for sed's syntax. :-)
11811 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11814 ' >$as_me.lineno &&
11815 chmod +x "$as_me.lineno" ||
11816 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11817 { (exit 1); exit 1; }; }
11819 # Don't try to exec as it changes $[0], causing all sort of problems
11820 # (the dirname of $[0] is not the place where we might find the
11821 # original and so on. Autoconf is especially sensitive to this).
11822 . "./$as_me.lineno"
11823 # Exit status is that of the last command.
11828 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11834 ECHO_C= ECHO_N= ECHO_T=
11835 case `echo -n x` in
11837 case `echo 'x\c'` in
11838 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11845 if expr a : '\(a\)' >/dev/null 2>&1 &&
11846 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11852 rm -f conf$$ conf$$.exe conf$$.file
11853 if test -d conf$$.dir; then
11854 rm -f conf$$.dir/conf$$.file
11860 if ln -s conf$$.file conf$$ 2>/dev/null; then
11862 # ... but there are two gotchas:
11863 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11864 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11865 # In both cases, we have to default to `cp -p'.
11866 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11868 elif ln conf$$.file conf$$ 2>/dev/null; then
11873 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11874 rmdir conf$$.dir 2>/dev/null
11876 if mkdir -p . 2>/dev/null; then
11879 test -d ./-p && rmdir ./-p
11883 if test -x / >/dev/null 2>&1; then
11884 as_test_x='test -x'
11886 if ls -dL / >/dev/null 2>&1; then
11893 if test -d "$1"; then
11899 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11900 ???[sx]*):;;*)false;;esac;fi
11904 as_executable_p=$as_test_x
11906 # Sed expression to map a string onto a valid CPP name.
11907 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11909 # Sed expression to map a string onto a valid variable name.
11910 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11915 # Save the log message, to keep $[0] and so on meaningful, and to
11916 # report actual input values of CONFIG_FILES etc. instead of their
11917 # values after options handling.
11919 This file was extended by iptables $as_me 1.4.9.1, which was
11920 generated by GNU Autoconf 2.61. Invocation command line was
11922 CONFIG_FILES = $CONFIG_FILES
11923 CONFIG_HEADERS = $CONFIG_HEADERS
11924 CONFIG_LINKS = $CONFIG_LINKS
11925 CONFIG_COMMANDS = $CONFIG_COMMANDS
11928 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11933 cat >>$CONFIG_STATUS <<_ACEOF
11934 # Files that config.status was made for.
11935 config_files="$ac_config_files"
11936 config_headers="$ac_config_headers"
11937 config_commands="$ac_config_commands"
11941 cat >>$CONFIG_STATUS <<\_ACEOF
11943 \`$as_me' instantiates files from templates according to the
11944 current configuration.
11946 Usage: $0 [OPTIONS] [FILE]...
11948 -h, --help print this help, then exit
11949 -V, --version print version number and configuration settings, then exit
11950 -q, --quiet do not print progress messages
11951 -d, --debug don't remove temporary files
11952 --recheck update $as_me by reconfiguring in the same conditions
11953 --file=FILE[:TEMPLATE]
11954 instantiate the configuration file FILE
11955 --header=FILE[:TEMPLATE]
11956 instantiate the configuration header FILE
11958 Configuration files:
11961 Configuration headers:
11964 Configuration commands:
11967 Report bugs to <bug-autoconf@gnu.org>."
11970 cat >>$CONFIG_STATUS <<_ACEOF
11972 iptables config.status 1.4.9.1
11973 configured by $0, generated by GNU Autoconf 2.61,
11974 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11976 Copyright (C) 2006 Free Software Foundation, Inc.
11977 This config.status script is free software; the Free Software Foundation
11978 gives unlimited permission to copy, distribute and modify it."
11986 cat >>$CONFIG_STATUS <<\_ACEOF
11987 # If no file are specified by the user, then we need to provide default
11988 # value. By we need to know if files were specified by the user.
11994 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11995 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12006 # Handling of the options.
12007 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12009 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12010 echo "$ac_cs_version"; exit ;;
12011 --debug | --debu | --deb | --de | --d | -d )
12013 --file | --fil | --fi | --f )
12015 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12016 ac_need_defaults=false;;
12017 --header | --heade | --head | --hea )
12019 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12020 ac_need_defaults=false;;
12022 # Conflict between --help and --header
12023 { echo "$as_me: error: ambiguous option: $1
12024 Try \`$0 --help' for more information." >&2
12025 { (exit 1); exit 1; }; };;
12026 --help | --hel | -h )
12027 echo "$ac_cs_usage"; exit ;;
12028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12029 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12032 # This is an error.
12033 -*) { echo "$as_me: error: unrecognized option: $1
12034 Try \`$0 --help' for more information." >&2
12035 { (exit 1); exit 1; }; } ;;
12037 *) ac_config_targets="$ac_config_targets $1"
12038 ac_need_defaults=false ;;
12044 ac_configure_extra_args=
12046 if $ac_cs_silent; then
12048 ac_configure_extra_args="$ac_configure_extra_args --silent"
12052 cat >>$CONFIG_STATUS <<_ACEOF
12053 if \$ac_cs_recheck; then
12054 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12055 CONFIG_SHELL=$SHELL
12056 export CONFIG_SHELL
12057 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12061 cat >>$CONFIG_STATUS <<\_ACEOF
12065 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12066 ## Running $as_me. ##
12072 cat >>$CONFIG_STATUS <<_ACEOF
12076 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12079 # The HP-UX ksh and POSIX shell print the target directory to stdout
12080 # if CDPATH is set.
12081 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12083 sed_quote_subst='$sed_quote_subst'
12084 double_quote_subst='$double_quote_subst'
12085 delay_variable_subst='$delay_variable_subst'
12086 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12087 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12088 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12089 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12090 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12091 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12092 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12093 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12094 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12095 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12096 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12097 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12098 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12099 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12100 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12101 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12102 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12103 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12104 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12105 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12106 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12107 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12108 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12109 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12110 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12111 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12112 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12113 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12114 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12115 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12116 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12117 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12118 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12119 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12120 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12121 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12122 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12123 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12124 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12125 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12126 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12127 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12128 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12129 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"`'
12130 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"`'
12131 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12132 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12133 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12134 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12135 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12136 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12137 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12138 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12139 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12140 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12141 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12142 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12143 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12144 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12145 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12146 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12147 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12148 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12149 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12150 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12151 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12152 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12153 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12154 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12155 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12156 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12157 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12158 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12159 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12160 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12161 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12162 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12163 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12164 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12165 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12166 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12167 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12168 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12169 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12170 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12171 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12172 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12173 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12174 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12175 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12176 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12177 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12178 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12179 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12180 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12181 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12182 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12183 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12184 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12185 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12186 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12187 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12188 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12189 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12190 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12191 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12192 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12193 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12194 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12195 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12196 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12197 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12198 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12199 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12200 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12201 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12202 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12205 LTCFLAGS='$LTCFLAGS'
12206 compiler='$compiler_DEFAULT'
12208 # Quote evaled strings.
12219 deplibs_check_method \
12228 lt_cv_sys_global_symbol_pipe \
12229 lt_cv_sys_global_symbol_to_cdecl \
12230 lt_cv_sys_global_symbol_to_c_name_address \
12231 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12234 lt_prog_compiler_no_builtin_flag \
12235 lt_prog_compiler_wl \
12236 lt_prog_compiler_pic \
12237 lt_prog_compiler_static \
12238 lt_cv_prog_compiler_c_o \
12246 export_dynamic_flag_spec \
12247 whole_archive_flag_spec \
12248 compiler_needs_object \
12250 allow_undefined_flag \
12251 no_undefined_flag \
12252 hardcode_libdir_flag_spec \
12253 hardcode_libdir_flag_spec_ld \
12254 hardcode_libdir_separator \
12259 variables_saved_for_relink \
12261 library_names_spec \
12266 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12267 *[\\\\\\\`\\"\\\$]*)
12268 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12271 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12276 # Double-quote double-evaled strings.
12277 for var in reload_cmds \
12278 old_postinstall_cmds \
12279 old_postuninstall_cmds \
12281 extract_expsyms_cmds \
12282 old_archive_from_new_cmds \
12283 old_archive_from_expsyms_cmds \
12285 archive_expsym_cmds \
12287 module_expsym_cmds \
12288 export_symbols_cmds \
12291 postuninstall_cmds \
12293 sys_lib_search_path_spec \
12294 sys_lib_dlsearch_path_spec; do
12295 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12296 *[\\\\\\\`\\"\\\$]*)
12297 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12300 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12305 # Fix-up fallback echo if it was mangled by the above quoting rules.
12307 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12311 ac_aux_dir='$ac_aux_dir'
12312 xsi_shell='$xsi_shell'
12313 lt_shell_append='$lt_shell_append'
12315 # See if we are running on zsh, and set the options which allow our
12316 # commands through without removal of \ escapes INIT.
12317 if test -n "\${ZSH_VERSION+set}" ; then
12318 setopt NO_GLOB_SUBST
12324 TIMESTAMP='$TIMESTAMP'
12333 cat >>$CONFIG_STATUS <<\_ACEOF
12335 # Handling of arguments.
12336 for ac_config_target in $ac_config_targets
12338 case $ac_config_target in
12339 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12340 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12341 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12342 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12343 "extensions/GNUmakefile") CONFIG_FILES="$CONFIG_FILES extensions/GNUmakefile" ;;
12344 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
12345 "libipq/Makefile") CONFIG_FILES="$CONFIG_FILES libipq/Makefile" ;;
12346 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
12347 "include/xtables.h") CONFIG_FILES="$CONFIG_FILES include/xtables.h" ;;
12348 "include/iptables/internal.h") CONFIG_FILES="$CONFIG_FILES include/iptables/internal.h" ;;
12349 "libiptc.pc") CONFIG_FILES="$CONFIG_FILES libiptc.pc" ;;
12350 "xtables.pc") CONFIG_FILES="$CONFIG_FILES xtables.pc" ;;
12352 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12353 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12354 { (exit 1); exit 1; }; };;
12359 # If the user did not use the arguments to specify the items to instantiate,
12360 # then the envvar interface is used. Set only those that are not.
12361 # We use the long form for the default assignment because of an extremely
12362 # bizarre bug on SunOS 4.1.3.
12363 if $ac_need_defaults; then
12364 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12365 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12366 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12369 # Have a temporary directory for convenience. Make it in the build tree
12370 # simply because there is no reason against having it here, and in addition,
12371 # creating and moving files from /tmp can sometimes cause problems.
12372 # Hook for its removal unless debugging.
12373 # Note that there is a small window in which the directory will not be cleaned:
12374 # after its creation but before its name has been assigned to `$tmp'.
12378 trap 'exit_status=$?
12379 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12381 trap '{ (exit 1); exit 1; }' 1 2 13 15
12383 # Create a (secure) tmp directory for tmp files.
12386 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12387 test -n "$tmp" && test -d "$tmp"
12390 tmp=./conf$$-$RANDOM
12391 (umask 077 && mkdir "$tmp")
12394 echo "$me: cannot create a temporary directory in ." >&2
12395 { (exit 1); exit 1; }
12399 # Set up the sed scripts for CONFIG_FILES section.
12402 # No need to generate the scripts if there are no CONFIG_FILES.
12403 # This happens for instance when ./config.status config.h
12404 if test -n "$CONFIG_FILES"; then
12411 for ac_last_try in false false false false false :; do
12412 cat >conf$$subs.sed <<_ACEOF
12413 SHELL!$SHELL$ac_delim
12414 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12415 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12416 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12417 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12418 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12419 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12420 exec_prefix!$exec_prefix$ac_delim
12421 prefix!$prefix$ac_delim
12422 program_transform_name!$program_transform_name$ac_delim
12423 bindir!$bindir$ac_delim
12424 sbindir!$sbindir$ac_delim
12425 libexecdir!$libexecdir$ac_delim
12426 datarootdir!$datarootdir$ac_delim
12427 datadir!$datadir$ac_delim
12428 sysconfdir!$sysconfdir$ac_delim
12429 sharedstatedir!$sharedstatedir$ac_delim
12430 localstatedir!$localstatedir$ac_delim
12431 includedir!$includedir$ac_delim
12432 oldincludedir!$oldincludedir$ac_delim
12433 docdir!$docdir$ac_delim
12434 infodir!$infodir$ac_delim
12435 htmldir!$htmldir$ac_delim
12436 dvidir!$dvidir$ac_delim
12437 pdfdir!$pdfdir$ac_delim
12438 psdir!$psdir$ac_delim
12439 libdir!$libdir$ac_delim
12440 localedir!$localedir$ac_delim
12441 mandir!$mandir$ac_delim
12442 DEFS!$DEFS$ac_delim
12443 ECHO_C!$ECHO_C$ac_delim
12444 ECHO_N!$ECHO_N$ac_delim
12445 ECHO_T!$ECHO_T$ac_delim
12446 LIBS!$LIBS$ac_delim
12447 build_alias!$build_alias$ac_delim
12448 host_alias!$host_alias$ac_delim
12449 target_alias!$target_alias$ac_delim
12450 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
12451 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
12452 INSTALL_DATA!$INSTALL_DATA$ac_delim
12453 am__isrc!$am__isrc$ac_delim
12454 CYGPATH_W!$CYGPATH_W$ac_delim
12455 PACKAGE!$PACKAGE$ac_delim
12456 VERSION!$VERSION$ac_delim
12457 ACLOCAL!$ACLOCAL$ac_delim
12458 AUTOCONF!$AUTOCONF$ac_delim
12459 AUTOMAKE!$AUTOMAKE$ac_delim
12460 AUTOHEADER!$AUTOHEADER$ac_delim
12461 MAKEINFO!$MAKEINFO$ac_delim
12462 install_sh!$install_sh$ac_delim
12463 STRIP!$STRIP$ac_delim
12464 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
12465 mkdir_p!$mkdir_p$ac_delim
12467 SET_MAKE!$SET_MAKE$ac_delim
12468 am__leading_dot!$am__leading_dot$ac_delim
12469 AMTAR!$AMTAR$ac_delim
12470 am__tar!$am__tar$ac_delim
12471 am__untar!$am__untar$ac_delim
12473 CFLAGS!$CFLAGS$ac_delim
12474 LDFLAGS!$LDFLAGS$ac_delim
12475 CPPFLAGS!$CPPFLAGS$ac_delim
12476 ac_ct_CC!$ac_ct_CC$ac_delim
12477 EXEEXT!$EXEEXT$ac_delim
12478 OBJEXT!$OBJEXT$ac_delim
12479 DEPDIR!$DEPDIR$ac_delim
12480 am__include!$am__include$ac_delim
12481 am__quote!$am__quote$ac_delim
12482 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
12483 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
12484 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
12485 CCDEPMODE!$CCDEPMODE$ac_delim
12486 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
12487 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
12488 LIBTOOL!$LIBTOOL$ac_delim
12489 build!$build$ac_delim
12490 build_cpu!$build_cpu$ac_delim
12491 build_vendor!$build_vendor$ac_delim
12492 build_os!$build_os$ac_delim
12493 host!$host$ac_delim
12494 host_cpu!$host_cpu$ac_delim
12495 host_vendor!$host_vendor$ac_delim
12496 host_os!$host_os$ac_delim
12498 GREP!$GREP$ac_delim
12499 EGREP!$EGREP$ac_delim
12500 FGREP!$FGREP$ac_delim
12502 DUMPBIN!$DUMPBIN$ac_delim
12503 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
12505 LN_S!$LN_S$ac_delim
12507 RANLIB!$RANLIB$ac_delim
12508 lt_ECHO!$lt_ECHO$ac_delim
12509 DSYMUTIL!$DSYMUTIL$ac_delim
12512 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12514 elif $ac_last_try; then
12515 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12516 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12517 { (exit 1); exit 1; }; }
12519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12523 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12524 if test -n "$ac_eof"; then
12525 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
12526 ac_eof=`expr $ac_eof + 1`
12529 cat >>$CONFIG_STATUS <<_ACEOF
12530 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12534 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12535 s/^/s,@/; s/!/@,|#_!!_#|/
12538 s/'"$ac_delim"'$/,g/; t
12540 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12541 ' >>$CONFIG_STATUS <conf$$subs.sed
12542 rm -f conf$$subs.sed
12543 cat >>$CONFIG_STATUS <<_ACEOF
12549 for ac_last_try in false false false false false :; do
12550 cat >conf$$subs.sed <<_ACEOF
12551 NMEDIT!$NMEDIT$ac_delim
12552 LIPO!$LIPO$ac_delim
12553 OTOOL!$OTOOL$ac_delim
12554 OTOOL64!$OTOOL64$ac_delim
12556 blacklist_modules!$blacklist_modules$ac_delim
12557 ENABLE_STATIC_TRUE!$ENABLE_STATIC_TRUE$ac_delim
12558 ENABLE_STATIC_FALSE!$ENABLE_STATIC_FALSE$ac_delim
12559 ENABLE_SHARED_TRUE!$ENABLE_SHARED_TRUE$ac_delim
12560 ENABLE_SHARED_FALSE!$ENABLE_SHARED_FALSE$ac_delim
12561 ENABLE_IPV4_TRUE!$ENABLE_IPV4_TRUE$ac_delim
12562 ENABLE_IPV4_FALSE!$ENABLE_IPV4_FALSE$ac_delim
12563 ENABLE_IPV6_TRUE!$ENABLE_IPV6_TRUE$ac_delim
12564 ENABLE_IPV6_FALSE!$ENABLE_IPV6_FALSE$ac_delim
12565 ENABLE_LARGEFILE_TRUE!$ENABLE_LARGEFILE_TRUE$ac_delim
12566 ENABLE_LARGEFILE_FALSE!$ENABLE_LARGEFILE_FALSE$ac_delim
12567 ENABLE_DEVEL_TRUE!$ENABLE_DEVEL_TRUE$ac_delim
12568 ENABLE_DEVEL_FALSE!$ENABLE_DEVEL_FALSE$ac_delim
12569 ENABLE_LIBIPQ_TRUE!$ENABLE_LIBIPQ_TRUE$ac_delim
12570 ENABLE_LIBIPQ_FALSE!$ENABLE_LIBIPQ_FALSE$ac_delim
12571 PKG_CONFIG!$PKG_CONFIG$ac_delim
12572 libnfnetlink_CFLAGS!$libnfnetlink_CFLAGS$ac_delim
12573 libnfnetlink_LIBS!$libnfnetlink_LIBS$ac_delim
12574 HAVE_LIBNFNETLINK_TRUE!$HAVE_LIBNFNETLINK_TRUE$ac_delim
12575 HAVE_LIBNFNETLINK_FALSE!$HAVE_LIBNFNETLINK_FALSE$ac_delim
12576 regular_CFLAGS!$regular_CFLAGS$ac_delim
12577 kinclude_CFLAGS!$kinclude_CFLAGS$ac_delim
12578 kbuilddir!$kbuilddir$ac_delim
12579 ksourcedir!$ksourcedir$ac_delim
12580 xtlibdir!$xtlibdir$ac_delim
12581 pkgconfigdir!$pkgconfigdir$ac_delim
12582 pkgdatadir!$pkgdatadir$ac_delim
12583 libxtables_vcurrent!$libxtables_vcurrent$ac_delim
12584 libxtables_vage!$libxtables_vage$ac_delim
12585 libxtables_vmajor!$libxtables_vmajor$ac_delim
12586 LIBOBJS!$LIBOBJS$ac_delim
12587 LTLIBOBJS!$LTLIBOBJS$ac_delim
12590 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
12592 elif $ac_last_try; then
12593 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12594 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12595 { (exit 1); exit 1; }; }
12597 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12601 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12602 if test -n "$ac_eof"; then
12603 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
12604 ac_eof=`expr $ac_eof + 1`
12607 cat >>$CONFIG_STATUS <<_ACEOF
12608 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12609 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12612 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12613 s/^/s,@/; s/!/@,|#_!!_#|/
12616 s/'"$ac_delim"'$/,g/; t
12618 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12619 ' >>$CONFIG_STATUS <conf$$subs.sed
12620 rm -f conf$$subs.sed
12621 cat >>$CONFIG_STATUS <<_ACEOF
12628 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12629 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12630 # trailing colons and then remove the whole line if VPATH becomes empty
12631 # (actually we leave an empty line to preserve line numbers).
12632 if test "x$srcdir" = x.; then
12633 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12634 s/:*\$(srcdir):*/:/
12635 s/:*\${srcdir}:*/:/
12637 s/^\([^=]*=[ ]*\):*/\1/
12643 cat >>$CONFIG_STATUS <<\_ACEOF
12644 fi # test -n "$CONFIG_FILES"
12647 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
12650 :[FHLC]) ac_mode=$ac_tag; continue;;
12652 case $ac_mode$ac_tag in
12654 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12655 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12656 { (exit 1); exit 1; }; };;
12657 :[FH]-) ac_tag=-:-;;
12658 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12675 -) ac_f="$tmp/stdin";;
12676 *) # Look for the file first in the build tree, then in the source tree
12677 # (if the path is not absolute). The absolute path cannot be DOS-style,
12678 # because $ac_f cannot contain `:'.
12682 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12684 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12685 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12686 { (exit 1); exit 1; }; };;
12688 ac_file_inputs="$ac_file_inputs $ac_f"
12691 # Let's still pretend it is `configure' which instantiates (i.e., don't
12692 # use $as_me), people would be surprised to read:
12693 # /* config.h. Generated by config.status. */
12694 configure_input="Generated from "`IFS=:
12695 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12696 if test x"$ac_file" != x-; then
12697 configure_input="$ac_file. $configure_input"
12698 { echo "$as_me:$LINENO: creating $ac_file" >&5
12699 echo "$as_me: creating $ac_file" >&6;}
12703 *:-:* | *:-) cat >"$tmp/stdin";;
12708 ac_dir=`$as_dirname -- "$ac_file" ||
12709 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12710 X"$ac_file" : 'X\(//\)[^/]' \| \
12711 X"$ac_file" : 'X\(//\)$' \| \
12712 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12718 /^X\(\/\/\)[^/].*/{
12733 -*) as_dir=./$as_dir;;
12735 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12739 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12740 *) as_qdir=$as_dir;;
12742 as_dirs="'$as_qdir' $as_dirs"
12743 as_dir=`$as_dirname -- "$as_dir" ||
12744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12745 X"$as_dir" : 'X\(//\)[^/]' \| \
12746 X"$as_dir" : 'X\(//\)$' \| \
12747 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12753 /^X\(\/\/\)[^/].*/{
12766 test -d "$as_dir" && break
12768 test -z "$as_dirs" || eval "mkdir $as_dirs"
12769 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12770 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12771 { (exit 1); exit 1; }; }; }
12775 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12777 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12778 # A ".." for each directory in $ac_dir_suffix.
12779 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12780 case $ac_top_builddir_sub in
12781 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12782 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12785 ac_abs_top_builddir=$ac_pwd
12786 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12787 # for backward compatibility:
12788 ac_top_builddir=$ac_top_build_prefix
12791 .) # We are building in place.
12793 ac_top_srcdir=$ac_top_builddir_sub
12794 ac_abs_top_srcdir=$ac_pwd ;;
12795 [\\/]* | ?:[\\/]* ) # Absolute name.
12796 ac_srcdir=$srcdir$ac_dir_suffix;
12797 ac_top_srcdir=$srcdir
12798 ac_abs_top_srcdir=$srcdir ;;
12799 *) # Relative name.
12800 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12801 ac_top_srcdir=$ac_top_build_prefix$srcdir
12802 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12804 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12814 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12815 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12817 ac_MKDIR_P=$MKDIR_P
12819 [\\/$]* | ?:[\\/]* ) ;;
12820 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12824 cat >>$CONFIG_STATUS <<\_ACEOF
12825 # If the template does not know about datarootdir, expand it.
12826 # FIXME: This hack should be removed a few years after 2.60.
12827 ac_datarootdir_hack=; ac_datarootdir_seen=
12829 case `sed -n '/datarootdir/ {
12838 ' $ac_file_inputs` in
12839 *datarootdir*) ac_datarootdir_seen=yes;;
12840 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12841 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12842 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12844 cat >>$CONFIG_STATUS <<_ACEOF
12845 ac_datarootdir_hack='
12846 s&@datadir@&$datadir&g
12847 s&@docdir@&$docdir&g
12848 s&@infodir@&$infodir&g
12849 s&@localedir@&$localedir&g
12850 s&@mandir@&$mandir&g
12851 s&\\\${datarootdir}&$datarootdir&g' ;;
12855 # Neutralize VPATH when `$srcdir' = `.'.
12856 # Shell code in configure.ac might set extrasub.
12857 # FIXME: do we really want to maintain this feature?
12858 cat >>$CONFIG_STATUS <<_ACEOF
12862 cat >>$CONFIG_STATUS <<\_ACEOF
12864 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12865 s&@configure_input@&$configure_input&;t t
12866 s&@top_builddir@&$ac_top_builddir_sub&;t t
12867 s&@srcdir@&$ac_srcdir&;t t
12868 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12869 s&@top_srcdir@&$ac_top_srcdir&;t t
12870 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12871 s&@builddir@&$ac_builddir&;t t
12872 s&@abs_builddir@&$ac_abs_builddir&;t t
12873 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12874 s&@INSTALL@&$ac_INSTALL&;t t
12875 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12876 $ac_datarootdir_hack
12877 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
12879 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12880 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12881 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12882 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12883 which seems to be undefined. Please make sure it is defined." >&5
12884 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12885 which seems to be undefined. Please make sure it is defined." >&2;}
12889 -) cat "$tmp/out"; rm -f "$tmp/out";;
12890 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12899 # Transform confdefs.h into a sed script `conftest.defines', that
12900 # substitutes the proper values into config.h.in to produce config.h.
12901 rm -f conftest.defines conftest.tail
12902 # First, append a space to every undef/define line, to ease matching.
12903 echo 's/$/ /' >conftest.defines
12904 # Then, protect against being on the right side of a sed subst, or in
12905 # an unquoted here document, in config.status. If some macros were
12906 # called several times there might be several #defines for the same
12907 # symbol, which is useless. But do not sort them, since the last
12908 # AC_DEFINE must be honored.
12909 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12910 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12911 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12912 # PARAMS is the parameter list in the macro definition--in most cases, it's
12913 # just an empty string.
12914 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12915 ac_dB='\\)[ (].*,\\1define\\2'
12923 s/^[ ]*#[ ]*define[ ][ ]*//
12928 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12929 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12930 ' >>conftest.defines
12932 # Remove the space that was appended to ease matching.
12933 # Then replace #undef with comments. This is necessary, for
12934 # example, in the case of _POSIX_SOURCE, which is predefined and required
12935 # on some systems where configure will not decide to define it.
12936 # (The regexp can be short, since the line contains either #define or #undef.)
12938 s,^[ #]*u.*,/* & */,' >>conftest.defines
12940 # Break up conftest.defines:
12941 ac_max_sed_lines=50
12943 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12944 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12945 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12947 ac_in='$ac_file_inputs'
12948 ac_out='"$tmp/out1"'
12949 ac_nxt='"$tmp/out2"'
12953 # Write a here document:
12954 cat >>$CONFIG_STATUS <<_ACEOF
12955 # First, check the format of the line:
12956 cat >"\$tmp/defines.sed" <<\\CEOF
12957 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12958 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12962 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
12964 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12965 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
12966 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
12967 grep . conftest.tail >/dev/null || break
12968 rm -f conftest.defines
12969 mv conftest.tail conftest.defines
12971 rm -f conftest.defines conftest.tail
12973 echo "ac_result=$ac_in" >>$CONFIG_STATUS
12974 cat >>$CONFIG_STATUS <<\_ACEOF
12975 if test x"$ac_file" != x-; then
12976 echo "/* $configure_input */" >"$tmp/config.h"
12977 cat "$ac_result" >>"$tmp/config.h"
12978 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
12979 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12980 echo "$as_me: $ac_file is unchanged" >&6;}
12983 mv "$tmp/config.h" $ac_file
12986 echo "/* $configure_input */"
12990 # Compute $ac_file's index in $config_headers.
12993 for _am_header in $config_headers :; do
12994 case $_am_header in
12995 $_am_arg | $_am_arg:* )
12998 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13001 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13002 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13003 X"$_am_arg" : 'X\(//\)[^/]' \| \
13004 X"$_am_arg" : 'X\(//\)$' \| \
13005 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13011 /^X\(\/\/\)[^/].*/{
13023 s/.*/./; q'`/stamp-h$_am_stamp_count
13026 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13027 echo "$as_me: executing $ac_file commands" >&6;}
13032 case $ac_file$ac_mode in
13033 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
13034 # are listed without --file. Let's play safe and only enable the eval
13035 # if we detect the quoting.
13036 case $CONFIG_FILES in
13037 *\'*) eval set x "$CONFIG_FILES" ;;
13038 *) set x $CONFIG_FILES ;;
13043 # Strip MF so we end up with the name of the file.
13044 mf=`echo "$mf" | sed -e 's/:.*$//'`
13045 # Check whether this is an Automake generated Makefile or not.
13046 # We used to match only the files named `Makefile.in', but
13047 # some people rename them; so instead we look at the file content.
13048 # Grep'ing the first line is not enough: some people post-process
13049 # each Makefile.in and add a new line on top of each file to say so.
13050 # Grep'ing the whole file is not good either: AIX grep has a line
13051 # limit of 2048, but all sed's we know have understand at least 4000.
13052 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13053 dirpart=`$as_dirname -- "$mf" ||
13054 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13055 X"$mf" : 'X\(//\)[^/]' \| \
13056 X"$mf" : 'X\(//\)$' \| \
13057 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13063 /^X\(\/\/\)[^/].*/{
13079 # Extract the definition of DEPDIR, am__include, and am__quote
13080 # from the Makefile without running `make'.
13081 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13082 test -z "$DEPDIR" && continue
13083 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13084 test -z "am__include" && continue
13085 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13086 # When using ansi2knr, U may be empty or an underscore; expand it
13087 U=`sed -n 's/^U = //p' < "$mf"`
13088 # Find all dependency output files, they are included files with
13089 # $(DEPDIR) in their names. We invoke sed twice because it is the
13090 # simplest approach to changing $(DEPDIR) to its actual value in the
13092 for file in `sed -n "
13093 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13094 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13095 # Make sure the directory exists.
13096 test -f "$dirpart/$file" && continue
13097 fdir=`$as_dirname -- "$file" ||
13098 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13099 X"$file" : 'X\(//\)[^/]' \| \
13100 X"$file" : 'X\(//\)$' \| \
13101 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13107 /^X\(\/\/\)[^/].*/{
13120 { as_dir=$dirpart/$fdir
13122 -*) as_dir=./$as_dir;;
13124 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13128 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13129 *) as_qdir=$as_dir;;
13131 as_dirs="'$as_qdir' $as_dirs"
13132 as_dir=`$as_dirname -- "$as_dir" ||
13133 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13134 X"$as_dir" : 'X\(//\)[^/]' \| \
13135 X"$as_dir" : 'X\(//\)$' \| \
13136 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13142 /^X\(\/\/\)[^/].*/{
13155 test -d "$as_dir" && break
13157 test -z "$as_dirs" || eval "mkdir $as_dirs"
13158 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13159 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13160 { (exit 1); exit 1; }; }; }
13161 # echo "creating $dirpart/$file"
13162 echo '# dummy' > "$dirpart/$file"
13168 # See if we are running on zsh, and set the options which allow our
13169 # commands through without removal of \ escapes.
13170 if test -n "${ZSH_VERSION+set}" ; then
13171 setopt NO_GLOB_SUBST
13174 cfgfile="${ofile}T"
13175 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13178 cat <<_LT_EOF >> "$cfgfile"
13181 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13182 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13183 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13184 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13186 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13187 # 2006, 2007, 2008 Free Software Foundation, Inc.
13188 # Written by Gordon Matzigkeit, 1996
13190 # This file is part of GNU Libtool.
13192 # GNU Libtool is free software; you can redistribute it and/or
13193 # modify it under the terms of the GNU General Public License as
13194 # published by the Free Software Foundation; either version 2 of
13195 # the License, or (at your option) any later version.
13197 # As a special exception to the GNU General Public License,
13198 # if you distribute this file as part of a program or library that
13199 # is built using GNU Libtool, you may include this file under the
13200 # same distribution terms that you use for the rest of that program.
13202 # GNU Libtool is distributed in the hope that it will be useful,
13203 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13204 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13205 # GNU General Public License for more details.
13207 # You should have received a copy of the GNU General Public License
13208 # along with GNU Libtool; see the file COPYING. If not, a copy
13209 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13210 # obtained by writing to the Free Software Foundation, Inc.,
13211 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13214 # The names of the tagged configurations supported by this script.
13217 # ### BEGIN LIBTOOL CONFIG
13219 # Whether or not to build static libraries.
13220 build_old_libs=$enable_static
13222 # Which release of libtool.m4 was used?
13223 macro_version=$macro_version
13224 macro_revision=$macro_revision
13226 # Whether or not to build shared libraries.
13227 build_libtool_libs=$enable_shared
13229 # What type of objects to build.
13232 # Whether or not to optimize for fast installation.
13233 fast_install=$enable_fast_install
13236 host_alias=$host_alias
13240 # The build system.
13241 build_alias=$build_alias
13245 # A sed program that does not truncate output.
13248 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13249 Xsed="\$SED -e 1s/^X//"
13251 # A grep program that handles long lines.
13257 # A literal string matcher.
13260 # A BSD- or MS-compatible name lister.
13263 # Whether we need soft or hard links.
13266 # What is the maximum length of a command?
13267 max_cmd_len=$max_cmd_len
13269 # Object file suffix (normally "o").
13272 # Executable file suffix (normally "").
13275 # whether the shell understands "unset".
13278 # turn spaces into newlines.
13281 # turn newlines into spaces.
13284 # How to create reloadable object files.
13285 reload_flag=$lt_reload_flag
13286 reload_cmds=$lt_reload_cmds
13288 # Method to check whether dependent libraries are shared objects.
13289 deplibs_check_method=$lt_deplibs_check_method
13291 # Command to use when deplibs_check_method == "file_magic".
13292 file_magic_cmd=$lt_file_magic_cmd
13296 AR_FLAGS=$lt_AR_FLAGS
13298 # A symbol stripping program.
13301 # Commands used to install an old-style archive.
13303 old_postinstall_cmds=$lt_old_postinstall_cmds
13304 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13309 # LTCC compiler flags.
13310 LTCFLAGS=$lt_CFLAGS
13312 # Take the output of nm and produce a listing of raw symbols and C names.
13313 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13315 # Transform the output of nm in a proper C declaration.
13316 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13318 # Transform the output of nm in a C name address pair.
13319 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13321 # Transform the output of nm in a C name address pair when lib prefix is needed.
13322 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13324 # The name of the directory that contains temporary libtool files.
13327 # Shell to use when invoking shell scripts.
13330 # An echo program that does not interpret backslashes.
13333 # Used to examine libraries when file_magic_cmd begins with "file".
13334 MAGIC_CMD=$MAGIC_CMD
13336 # Must we lock files when doing compilation?
13337 need_locks=$lt_need_locks
13339 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13340 DSYMUTIL=$lt_DSYMUTIL
13342 # Tool to change global to local symbols on Mac OS X.
13345 # Tool to manipulate fat objects and archives on Mac OS X.
13348 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13351 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13352 OTOOL64=$lt_OTOOL64
13354 # Old archive suffix (normally "a").
13357 # Shared library suffix (normally ".so").
13358 shrext_cmds=$lt_shrext_cmds
13360 # The commands to extract the exported symbol list from a shared archive.
13361 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13363 # Variables whose values should be saved in libtool wrapper scripts and
13364 # restored at link time.
13365 variables_saved_for_relink=$lt_variables_saved_for_relink
13367 # Do we need the "lib" prefix for modules?
13368 need_lib_prefix=$need_lib_prefix
13370 # Do we need a version for libraries?
13371 need_version=$need_version
13373 # Library versioning type.
13374 version_type=$version_type
13376 # Shared library runtime path variable.
13377 runpath_var=$runpath_var
13379 # Shared library path variable.
13380 shlibpath_var=$shlibpath_var
13382 # Is shlibpath searched before the hard-coded library search path?
13383 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13385 # Format of library name prefix.
13386 libname_spec=$lt_libname_spec
13388 # List of archive names. First name is the real one, the rest are links.
13389 # The last name is the one that the linker finds with -lNAME
13390 library_names_spec=$lt_library_names_spec
13392 # The coded name of the library, if different from the real name.
13393 soname_spec=$lt_soname_spec
13395 # Command to use after installation of a shared archive.
13396 postinstall_cmds=$lt_postinstall_cmds
13398 # Command to use after uninstallation of a shared archive.
13399 postuninstall_cmds=$lt_postuninstall_cmds
13401 # Commands used to finish a libtool library installation in a directory.
13402 finish_cmds=$lt_finish_cmds
13404 # As "finish_cmds", except a single script fragment to be evaled but
13406 finish_eval=$lt_finish_eval
13408 # Whether we should hardcode library paths into libraries.
13409 hardcode_into_libs=$hardcode_into_libs
13411 # Compile-time system search path for libraries.
13412 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13414 # Run-time system search path for libraries.
13415 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13417 # Whether dlopen is supported.
13418 dlopen_support=$enable_dlopen
13420 # Whether dlopen of programs is supported.
13421 dlopen_self=$enable_dlopen_self
13423 # Whether dlopen of statically linked programs is supported.
13424 dlopen_self_static=$enable_dlopen_self_static
13426 # Commands to strip libraries.
13427 old_striplib=$lt_old_striplib
13428 striplib=$lt_striplib
13431 # The linker used to build libraries.
13434 # Commands used to build an old-style archive.
13435 old_archive_cmds=$lt_old_archive_cmds
13437 # A language specific compiler.
13440 # Is the compiler the GNU compiler?
13443 # Compiler flag to turn off builtin functions.
13444 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13446 # How to pass a linker flag through the compiler.
13447 wl=$lt_lt_prog_compiler_wl
13449 # Additional compiler flags for building library objects.
13450 pic_flag=$lt_lt_prog_compiler_pic
13452 # Compiler flag to prevent dynamic linking.
13453 link_static_flag=$lt_lt_prog_compiler_static
13455 # Does compiler simultaneously support -c and -o options?
13456 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13458 # Whether or not to add -lc for building shared libraries.
13459 build_libtool_need_lc=$archive_cmds_need_lc
13461 # Whether or not to disallow shared libs when runtime libs are static.
13462 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13464 # Compiler flag to allow reflexive dlopens.
13465 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13467 # Compiler flag to generate shared objects directly from archives.
13468 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13470 # Whether the compiler copes with passing no objects directly.
13471 compiler_needs_object=$lt_compiler_needs_object
13473 # Create an old-style archive from a shared archive.
13474 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13476 # Create a temporary old-style archive to link instead of a shared archive.
13477 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13479 # Commands used to build a shared archive.
13480 archive_cmds=$lt_archive_cmds
13481 archive_expsym_cmds=$lt_archive_expsym_cmds
13483 # Commands used to build a loadable module if different from building
13484 # a shared archive.
13485 module_cmds=$lt_module_cmds
13486 module_expsym_cmds=$lt_module_expsym_cmds
13488 # Whether we are building with GNU ld or not.
13489 with_gnu_ld=$lt_with_gnu_ld
13491 # Flag that allows shared libraries with undefined symbols to be built.
13492 allow_undefined_flag=$lt_allow_undefined_flag
13494 # Flag that enforces no undefined symbols.
13495 no_undefined_flag=$lt_no_undefined_flag
13497 # Flag to hardcode \$libdir into a binary during linking.
13498 # This must work even if \$libdir does not exist
13499 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13501 # If ld is used when linking, flag to hardcode \$libdir into a binary
13502 # during linking. This must work even if \$libdir does not exist.
13503 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13505 # Whether we need a single "-rpath" flag with a separated argument.
13506 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13508 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13509 # DIR into the resulting binary.
13510 hardcode_direct=$hardcode_direct
13512 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13513 # DIR into the resulting binary and the resulting library dependency is
13514 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13515 # library is relocated.
13516 hardcode_direct_absolute=$hardcode_direct_absolute
13518 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13519 # into the resulting binary.
13520 hardcode_minus_L=$hardcode_minus_L
13522 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13523 # into the resulting binary.
13524 hardcode_shlibpath_var=$hardcode_shlibpath_var
13526 # Set to "yes" if building a shared library automatically hardcodes DIR
13527 # into the library and all subsequent libraries and executables linked
13529 hardcode_automatic=$hardcode_automatic
13531 # Set to yes if linker adds runtime paths of dependent libraries
13532 # to runtime path list.
13533 inherit_rpath=$inherit_rpath
13535 # Whether libtool must link a program against all its dependency libraries.
13536 link_all_deplibs=$link_all_deplibs
13538 # Fix the shell variable \$srcfile for the compiler.
13539 fix_srcfile_path=$lt_fix_srcfile_path
13541 # Set to "yes" if exported symbols are required.
13542 always_export_symbols=$always_export_symbols
13544 # The commands to list exported symbols.
13545 export_symbols_cmds=$lt_export_symbols_cmds
13547 # Symbols that should not be listed in the preloaded symbols.
13548 exclude_expsyms=$lt_exclude_expsyms
13550 # Symbols that must always be exported.
13551 include_expsyms=$lt_include_expsyms
13553 # Commands necessary for linking programs (against libraries) with templates.
13554 prelink_cmds=$lt_prelink_cmds
13556 # Specify filename containing input files.
13557 file_list_spec=$lt_file_list_spec
13559 # How to hardcode a shared library path into an executable.
13560 hardcode_action=$hardcode_action
13562 # ### END LIBTOOL CONFIG
13568 cat <<\_LT_EOF >> "$cfgfile"
13569 # AIX sometimes has problems with the GCC collect2 program. For some
13570 # reason, if we set the COLLECT_NAMES environment variable, the problems
13571 # vanish in a puff of smoke.
13572 if test "X${COLLECT_NAMES+set}" != Xset; then
13574 export COLLECT_NAMES
13581 ltmain="$ac_aux_dir/ltmain.sh"
13584 # We use sed instead of cat because bash on DJGPP gets confused if
13585 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13586 # text mode, it properly converts lines to CR/LF. This bash problem
13587 # is reportedly fixed, but why not run on old versions too?
13588 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13589 || (rm -f "$cfgfile"; exit 1)
13593 cat << \_LT_EOF >> "$cfgfile"
13595 # func_dirname file append nondir_replacement
13596 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13597 # otherwise set result to NONDIR_REPLACEMENT.
13601 */*) func_dirname_result="${1%/*}${2}" ;;
13602 * ) func_dirname_result="${3}" ;;
13606 # func_basename file
13609 func_basename_result="${1##*/}"
13612 # func_dirname_and_basename file append nondir_replacement
13613 # perform func_basename and func_dirname in a single function
13615 # dirname: Compute the dirname of FILE. If nonempty,
13616 # add APPEND to the result, otherwise set result
13617 # to NONDIR_REPLACEMENT.
13618 # value returned in "$func_dirname_result"
13619 # basename: Compute filename of FILE.
13620 # value retuned in "$func_basename_result"
13621 # Implementation must be kept synchronized with func_dirname
13622 # and func_basename. For efficiency, we do not delegate to
13623 # those functions but instead duplicate the functionality here.
13624 func_dirname_and_basename ()
13627 */*) func_dirname_result="${1%/*}${2}" ;;
13628 * ) func_dirname_result="${3}" ;;
13630 func_basename_result="${1##*/}"
13633 # func_stripname prefix suffix name
13634 # strip PREFIX and SUFFIX off of NAME.
13635 # PREFIX and SUFFIX must not contain globbing or regex special
13636 # characters, hashes, percent signs, but SUFFIX may contain a leading
13637 # dot (in which case that matches only a dot).
13640 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13641 # positional parameters, so assign one to ordinary parameter first.
13642 func_stripname_result=${3}
13643 func_stripname_result=${func_stripname_result#"${1}"}
13644 func_stripname_result=${func_stripname_result%"${2}"}
13650 func_opt_split_opt=${1%%=*}
13651 func_opt_split_arg=${1#*=}
13658 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13659 *) func_lo2o_result=${1} ;;
13663 # func_xform libobj-or-source
13666 func_xform_result=${1%.*}.lo
13669 # func_arith arithmetic-term...
13672 func_arith_result=$(( $* ))
13676 # STRING may not start with a hyphen.
13679 func_len_result=${#1}
13684 *) # Bourne compatible functions.
13685 cat << \_LT_EOF >> "$cfgfile"
13687 # func_dirname file append nondir_replacement
13688 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13689 # otherwise set result to NONDIR_REPLACEMENT.
13692 # Extract subdirectory from the argument.
13693 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13694 if test "X$func_dirname_result" = "X${1}"; then
13695 func_dirname_result="${3}"
13697 func_dirname_result="$func_dirname_result${2}"
13701 # func_basename file
13704 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13708 # func_stripname prefix suffix name
13709 # strip PREFIX and SUFFIX off of NAME.
13710 # PREFIX and SUFFIX must not contain globbing or regex special
13711 # characters, hashes, percent signs, but SUFFIX may contain a leading
13712 # dot (in which case that matches only a dot).
13713 # func_strip_suffix prefix name
13717 .*) func_stripname_result=`$ECHO "X${3}" \
13718 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13719 *) func_stripname_result=`$ECHO "X${3}" \
13720 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13725 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13726 my_sed_long_arg='1s/^-[^=]*=//'
13731 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13732 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13738 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13741 # func_xform libobj-or-source
13744 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13747 # func_arith arithmetic-term...
13750 func_arith_result=`expr "$@"`
13754 # STRING may not start with a hyphen.
13757 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13763 case $lt_shell_append in
13765 cat << \_LT_EOF >> "$cfgfile"
13767 # func_append var value
13768 # Append VALUE to the end of shell variable VAR.
13776 cat << \_LT_EOF >> "$cfgfile"
13778 # func_append var value
13779 # Append VALUE to the end of shell variable VAR.
13790 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13791 || (rm -f "$cfgfile"; exit 1)
13793 mv -f "$cfgfile" "$ofile" ||
13794 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13803 { (exit 0); exit 0; }
13805 chmod +x $CONFIG_STATUS
13806 ac_clean_files=$ac_clean_files_save
13809 # configure is writing to config.log, and then calls config.status.
13810 # config.status does its own redirection, appending to config.log.
13811 # Unfortunately, on DOS this fails, as config.log is still kept open
13812 # by configure, so config.status won't be able to write to it; its
13813 # output is simply discarded. So we exec the FD to /dev/null,
13814 # effectively closing config.log, so it can be properly (re)opened and
13815 # appended to by config.status. When coming back to configure, we
13816 # need to make the FD available again.
13817 if test "$no_create" != yes; then
13819 ac_config_status_args=
13820 test "$silent" = yes &&
13821 ac_config_status_args="$ac_config_status_args --quiet"
13823 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13826 # would make configure fail if this is the last instruction.
13827 $ac_cs_success || { (exit 1); exit 1; }