2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for iptables 1.4.21.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
588 PACKAGE_NAME='iptables'
589 PACKAGE_TARNAME='iptables'
590 PACKAGE_VERSION='1.4.21'
591 PACKAGE_STRING='iptables 1.4.21'
595 # Factoring default headers for most tests.
596 ac_includes_default="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars='am__EXEEXT_FALSE
647 HAVE_LIBNFNETLINK_FALSE
648 HAVE_LIBNFNETLINK_TRUE
659 ENABLE_LARGEFILE_FALSE
660 ENABLE_LARGEFILE_TRUE
670 HAVE_LIBNETFILTER_CONNTRACK_FALSE
671 HAVE_LIBNETFILTER_CONNTRACK_TRUE
672 libnetfilter_conntrack_LIBS
673 libnetfilter_conntrack_CFLAGS
733 INSTALL_STRIP_PROGRAM
775 program_transform_name
788 enable_option_checking
789 enable_dependency_tracking
810 ac_precious_vars='build_alias
822 libnetfilter_conntrack_CFLAGS
823 libnetfilter_conntrack_LIBS
828 # Initialize some variables set by options.
830 ac_init_version=false
831 ac_unrecognized_opts=
833 # The variables have the same names as the options, with
834 # dashes changed to underlines.
842 program_transform_name=s,x,x,
850 # Installation directory options.
851 # These are left unexpanded so users can "make install exec_prefix=/foo"
852 # and all the variables that are supposed to be based on exec_prefix
853 # by default will actually change.
854 # Use braces instead of parens because sh, perl, etc. also accept them.
855 # (The list follows the same order as the GNU Coding Standards.)
856 bindir='${exec_prefix}/bin'
857 sbindir='${exec_prefix}/sbin'
858 libexecdir='${exec_prefix}/libexec'
859 datarootdir='${prefix}/share'
860 datadir='${datarootdir}'
861 sysconfdir='${prefix}/etc'
862 sharedstatedir='${prefix}/com'
863 localstatedir='${prefix}/var'
864 includedir='${prefix}/include'
865 oldincludedir='/usr/include'
866 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
867 infodir='${datarootdir}/info'
872 libdir='${exec_prefix}/lib'
873 localedir='${datarootdir}/locale'
874 mandir='${datarootdir}/man'
880 # If the previous option needs an argument, assign it.
881 if test -n "$ac_prev"; then
882 eval $ac_prev=\$ac_option
888 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 # Accept the important Cygnus configure options, so we can diagnose typos.
895 case $ac_dashdash$ac_option in
899 -bindir | --bindir | --bindi | --bind | --bin | --bi)
901 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
904 -build | --build | --buil | --bui | --bu)
905 ac_prev=build_alias ;;
906 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
907 build_alias=$ac_optarg ;;
909 -cache-file | --cache-file | --cache-fil | --cache-fi \
910 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
911 ac_prev=cache_file ;;
912 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
913 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
914 cache_file=$ac_optarg ;;
917 cache_file=config.cache ;;
919 -datadir | --datadir | --datadi | --datad)
921 -datadir=* | --datadir=* | --datadi=* | --datad=*)
922 datadir=$ac_optarg ;;
924 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
925 | --dataroo | --dataro | --datar)
926 ac_prev=datarootdir ;;
927 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
928 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
929 datarootdir=$ac_optarg ;;
931 -disable-* | --disable-*)
932 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935 as_fn_error $? "invalid feature name: $ac_useropt"
936 ac_useropt_orig=$ac_useropt
937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943 ac_unrecognized_sep=', ';;
945 eval enable_$ac_useropt=no ;;
947 -docdir | --docdir | --docdi | --doc | --do)
949 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
952 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
954 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
957 -enable-* | --enable-*)
958 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959 # Reject names that are not valid shell variable names.
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961 as_fn_error $? "invalid feature name: $ac_useropt"
962 ac_useropt_orig=$ac_useropt
963 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964 case $ac_user_opts in
968 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969 ac_unrecognized_sep=', ';;
971 eval enable_$ac_useropt=\$ac_optarg ;;
973 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
974 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
975 | --exec | --exe | --ex)
976 ac_prev=exec_prefix ;;
977 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
978 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
979 | --exec=* | --exe=* | --ex=*)
980 exec_prefix=$ac_optarg ;;
982 -gas | --gas | --ga | --g)
983 # Obsolete; use --with-gas.
986 -help | --help | --hel | --he | -h)
988 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
989 ac_init_help=recursive ;;
990 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
991 ac_init_help=short ;;
993 -host | --host | --hos | --ho)
994 ac_prev=host_alias ;;
995 -host=* | --host=* | --hos=* | --ho=*)
996 host_alias=$ac_optarg ;;
998 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1000 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1002 htmldir=$ac_optarg ;;
1004 -includedir | --includedir | --includedi | --included | --include \
1005 | --includ | --inclu | --incl | --inc)
1006 ac_prev=includedir ;;
1007 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1008 | --includ=* | --inclu=* | --incl=* | --inc=*)
1009 includedir=$ac_optarg ;;
1011 -infodir | --infodir | --infodi | --infod | --info | --inf)
1013 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1014 infodir=$ac_optarg ;;
1016 -libdir | --libdir | --libdi | --libd)
1018 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1019 libdir=$ac_optarg ;;
1021 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1022 | --libexe | --libex | --libe)
1023 ac_prev=libexecdir ;;
1024 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1025 | --libexe=* | --libex=* | --libe=*)
1026 libexecdir=$ac_optarg ;;
1028 -localedir | --localedir | --localedi | --localed | --locale)
1029 ac_prev=localedir ;;
1030 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1031 localedir=$ac_optarg ;;
1033 -localstatedir | --localstatedir | --localstatedi | --localstated \
1034 | --localstate | --localstat | --localsta | --localst | --locals)
1035 ac_prev=localstatedir ;;
1036 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1037 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1038 localstatedir=$ac_optarg ;;
1040 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1042 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1043 mandir=$ac_optarg ;;
1045 -nfp | --nfp | --nf)
1046 # Obsolete; use --without-fp.
1049 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1050 | --no-cr | --no-c | -n)
1053 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1054 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1057 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1058 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1059 | --oldin | --oldi | --old | --ol | --o)
1060 ac_prev=oldincludedir ;;
1061 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1062 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1063 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1064 oldincludedir=$ac_optarg ;;
1066 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1068 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1069 prefix=$ac_optarg ;;
1071 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1072 | --program-pre | --program-pr | --program-p)
1073 ac_prev=program_prefix ;;
1074 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1075 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1076 program_prefix=$ac_optarg ;;
1078 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1079 | --program-suf | --program-su | --program-s)
1080 ac_prev=program_suffix ;;
1081 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1082 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1083 program_suffix=$ac_optarg ;;
1085 -program-transform-name | --program-transform-name \
1086 | --program-transform-nam | --program-transform-na \
1087 | --program-transform-n | --program-transform- \
1088 | --program-transform | --program-transfor \
1089 | --program-transfo | --program-transf \
1090 | --program-trans | --program-tran \
1091 | --progr-tra | --program-tr | --program-t)
1092 ac_prev=program_transform_name ;;
1093 -program-transform-name=* | --program-transform-name=* \
1094 | --program-transform-nam=* | --program-transform-na=* \
1095 | --program-transform-n=* | --program-transform-=* \
1096 | --program-transform=* | --program-transfor=* \
1097 | --program-transfo=* | --program-transf=* \
1098 | --program-trans=* | --program-tran=* \
1099 | --progr-tra=* | --program-tr=* | --program-t=*)
1100 program_transform_name=$ac_optarg ;;
1102 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1104 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1105 pdfdir=$ac_optarg ;;
1107 -psdir | --psdir | --psdi | --psd | --ps)
1109 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1113 | -silent | --silent | --silen | --sile | --sil)
1116 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1118 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1120 sbindir=$ac_optarg ;;
1122 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1123 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1124 | --sharedst | --shareds | --shared | --share | --shar \
1126 ac_prev=sharedstatedir ;;
1127 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1128 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1129 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1131 sharedstatedir=$ac_optarg ;;
1133 -site | --site | --sit)
1135 -site=* | --site=* | --sit=*)
1138 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1140 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1141 srcdir=$ac_optarg ;;
1143 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1144 | --syscon | --sysco | --sysc | --sys | --sy)
1145 ac_prev=sysconfdir ;;
1146 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1147 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1148 sysconfdir=$ac_optarg ;;
1150 -target | --target | --targe | --targ | --tar | --ta | --t)
1151 ac_prev=target_alias ;;
1152 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1153 target_alias=$ac_optarg ;;
1155 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1158 -version | --version | --versio | --versi | --vers | -V)
1159 ac_init_version=: ;;
1162 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1165 as_fn_error $? "invalid package name: $ac_useropt"
1166 ac_useropt_orig=$ac_useropt
1167 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168 case $ac_user_opts in
1172 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1173 ac_unrecognized_sep=', ';;
1175 eval with_$ac_useropt=\$ac_optarg ;;
1177 -without-* | --without-*)
1178 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 as_fn_error $? "invalid package name: $ac_useropt"
1182 ac_useropt_orig=$ac_useropt
1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1189 ac_unrecognized_sep=', ';;
1191 eval with_$ac_useropt=no ;;
1194 # Obsolete; use --with-x.
1197 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1198 | --x-incl | --x-inc | --x-in | --x-i)
1199 ac_prev=x_includes ;;
1200 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1201 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1202 x_includes=$ac_optarg ;;
1204 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1205 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1206 ac_prev=x_libraries ;;
1207 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1208 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1209 x_libraries=$ac_optarg ;;
1211 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1212 Try \`$0 --help' for more information"
1216 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1217 # Reject names that are not valid shell variable names.
1218 case $ac_envvar in #(
1219 '' | [0-9]* | *[!_$as_cr_alnum]* )
1220 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1222 eval $ac_envvar=\$ac_optarg
1223 export $ac_envvar ;;
1226 # FIXME: should be removed in autoconf 3.0.
1227 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1228 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1229 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1230 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236 if test -n "$ac_prev"; then
1237 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1238 as_fn_error $? "missing argument to $ac_option"
1241 if test -n "$ac_unrecognized_opts"; then
1242 case $enable_option_checking in
1244 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1245 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249 # Check all directory arguments for consistency.
1250 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1251 datadir sysconfdir sharedstatedir localstatedir includedir \
1252 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1253 libdir localedir mandir
1255 eval ac_val=\$$ac_var
1256 # Remove trailing slashes.
1259 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1260 eval $ac_var=\$ac_val;;
1262 # Be sure to have absolute directory names.
1264 [\\/$]* | ?:[\\/]* ) continue;;
1265 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1267 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1270 # There might be people who depend on the old broken behavior: `$host'
1271 # used to hold the argument of --host etc.
1272 # FIXME: To remove some day.
1275 target=$target_alias
1277 # FIXME: To remove some day.
1278 if test "x$host_alias" != x; then
1279 if test "x$build_alias" = x; then
1280 cross_compiling=maybe
1281 elif test "x$build_alias" != "x$host_alias"; then
1287 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1289 test "$silent" = yes && exec 6>/dev/null
1292 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1293 ac_ls_di=`ls -di .` &&
1294 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1295 as_fn_error $? "working directory cannot be determined"
1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297 as_fn_error $? "pwd does not report name of working directory"
1300 # Find the source files, if location was not specified.
1301 if test -z "$srcdir"; then
1302 ac_srcdir_defaulted=yes
1303 # Try the directory containing this script, then the parent directory.
1304 ac_confdir=`$as_dirname -- "$as_myself" ||
1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306 X"$as_myself" : 'X\(//\)[^/]' \| \
1307 X"$as_myself" : 'X\(//\)$' \| \
1308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1309 $as_echo X"$as_myself" |
1310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1332 ac_srcdir_defaulted=no
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1335 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1336 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1338 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1340 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1342 # When building in place, set srcdir=.
1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346 # Remove unnecessary trailing slashes from srcdir.
1347 # Double slashes in file names in object file debugging info
1348 # mess up M-x gdb in Emacs.
1350 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1352 for ac_var in $ac_precious_vars; do
1353 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1354 eval ac_env_${ac_var}_value=\$${ac_var}
1355 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1356 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1360 # Report the --help message.
1362 if test "$ac_init_help" = "long"; then
1363 # Omit some internal or obsolete options to make the list less imposing.
1364 # This message is too long to be a string in the A/UX 3.1 sh.
1366 \`configure' configures iptables 1.4.21 to adapt to many kinds of systems.
1368 Usage: $0 [OPTION]... [VAR=VALUE]...
1370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1371 VAR=VALUE. See below for descriptions of some of the useful variables.
1373 Defaults for the options are specified in brackets.
1376 -h, --help display this help and exit
1377 --help=short display options specific to this package
1378 --help=recursive display the short help of all the included packages
1379 -V, --version display version information and exit
1380 -q, --quiet, --silent do not print \`checking ...' messages
1381 --cache-file=FILE cache test results in FILE [disabled]
1382 -C, --config-cache alias for \`--cache-file=config.cache'
1383 -n, --no-create do not create output files
1384 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1386 Installation directories:
1387 --prefix=PREFIX install architecture-independent files in PREFIX
1388 [$ac_default_prefix]
1389 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1392 By default, \`make install' will install all the files in
1393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1395 for instance \`--prefix=\$HOME'.
1397 For better control, use the options below.
1399 Fine tuning of the installation directories:
1400 --bindir=DIR user executables [EPREFIX/bin]
1401 --sbindir=DIR system admin executables [EPREFIX/sbin]
1402 --libexecdir=DIR program executables [EPREFIX/libexec]
1403 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1404 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1405 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1406 --libdir=DIR object code libraries [EPREFIX/lib]
1407 --includedir=DIR C header files [PREFIX/include]
1408 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1409 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1410 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1411 --infodir=DIR info documentation [DATAROOTDIR/info]
1412 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1413 --mandir=DIR man documentation [DATAROOTDIR/man]
1414 --docdir=DIR documentation root [DATAROOTDIR/doc/iptables]
1415 --htmldir=DIR html documentation [DOCDIR]
1416 --dvidir=DIR dvi documentation [DOCDIR]
1417 --pdfdir=DIR pdf documentation [DOCDIR]
1418 --psdir=DIR ps documentation [DOCDIR]
1424 --program-prefix=PREFIX prepend PREFIX to installed program names
1425 --program-suffix=SUFFIX append SUFFIX to installed program names
1426 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1429 --build=BUILD configure for building on BUILD [guessed]
1430 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1434 if test -n "$ac_init_help"; then
1435 case $ac_init_help in
1436 short | recursive ) echo "Configuration of iptables 1.4.21:";;
1441 --disable-option-checking ignore unrecognized --enable/--with options
1442 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1443 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1444 --disable-dependency-tracking speeds up one-time build
1445 --enable-dependency-tracking do not reject slow dependency extractors
1446 --enable-static[=PKGS] build static libraries [default=no]
1447 --enable-shared[=PKGS] build shared libraries [default=yes]
1448 --enable-fast-install[=PKGS]
1449 optimize for fast installation [default=yes]
1450 --disable-libtool-lock avoid locking (might break parallel builds)
1451 --disable-ipv4 Do not build iptables
1452 --disable-ipv6 Do not build ip6tables
1453 --disable-largefile Do not build largefile support
1454 --enable-devel Install Xtables development headers
1455 --enable-libipq Build and install libipq
1456 --enable-bpf-compiler Build bpf compiler
1457 --enable-nfsynproxy Build SYNPROXY configuration tool
1460 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1461 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1462 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1464 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1465 --with-sysroot=DIR Search for dependent libraries within DIR
1466 (or the compiler's sysroot if not specified).
1467 --with-kernel=PATH Path to kernel source/build directory
1468 --with-kbuild=PATH Path to kernel build directory
1469 [[/lib/modules/CURRENT/build]]
1470 --with-ksource=PATH Path to kernel source directory
1471 [[/lib/modules/CURRENT/source]]
1472 --with-xtlibdir=PATH Path where to install Xtables extensions
1473 [[LIBEXECDIR/xtables]]
1474 --with-pkgconfigdir=PATH
1475 Path to the pkgconfig directory [[LIBDIR/pkgconfig]]
1477 Some influential environment variables:
1478 CC C compiler command
1479 CFLAGS C compiler flags
1480 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1481 nonstandard directory <lib dir>
1482 LIBS libraries to pass to the linker, e.g. -l<library>
1483 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1484 you have headers in a nonstandard directory <include dir>
1486 PKG_CONFIG path to pkg-config utility
1488 directories to add to pkg-config's search path
1490 path overriding pkg-config's built-in search path
1491 libnetfilter_conntrack_CFLAGS
1492 C compiler flags for libnetfilter_conntrack, overriding
1494 libnetfilter_conntrack_LIBS
1495 linker flags for libnetfilter_conntrack, overriding pkg-config
1497 C compiler flags for libnfnetlink, overriding pkg-config
1499 linker flags for libnfnetlink, overriding pkg-config
1501 Use these variables to override the choices made by `configure' or to help
1502 it to find libraries and programs with nonstandard names/locations.
1504 Report bugs to the package provider.
1509 if test "$ac_init_help" = "recursive"; then
1510 # If there are subdirs, report their specific --help.
1511 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1512 test -d "$ac_dir" ||
1513 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1521 # A ".." for each directory in $ac_dir_suffix.
1522 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1523 case $ac_top_builddir_sub in
1524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1528 ac_abs_top_builddir=$ac_pwd
1529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1530 # for backward compatibility:
1531 ac_top_builddir=$ac_top_build_prefix
1534 .) # We are building in place.
1536 ac_top_srcdir=$ac_top_builddir_sub
1537 ac_abs_top_srcdir=$ac_pwd ;;
1538 [\\/]* | ?:[\\/]* ) # Absolute name.
1539 ac_srcdir=$srcdir$ac_dir_suffix;
1540 ac_top_srcdir=$srcdir
1541 ac_abs_top_srcdir=$srcdir ;;
1543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1544 ac_top_srcdir=$ac_top_build_prefix$srcdir
1545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1549 cd "$ac_dir" || { ac_status=$?; continue; }
1550 # Check for guested configure.
1551 if test -f "$ac_srcdir/configure.gnu"; then
1553 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1554 elif test -f "$ac_srcdir/configure"; then
1556 $SHELL "$ac_srcdir/configure" --help=recursive
1558 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1560 cd "$ac_pwd" || { ac_status=$?; break; }
1564 test -n "$ac_init_help" && exit $ac_status
1565 if $ac_init_version; then
1567 iptables configure 1.4.21
1568 generated by GNU Autoconf 2.69
1570 Copyright (C) 2012 Free Software Foundation, Inc.
1571 This configure script is free software; the Free Software Foundation
1572 gives unlimited permission to copy, distribute and modify it.
1577 ## ------------------------ ##
1578 ## Autoconf initialization. ##
1579 ## ------------------------ ##
1581 # ac_fn_c_try_compile LINENO
1582 # --------------------------
1583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1584 ac_fn_c_try_compile ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 rm -f conftest.$ac_objext
1588 if { { ac_try="$ac_compile"
1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1591 *) ac_try_echo=$ac_try;;
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_compile") 2>conftest.err
1597 if test -s conftest.err; then
1598 grep -v '^ *+' conftest.err >conftest.er1
1599 cat conftest.er1 >&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } && {
1604 test -z "$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1606 } && test -s conftest.$ac_objext; then :
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status $ac_retval
1617 } # ac_fn_c_try_compile
1619 # ac_fn_c_try_link LINENO
1620 # -----------------------
1621 # Try to link conftest.$ac_ext, and return whether this succeeded.
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 rm -f conftest.$ac_objext conftest$ac_exeext
1626 if { { ac_try="$ac_link"
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633 (eval "$ac_link") 2>conftest.err
1635 if test -s conftest.err; then
1636 grep -v '^ *+' conftest.err >conftest.er1
1637 cat conftest.er1 >&5
1638 mv -f conftest.er1 conftest.err
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && {
1642 test -z "$ac_c_werror_flag" ||
1643 test ! -s conftest.err
1644 } && test -s conftest$ac_exeext && {
1645 test "$cross_compiling" = yes ||
1646 test -x conftest$ac_exeext
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1655 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1656 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1657 # interfere with the next link command; also delete a directory that is
1658 # left behind by Apple's compiler. We do this before executing the actions.
1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status $ac_retval
1663 } # ac_fn_c_try_link
1665 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1666 # -------------------------------------------------------
1667 # Tests whether HEADER exists and can be compiled using the include files in
1668 # INCLUDES, setting the cache variable VAR accordingly.
1669 ac_fn_c_check_header_compile ()
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673 $as_echo_n "checking for $2... " >&6; }
1674 if eval \${$3+:} false; then :
1675 $as_echo_n "(cached) " >&6
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1682 if ac_fn_c_try_compile "$LINENO"; then :
1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691 $as_echo "$ac_res" >&6; }
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 } # ac_fn_c_check_header_compile
1696 # ac_fn_c_try_cpp LINENO
1697 # ----------------------
1698 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 if { { ac_try="$ac_cpp conftest.$ac_ext"
1704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1705 *) ac_try_echo=$ac_try;;
1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1711 if test -s conftest.err; then
1712 grep -v '^ *+' conftest.err >conftest.er1
1713 cat conftest.er1 >&5
1714 mv -f conftest.er1 conftest.err
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } > conftest.i && {
1718 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1719 test ! -s conftest.err
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.$ac_ext >&5
1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 as_fn_set_status $ac_retval
1733 # ac_fn_c_try_run LINENO
1734 # ----------------------
1735 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1736 # that executables *can* be run.
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 if { { ac_try="$ac_link"
1742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1743 *) ac_try_echo=$ac_try;;
1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_link") 2>&5
1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1751 { { case "(($ac_try" in
1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753 *) ac_try_echo=$ac_try;;
1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_try") 2>&5
1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 test $ac_status = 0; }; }; then :
1763 $as_echo "$as_me: program exited with status $ac_status" >&5
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1767 ac_retval=$ac_status
1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1775 # ac_fn_c_check_func LINENO FUNC VAR
1776 # ----------------------------------
1777 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1778 ac_fn_c_check_func ()
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782 $as_echo_n "checking for $2... " >&6; }
1783 if eval \${$3+:} false; then :
1784 $as_echo_n "(cached) " >&6
1786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787 /* end confdefs.h. */
1788 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1790 #define $2 innocuous_$2
1792 /* System header to define __stub macros and hopefully few prototypes,
1793 which can conflict with char $2 (); below.
1794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1795 <limits.h> exists even on freestanding compilers. */
1798 # include <limits.h>
1800 # include <assert.h>
1805 /* Override any GCC internal prototype to avoid an error.
1806 Use char because int might match the return type of a GCC
1807 builtin and then its argument prototype would still apply. */
1812 /* The GNU C library defines this for functions which it implements
1813 to always fail with ENOSYS. Some functions are actually named
1814 something starting with __ and the normal name is an alias. */
1815 #if defined __stub_$2 || defined __stub___$2
1827 if ac_fn_c_try_link "$LINENO"; then :
1832 rm -f core conftest.err conftest.$ac_objext \
1833 conftest$ac_exeext conftest.$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 $as_echo "$ac_res" >&6; }
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 } # ac_fn_c_check_func
1842 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1843 # -------------------------------------------------------
1844 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1845 # the include files in INCLUDES and setting the cache variable VAR
1847 ac_fn_c_check_header_mongrel ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if eval \${$3+:} false; then :
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if eval \${$3+:} false; then :
1854 $as_echo_n "(cached) " >&6
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1860 # Is the header compilable?
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1862 $as_echo_n "checking $2 usability... " >&6; }
1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1868 if ac_fn_c_try_compile "$LINENO"; then :
1869 ac_header_compiler=yes
1871 ac_header_compiler=no
1873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1875 $as_echo "$ac_header_compiler" >&6; }
1877 # Is the header present?
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1879 $as_echo_n "checking $2 presence... " >&6; }
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1884 if ac_fn_c_try_cpp "$LINENO"; then :
1885 ac_header_preproc=yes
1887 ac_header_preproc=no
1889 rm -f conftest.err conftest.i conftest.$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1891 $as_echo "$ac_header_preproc" >&6; }
1893 # So? What about this header?
1894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1897 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1899 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1903 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1905 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1907 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1909 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1911 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1915 $as_echo_n "checking for $2... " >&6; }
1916 if eval \${$3+:} false; then :
1917 $as_echo_n "(cached) " >&6
1919 eval "$3=\$ac_header_compiler"
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927 } # ac_fn_c_check_header_mongrel
1929 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1930 # --------------------------------------------
1931 # Tries to find the compile-time value of EXPR in a program that includes
1932 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1934 ac_fn_c_compute_int ()
1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937 if test "$cross_compiling" = yes; then
1938 # Depending upon the size, compute the lo and hi bounds.
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1945 static int test_array [1 - 2 * !(($2) >= 0)];
1947 return test_array [0];
1953 if ac_fn_c_try_compile "$LINENO"; then :
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1962 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1964 return test_array [0];
1970 if ac_fn_c_try_compile "$LINENO"; then :
1971 ac_hi=$ac_mid; break
1973 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1974 if test $ac_lo -le $ac_mid; then
1978 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1984 /* end confdefs.h. */
1989 static int test_array [1 - 2 * !(($2) < 0)];
1991 return test_array [0];
1997 if ac_fn_c_try_compile "$LINENO"; then :
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2006 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2008 return test_array [0];
2014 if ac_fn_c_try_compile "$LINENO"; then :
2015 ac_lo=$ac_mid; break
2017 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2018 if test $ac_mid -le $ac_hi; then
2022 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2032 # Binary search between lo and hi bounds.
2033 while test "x$ac_lo" != "x$ac_hi"; do
2034 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2041 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2043 return test_array [0];
2049 if ac_fn_c_try_compile "$LINENO"; then :
2052 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2057 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2064 static long int longval () { return $2; }
2065 static unsigned long int ulongval () { return $2; }
2072 FILE *f = fopen ("conftest.val", "w");
2077 long int i = longval ();
2080 fprintf (f, "%ld", i);
2084 unsigned long int i = ulongval ();
2087 fprintf (f, "%lu", i);
2089 /* Do not output a trailing newline, as this causes \r\n confusion
2090 on some platforms. */
2091 return ferror (f) || fclose (f) != 0;
2097 if ac_fn_c_try_run "$LINENO"; then :
2098 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2103 conftest.$ac_objext conftest.beam conftest.$ac_ext
2107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2108 as_fn_set_status $ac_retval
2110 } # ac_fn_c_compute_int
2111 cat >config.log <<_ACEOF
2112 This file contains any messages produced by compilers while
2113 running configure, to aid debugging if configure makes a mistake.
2115 It was created by iptables $as_me 1.4.21, which was
2116 generated by GNU Autoconf 2.69. Invocation command line was
2128 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2129 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2130 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2131 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2132 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2134 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2135 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2137 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2138 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2139 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2140 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2141 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2142 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2143 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir=.
2152 $as_echo "PATH: $as_dir"
2168 # Keep a trace of the command line.
2169 # Strip out --no-create and --no-recursion so they do not pile up.
2170 # Strip out --silent because we don't want to record it for future runs.
2171 # Also quote any args containing shell meta-characters.
2172 # Make two passes to allow for proper duplicate-argument suppression.
2176 ac_must_keep_next=false
2182 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2184 | -silent | --silent | --silen | --sile | --sil)
2187 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2190 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2192 as_fn_append ac_configure_args1 " '$ac_arg'"
2193 if test $ac_must_keep_next = true; then
2194 ac_must_keep_next=false # Got value, back to normal.
2197 *=* | --config-cache | -C | -disable-* | --disable-* \
2198 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2199 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2200 | -with-* | --with-* | -without-* | --without-* | --x)
2201 case "$ac_configure_args0 " in
2202 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2205 -* ) ac_must_keep_next=true ;;
2208 as_fn_append ac_configure_args " '$ac_arg'"
2213 { ac_configure_args0=; unset ac_configure_args0;}
2214 { ac_configure_args1=; unset ac_configure_args1;}
2216 # When interrupted or exit'd, cleanup temporary files, and complete
2217 # config.log. We remove comments because anyway the quotes in there
2218 # would cause problems or look ugly.
2219 # WARNING: Use '\'' to represent an apostrophe within the trap.
2220 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2221 trap 'exit_status=$?
2222 # Save into config.log some information that might help in debugging.
2226 $as_echo "## ---------------- ##
2227 ## Cache variables. ##
2228 ## ---------------- ##"
2230 # The following way of writing the cache mishandles newlines in values,
2232 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2233 eval ac_val=\$$ac_var
2237 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2238 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2241 _ | IFS | as_nl) ;; #(
2242 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2243 *) { eval $ac_var=; unset $ac_var;} ;;
2248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2249 *${as_nl}ac_space=\ *)
2251 "s/'\''/'\''\\\\'\'''\''/g;
2252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2262 $as_echo "## ----------------- ##
2263 ## Output variables. ##
2264 ## ----------------- ##"
2266 for ac_var in $ac_subst_vars
2268 eval ac_val=\$$ac_var
2270 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 $as_echo "$ac_var='\''$ac_val'\''"
2276 if test -n "$ac_subst_files"; then
2277 $as_echo "## ------------------- ##
2278 ## File substitutions. ##
2279 ## ------------------- ##"
2281 for ac_var in $ac_subst_files
2283 eval ac_val=\$$ac_var
2285 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2287 $as_echo "$ac_var='\''$ac_val'\''"
2292 if test -s confdefs.h; then
2293 $as_echo "## ----------- ##
2300 test "$ac_signal" != 0 &&
2301 $as_echo "$as_me: caught signal $ac_signal"
2302 $as_echo "$as_me: exit $exit_status"
2304 rm -f core *.core core.conftest.* &&
2305 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2308 for ac_signal in 1 2 13 15; do
2309 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2313 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2314 rm -f -r conftest* confdefs.h
2316 $as_echo "/* confdefs.h */" > confdefs.h
2318 # Predefined preprocessor variables.
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_NAME "$PACKAGE_NAME"
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_STRING "$PACKAGE_STRING"
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2340 cat >>confdefs.h <<_ACEOF
2341 #define PACKAGE_URL "$PACKAGE_URL"
2345 # Let the site file select an alternate cache file if it wants to.
2346 # Prefer an explicitly selected file to automatically selected ones.
2349 if test -n "$CONFIG_SITE"; then
2350 # We do not want a PATH search for config.site.
2351 case $CONFIG_SITE in #((
2352 -*) ac_site_file1=./$CONFIG_SITE;;
2353 */*) ac_site_file1=$CONFIG_SITE;;
2354 *) ac_site_file1=./$CONFIG_SITE;;
2356 elif test "x$prefix" != xNONE; then
2357 ac_site_file1=$prefix/share/config.site
2358 ac_site_file2=$prefix/etc/config.site
2360 ac_site_file1=$ac_default_prefix/share/config.site
2361 ac_site_file2=$ac_default_prefix/etc/config.site
2363 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2365 test "x$ac_site_file" = xNONE && continue
2366 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2368 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2369 sed 's/^/| /' "$ac_site_file" >&5
2371 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 as_fn_error $? "failed to load site script $ac_site_file
2374 See \`config.log' for more details" "$LINENO" 5; }
2378 if test -r "$cache_file"; then
2379 # Some versions of bash will fail to source /dev/null (special files
2380 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2381 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2383 $as_echo "$as_me: loading cache $cache_file" >&6;}
2385 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2386 *) . "./$cache_file";;
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2391 $as_echo "$as_me: creating cache $cache_file" >&6;}
2395 # Check that the precious variables saved in the cache have kept the same
2397 ac_cache_corrupted=false
2398 for ac_var in $ac_precious_vars; do
2399 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2400 eval ac_new_set=\$ac_env_${ac_var}_set
2401 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2402 eval ac_new_val=\$ac_env_${ac_var}_value
2403 case $ac_old_set,$ac_new_set in
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2406 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2407 ac_cache_corrupted=: ;;
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2410 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2411 ac_cache_corrupted=: ;;
2414 if test "x$ac_old_val" != "x$ac_new_val"; then
2415 # differences in whitespace do not lead to failure.
2416 ac_old_val_w=`echo x $ac_old_val`
2417 ac_new_val_w=`echo x $ac_new_val`
2418 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2420 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2421 ac_cache_corrupted=:
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2424 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2425 eval $ac_var=\$ac_old_val
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2428 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2430 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2433 # Pass precious variables to config.status.
2434 if test "$ac_new_set" = set; then
2436 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2437 *) ac_arg=$ac_var=$ac_new_val ;;
2439 case " $ac_configure_args " in
2440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2441 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2445 if $ac_cache_corrupted; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2449 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2450 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2452 ## -------------------- ##
2453 ## Main body of script. ##
2454 ## -------------------- ##
2457 ac_cpp='$CPP $CPPFLAGS'
2458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2464 # See libtool.info "Libtool's versioning system"
2465 libxtables_vcurrent=10
2469 for ac_dir in build-aux "$srcdir"/build-aux; do
2470 if test -f "$ac_dir/install-sh"; then
2472 ac_install_sh="$ac_aux_dir/install-sh -c"
2474 elif test -f "$ac_dir/install.sh"; then
2476 ac_install_sh="$ac_aux_dir/install.sh -c"
2478 elif test -f "$ac_dir/shtool"; then
2480 ac_install_sh="$ac_aux_dir/shtool install -c"
2484 if test -z "$ac_aux_dir"; then
2485 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2488 # These three variables are undocumented and unsupported,
2489 # and are intended to be withdrawn in a future Autoconf release.
2490 # They can cause serious problems if a builder's source tree is in a directory
2491 # whose full name contains unusual characters.
2492 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2493 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2494 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2497 ac_config_headers="$ac_config_headers config.h"
2500 # Find a good install program. We prefer a C program (faster),
2501 # so one script is as good as another. But avoid the broken or
2502 # incompatible versions:
2503 # SysV /etc/install, /usr/sbin/install
2504 # SunOS /usr/etc/install
2505 # IRIX /sbin/install
2507 # AmigaOS /C/install, which installs bootblocks on floppy discs
2508 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2509 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2510 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2511 # OS/2's system install, which has a completely different semantic
2512 # ./install, which can be erroneously created by make from ./install.sh.
2513 # Reject install programs that cannot install multiple files.
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2515 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2516 if test -z "$INSTALL"; then
2517 if ${ac_cv_path_install+:} false; then :
2518 $as_echo_n "(cached) " >&6
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir=.
2525 # Account for people who put trailing slashes in PATH elements.
2526 case $as_dir/ in #((
2527 ./ | .// | /[cC]/* | \
2528 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2529 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2532 # OSF1 and SCO ODT 3.0 have their own names for install.
2533 # Don't use installbsd from OSF since it installs stuff as root
2535 for ac_prog in ginstall scoinst install; do
2536 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2538 if test $ac_prog = install &&
2539 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2540 # AIX install. It has an incompatible calling convention.
2542 elif test $ac_prog = install &&
2543 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2544 # program-specific install script used by HP pwplus--don't use.
2547 rm -rf conftest.one conftest.two conftest.dir
2548 echo one > conftest.one
2549 echo two > conftest.two
2551 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2552 test -s conftest.one && test -s conftest.two &&
2553 test -s conftest.dir/conftest.one &&
2554 test -s conftest.dir/conftest.two
2556 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2569 rm -rf conftest.one conftest.two conftest.dir
2572 if test "${ac_cv_path_install+set}" = set; then
2573 INSTALL=$ac_cv_path_install
2575 # As a last resort, use the slow shell script. Don't cache a
2576 # value for INSTALL within a source directory, because that will
2577 # break other packages using the cache if that directory is
2578 # removed, or if the value is a relative name.
2579 INSTALL=$ac_install_sh
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2583 $as_echo "$INSTALL" >&6; }
2585 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2586 # It thinks the first close brace ends the variable substitution.
2587 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2589 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2591 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2593 am__api_version='1.11'
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2596 $as_echo_n "checking whether build environment is sane... " >&6; }
2599 echo timestamp > conftest.file
2600 # Reject unsafe characters in $srcdir or the absolute working directory
2601 # name. Accept space and tab only in the latter.
2605 *[\\\"\#\$\&\'\`$am_lf]*)
2606 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2609 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2610 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2613 # Do `set' in a subshell so we don't clobber the current shell's
2614 # arguments. Must try -L first in case configure is actually a
2615 # symlink; some systems play weird games with the mod time of symlinks
2616 # (eg FreeBSD returns the mod time of the symlink's containing
2619 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2620 if test "$*" = "X"; then
2622 set X `ls -t "$srcdir/configure" conftest.file`
2625 if test "$*" != "X $srcdir/configure conftest.file" \
2626 && test "$*" != "X conftest.file $srcdir/configure"; then
2628 # If neither matched, then we have a broken ls. This can happen
2629 # if, for instance, CONFIG_SHELL is bash and it inherits a
2630 # broken ls alias from the environment. This has actually
2631 # happened. Such a system could not be considered "sane".
2632 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2633 alias in your environment" "$LINENO" 5
2636 test "$2" = conftest.file
2642 as_fn_error $? "newly created file is older than distributed files!
2643 Check your system clock" "$LINENO" 5
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2646 $as_echo "yes" >&6; }
2647 test "$program_prefix" != NONE &&
2648 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2649 # Use a double $ so make ignores it.
2650 test "$program_suffix" != NONE &&
2651 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2652 # Double any \ or $.
2653 # By default was `s,x,x', remove it if useless.
2654 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2655 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2657 # expand $ac_aux_dir to an absolute path
2658 am_aux_dir=`cd $ac_aux_dir && pwd`
2660 if test x"${MISSING+set}" != xset; then
2663 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2665 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2668 # Use eval to expand $SHELL
2669 if eval "$MISSING --run true"; then
2670 am_missing_run="$MISSING --run "
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2674 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2677 if test x"${install_sh}" != xset; then
2680 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2682 install_sh="\${SHELL} $am_aux_dir/install-sh"
2686 # Installed binaries are usually stripped using `strip' when the user
2687 # run `make install-strip'. However `strip' might not be the right
2688 # tool to use in cross-compilation environments, therefore Automake
2689 # will honor the `STRIP' environment variable to overrule this program.
2690 if test "$cross_compiling" != no; then
2691 if test -n "$ac_tool_prefix"; then
2692 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2693 set dummy ${ac_tool_prefix}strip; ac_word=$2
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 $as_echo_n "checking for $ac_word... " >&6; }
2696 if ${ac_cv_prog_STRIP+:} false; then :
2697 $as_echo_n "(cached) " >&6
2699 if test -n "$STRIP"; then
2700 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir=.
2707 for ac_exec_ext in '' $ac_executable_extensions; do
2708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 STRIP=$ac_cv_prog_STRIP
2720 if test -n "$STRIP"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2722 $as_echo "$STRIP" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2730 if test -z "$ac_cv_prog_STRIP"; then
2732 # Extract the first word of "strip", so it can be a program name with args.
2733 set dummy strip; ac_word=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2737 $as_echo_n "(cached) " >&6
2739 if test -n "$ac_ct_STRIP"; then
2740 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749 ac_cv_prog_ac_ct_STRIP="strip"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2760 if test -n "$ac_ct_STRIP"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2762 $as_echo "$ac_ct_STRIP" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2768 if test "x$ac_ct_STRIP" = x; then
2771 case $cross_compiling:$ac_tool_warned in
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2775 ac_tool_warned=yes ;;
2780 STRIP="$ac_cv_prog_STRIP"
2784 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2787 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2788 if test -z "$MKDIR_P"; then
2789 if ${ac_cv_path_mkdir+:} false; then :
2790 $as_echo_n "(cached) " >&6
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2796 test -z "$as_dir" && as_dir=.
2797 for ac_prog in mkdir gmkdir; do
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2800 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2801 'mkdir (GNU coreutils) '* | \
2802 'mkdir (coreutils) '* | \
2803 'mkdir (fileutils) '4.1*)
2804 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2814 test -d ./--version && rmdir ./--version
2815 if test "${ac_cv_path_mkdir+set}" = set; then
2816 MKDIR_P="$ac_cv_path_mkdir -p"
2818 # As a last resort, use the slow shell script. Don't cache a
2819 # value for MKDIR_P within a source directory, because that will
2820 # break other packages using the cache if that directory is
2821 # removed, or if the value is a relative name.
2822 MKDIR_P="$ac_install_sh -d"
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2826 $as_echo "$MKDIR_P" >&6; }
2830 [\\/$]* | ?:[\\/]*) ;;
2831 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2834 for ac_prog in gawk mawk nawk awk
2836 # Extract the first word of "$ac_prog", so it can be a program name with args.
2837 set dummy $ac_prog; ac_word=$2
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839 $as_echo_n "checking for $ac_word... " >&6; }
2840 if ${ac_cv_prog_AWK+:} false; then :
2841 $as_echo_n "(cached) " >&6
2843 if test -n "$AWK"; then
2844 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir=.
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_AWK="$ac_prog"
2854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 if test -n "$AWK"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2866 $as_echo "$AWK" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2873 test -n "$AWK" && break
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2877 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2879 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2880 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2881 $as_echo_n "(cached) " >&6
2883 cat >conftest.make <<\_ACEOF
2886 @echo '@@@%%%=$(MAKE)=@@@%%%'
2888 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2889 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2891 eval ac_cv_prog_make_${ac_make}_set=yes;;
2893 eval ac_cv_prog_make_${ac_make}_set=no;;
2897 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2899 $as_echo "yes" >&6; }
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2904 SET_MAKE="MAKE=${MAKE-make}"
2907 rm -rf .tst 2>/dev/null
2908 mkdir .tst 2>/dev/null
2909 if test -d .tst; then
2914 rmdir .tst 2>/dev/null
2916 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2917 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2918 # is not polluted with repeated "-I."
2919 am__isrc=' -I$(srcdir)'
2920 # test to see if srcdir already configured
2921 if test -f $srcdir/config.status; then
2922 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2926 # test whether we have cygpath
2927 if test -z "$CYGPATH_W"; then
2928 if (cygpath --version) >/dev/null 2>/dev/null; then
2929 CYGPATH_W='cygpath -w'
2936 # Define the identity of the package.
2941 cat >>confdefs.h <<_ACEOF
2942 #define PACKAGE "$PACKAGE"
2946 cat >>confdefs.h <<_ACEOF
2947 #define VERSION "$VERSION"
2950 # Some tools Automake needs.
2952 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2955 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2958 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2961 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2964 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2966 # We need awk for the "check" target. The system "awk" is bad on
2968 # Always define AMTAR for backward compatibility. Yes, it's still used
2969 # in the wild :-( We should find a proper way to deprecate it ...
2972 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2979 ac_cpp='$CPP $CPPFLAGS'
2980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2983 if test -n "$ac_tool_prefix"; then
2984 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2985 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2987 $as_echo_n "checking for $ac_word... " >&6; }
2988 if ${ac_cv_prog_CC+:} false; then :
2989 $as_echo_n "(cached) " >&6
2991 if test -n "$CC"; then
2992 ac_cv_prog_CC="$CC" # Let the user override the test.
2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2998 test -z "$as_dir" && as_dir=.
2999 for ac_exec_ext in '' $ac_executable_extensions; do
3000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3001 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 if test -n "$CC"; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3014 $as_echo "$CC" >&6; }
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3017 $as_echo "no" >&6; }
3022 if test -z "$ac_cv_prog_CC"; then
3024 # Extract the first word of "gcc", so it can be a program name with args.
3025 set dummy gcc; ac_word=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$ac_ct_CC"; then
3032 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir=.
3039 for ac_exec_ext in '' $ac_executable_extensions; do
3040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3041 ac_cv_prog_ac_ct_CC="gcc"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3052 if test -n "$ac_ct_CC"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3054 $as_echo "$ac_ct_CC" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3060 if test "x$ac_ct_CC" = x; then
3063 case $cross_compiling:$ac_tool_warned in
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3067 ac_tool_warned=yes ;;
3075 if test -z "$CC"; then
3076 if test -n "$ac_tool_prefix"; then
3077 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3078 set dummy ${ac_tool_prefix}cc; ac_word=$2
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 $as_echo_n "checking for $ac_word... " >&6; }
3081 if ${ac_cv_prog_CC+:} false; then :
3082 $as_echo_n "(cached) " >&6
3084 if test -n "$CC"; then
3085 ac_cv_prog_CC="$CC" # Let the user override the test.
3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3091 test -z "$as_dir" && as_dir=.
3092 for ac_exec_ext in '' $ac_executable_extensions; do
3093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3094 ac_cv_prog_CC="${ac_tool_prefix}cc"
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 if test -n "$CC"; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3107 $as_echo "$CC" >&6; }
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3116 if test -z "$CC"; then
3117 # Extract the first word of "cc", so it can be a program name with args.
3118 set dummy cc; ac_word=$2
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120 $as_echo_n "checking for $ac_word... " >&6; }
3121 if ${ac_cv_prog_CC+:} false; then :
3122 $as_echo_n "(cached) " >&6
3124 if test -n "$CC"; then
3125 ac_cv_prog_CC="$CC" # Let the user override the test.
3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 test -z "$as_dir" && as_dir=.
3133 for ac_exec_ext in '' $ac_executable_extensions; do
3134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3135 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3136 ac_prog_rejected=yes
3140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3147 if test $ac_prog_rejected = yes; then
3148 # We found a bogon in the path, so make sure we never use it.
3149 set dummy $ac_cv_prog_CC
3151 if test $# != 0; then
3152 # We chose a different compiler from the bogus one.
3153 # However, it has the same basename, so the bogon will be chosen
3154 # first if we set CC to just the basename; use the full file name.
3156 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3162 if test -n "$CC"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3164 $as_echo "$CC" >&6; }
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3172 if test -z "$CC"; then
3173 if test -n "$ac_tool_prefix"; then
3174 for ac_prog in cl.exe
3176 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3177 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_CC+:} false; then :
3181 $as_echo_n "(cached) " >&6
3183 if test -n "$CC"; then
3184 ac_cv_prog_CC="$CC" # Let the user override the test.
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir=.
3191 for ac_exec_ext in '' $ac_executable_extensions; do
3192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 if test -n "$CC"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3206 $as_echo "$CC" >&6; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3213 test -n "$CC" && break
3216 if test -z "$CC"; then
3218 for ac_prog in cl.exe
3220 # Extract the first word of "$ac_prog", so it can be a program name with args.
3221 set dummy $ac_prog; ac_word=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$ac_ct_CC"; then
3228 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir=.
3235 for ac_exec_ext in '' $ac_executable_extensions; do
3236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3237 ac_cv_prog_ac_ct_CC="$ac_prog"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3248 if test -n "$ac_ct_CC"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3250 $as_echo "$ac_ct_CC" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3257 test -n "$ac_ct_CC" && break
3260 if test "x$ac_ct_CC" = x; then
3263 case $cross_compiling:$ac_tool_warned in
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3267 ac_tool_warned=yes ;;
3276 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 as_fn_error $? "no acceptable C compiler found in \$PATH
3279 See \`config.log' for more details" "$LINENO" 5; }
3281 # Provide some information about the compiler.
3282 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3285 for ac_option in --version -v -V -qversion; do
3286 { { ac_try="$ac_compiler $ac_option >&5"
3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3292 $as_echo "$ac_try_echo"; } >&5
3293 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3295 if test -s conftest.err; then
3297 ... rest of stderr output deleted ...
3298 10q' conftest.err >conftest.er1
3299 cat conftest.er1 >&5
3301 rm -f conftest.er1 conftest.err
3302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3303 test $ac_status = 0; }
3306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307 /* end confdefs.h. */
3317 ac_clean_files_save=$ac_clean_files
3318 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3319 # Try to create an executable without -o first, disregard a.out.
3320 # It will help us diagnose broken compilers, and finding out an intuition
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3323 $as_echo_n "checking whether the C compiler works... " >&6; }
3324 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3326 # The possible output files:
3327 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3330 for ac_file in $ac_files
3333 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3334 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3339 if { { ac_try="$ac_link_default"
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3345 $as_echo "$ac_try_echo"; } >&5
3346 (eval "$ac_link_default") 2>&5
3348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3349 test $ac_status = 0; }; then :
3350 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3351 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3352 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3353 # so that the user can short-circuit this test for compilers unknown to
3355 for ac_file in $ac_files ''
3357 test -f "$ac_file" || continue
3359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3362 # We found the default executable, but exeext='' is most
3366 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3368 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3370 # We set ac_cv_exeext here because the later test for it is not
3371 # safe: cross compilers may not add the suffix if given an `-o'
3372 # argument, so we may need to know it at that point already.
3373 # Even if this section looks crufty: it has the advantage of
3380 test "$ac_cv_exeext" = no && ac_cv_exeext=
3385 if test -z "$ac_file"; then :
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3388 $as_echo "$as_me: failed program was:" >&5
3389 sed 's/^/| /' conftest.$ac_ext >&5
3391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3393 as_fn_error 77 "C compiler cannot create executables
3394 See \`config.log' for more details" "$LINENO" 5; }
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3397 $as_echo "yes" >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3400 $as_echo_n "checking for C compiler default output file name... " >&6; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3402 $as_echo "$ac_file" >&6; }
3403 ac_exeext=$ac_cv_exeext
3405 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3406 ac_clean_files=$ac_clean_files_save
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3408 $as_echo_n "checking for suffix of executables... " >&6; }
3409 if { { ac_try="$ac_link"
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3415 $as_echo "$ac_try_echo"; } >&5
3416 (eval "$ac_link") 2>&5
3418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419 test $ac_status = 0; }; then :
3420 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3421 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3422 # work properly (i.e., refer to `conftest.exe'), while it won't with
3424 for ac_file in conftest.exe conftest conftest.*; do
3425 test -f "$ac_file" || continue
3427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3428 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3437 See \`config.log' for more details" "$LINENO" 5; }
3439 rm -f conftest conftest$ac_cv_exeext
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3441 $as_echo "$ac_cv_exeext" >&6; }
3443 rm -f conftest.$ac_ext
3444 EXEEXT=$ac_cv_exeext
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3452 FILE *f = fopen ("conftest.out", "w");
3453 return ferror (f) || fclose (f) != 0;
3459 ac_clean_files="$ac_clean_files conftest.out"
3460 # Check that the compiler produces executables we can run. If not, either
3461 # the compiler is broken, or we cross compile.
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3463 $as_echo_n "checking whether we are cross compiling... " >&6; }
3464 if test "$cross_compiling" != yes; then
3465 { { ac_try="$ac_link"
3467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468 *) ac_try_echo=$ac_try;;
3470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3471 $as_echo "$ac_try_echo"; } >&5
3472 (eval "$ac_link") 2>&5
3474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3475 test $ac_status = 0; }
3476 if { ac_try='./conftest$ac_cv_exeext'
3477 { { case "(($ac_try" in
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482 $as_echo "$ac_try_echo"; } >&5
3483 (eval "$ac_try") 2>&5
3485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486 test $ac_status = 0; }; }; then
3489 if test "$cross_compiling" = maybe; then
3492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3494 as_fn_error $? "cannot run C compiled programs.
3495 If you meant to cross compile, use \`--host'.
3496 See \`config.log' for more details" "$LINENO" 5; }
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3501 $as_echo "$cross_compiling" >&6; }
3503 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3504 ac_clean_files=$ac_clean_files_save
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3506 $as_echo_n "checking for suffix of object files... " >&6; }
3507 if ${ac_cv_objext+:} false; then :
3508 $as_echo_n "(cached) " >&6
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511 /* end confdefs.h. */
3521 rm -f conftest.o conftest.obj
3522 if { { ac_try="$ac_compile"
3524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525 *) ac_try_echo=$ac_try;;
3527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3528 $as_echo "$ac_try_echo"; } >&5
3529 (eval "$ac_compile") 2>&5
3531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3532 test $ac_status = 0; }; then :
3533 for ac_file in conftest.o conftest.obj conftest.*; do
3534 test -f "$ac_file" || continue;
3536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3537 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3542 $as_echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.$ac_ext >&5
3545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3547 as_fn_error $? "cannot compute suffix of object files: cannot compile
3548 See \`config.log' for more details" "$LINENO" 5; }
3550 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3553 $as_echo "$ac_cv_objext" >&6; }
3554 OBJEXT=$ac_cv_objext
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3557 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3558 if ${ac_cv_c_compiler_gnu+:} false; then :
3559 $as_echo_n "(cached) " >&6
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3575 if ac_fn_c_try_compile "$LINENO"; then :
3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3581 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3585 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3586 if test $ac_compiler_gnu = yes; then
3591 ac_test_CFLAGS=${CFLAGS+set}
3592 ac_save_CFLAGS=$CFLAGS
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3594 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3595 if ${ac_cv_prog_cc_g+:} false; then :
3596 $as_echo_n "(cached) " >&6
3598 ac_save_c_werror_flag=$ac_c_werror_flag
3599 ac_c_werror_flag=yes
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3613 if ac_fn_c_try_compile "$LINENO"; then :
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3628 if ac_fn_c_try_compile "$LINENO"; then :
3631 ac_c_werror_flag=$ac_save_c_werror_flag
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3644 if ac_fn_c_try_compile "$LINENO"; then :
3647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 ac_c_werror_flag=$ac_save_c_werror_flag
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3655 $as_echo "$ac_cv_prog_cc_g" >&6; }
3656 if test "$ac_test_CFLAGS" = set; then
3657 CFLAGS=$ac_save_CFLAGS
3658 elif test $ac_cv_prog_cc_g = yes; then
3659 if test "$GCC" = yes; then
3665 if test "$GCC" = yes; then
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3672 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3673 if ${ac_cv_prog_cc_c89+:} false; then :
3674 $as_echo_n "(cached) " >&6
3676 ac_cv_prog_cc_c89=no
3678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3683 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3684 struct buf { int x; };
3685 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3686 static char *e (p, i)
3692 static char *f (char * (*g) (char **, int), char **p, ...)
3697 s = g (p, va_arg (v,int));
3702 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3703 function prototypes and stuff, but not '\xHH' hex character constants.
3704 These don't provoke an error unfortunately, instead are silently treated
3705 as 'x'. The following induces an error, until -std is added to get
3706 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3707 array size at least. It's necessary to write '\x00'==0 to get something
3708 that's true only with -std. */
3709 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3711 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3712 inside strings and character constants. */
3714 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3716 int test (int i, double x);
3717 struct s1 {int (*f) (int a);};
3718 struct s2 {int (*f) (double a);};
3719 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3725 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3730 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3731 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3733 CC="$ac_save_CC $ac_arg"
3734 if ac_fn_c_try_compile "$LINENO"; then :
3735 ac_cv_prog_cc_c89=$ac_arg
3737 rm -f core conftest.err conftest.$ac_objext
3738 test "x$ac_cv_prog_cc_c89" != "xno" && break
3740 rm -f conftest.$ac_ext
3745 case "x$ac_cv_prog_cc_c89" in
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3748 $as_echo "none needed" >&6; } ;;
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3751 $as_echo "unsupported" >&6; } ;;
3753 CC="$CC $ac_cv_prog_cc_c89"
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3755 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3757 if test "x$ac_cv_prog_cc_c89" != xno; then :
3762 ac_cpp='$CPP $CPPFLAGS'
3763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3766 DEPDIR="${am__leading_dot}deps"
3768 ac_config_commands="$ac_config_commands depfiles"
3771 am_make=${MAKE-make}
3772 cat > confinc << 'END'
3774 @echo this is the am__doit target
3777 # If we don't find an include directive, just comment out the code.
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3779 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3783 # First try GNU make style include.
3784 echo "include confinc" > confmf
3785 # Ignore all kinds of additional output from `make'.
3786 case `$am_make -s -f confmf 2> /dev/null` in #(
3787 *the\ am__doit\ target*)
3793 # Now try BSD make style include.
3794 if test "$am__include" = "#"; then
3795 echo '.include "confinc"' > confmf
3796 case `$am_make -s -f confmf 2> /dev/null` in #(
3797 *the\ am__doit\ target*)
3798 am__include=.include
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3807 $as_echo "$_am_result" >&6; }
3808 rm -f confinc confmf
3810 # Check whether --enable-dependency-tracking was given.
3811 if test "${enable_dependency_tracking+set}" = set; then :
3812 enableval=$enable_dependency_tracking;
3815 if test "x$enable_dependency_tracking" != xno; then
3816 am_depcomp="$ac_aux_dir/depcomp"
3820 if test "x$enable_dependency_tracking" != xno; then
3830 depcc="$CC" am_compiler_list=
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3833 $as_echo_n "checking dependency style of $depcc... " >&6; }
3834 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3835 $as_echo_n "(cached) " >&6
3837 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3838 # We make a subdir and do the tests there. Otherwise we can end up
3839 # making bogus files that we don't know about and never remove. For
3840 # instance it was reported that on HP-UX the gcc test will end up
3841 # making a dummy file named `D' -- because `-MD' means `put the output
3845 # Copy depcomp to subdir because otherwise we won't find it if we're
3846 # using a relative directory.
3847 cp "$am_depcomp" conftest.dir
3849 # We will build objects and dependencies in a subdirectory because
3850 # it helps to detect inapplicable dependency modes. For instance
3851 # both Tru64's cc and ICC support -MD to output dependencies as a
3852 # side effect of compilation, but ICC will put the dependencies in
3853 # the current directory while Tru64 will put them in the object
3857 am_cv_CC_dependencies_compiler_type=none
3858 if test "$am_compiler_list" = ""; then
3859 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3862 case " $depcc " in #(
3863 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3866 for depmode in $am_compiler_list; do
3867 # Setup a source with many dependencies, because some compilers
3868 # like to wrap large dependency lists on column 80 (with \), and
3869 # we should not choose a depcomp mode which is confused by this.
3871 # We need to recreate these files for each test, as the compiler may
3872 # overwrite some of them when testing with obscure command lines.
3873 # This happens at least with the AIX C compiler.
3875 for i in 1 2 3 4 5 6; do
3876 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3877 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3878 # Solaris 8's {/usr,}/bin/sh.
3879 touch sub/conftst$i.h
3881 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3883 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3884 # mode. It turns out that the SunPro C++ compiler does not properly
3885 # handle `-M -o', and we need to detect this. Also, some Intel
3886 # versions had trouble with output in subdirs
3887 am__obj=sub/conftest.${OBJEXT-o}
3888 am__minus_obj="-o $am__obj"
3891 # This depmode causes a compiler race in universal mode.
3892 test "$am__universal" = false || continue
3895 # after this tag, mechanisms are not by side-effect, so they'll
3896 # only be used when explicitly requested
3897 if test "x$enable_dependency_tracking" = xyes; then
3903 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3904 # This compiler won't grok `-c -o', but also, the minuso test has
3905 # not run yet. These depmodes are late enough in the game, and
3906 # so weak that their functioning should not be impacted.
3907 am__obj=conftest.${OBJEXT-o}
3912 if depmode=$depmode \
3913 source=sub/conftest.c object=$am__obj \
3914 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3915 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3916 >/dev/null 2>conftest.err &&
3917 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3918 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3919 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3920 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3921 # icc doesn't choke on unknown options, it will just issue warnings
3922 # or remarks (even with -Werror). So we grep stderr for any message
3923 # that says an option was ignored or not supported.
3924 # When given -MP, icc 7.0 and 7.1 complain thusly:
3925 # icc: Command line warning: ignoring option '-M'; no argument required
3926 # The diagnosis changed in icc 8.0:
3927 # icc: Command line remark: option '-MP' not supported
3928 if (grep 'ignoring option' conftest.err ||
3929 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3930 am_cv_CC_dependencies_compiler_type=$depmode
3939 am_cv_CC_dependencies_compiler_type=none
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3944 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3945 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3948 test "x$enable_dependency_tracking" != xno \
3949 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3951 am__fastdepCC_FALSE='#'
3953 am__fastdepCC_TRUE='#'
3954 am__fastdepCC_FALSE=
3958 if test "x$CC" != xcc; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3960 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3963 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3965 set dummy $CC; ac_cc=`$as_echo "$2" |
3966 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3967 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3968 $as_echo_n "(cached) " >&6
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3981 # Make sure it works both with $CC and with simple cc.
3982 # We do the test twice because some compilers refuse to overwrite an
3983 # existing .o file with -o, though they will create one.
3984 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3986 if { { case "(($ac_try" in
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991 $as_echo "$ac_try_echo"; } >&5
3992 (eval "$ac_try") 2>&5
3994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995 test $ac_status = 0; } &&
3996 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_try") 2>&5
4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005 test $ac_status = 0; };
4007 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4008 if test "x$CC" != xcc; then
4009 # Test first that cc exists at all.
4010 if { ac_try='cc -c conftest.$ac_ext >&5'
4011 { { case "(($ac_try" in
4012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013 *) ac_try_echo=$ac_try;;
4015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4016 $as_echo "$ac_try_echo"; } >&5
4017 (eval "$ac_try") 2>&5
4019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4020 test $ac_status = 0; }; }; then
4021 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4023 if { { case "(($ac_try" in
4024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028 $as_echo "$ac_try_echo"; } >&5
4029 (eval "$ac_try") 2>&5
4031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032 test $ac_status = 0; } &&
4033 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_try") 2>&5
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; };
4047 # cc exists but doesn't like -o.
4048 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4053 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4055 rm -f core conftest*
4058 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4060 $as_echo "yes" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063 $as_echo "no" >&6; }
4065 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4069 # FIXME: we rely on the cache variable name because
4070 # there is no other way.
4072 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4073 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4074 if test "$am_t" != yes; then
4075 # Losing compiler, so override with the script.
4076 # FIXME: It is wrong to rewrite CC.
4077 # But if we don't then we get into trouble of one sort or another.
4078 # A longer-term fix would be to have automake use am__CC in this case,
4079 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4080 CC="$am_aux_dir/compile $CC"
4084 # Check whether --enable-static was given.
4085 if test "${enable_static+set}" = set; then :
4086 enableval=$enable_static; p=${PACKAGE-default}
4088 yes) enable_static=yes ;;
4089 no) enable_static=no ;;
4092 # Look at the argument we got. We use all the common list separators.
4093 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4094 for pkg in $enableval; do
4096 if test "X$pkg" = "X$p"; then
4116 if test -n "$ac_tool_prefix"; then
4117 for ac_prog in ar lib "link -lib"
4119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4120 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4122 $as_echo_n "checking for $ac_word... " >&6; }
4123 if ${ac_cv_prog_AR+:} false; then :
4124 $as_echo_n "(cached) " >&6
4126 if test -n "$AR"; then
4127 ac_cv_prog_AR="$AR" # Let the user override the test.
4129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 test -z "$as_dir" && as_dir=.
4134 for ac_exec_ext in '' $ac_executable_extensions; do
4135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4136 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 if test -n "$AR"; then
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4149 $as_echo "$AR" >&6; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4152 $as_echo "no" >&6; }
4156 test -n "$AR" && break
4159 if test -z "$AR"; then
4161 for ac_prog in ar lib "link -lib"
4163 # Extract the first word of "$ac_prog", so it can be a program name with args.
4164 set dummy $ac_prog; ac_word=$2
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4166 $as_echo_n "checking for $ac_word... " >&6; }
4167 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4168 $as_echo_n "(cached) " >&6
4170 if test -n "$ac_ct_AR"; then
4171 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir=.
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 ac_cv_prog_ac_ct_AR="$ac_prog"
4181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4190 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4191 if test -n "$ac_ct_AR"; then
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4193 $as_echo "$ac_ct_AR" >&6; }
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4196 $as_echo "no" >&6; }
4200 test -n "$ac_ct_AR" && break
4203 if test "x$ac_ct_AR" = x; then
4206 case $cross_compiling:$ac_tool_warned in
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4210 ac_tool_warned=yes ;;
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4219 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4220 if ${am_cv_ar_interface+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 am_cv_ar_interface=ar
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4226 int some_variable = 0;
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4230 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4231 (eval $am_ar_try) 2>&5
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }
4235 if test "$ac_status" -eq 0; then
4236 am_cv_ar_interface=ar
4238 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4239 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4240 (eval $am_ar_try) 2>&5
4242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4243 test $ac_status = 0; }
4244 if test "$ac_status" -eq 0; then
4245 am_cv_ar_interface=lib
4247 am_cv_ar_interface=unknown
4250 rm -f conftest.lib libconftest.a
4253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4257 $as_echo "$am_cv_ar_interface" >&6; }
4259 case $am_cv_ar_interface in
4263 # Microsoft lib, so override with the ar-lib wrapper script.
4264 # FIXME: It is wrong to rewrite AR.
4265 # But if we don't then we get into trouble of one sort or another.
4266 # A longer-term fix would be to have automake use am__AR in this case,
4267 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4269 AR="$am_aux_dir/ar-lib $AR"
4272 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4279 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4284 macro_version='2.4.2'
4285 macro_revision='1.3337'
4299 ltmain="$ac_aux_dir/ltmain.sh"
4301 # Make sure we can run config.sub.
4302 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4303 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4306 $as_echo_n "checking build system type... " >&6; }
4307 if ${ac_cv_build+:} false; then :
4308 $as_echo_n "(cached) " >&6
4310 ac_build_alias=$build_alias
4311 test "x$ac_build_alias" = x &&
4312 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4313 test "x$ac_build_alias" = x &&
4314 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4315 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4316 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4320 $as_echo "$ac_cv_build" >&6; }
4321 case $ac_cv_build in
4323 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4326 ac_save_IFS=$IFS; IFS='-'
4332 # Remember, the first character of IFS is used to create $*,
4333 # except with old shells:
4336 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4340 $as_echo_n "checking host system type... " >&6; }
4341 if ${ac_cv_host+:} false; then :
4342 $as_echo_n "(cached) " >&6
4344 if test "x$host_alias" = x; then
4345 ac_cv_host=$ac_cv_build
4347 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4348 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4353 $as_echo "$ac_cv_host" >&6; }
4356 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4359 ac_save_IFS=$IFS; IFS='-'
4365 # Remember, the first character of IFS is used to create $*,
4366 # except with old shells:
4369 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4372 # Backslashify metacharacters that are still active within
4373 # double-quoted strings.
4374 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4376 # Same as above, but do not quote variable references.
4377 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4379 # Sed substitution to delay expansion of an escaped shell variable in a
4380 # double_quote_subst'ed string.
4381 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4383 # Sed substitution to delay expansion of an escaped single quote.
4384 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4386 # Sed substitution to avoid accidental globbing in evaled expressions
4387 no_glob_subst='s/\*/\\\*/g'
4389 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4390 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4391 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4394 $as_echo_n "checking how to print strings... " >&6; }
4395 # Test print first, because it will be a builtin if present.
4396 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4397 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4399 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4402 # Use this function as a fallback that always works.
4403 func_fallback_echo ()
4405 eval 'cat <<_LTECHO_EOF
4409 ECHO='func_fallback_echo'
4412 # func_echo_all arg...
4413 # Invoke $ECHO with all args, space-separated.
4420 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4421 $as_echo "printf" >&6; } ;;
4422 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4423 $as_echo "print -r" >&6; } ;;
4424 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4425 $as_echo "cat" >&6; } ;;
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4442 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4443 if ${ac_cv_path_SED+:} false; then :
4444 $as_echo_n "(cached) " >&6
4446 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4447 for ac_i in 1 2 3 4 5 6 7; do
4448 ac_script="$ac_script$as_nl$ac_script"
4450 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4451 { ac_script=; unset ac_script;}
4452 if test -z "$SED"; then
4453 ac_path_SED_found=false
4454 # Loop through the user's path and test for each of PROGNAME-LIST
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir=.
4460 for ac_prog in sed gsed; do
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4463 as_fn_executable_p "$ac_path_SED" || continue
4464 # Check for GNU ac_path_SED and select it if it is found.
4465 # Check for GNU $ac_path_SED
4466 case `"$ac_path_SED" --version 2>&1` in
4468 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4471 $as_echo_n 0123456789 >"conftest.in"
4474 cat "conftest.in" "conftest.in" >"conftest.tmp"
4475 mv "conftest.tmp" "conftest.in"
4476 cp "conftest.in" "conftest.nl"
4477 $as_echo '' >> "conftest.nl"
4478 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4479 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4480 as_fn_arith $ac_count + 1 && ac_count=$as_val
4481 if test $ac_count -gt ${ac_path_SED_max-0}; then
4482 # Best one so far, save it but keep looking for a better one
4483 ac_cv_path_SED="$ac_path_SED"
4484 ac_path_SED_max=$ac_count
4486 # 10*(2^10) chars as input seems more than enough
4487 test $ac_count -gt 10 && break
4489 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4492 $ac_path_SED_found && break 3
4497 if test -z "$ac_cv_path_SED"; then
4498 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4506 $as_echo "$ac_cv_path_SED" >&6; }
4507 SED="$ac_cv_path_SED"
4510 test -z "$SED" && SED=sed
4511 Xsed="$SED -e 1s/^X//"
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4524 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4525 if ${ac_cv_path_GREP+:} false; then :
4526 $as_echo_n "(cached) " >&6
4528 if test -z "$GREP"; then
4529 ac_path_GREP_found=false
4530 # Loop through the user's path and test for each of PROGNAME-LIST
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4535 test -z "$as_dir" && as_dir=.
4536 for ac_prog in grep ggrep; do
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4539 as_fn_executable_p "$ac_path_GREP" || continue
4540 # Check for GNU ac_path_GREP and select it if it is found.
4541 # Check for GNU $ac_path_GREP
4542 case `"$ac_path_GREP" --version 2>&1` in
4544 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4547 $as_echo_n 0123456789 >"conftest.in"
4550 cat "conftest.in" "conftest.in" >"conftest.tmp"
4551 mv "conftest.tmp" "conftest.in"
4552 cp "conftest.in" "conftest.nl"
4553 $as_echo 'GREP' >> "conftest.nl"
4554 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4555 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4556 as_fn_arith $ac_count + 1 && ac_count=$as_val
4557 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4558 # Best one so far, save it but keep looking for a better one
4559 ac_cv_path_GREP="$ac_path_GREP"
4560 ac_path_GREP_max=$ac_count
4562 # 10*(2^10) chars as input seems more than enough
4563 test $ac_count -gt 10 && break
4565 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4568 $ac_path_GREP_found && break 3
4573 if test -z "$ac_cv_path_GREP"; then
4574 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4577 ac_cv_path_GREP=$GREP
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4582 $as_echo "$ac_cv_path_GREP" >&6; }
4583 GREP="$ac_cv_path_GREP"
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4587 $as_echo_n "checking for egrep... " >&6; }
4588 if ${ac_cv_path_EGREP+:} false; then :
4589 $as_echo_n "(cached) " >&6
4591 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4592 then ac_cv_path_EGREP="$GREP -E"
4594 if test -z "$EGREP"; then
4595 ac_path_EGREP_found=false
4596 # Loop through the user's path and test for each of PROGNAME-LIST
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4601 test -z "$as_dir" && as_dir=.
4602 for ac_prog in egrep; do
4603 for ac_exec_ext in '' $ac_executable_extensions; do
4604 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4605 as_fn_executable_p "$ac_path_EGREP" || continue
4606 # Check for GNU ac_path_EGREP and select it if it is found.
4607 # Check for GNU $ac_path_EGREP
4608 case `"$ac_path_EGREP" --version 2>&1` in
4610 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4613 $as_echo_n 0123456789 >"conftest.in"
4616 cat "conftest.in" "conftest.in" >"conftest.tmp"
4617 mv "conftest.tmp" "conftest.in"
4618 cp "conftest.in" "conftest.nl"
4619 $as_echo 'EGREP' >> "conftest.nl"
4620 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4621 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4622 as_fn_arith $ac_count + 1 && ac_count=$as_val
4623 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4624 # Best one so far, save it but keep looking for a better one
4625 ac_cv_path_EGREP="$ac_path_EGREP"
4626 ac_path_EGREP_max=$ac_count
4628 # 10*(2^10) chars as input seems more than enough
4629 test $ac_count -gt 10 && break
4631 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4634 $ac_path_EGREP_found && break 3
4639 if test -z "$ac_cv_path_EGREP"; then
4640 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4643 ac_cv_path_EGREP=$EGREP
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4649 $as_echo "$ac_cv_path_EGREP" >&6; }
4650 EGREP="$ac_cv_path_EGREP"
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4654 $as_echo_n "checking for fgrep... " >&6; }
4655 if ${ac_cv_path_FGREP+:} false; then :
4656 $as_echo_n "(cached) " >&6
4658 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4659 then ac_cv_path_FGREP="$GREP -F"
4661 if test -z "$FGREP"; then
4662 ac_path_FGREP_found=false
4663 # Loop through the user's path and test for each of PROGNAME-LIST
4664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4668 test -z "$as_dir" && as_dir=.
4669 for ac_prog in fgrep; do
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4672 as_fn_executable_p "$ac_path_FGREP" || continue
4673 # Check for GNU ac_path_FGREP and select it if it is found.
4674 # Check for GNU $ac_path_FGREP
4675 case `"$ac_path_FGREP" --version 2>&1` in
4677 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4680 $as_echo_n 0123456789 >"conftest.in"
4683 cat "conftest.in" "conftest.in" >"conftest.tmp"
4684 mv "conftest.tmp" "conftest.in"
4685 cp "conftest.in" "conftest.nl"
4686 $as_echo 'FGREP' >> "conftest.nl"
4687 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4688 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4689 as_fn_arith $ac_count + 1 && ac_count=$as_val
4690 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4691 # Best one so far, save it but keep looking for a better one
4692 ac_cv_path_FGREP="$ac_path_FGREP"
4693 ac_path_FGREP_max=$ac_count
4695 # 10*(2^10) chars as input seems more than enough
4696 test $ac_count -gt 10 && break
4698 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4701 $ac_path_FGREP_found && break 3
4706 if test -z "$ac_cv_path_FGREP"; then
4707 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4710 ac_cv_path_FGREP=$FGREP
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4716 $as_echo "$ac_cv_path_FGREP" >&6; }
4717 FGREP="$ac_cv_path_FGREP"
4720 test -z "$GREP" && GREP=grep
4740 # Check whether --with-gnu-ld was given.
4741 if test "${with_gnu_ld+set}" = set; then :
4742 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4748 if test "$GCC" = yes; then
4749 # Check if gcc -print-prog-name=ld gives a path.
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4751 $as_echo_n "checking for ld used by $CC... " >&6; }
4754 # gcc leaves a trailing carriage return which upsets mingw
4755 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4757 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4760 # Accept absolute paths.
4762 re_direlt='/[^/][^/]*/\.\./'
4763 # Canonicalize the pathname of ld
4764 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4765 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4766 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4768 test -z "$LD" && LD="$ac_prog"
4771 # If it fails, then pretend we aren't using GCC.
4775 # If it is relative, then search for the first ld in PATH.
4779 elif test "$with_gnu_ld" = yes; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4781 $as_echo_n "checking for GNU ld... " >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4784 $as_echo_n "checking for non-GNU ld... " >&6; }
4786 if ${lt_cv_path_LD+:} false; then :
4787 $as_echo_n "(cached) " >&6
4789 if test -z "$LD"; then
4790 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4791 for ac_dir in $PATH; do
4793 test -z "$ac_dir" && ac_dir=.
4794 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4795 lt_cv_path_LD="$ac_dir/$ac_prog"
4796 # Check to see if the program is GNU ld. I'd rather use --version,
4797 # but apparently some variants of GNU ld only accept -v.
4798 # Break only if it was the GNU/non-GNU ld that we prefer.
4799 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4800 *GNU* | *'with BFD'*)
4801 test "$with_gnu_ld" != no && break
4804 test "$with_gnu_ld" != yes && break
4811 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4816 if test -n "$LD"; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4818 $as_echo "$LD" >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821 $as_echo "no" >&6; }
4823 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4825 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4826 if ${lt_cv_prog_gnu_ld+:} false; then :
4827 $as_echo_n "(cached) " >&6
4829 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4830 case `$LD -v 2>&1 </dev/null` in
4831 *GNU* | *'with BFD'*)
4832 lt_cv_prog_gnu_ld=yes
4835 lt_cv_prog_gnu_ld=no
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4840 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4841 with_gnu_ld=$lt_cv_prog_gnu_ld
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4852 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4853 if ${lt_cv_path_NM+:} false; then :
4854 $as_echo_n "(cached) " >&6
4856 if test -n "$NM"; then
4857 # Let the user override the test.
4860 lt_nm_to_check="${ac_tool_prefix}nm"
4861 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4862 lt_nm_to_check="$lt_nm_to_check nm"
4864 for lt_tmp_nm in $lt_nm_to_check; do
4865 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4866 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4868 test -z "$ac_dir" && ac_dir=.
4869 tmp_nm="$ac_dir/$lt_tmp_nm"
4870 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4871 # Check to see if the nm accepts a BSD-compat flag.
4872 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4873 # nm: unknown option "B" ignored
4874 # Tru64's nm complains that /dev/null is an invalid object file
4875 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4876 */dev/null* | *'Invalid file or object type'*)
4877 lt_cv_path_NM="$tmp_nm -B"
4881 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4883 lt_cv_path_NM="$tmp_nm -p"
4887 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4888 continue # so that we can try to find one that supports BSD flags
4897 : ${lt_cv_path_NM=no}
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4901 $as_echo "$lt_cv_path_NM" >&6; }
4902 if test "$lt_cv_path_NM" != "no"; then
4905 # Didn't find any BSD compatible name lister, look for dumpbin.
4906 if test -n "$DUMPBIN"; then :
4907 # Let the user override the test.
4909 if test -n "$ac_tool_prefix"; then
4910 for ac_prog in dumpbin "link -dump"
4912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_DUMPBIN+:} false; then :
4917 $as_echo_n "(cached) " >&6
4919 if test -n "$DUMPBIN"; then
4920 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir=.
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 DUMPBIN=$ac_cv_prog_DUMPBIN
4940 if test -n "$DUMPBIN"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4942 $as_echo "$DUMPBIN" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4949 test -n "$DUMPBIN" && break
4952 if test -z "$DUMPBIN"; then
4953 ac_ct_DUMPBIN=$DUMPBIN
4954 for ac_prog in dumpbin "link -dump"
4956 # Extract the first word of "$ac_prog", so it can be a program name with args.
4957 set dummy $ac_prog; ac_word=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -n "$ac_ct_DUMPBIN"; then
4964 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir=.
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4984 if test -n "$ac_ct_DUMPBIN"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4986 $as_echo "$ac_ct_DUMPBIN" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4993 test -n "$ac_ct_DUMPBIN" && break
4996 if test "x$ac_ct_DUMPBIN" = x; then
4999 case $cross_compiling:$ac_tool_warned in
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned=yes ;;
5005 DUMPBIN=$ac_ct_DUMPBIN
5009 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5011 DUMPBIN="$DUMPBIN -symbols"
5019 if test "$DUMPBIN" != ":"; then
5023 test -z "$NM" && NM=nm
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5031 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5032 if ${lt_cv_nm_interface+:} false; then :
5033 $as_echo_n "(cached) " >&6
5035 lt_cv_nm_interface="BSD nm"
5036 echo "int some_variable = 0;" > conftest.$ac_ext
5037 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5038 (eval "$ac_compile" 2>conftest.err)
5039 cat conftest.err >&5
5040 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5041 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5042 cat conftest.err >&5
5043 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5044 cat conftest.out >&5
5045 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5046 lt_cv_nm_interface="MS dumpbin"
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5051 $as_echo "$lt_cv_nm_interface" >&6; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5054 $as_echo_n "checking whether ln -s works... " >&6; }
5056 if test "$LN_S" = "ln -s"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5058 $as_echo "yes" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5061 $as_echo "no, using $LN_S" >&6; }
5064 # find the maximum length of command line arguments
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5066 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5067 if ${lt_cv_sys_max_cmd_len+:} false; then :
5068 $as_echo_n "(cached) " >&6
5075 # On DJGPP, this test can blow up pretty badly due to problems in libc
5076 # (any single argument exceeding 2000 bytes causes a buffer overrun
5077 # during glob expansion). Even if it were fixed, the result of this
5078 # check would be larger than it should be.
5079 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5083 # Under GNU Hurd, this test is not required because there is
5084 # no limit to the length of command line arguments.
5085 # Libtool will interpret -1 as no limit whatsoever
5086 lt_cv_sys_max_cmd_len=-1;
5089 cygwin* | mingw* | cegcc*)
5090 # On Win9x/ME, this test blows up -- it succeeds, but takes
5091 # about 5 minutes as the teststring grows exponentially.
5092 # Worse, since 9x/ME are not pre-emptively multitasking,
5093 # you end up with a "frozen" computer, even though with patience
5094 # the test eventually succeeds (with a max line length of 256k).
5095 # Instead, let's just punt: use the minimum linelength reported by
5096 # all of the supported platforms: 8192 (on NT/2K/XP).
5097 lt_cv_sys_max_cmd_len=8192;
5101 # On MiNT this can take a long time and run out of memory.
5102 lt_cv_sys_max_cmd_len=8192;
5106 # On AmigaOS with pdksh, this test takes hours, literally.
5107 # So we just punt and use a minimum line length of 8192.
5108 lt_cv_sys_max_cmd_len=8192;
5111 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5112 # This has been around since 386BSD, at least. Likely further.
5113 if test -x /sbin/sysctl; then
5114 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5115 elif test -x /usr/sbin/sysctl; then
5116 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5118 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5120 # And add a safety zone
5121 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5122 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5126 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5127 lt_cv_sys_max_cmd_len=196608
5131 # The test takes a long time on OS/2.
5132 lt_cv_sys_max_cmd_len=8192
5136 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5137 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5138 # nice to cause kernel panics so lets avoid the loop below.
5139 # First set a reasonable default.
5140 lt_cv_sys_max_cmd_len=16384
5142 if test -x /sbin/sysconfig; then
5143 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5144 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5149 lt_cv_sys_max_cmd_len=102400
5151 sysv5* | sco5v6* | sysv4.2uw2*)
5152 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5153 if test -n "$kargmax"; then
5154 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5156 lt_cv_sys_max_cmd_len=32768
5160 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5161 if test -n "$lt_cv_sys_max_cmd_len" && \
5162 test undefined != "$lt_cv_sys_max_cmd_len"; then
5163 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5164 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5166 # Make teststring a little bigger before we do anything with it.
5167 # a 1K string should be a reasonable start.
5168 for i in 1 2 3 4 5 6 7 8 ; do
5169 teststring=$teststring$teststring
5171 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5172 # If test is not a shell built-in, we'll probably end up computing a
5173 # maximum length that is only half of the actual maximum length, but
5175 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5176 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5177 test $i != 17 # 1/2 MB should be enough
5180 teststring=$teststring$teststring
5182 # Only check the string length outside the loop.
5183 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5185 # Add a significant safety factor because C++ compilers can tack on
5186 # massive amounts of additional arguments before passing them to the
5187 # linker. It appears as though 1/2 is a usable value.
5188 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5195 if test -n $lt_cv_sys_max_cmd_len ; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5197 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5200 $as_echo "none" >&6; }
5202 max_cmd_len=$lt_cv_sys_max_cmd_len
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5214 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5215 # Try some XSI features
5218 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5220 && eval 'test $(( 1 + 1 )) -eq 2 \
5221 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5224 $as_echo "$xsi_shell" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5228 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5230 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5232 && lt_shell_append=yes
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5234 $as_echo "$lt_shell_append" >&6; }
5237 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5247 # test EBCDIC or ASCII
5248 case `echo X|tr X '\101'` in
5249 A) # ASCII based system
5250 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5251 lt_SP2NL='tr \040 \012'
5252 lt_NL2SP='tr \015\012 \040\040'
5254 *) # EBCDIC based system
5255 lt_SP2NL='tr \100 \n'
5256 lt_NL2SP='tr \r\n \100\100'
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5269 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5270 if ${lt_cv_to_host_file_cmd+:} false; then :
5271 $as_echo_n "(cached) " >&6
5276 *-*-mingw* ) # actually msys
5277 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5280 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5282 * ) # otherwise, assume *nix
5283 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5289 *-*-mingw* ) # actually msys
5290 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5293 lt_cv_to_host_file_cmd=func_convert_file_noop
5295 * ) # otherwise, assume *nix
5296 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5300 * ) # unhandled hosts (and "normal" native builds)
5301 lt_cv_to_host_file_cmd=func_convert_file_noop
5307 to_host_file_cmd=$lt_cv_to_host_file_cmd
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5309 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5316 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5317 if ${lt_cv_to_tool_file_cmd+:} false; then :
5318 $as_echo_n "(cached) " >&6
5320 #assume ordinary cross tools, or native build.
5321 lt_cv_to_tool_file_cmd=func_convert_file_noop
5325 *-*-mingw* ) # actually msys
5326 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5334 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5336 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5343 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5344 if ${lt_cv_ld_reload_flag+:} false; then :
5345 $as_echo_n "(cached) " >&6
5347 lt_cv_ld_reload_flag='-r'
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5350 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5351 reload_flag=$lt_cv_ld_reload_flag
5352 case $reload_flag in
5354 *) reload_flag=" $reload_flag" ;;
5356 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5358 cygwin* | mingw* | pw32* | cegcc*)
5359 if test "$GCC" != yes; then
5364 if test "$GCC" = yes; then
5365 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5367 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5380 if test -n "$ac_tool_prefix"; then
5381 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5382 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384 $as_echo_n "checking for $ac_word... " >&6; }
5385 if ${ac_cv_prog_OBJDUMP+:} false; then :
5386 $as_echo_n "(cached) " >&6
5388 if test -n "$OBJDUMP"; then
5389 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5395 test -z "$as_dir" && as_dir=.
5396 for ac_exec_ext in '' $ac_executable_extensions; do
5397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5398 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 OBJDUMP=$ac_cv_prog_OBJDUMP
5409 if test -n "$OBJDUMP"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5411 $as_echo "$OBJDUMP" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5419 if test -z "$ac_cv_prog_OBJDUMP"; then
5420 ac_ct_OBJDUMP=$OBJDUMP
5421 # Extract the first word of "objdump", so it can be a program name with args.
5422 set dummy objdump; ac_word=$2
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424 $as_echo_n "checking for $ac_word... " >&6; }
5425 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5426 $as_echo_n "(cached) " >&6
5428 if test -n "$ac_ct_OBJDUMP"; then
5429 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 test -z "$as_dir" && as_dir=.
5436 for ac_exec_ext in '' $ac_executable_extensions; do
5437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5438 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5449 if test -n "$ac_ct_OBJDUMP"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5451 $as_echo "$ac_ct_OBJDUMP" >&6; }
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 $as_echo "no" >&6; }
5457 if test "x$ac_ct_OBJDUMP" = x; then
5460 case $cross_compiling:$ac_tool_warned in
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5464 ac_tool_warned=yes ;;
5466 OBJDUMP=$ac_ct_OBJDUMP
5469 OBJDUMP="$ac_cv_prog_OBJDUMP"
5472 test -z "$OBJDUMP" && OBJDUMP=objdump
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5483 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5484 if ${lt_cv_deplibs_check_method+:} false; then :
5485 $as_echo_n "(cached) " >&6
5487 lt_cv_file_magic_cmd='$MAGIC_CMD'
5488 lt_cv_file_magic_test_file=
5489 lt_cv_deplibs_check_method='unknown'
5490 # Need to set the preceding variable on all platforms that support
5491 # interlibrary dependencies.
5492 # 'none' -- dependencies not supported.
5493 # `unknown' -- same as none, but documents that we really don't know.
5494 # 'pass_all' -- all dependencies passed with no checks.
5495 # 'test_compile' -- check by making test program.
5496 # 'file_magic [[regex]]' -- check by looking for files in library path
5497 # which responds to the $file_magic_cmd with a given extended regex.
5498 # If you have `file' or equivalent on your system and you're not sure
5499 # whether `pass_all' will *always* work, you probably want this one.
5503 lt_cv_deplibs_check_method=pass_all
5507 lt_cv_deplibs_check_method=pass_all
5511 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5512 lt_cv_file_magic_cmd='/usr/bin/file -L'
5513 lt_cv_file_magic_test_file=/shlib/libc.so
5517 # func_win32_libid is a shell function defined in ltmain.sh
5518 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5519 lt_cv_file_magic_cmd='func_win32_libid'
5523 # Base MSYS/MinGW do not provide the 'file' command needed by
5524 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5525 # unless we find 'file', for example because we are cross-compiling.
5526 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5527 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5528 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5529 lt_cv_file_magic_cmd='func_win32_libid'
5531 # Keep this pattern in sync with the one in func_win32_libid.
5532 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5533 lt_cv_file_magic_cmd='$OBJDUMP -f'
5538 # use the weaker test based on 'objdump'. See mingw*.
5539 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5540 lt_cv_file_magic_cmd='$OBJDUMP -f'
5543 darwin* | rhapsody*)
5544 lt_cv_deplibs_check_method=pass_all
5547 freebsd* | dragonfly*)
5548 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5551 # Not sure whether the presence of OpenBSD here was a mistake.
5552 # Let's accept both of them until this is cleared up.
5553 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5554 lt_cv_file_magic_cmd=/usr/bin/file
5555 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5559 lt_cv_deplibs_check_method=pass_all
5564 lt_cv_deplibs_check_method=pass_all
5567 hpux10.20* | hpux11*)
5568 lt_cv_file_magic_cmd=/usr/bin/file
5571 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5572 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5575 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5576 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5579 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5580 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5586 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5587 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5590 irix5* | irix6* | nonstopux*)
5592 *-32|*"-32 ") libmagic=32-bit;;
5593 *-n32|*"-n32 ") libmagic=N32;;
5594 *-64|*"-64 ") libmagic=64-bit;;
5595 *) libmagic=never-match;;
5597 lt_cv_deplibs_check_method=pass_all
5600 # This must be glibc/ELF.
5601 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5602 lt_cv_deplibs_check_method=pass_all
5605 netbsd* | netbsdelf*-gnu)
5606 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5607 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5609 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5614 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5615 lt_cv_file_magic_cmd=/usr/bin/file
5616 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5620 lt_cv_deplibs_check_method=pass_all
5624 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5625 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5631 osf3* | osf4* | osf5*)
5632 lt_cv_deplibs_check_method=pass_all
5636 lt_cv_deplibs_check_method=pass_all
5640 lt_cv_deplibs_check_method=pass_all
5643 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5644 lt_cv_deplibs_check_method=pass_all
5648 case $host_vendor in
5650 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]'
5651 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5654 lt_cv_deplibs_check_method=pass_all
5657 lt_cv_file_magic_cmd='/bin/file'
5658 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5661 lt_cv_file_magic_cmd='/bin/file'
5662 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5663 lt_cv_file_magic_test_file=/lib/libc.so
5666 lt_cv_deplibs_check_method=pass_all
5669 lt_cv_deplibs_check_method=pass_all
5675 lt_cv_deplibs_check_method=pass_all
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5681 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5685 if test "$build" = "$host"; then
5688 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5691 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5697 file_magic_cmd=$lt_cv_file_magic_cmd
5698 deplibs_check_method=$lt_cv_deplibs_check_method
5699 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5722 if test -n "$ac_tool_prefix"; then
5723 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5724 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_DLLTOOL+:} false; then :
5728 $as_echo_n "(cached) " >&6
5730 if test -n "$DLLTOOL"; then
5731 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 DLLTOOL=$ac_cv_prog_DLLTOOL
5751 if test -n "$DLLTOOL"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5753 $as_echo "$DLLTOOL" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5761 if test -z "$ac_cv_prog_DLLTOOL"; then
5762 ac_ct_DLLTOOL=$DLLTOOL
5763 # Extract the first word of "dlltool", so it can be a program name with args.
5764 set dummy dlltool; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$ac_ct_DLLTOOL"; then
5771 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5791 if test -n "$ac_ct_DLLTOOL"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5793 $as_echo "$ac_ct_DLLTOOL" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5799 if test "x$ac_ct_DLLTOOL" = x; then
5802 case $cross_compiling:$ac_tool_warned in
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5808 DLLTOOL=$ac_ct_DLLTOOL
5811 DLLTOOL="$ac_cv_prog_DLLTOOL"
5814 test -z "$DLLTOOL" && DLLTOOL=dlltool
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5826 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5827 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5828 $as_echo_n "(cached) " >&6
5830 lt_cv_sharedlib_from_linklib_cmd='unknown'
5833 cygwin* | mingw* | pw32* | cegcc*)
5834 # two different shell functions defined in ltmain.sh
5835 # decide which to use based on capabilities of $DLLTOOL
5836 case `$DLLTOOL --help 2>&1` in
5837 *--identify-strict*)
5838 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5841 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5846 # fallback: assume linklib IS sharedlib
5847 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5853 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5854 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5855 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5863 if test -n "$ac_tool_prefix"; then
5866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5867 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_AR+:} false; then :
5871 $as_echo_n "(cached) " >&6
5873 if test -n "$AR"; then
5874 ac_cv_prog_AR="$AR" # Let the user override the test.
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5894 if test -n "$AR"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5896 $as_echo "$AR" >&6; }
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$AR" && break
5906 if test -z "$AR"; then
5910 # Extract the first word of "$ac_prog", so it can be a program name with args.
5911 set dummy $ac_prog; ac_word=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913 $as_echo_n "checking for $ac_word... " >&6; }
5914 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5915 $as_echo_n "(cached) " >&6
5917 if test -n "$ac_ct_AR"; then
5918 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927 ac_cv_prog_ac_ct_AR="$ac_prog"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5937 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5938 if test -n "$ac_ct_AR"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5940 $as_echo "$ac_ct_AR" >&6; }
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5947 test -n "$ac_ct_AR" && break
5950 if test "x$ac_ct_AR" = x; then
5953 case $cross_compiling:$ac_tool_warned in
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5957 ac_tool_warned=yes ;;
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5977 $as_echo_n "checking for archiver @FILE support... " >&6; }
5978 if ${lt_cv_ar_at_file+:} false; then :
5979 $as_echo_n "(cached) " >&6
5982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5993 if ac_fn_c_try_compile "$LINENO"; then :
5994 echo conftest.$ac_objext > conftest.lst
5995 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5996 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5997 (eval $lt_ar_try) 2>&5
5999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6000 test $ac_status = 0; }
6001 if test "$ac_status" -eq 0; then
6002 # Ensure the archiver fails upon bogus file names.
6003 rm -f conftest.$ac_objext libconftest.a
6004 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6005 (eval $lt_ar_try) 2>&5
6007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6008 test $ac_status = 0; }
6009 if test "$ac_status" -ne 0; then
6013 rm -f conftest.* libconftest.a
6016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6020 $as_echo "$lt_cv_ar_at_file" >&6; }
6022 if test "x$lt_cv_ar_at_file" = xno; then
6025 archiver_list_spec=$lt_cv_ar_at_file
6034 if test -n "$ac_tool_prefix"; then
6035 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6036 set dummy ${ac_tool_prefix}strip; ac_word=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6038 $as_echo_n "checking for $ac_word... " >&6; }
6039 if ${ac_cv_prog_STRIP+:} false; then :
6040 $as_echo_n "(cached) " >&6
6042 if test -n "$STRIP"; then
6043 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 test -z "$as_dir" && as_dir=.
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6052 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 STRIP=$ac_cv_prog_STRIP
6063 if test -n "$STRIP"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6065 $as_echo "$STRIP" >&6; }
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 $as_echo "no" >&6; }
6073 if test -z "$ac_cv_prog_STRIP"; then
6075 # Extract the first word of "strip", so it can be a program name with args.
6076 set dummy strip; ac_word=$2
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6078 $as_echo_n "checking for $ac_word... " >&6; }
6079 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6080 $as_echo_n "(cached) " >&6
6082 if test -n "$ac_ct_STRIP"; then
6083 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089 test -z "$as_dir" && as_dir=.
6090 for ac_exec_ext in '' $ac_executable_extensions; do
6091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6092 ac_cv_prog_ac_ct_STRIP="strip"
6093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6103 if test -n "$ac_ct_STRIP"; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6105 $as_echo "$ac_ct_STRIP" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108 $as_echo "no" >&6; }
6111 if test "x$ac_ct_STRIP" = x; then
6114 case $cross_compiling:$ac_tool_warned in
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6118 ac_tool_warned=yes ;;
6123 STRIP="$ac_cv_prog_STRIP"
6126 test -z "$STRIP" && STRIP=:
6133 if test -n "$ac_tool_prefix"; then
6134 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6135 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6137 $as_echo_n "checking for $ac_word... " >&6; }
6138 if ${ac_cv_prog_RANLIB+:} false; then :
6139 $as_echo_n "(cached) " >&6
6141 if test -n "$RANLIB"; then
6142 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6151 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 RANLIB=$ac_cv_prog_RANLIB
6162 if test -n "$RANLIB"; then
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6164 $as_echo "$RANLIB" >&6; }
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 $as_echo "no" >&6; }
6172 if test -z "$ac_cv_prog_RANLIB"; then
6173 ac_ct_RANLIB=$RANLIB
6174 # Extract the first word of "ranlib", so it can be a program name with args.
6175 set dummy ranlib; ac_word=$2
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6177 $as_echo_n "checking for $ac_word... " >&6; }
6178 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6179 $as_echo_n "(cached) " >&6
6181 if test -n "$ac_ct_RANLIB"; then
6182 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 test -z "$as_dir" && as_dir=.
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6191 ac_cv_prog_ac_ct_RANLIB="ranlib"
6192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6202 if test -n "$ac_ct_RANLIB"; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6204 $as_echo "$ac_ct_RANLIB" >&6; }
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207 $as_echo "no" >&6; }
6210 if test "x$ac_ct_RANLIB" = x; then
6213 case $cross_compiling:$ac_tool_warned in
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6217 ac_tool_warned=yes ;;
6219 RANLIB=$ac_ct_RANLIB
6222 RANLIB="$ac_cv_prog_RANLIB"
6225 test -z "$RANLIB" && RANLIB=:
6232 # Determine commands to create old-style static archives.
6233 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6234 old_postinstall_cmds='chmod 644 $oldlib'
6235 old_postuninstall_cmds=
6237 if test -n "$RANLIB"; then
6240 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6243 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6246 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6251 lock_old_archive_extraction=yes ;;
6253 lock_old_archive_extraction=no ;;
6294 # If no C compiler was specified, use CC.
6297 # If no C compiler flags were specified, use CFLAGS.
6298 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6300 # Allow CC to be a program name with arguments.
6304 # Check for command to grab the raw symbol name followed by C symbol from nm.
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6306 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6307 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6308 $as_echo_n "(cached) " >&6
6311 # These are sane defaults that work on at least a few old systems.
6312 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6314 # Character class describing NM global symbol codes.
6315 symcode='[BCDEGRST]'
6317 # Regexp to match symbols that can be accessed directly from C.
6318 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6320 # Define system-specific variables.
6325 cygwin* | mingw* | pw32* | cegcc*)
6326 symcode='[ABCDGISTW]'
6329 if test "$host_cpu" = ia64; then
6330 symcode='[ABCDEGRST]'
6334 symcode='[BCDEGRST]'
6337 symcode='[BCDEGQRST]'
6348 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6356 # If we're using GNU nm, then use its standard symbol codes.
6357 case `$NM -V 2>&1` in
6358 *GNU* | *'with BFD'*)
6359 symcode='[ABCDGIRSTW]' ;;
6362 # Transform an extracted symbol line into a proper C declaration.
6363 # Some systems (esp. on ia64) link data and code symbols differently,
6364 # so use this general approach.
6365 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6367 # Transform an extracted symbol line into symbol name and symbol address
6368 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6369 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'"
6371 # Handle CRLF in mingw tool chain
6375 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6379 # Try without a prefix underscore, then with it.
6380 for ac_symprfx in "" "_"; do
6382 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6383 symxfrm="\\1 $ac_symprfx\\2 \\2"
6385 # Write the raw and C identifiers.
6386 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6387 # Fake it for dumpbin and say T for any non-static function
6388 # and D for any global variable.
6389 # Also find C++ and __fastcall symbols from MSVC++,
6390 # which start with @ or ?.
6391 lt_cv_sys_global_symbol_pipe="$AWK '"\
6392 " {last_section=section; section=\$ 3};"\
6393 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6394 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6395 " \$ 0!~/External *\|/{next};"\
6396 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6397 " {if(hide[section]) next};"\
6398 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6399 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6400 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6401 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6402 " ' prfx=^$ac_symprfx"
6404 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6406 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6408 # Check to see that the pipe works correctly.
6412 cat > conftest.$ac_ext <<_LT_EOF
6417 void nm_test_func(void);
6418 void nm_test_func(void){}
6422 int main(){nm_test_var='a';nm_test_func();return(0);}
6425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6426 (eval $ac_compile) 2>&5
6428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6429 test $ac_status = 0; }; then
6430 # Now try to grab the symbols.
6432 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6433 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6436 test $ac_status = 0; } && test -s "$nlist"; then
6437 # Try sorting and uniquifying the output.
6438 if sort "$nlist" | uniq > "$nlist"T; then
6439 mv -f "$nlist"T "$nlist"
6444 # Make sure that we snagged all the symbols we need.
6445 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6446 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6447 cat <<_LT_EOF > conftest.$ac_ext
6448 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6449 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6450 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6451 relocations are performed -- see ld's documentation on pseudo-relocs. */
6452 # define LT_DLSYM_CONST
6453 #elif defined(__osf__)
6454 /* This system does not cope well with relocations in const data. */
6455 # define LT_DLSYM_CONST
6457 # define LT_DLSYM_CONST const
6465 # Now generate the symbol file.
6466 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6468 cat <<_LT_EOF >> conftest.$ac_ext
6470 /* The mapping between symbol names and symbols. */
6471 LT_DLSYM_CONST struct {
6475 lt__PROGRAM__LTX_preloaded_symbols[] =
6477 { "@PROGRAM@", (void *) 0 },
6479 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6480 cat <<\_LT_EOF >> conftest.$ac_ext
6484 /* This works around a problem in FreeBSD linker */
6485 #ifdef FREEBSD_WORKAROUND
6486 static const void *lt_preloaded_setup() {
6487 return lt__PROGRAM__LTX_preloaded_symbols;
6495 # Now try linking the two files.
6496 mv conftest.$ac_objext conftstm.$ac_objext
6497 lt_globsym_save_LIBS=$LIBS
6498 lt_globsym_save_CFLAGS=$CFLAGS
6499 LIBS="conftstm.$ac_objext"
6500 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6502 (eval $ac_link) 2>&5
6504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6505 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6508 LIBS=$lt_globsym_save_LIBS
6509 CFLAGS=$lt_globsym_save_CFLAGS
6511 echo "cannot find nm_test_func in $nlist" >&5
6514 echo "cannot find nm_test_var in $nlist" >&5
6517 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6520 echo "$progname: failed program was:" >&5
6521 cat conftest.$ac_ext >&5
6523 rm -rf conftest* conftst*
6525 # Do not use the global_symbol_pipe unless it works.
6526 if test "$pipe_works" = yes; then
6529 lt_cv_sys_global_symbol_pipe=
6535 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6536 lt_cv_sys_global_symbol_to_cdecl=
6538 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6540 $as_echo "failed" >&6; }
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6543 $as_echo "ok" >&6; }
6546 # Response file support.
6547 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6548 nm_file_list_spec='@'
6549 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6550 nm_file_list_spec='@'
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6580 $as_echo_n "checking for sysroot... " >&6; }
6582 # Check whether --with-sysroot was given.
6583 if test "${with_sysroot+set}" = set; then :
6584 withval=$with_sysroot;
6591 case ${with_sysroot} in #(
6593 if test "$GCC" = yes; then
6594 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6598 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6604 $as_echo "${with_sysroot}" >&6; }
6605 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6610 $as_echo "${lt_sysroot:-no}" >&6; }
6616 # Check whether --enable-libtool-lock was given.
6617 if test "${enable_libtool_lock+set}" = set; then :
6618 enableval=$enable_libtool_lock;
6621 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6623 # Some flags need to be propagated to the compiler or linker for good
6627 # Find out which ABI we are using.
6628 echo 'int i;' > conftest.$ac_ext
6629 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6630 (eval $ac_compile) 2>&5
6632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6633 test $ac_status = 0; }; then
6634 case `/usr/bin/file conftest.$ac_objext` in
6646 # Find out which ABI we are using.
6647 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6649 (eval $ac_compile) 2>&5
6651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6652 test $ac_status = 0; }; then
6653 if test "$lt_cv_prog_gnu_ld" = yes; then
6654 case `/usr/bin/file conftest.$ac_objext` in
6656 LD="${LD-ld} -melf32bsmip"
6659 LD="${LD-ld} -melf32bmipn32"
6662 LD="${LD-ld} -melf64bmip"
6666 case `/usr/bin/file conftest.$ac_objext` in
6682 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6683 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6684 # Find out which ABI we are using.
6685 echo 'int i;' > conftest.$ac_ext
6686 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6687 (eval $ac_compile) 2>&5
6689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6690 test $ac_status = 0; }; then
6691 case `/usr/bin/file conftest.o` in
6694 x86_64-*kfreebsd*-gnu)
6695 LD="${LD-ld} -m elf_i386_fbsd"
6698 case `/usr/bin/file conftest.o` in
6700 LD="${LD-ld} -m elf32_x86_64"
6703 LD="${LD-ld} -m elf_i386"
6707 ppc64-*linux*|powerpc64-*linux*)
6708 LD="${LD-ld} -m elf32ppclinux"
6711 LD="${LD-ld} -m elf_s390"
6714 LD="${LD-ld} -m elf32_sparc"
6720 x86_64-*kfreebsd*-gnu)
6721 LD="${LD-ld} -m elf_x86_64_fbsd"
6724 LD="${LD-ld} -m elf_x86_64"
6726 ppc*-*linux*|powerpc*-*linux*)
6727 LD="${LD-ld} -m elf64ppc"
6729 s390*-*linux*|s390*-*tpf*)
6730 LD="${LD-ld} -m elf64_s390"
6733 LD="${LD-ld} -m elf64_sparc"
6743 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6744 SAVE_CFLAGS="$CFLAGS"
6745 CFLAGS="$CFLAGS -belf"
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6747 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6748 if ${lt_cv_cc_needs_belf+:} false; then :
6749 $as_echo_n "(cached) " >&6
6752 ac_cpp='$CPP $CPPFLAGS'
6753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6758 /* end confdefs.h. */
6768 if ac_fn_c_try_link "$LINENO"; then :
6769 lt_cv_cc_needs_belf=yes
6771 lt_cv_cc_needs_belf=no
6773 rm -f core conftest.err conftest.$ac_objext \
6774 conftest$ac_exeext conftest.$ac_ext
6776 ac_cpp='$CPP $CPPFLAGS'
6777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6783 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6784 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6785 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6786 CFLAGS="$SAVE_CFLAGS"
6790 # Find out which ABI we are using.
6791 echo 'int i;' > conftest.$ac_ext
6792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6793 (eval $ac_compile) 2>&5
6795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6796 test $ac_status = 0; }; then
6797 case `/usr/bin/file conftest.o` in
6799 case $lt_cv_prog_gnu_ld in
6803 LD="${LD-ld} -m elf_x86_64"
6806 LD="${LD-ld} -m elf64_sparc"
6809 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6810 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6815 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6827 need_locks="$enable_libtool_lock"
6829 if test -n "$ac_tool_prefix"; then
6830 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6831 set dummy ${ac_tool_prefix}mt; ac_word=$2
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6833 $as_echo_n "checking for $ac_word... " >&6; }
6834 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6835 $as_echo_n "(cached) " >&6
6837 if test -n "$MANIFEST_TOOL"; then
6838 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 test -z "$as_dir" && as_dir=.
6845 for ac_exec_ext in '' $ac_executable_extensions; do
6846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6847 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6857 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6858 if test -n "$MANIFEST_TOOL"; then
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6860 $as_echo "$MANIFEST_TOOL" >&6; }
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6863 $as_echo "no" >&6; }
6868 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6869 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6870 # Extract the first word of "mt", so it can be a program name with args.
6871 set dummy mt; ac_word=$2
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873 $as_echo_n "checking for $ac_word... " >&6; }
6874 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6875 $as_echo_n "(cached) " >&6
6877 if test -n "$ac_ct_MANIFEST_TOOL"; then
6878 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884 test -z "$as_dir" && as_dir=.
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6887 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6898 if test -n "$ac_ct_MANIFEST_TOOL"; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6900 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6906 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6909 case $cross_compiling:$ac_tool_warned in
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6913 ac_tool_warned=yes ;;
6915 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6918 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6921 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6923 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6924 if ${lt_cv_path_mainfest_tool+:} false; then :
6925 $as_echo_n "(cached) " >&6
6927 lt_cv_path_mainfest_tool=no
6928 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6929 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6930 cat conftest.err >&5
6931 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6932 lt_cv_path_mainfest_tool=yes
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6937 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6938 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6948 rhapsody* | darwin*)
6949 if test -n "$ac_tool_prefix"; then
6950 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6951 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6953 $as_echo_n "checking for $ac_word... " >&6; }
6954 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6955 $as_echo_n "(cached) " >&6
6957 if test -n "$DSYMUTIL"; then
6958 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964 test -z "$as_dir" && as_dir=.
6965 for ac_exec_ext in '' $ac_executable_extensions; do
6966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6967 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6978 if test -n "$DSYMUTIL"; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6980 $as_echo "$DSYMUTIL" >&6; }
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983 $as_echo "no" >&6; }
6988 if test -z "$ac_cv_prog_DSYMUTIL"; then
6989 ac_ct_DSYMUTIL=$DSYMUTIL
6990 # Extract the first word of "dsymutil", so it can be a program name with args.
6991 set dummy dsymutil; ac_word=$2
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6993 $as_echo_n "checking for $ac_word... " >&6; }
6994 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6995 $as_echo_n "(cached) " >&6
6997 if test -n "$ac_ct_DSYMUTIL"; then
6998 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 test -z "$as_dir" && as_dir=.
7005 for ac_exec_ext in '' $ac_executable_extensions; do
7006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7007 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7018 if test -n "$ac_ct_DSYMUTIL"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7020 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023 $as_echo "no" >&6; }
7026 if test "x$ac_ct_DSYMUTIL" = x; then
7029 case $cross_compiling:$ac_tool_warned in
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7033 ac_tool_warned=yes ;;
7035 DSYMUTIL=$ac_ct_DSYMUTIL
7038 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7041 if test -n "$ac_tool_prefix"; then
7042 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7043 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045 $as_echo_n "checking for $ac_word... " >&6; }
7046 if ${ac_cv_prog_NMEDIT+:} false; then :
7047 $as_echo_n "(cached) " >&6
7049 if test -n "$NMEDIT"; then
7050 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056 test -z "$as_dir" && as_dir=.
7057 for ac_exec_ext in '' $ac_executable_extensions; do
7058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7059 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7069 NMEDIT=$ac_cv_prog_NMEDIT
7070 if test -n "$NMEDIT"; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7072 $as_echo "$NMEDIT" >&6; }
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075 $as_echo "no" >&6; }
7080 if test -z "$ac_cv_prog_NMEDIT"; then
7081 ac_ct_NMEDIT=$NMEDIT
7082 # Extract the first word of "nmedit", so it can be a program name with args.
7083 set dummy nmedit; ac_word=$2
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7085 $as_echo_n "checking for $ac_word... " >&6; }
7086 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7087 $as_echo_n "(cached) " >&6
7089 if test -n "$ac_ct_NMEDIT"; then
7090 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 test -z "$as_dir" && as_dir=.
7097 for ac_exec_ext in '' $ac_executable_extensions; do
7098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7099 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7109 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7110 if test -n "$ac_ct_NMEDIT"; then
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7112 $as_echo "$ac_ct_NMEDIT" >&6; }
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7115 $as_echo "no" >&6; }
7118 if test "x$ac_ct_NMEDIT" = x; then
7121 case $cross_compiling:$ac_tool_warned in
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7125 ac_tool_warned=yes ;;
7127 NMEDIT=$ac_ct_NMEDIT
7130 NMEDIT="$ac_cv_prog_NMEDIT"
7133 if test -n "$ac_tool_prefix"; then
7134 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7135 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 $as_echo_n "checking for $ac_word... " >&6; }
7138 if ${ac_cv_prog_LIPO+:} false; then :
7139 $as_echo_n "(cached) " >&6
7141 if test -n "$LIPO"; then
7142 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 test -z "$as_dir" && as_dir=.
7149 for ac_exec_ext in '' $ac_executable_extensions; do
7150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7151 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161 LIPO=$ac_cv_prog_LIPO
7162 if test -n "$LIPO"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7164 $as_echo "$LIPO" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167 $as_echo "no" >&6; }
7172 if test -z "$ac_cv_prog_LIPO"; then
7174 # Extract the first word of "lipo", so it can be a program name with args.
7175 set dummy lipo; ac_word=$2
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7177 $as_echo_n "checking for $ac_word... " >&6; }
7178 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7179 $as_echo_n "(cached) " >&6
7181 if test -n "$ac_ct_LIPO"; then
7182 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 test -z "$as_dir" && as_dir=.
7189 for ac_exec_ext in '' $ac_executable_extensions; do
7190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7191 ac_cv_prog_ac_ct_LIPO="lipo"
7192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7201 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7202 if test -n "$ac_ct_LIPO"; then
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7204 $as_echo "$ac_ct_LIPO" >&6; }
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7207 $as_echo "no" >&6; }
7210 if test "x$ac_ct_LIPO" = x; then
7213 case $cross_compiling:$ac_tool_warned in
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7217 ac_tool_warned=yes ;;
7222 LIPO="$ac_cv_prog_LIPO"
7225 if test -n "$ac_tool_prefix"; then
7226 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7227 set dummy ${ac_tool_prefix}otool; ac_word=$2
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229 $as_echo_n "checking for $ac_word... " >&6; }
7230 if ${ac_cv_prog_OTOOL+:} false; then :
7231 $as_echo_n "(cached) " >&6
7233 if test -n "$OTOOL"; then
7234 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 test -z "$as_dir" && as_dir=.
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7243 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7253 OTOOL=$ac_cv_prog_OTOOL
7254 if test -n "$OTOOL"; then
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7256 $as_echo "$OTOOL" >&6; }
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 $as_echo "no" >&6; }
7264 if test -z "$ac_cv_prog_OTOOL"; then
7266 # Extract the first word of "otool", so it can be a program name with args.
7267 set dummy otool; ac_word=$2
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269 $as_echo_n "checking for $ac_word... " >&6; }
7270 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7271 $as_echo_n "(cached) " >&6
7273 if test -n "$ac_ct_OTOOL"; then
7274 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 test -z "$as_dir" && as_dir=.
7281 for ac_exec_ext in '' $ac_executable_extensions; do
7282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7283 ac_cv_prog_ac_ct_OTOOL="otool"
7284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7293 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7294 if test -n "$ac_ct_OTOOL"; then
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7296 $as_echo "$ac_ct_OTOOL" >&6; }
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7299 $as_echo "no" >&6; }
7302 if test "x$ac_ct_OTOOL" = x; then
7305 case $cross_compiling:$ac_tool_warned in
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7309 ac_tool_warned=yes ;;
7314 OTOOL="$ac_cv_prog_OTOOL"
7317 if test -n "$ac_tool_prefix"; then
7318 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7319 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7321 $as_echo_n "checking for $ac_word... " >&6; }
7322 if ${ac_cv_prog_OTOOL64+:} false; then :
7323 $as_echo_n "(cached) " >&6
7325 if test -n "$OTOOL64"; then
7326 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 test -z "$as_dir" && as_dir=.
7333 for ac_exec_ext in '' $ac_executable_extensions; do
7334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7335 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7345 OTOOL64=$ac_cv_prog_OTOOL64
7346 if test -n "$OTOOL64"; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7348 $as_echo "$OTOOL64" >&6; }
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7356 if test -z "$ac_cv_prog_OTOOL64"; then
7357 ac_ct_OTOOL64=$OTOOL64
7358 # Extract the first word of "otool64", so it can be a program name with args.
7359 set dummy otool64; ac_word=$2
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7361 $as_echo_n "checking for $ac_word... " >&6; }
7362 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7363 $as_echo_n "(cached) " >&6
7365 if test -n "$ac_ct_OTOOL64"; then
7366 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 test -z "$as_dir" && as_dir=.
7373 for ac_exec_ext in '' $ac_executable_extensions; do
7374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7375 ac_cv_prog_ac_ct_OTOOL64="otool64"
7376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7385 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7386 if test -n "$ac_ct_OTOOL64"; then
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7388 $as_echo "$ac_ct_OTOOL64" >&6; }
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7391 $as_echo "no" >&6; }
7394 if test "x$ac_ct_OTOOL64" = x; then
7397 case $cross_compiling:$ac_tool_warned in
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7401 ac_tool_warned=yes ;;
7403 OTOOL64=$ac_ct_OTOOL64
7406 OTOOL64="$ac_cv_prog_OTOOL64"
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7436 $as_echo_n "checking for -single_module linker flag... " >&6; }
7437 if ${lt_cv_apple_cc_single_mod+:} false; then :
7438 $as_echo_n "(cached) " >&6
7440 lt_cv_apple_cc_single_mod=no
7441 if test -z "${LT_MULTI_MODULE}"; then
7442 # By default we will add the -single_module flag. You can override
7443 # by either setting the environment variable LT_MULTI_MODULE
7444 # non-empty at configure time, or by adding -multi_module to the
7446 rm -rf libconftest.dylib*
7447 echo "int foo(void){return 1;}" > conftest.c
7448 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7449 -dynamiclib -Wl,-single_module conftest.c" >&5
7450 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7451 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7453 # If there is a non-empty error log, and "single_module"
7454 # appears in it, assume the flag caused a linker warning
7455 if test -s conftest.err && $GREP single_module conftest.err; then
7456 cat conftest.err >&5
7457 # Otherwise, if the output was created with a 0 exit code from
7458 # the compiler, it worked.
7459 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7460 lt_cv_apple_cc_single_mod=yes
7462 cat conftest.err >&5
7464 rm -rf libconftest.dylib*
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7469 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7472 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7473 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7474 $as_echo_n "(cached) " >&6
7476 lt_cv_ld_exported_symbols_list=no
7477 save_LDFLAGS=$LDFLAGS
7478 echo "_main" > conftest.sym
7479 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7481 /* end confdefs.h. */
7491 if ac_fn_c_try_link "$LINENO"; then :
7492 lt_cv_ld_exported_symbols_list=yes
7494 lt_cv_ld_exported_symbols_list=no
7496 rm -f core conftest.err conftest.$ac_objext \
7497 conftest$ac_exeext conftest.$ac_ext
7498 LDFLAGS="$save_LDFLAGS"
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7502 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7505 $as_echo_n "checking for -force_load linker flag... " >&6; }
7506 if ${lt_cv_ld_force_load+:} false; then :
7507 $as_echo_n "(cached) " >&6
7509 lt_cv_ld_force_load=no
7510 cat > conftest.c << _LT_EOF
7511 int forced_loaded() { return 2;}
7513 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7514 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7515 echo "$AR cru libconftest.a conftest.o" >&5
7516 $AR cru libconftest.a conftest.o 2>&5
7517 echo "$RANLIB libconftest.a" >&5
7518 $RANLIB libconftest.a 2>&5
7519 cat > conftest.c << _LT_EOF
7520 int main() { return 0;}
7522 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7523 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7525 if test -s conftest.err && $GREP force_load conftest.err; then
7526 cat conftest.err >&5
7527 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7528 lt_cv_ld_force_load=yes
7530 cat conftest.err >&5
7532 rm -f conftest.err libconftest.a conftest conftest.c
7533 rm -rf conftest.dSYM
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7537 $as_echo "$lt_cv_ld_force_load" >&6; }
7539 rhapsody* | darwin1.[012])
7540 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7542 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7543 darwin*) # darwin 5.x on
7544 # if running on 10.5 or later, the deployment target defaults
7545 # to the OS version, if on x86, and 10.4, the deployment
7546 # target defaults to 10.4. Don't you love it?
7547 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7548 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7549 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7551 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7553 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7557 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7558 _lt_dar_single_mod='$single_module'
7560 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7561 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7563 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7565 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7566 _lt_dsymutil='~$DSYMUTIL $lib || :'
7574 ac_cpp='$CPP $CPPFLAGS'
7575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7579 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7580 # On Suns, sometimes $CPP names a directory.
7581 if test -n "$CPP" && test -d "$CPP"; then
7584 if test -z "$CPP"; then
7585 if ${ac_cv_prog_CPP+:} false; then :
7586 $as_echo_n "(cached) " >&6
7588 # Double quotes because CPP needs to be expanded
7589 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7592 for ac_c_preproc_warn_flag in '' yes
7594 # Use a header file that comes with gcc, so configuring glibc
7595 # with a fresh cross-compiler works.
7596 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7597 # <limits.h> exists even on freestanding compilers.
7598 # On the NeXT, cc -E runs the code through the compiler's parser,
7599 # not just through cpp. "Syntax error" is here to catch this case.
7600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h. */
7603 # include <limits.h>
7605 # include <assert.h>
7609 if ac_fn_c_try_cpp "$LINENO"; then :
7612 # Broken: fails on valid input.
7615 rm -f conftest.err conftest.i conftest.$ac_ext
7617 # OK, works on sane cases. Now check whether nonexistent headers
7618 # can be detected and how.
7619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7620 /* end confdefs.h. */
7621 #include <ac_nonexistent.h>
7623 if ac_fn_c_try_cpp "$LINENO"; then :
7624 # Broken: success on invalid input.
7627 # Passes both tests.
7631 rm -f conftest.err conftest.i conftest.$ac_ext
7634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7635 rm -f conftest.i conftest.err conftest.$ac_ext
7636 if $ac_preproc_ok; then :
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7649 $as_echo "$CPP" >&6; }
7651 for ac_c_preproc_warn_flag in '' yes
7653 # Use a header file that comes with gcc, so configuring glibc
7654 # with a fresh cross-compiler works.
7655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7656 # <limits.h> exists even on freestanding compilers.
7657 # On the NeXT, cc -E runs the code through the compiler's parser,
7658 # not just through cpp. "Syntax error" is here to catch this case.
7659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h. */
7662 # include <limits.h>
7664 # include <assert.h>
7668 if ac_fn_c_try_cpp "$LINENO"; then :
7671 # Broken: fails on valid input.
7674 rm -f conftest.err conftest.i conftest.$ac_ext
7676 # OK, works on sane cases. Now check whether nonexistent headers
7677 # can be detected and how.
7678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h. */
7680 #include <ac_nonexistent.h>
7682 if ac_fn_c_try_cpp "$LINENO"; then :
7683 # Broken: success on invalid input.
7686 # Passes both tests.
7690 rm -f conftest.err conftest.i conftest.$ac_ext
7693 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7694 rm -f conftest.i conftest.err conftest.$ac_ext
7695 if $ac_preproc_ok; then :
7698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7700 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7701 See \`config.log' for more details" "$LINENO" 5; }
7705 ac_cpp='$CPP $CPPFLAGS'
7706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7712 $as_echo_n "checking for ANSI C header files... " >&6; }
7713 if ${ac_cv_header_stdc+:} false; then :
7714 $as_echo_n "(cached) " >&6
7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 /* end confdefs.h. */
7731 if ac_fn_c_try_compile "$LINENO"; then :
7732 ac_cv_header_stdc=yes
7734 ac_cv_header_stdc=no
7736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7738 if test $ac_cv_header_stdc = yes; then
7739 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7741 /* end confdefs.h. */
7745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7746 $EGREP "memchr" >/dev/null 2>&1; then :
7749 ac_cv_header_stdc=no
7755 if test $ac_cv_header_stdc = yes; then
7756 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7763 $EGREP "free" >/dev/null 2>&1; then :
7766 ac_cv_header_stdc=no
7772 if test $ac_cv_header_stdc = yes; then
7773 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7774 if test "$cross_compiling" = yes; then :
7777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7778 /* end confdefs.h. */
7781 #if ((' ' & 0x0FF) == 0x020)
7782 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7783 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7785 # define ISLOWER(c) \
7786 (('a' <= (c) && (c) <= 'i') \
7787 || ('j' <= (c) && (c) <= 'r') \
7788 || ('s' <= (c) && (c) <= 'z'))
7789 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7792 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7797 for (i = 0; i < 256; i++)
7798 if (XOR (islower (i), ISLOWER (i))
7799 || toupper (i) != TOUPPER (i))
7804 if ac_fn_c_try_run "$LINENO"; then :
7807 ac_cv_header_stdc=no
7809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7810 conftest.$ac_objext conftest.beam conftest.$ac_ext
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7816 $as_echo "$ac_cv_header_stdc" >&6; }
7817 if test $ac_cv_header_stdc = yes; then
7819 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7823 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7824 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7825 inttypes.h stdint.h unistd.h
7827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7828 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7831 cat >>confdefs.h <<_ACEOF
7832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7840 for ac_header in dlfcn.h
7842 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7844 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7845 cat >>confdefs.h <<_ACEOF
7846 #define HAVE_DLFCN_H 1
7867 # Check whether --enable-shared was given.
7868 if test "${enable_shared+set}" = set; then :
7869 enableval=$enable_shared; p=${PACKAGE-default}
7871 yes) enable_shared=yes ;;
7872 no) enable_shared=no ;;
7875 # Look at the argument we got. We use all the common list separators.
7876 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7877 for pkg in $enableval; do
7879 if test "X$pkg" = "X$p"; then
7900 # Check whether --with-pic was given.
7901 if test "${with_pic+set}" = set; then :
7902 withval=$with_pic; lt_p=${PACKAGE-default}
7904 yes|no) pic_mode=$withval ;;
7907 # Look at the argument we got. We use all the common list separators.
7908 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7909 for lt_pkg in $withval; do
7911 if test "X$lt_pkg" = "X$lt_p"; then
7923 test -z "$pic_mode" && pic_mode=default
7931 # Check whether --enable-fast-install was given.
7932 if test "${enable_fast_install+set}" = set; then :
7933 enableval=$enable_fast_install; p=${PACKAGE-default}
7935 yes) enable_fast_install=yes ;;
7936 no) enable_fast_install=no ;;
7938 enable_fast_install=no
7939 # Look at the argument we got. We use all the common list separators.
7940 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7941 for pkg in $enableval; do
7943 if test "X$pkg" = "X$p"; then
7944 enable_fast_install=yes
7951 enable_fast_install=yes
7964 # This can be used to rebuild libtool when needed
7965 LIBTOOL_DEPS="$ltmain"
7967 # Always use our own libtool.
7968 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7999 test -z "$LN_S" && LN_S="ln -s"
8014 if test -n "${ZSH_VERSION+set}" ; then
8015 setopt NO_GLOB_SUBST
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8019 $as_echo_n "checking for objdir... " >&6; }
8020 if ${lt_cv_objdir+:} false; then :
8021 $as_echo_n "(cached) " >&6
8023 rm -f .libs 2>/dev/null
8024 mkdir .libs 2>/dev/null
8025 if test -d .libs; then
8028 # MS-DOS does not allow filenames that begin with a dot.
8031 rmdir .libs 2>/dev/null
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8034 $as_echo "$lt_cv_objdir" >&6; }
8035 objdir=$lt_cv_objdir
8041 cat >>confdefs.h <<_ACEOF
8042 #define LT_OBJDIR "$lt_cv_objdir/"
8050 # AIX sometimes has problems with the GCC collect2 program. For some
8051 # reason, if we set the COLLECT_NAMES environment variable, the problems
8052 # vanish in a puff of smoke.
8053 if test "X${COLLECT_NAMES+set}" != Xset; then
8055 export COLLECT_NAMES
8062 can_build_shared=yes
8064 # All known linkers require a `.a' archive for static linking (except MSVC,
8065 # which needs '.lib').
8068 with_gnu_ld="$lt_cv_prog_gnu_ld"
8071 old_CFLAGS="$CFLAGS"
8073 # Set sane defaults for various variables
8074 test -z "$CC" && CC=cc
8075 test -z "$LTCC" && LTCC=$CC
8076 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8077 test -z "$LD" && LD=ld
8078 test -z "$ac_objext" && ac_objext=o
8080 for cc_temp in $compiler""; do
8082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8091 # Only perform the check for file, if the check method requires it
8092 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8093 case $deplibs_check_method in
8095 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8097 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8098 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8099 $as_echo_n "(cached) " >&6
8103 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8106 lt_save_MAGIC_CMD="$MAGIC_CMD"
8107 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8108 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8109 for ac_dir in $ac_dummy; do
8111 test -z "$ac_dir" && ac_dir=.
8112 if test -f $ac_dir/${ac_tool_prefix}file; then
8113 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8114 if test -n "$file_magic_test_file"; then
8115 case $deplibs_check_method in
8117 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8118 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8119 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8120 $EGREP "$file_magic_regex" > /dev/null; then
8125 *** Warning: the command libtool uses to detect shared libraries,
8126 *** $file_magic_cmd, produces output that libtool cannot recognize.
8127 *** The result is that libtool may fail to recognize shared libraries
8128 *** as such. This will affect the creation of libtool libraries that
8129 *** depend on shared libraries, but programs linked with such libtool
8130 *** libraries will work regardless of this problem. Nevertheless, you
8131 *** may want to report the problem to your system manager and/or to
8132 *** bug-libtool@gnu.org
8142 MAGIC_CMD="$lt_save_MAGIC_CMD"
8147 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8148 if test -n "$MAGIC_CMD"; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8150 $as_echo "$MAGIC_CMD" >&6; }
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8153 $as_echo "no" >&6; }
8160 if test -z "$lt_cv_path_MAGIC_CMD"; then
8161 if test -n "$ac_tool_prefix"; then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8163 $as_echo_n "checking for file... " >&6; }
8164 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8165 $as_echo_n "(cached) " >&6
8169 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8172 lt_save_MAGIC_CMD="$MAGIC_CMD"
8173 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8174 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8175 for ac_dir in $ac_dummy; do
8177 test -z "$ac_dir" && ac_dir=.
8178 if test -f $ac_dir/file; then
8179 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8180 if test -n "$file_magic_test_file"; then
8181 case $deplibs_check_method in
8183 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8184 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8185 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8186 $EGREP "$file_magic_regex" > /dev/null; then
8191 *** Warning: the command libtool uses to detect shared libraries,
8192 *** $file_magic_cmd, produces output that libtool cannot recognize.
8193 *** The result is that libtool may fail to recognize shared libraries
8194 *** as such. This will affect the creation of libtool libraries that
8195 *** depend on shared libraries, but programs linked with such libtool
8196 *** libraries will work regardless of this problem. Nevertheless, you
8197 *** may want to report the problem to your system manager and/or to
8198 *** bug-libtool@gnu.org
8208 MAGIC_CMD="$lt_save_MAGIC_CMD"
8213 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8214 if test -n "$MAGIC_CMD"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8216 $as_echo "$MAGIC_CMD" >&6; }
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8219 $as_echo "no" >&6; }
8232 # Use C for the default configuration in the libtool script
8236 ac_cpp='$CPP $CPPFLAGS'
8237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8242 # Source file extension for C test sources.
8245 # Object file extension for compiled C test sources.
8249 # Code to be used in simple compile tests
8250 lt_simple_compile_test_code="int some_variable = 0;"
8252 # Code to be used in simple link tests
8253 lt_simple_link_test_code='int main(){return(0);}'
8261 # If no C compiler was specified, use CC.
8264 # If no C compiler flags were specified, use CFLAGS.
8265 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8267 # Allow CC to be a program name with arguments.
8270 # Save the default compiler, since it gets overwritten when the other
8271 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8272 compiler_DEFAULT=$CC
8274 # save warnings/boilerplate of simple test code
8275 ac_outfile=conftest.$ac_objext
8276 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8277 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8278 _lt_compiler_boilerplate=`cat conftest.err`
8281 ac_outfile=conftest.$ac_objext
8282 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8283 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8284 _lt_linker_boilerplate=`cat conftest.err`
8289 ## There is no encapsulation within the following macros, do not change
8290 ## the running order or otherwise move them around unless you know exactly
8291 ## what you are doing...
8292 if test -n "$compiler"; then
8294 lt_prog_compiler_no_builtin_flag=
8296 if test "$GCC" = yes; then
8297 case $cc_basename in
8299 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8301 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8305 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8306 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8307 $as_echo_n "(cached) " >&6
8309 lt_cv_prog_compiler_rtti_exceptions=no
8310 ac_outfile=conftest.$ac_objext
8311 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8312 lt_compiler_flag="-fno-rtti -fno-exceptions"
8313 # Insert the option either (1) after the last *FLAGS variable, or
8314 # (2) before a word containing "conftest.", or (3) at the end.
8315 # Note that $ac_compile itself does not contain backslashes and begins
8316 # with a dollar sign (not a hyphen), so the echo should work correctly.
8317 # The option is referenced via a variable to avoid confusing sed.
8318 lt_compile=`echo "$ac_compile" | $SED \
8319 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8320 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8321 -e 's:$: $lt_compiler_flag:'`
8322 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8323 (eval "$lt_compile" 2>conftest.err)
8325 cat conftest.err >&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 if (exit $ac_status) && test -s "$ac_outfile"; then
8328 # The compiler can only warn and ignore the option if not recognized
8329 # So say no if there are warnings other than the usual output.
8330 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8331 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8332 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8333 lt_cv_prog_compiler_rtti_exceptions=yes
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8340 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8342 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8343 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8355 lt_prog_compiler_wl=
8356 lt_prog_compiler_pic=
8357 lt_prog_compiler_static=
8360 if test "$GCC" = yes; then
8361 lt_prog_compiler_wl='-Wl,'
8362 lt_prog_compiler_static='-static'
8366 # All AIX code is PIC.
8367 if test "$host_cpu" = ia64; then
8368 # AIX 5 now supports IA64 processor
8369 lt_prog_compiler_static='-Bstatic'
8376 # see comment about AmigaOS4 .so support
8377 lt_prog_compiler_pic='-fPIC'
8380 # FIXME: we need at least 68020 code to build shared libraries, but
8381 # adding the `-m68020' flag to GCC prevents building anything better,
8383 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8388 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8389 # PIC is the default for these OSes.
8392 mingw* | cygwin* | pw32* | os2* | cegcc*)
8393 # This hack is so that the source file can tell whether it is being
8394 # built for inclusion in a dll (and should export symbols for example).
8395 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8396 # (--disable-auto-import) libraries
8397 lt_prog_compiler_pic='-DDLL_EXPORT'
8400 darwin* | rhapsody*)
8401 # PIC is the default on this platform
8402 # Common symbols not allowed in MH_DYLIB files
8403 lt_prog_compiler_pic='-fno-common'
8407 # PIC is the default for Haiku.
8408 # The "-static" flag exists, but is broken.
8409 lt_prog_compiler_static=
8413 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8414 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8415 # sets the default TLS model and affects inlining.
8421 lt_prog_compiler_pic='-fPIC'
8427 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8428 # Instead, we relocate shared libraries at runtime.
8432 # Just because we use GCC doesn't mean we suddenly get shared libraries
8433 # on systems that don't support them.
8434 lt_prog_compiler_can_build_shared=no
8439 # QNX uses GNU C++, but need to define -shared option too, otherwise
8441 lt_prog_compiler_pic='-fPIC -shared'
8445 if test -d /usr/nec; then
8446 lt_prog_compiler_pic=-Kconform_pic
8451 lt_prog_compiler_pic='-fPIC'
8455 case $cc_basename in
8456 nvcc*) # Cuda Compiler Driver 2.2
8457 lt_prog_compiler_wl='-Xlinker '
8458 if test -n "$lt_prog_compiler_pic"; then
8459 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8464 # PORTME Check for flag to pass linker flags through the system compiler.
8467 lt_prog_compiler_wl='-Wl,'
8468 if test "$host_cpu" = ia64; then
8469 # AIX 5 now supports IA64 processor
8470 lt_prog_compiler_static='-Bstatic'
8472 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8476 mingw* | cygwin* | pw32* | os2* | cegcc*)
8477 # This hack is so that the source file can tell whether it is being
8478 # built for inclusion in a dll (and should export symbols for example).
8479 lt_prog_compiler_pic='-DDLL_EXPORT'
8482 hpux9* | hpux10* | hpux11*)
8483 lt_prog_compiler_wl='-Wl,'
8484 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8491 lt_prog_compiler_pic='+Z'
8494 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8495 lt_prog_compiler_static='${wl}-a ${wl}archive'
8498 irix5* | irix6* | nonstopux*)
8499 lt_prog_compiler_wl='-Wl,'
8500 # PIC (with -KPIC) is the default.
8501 lt_prog_compiler_static='-non_shared'
8504 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8505 case $cc_basename in
8506 # old Intel for x86_64 which still supported -KPIC.
8508 lt_prog_compiler_wl='-Wl,'
8509 lt_prog_compiler_pic='-KPIC'
8510 lt_prog_compiler_static='-static'
8512 # icc used to be incompatible with GCC.
8513 # ICC 10 doesn't accept -KPIC any more.
8515 lt_prog_compiler_wl='-Wl,'
8516 lt_prog_compiler_pic='-fPIC'
8517 lt_prog_compiler_static='-static'
8519 # Lahey Fortran 8.1.
8521 lt_prog_compiler_wl='-Wl,'
8522 lt_prog_compiler_pic='--shared'
8523 lt_prog_compiler_static='--static'
8526 # NAG Fortran compiler
8527 lt_prog_compiler_wl='-Wl,-Wl,,'
8528 lt_prog_compiler_pic='-PIC'
8529 lt_prog_compiler_static='-Bstatic'
8531 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8532 # Portland Group compilers (*not* the Pentium gcc compiler,
8533 # which looks to be a dead project)
8534 lt_prog_compiler_wl='-Wl,'
8535 lt_prog_compiler_pic='-fpic'
8536 lt_prog_compiler_static='-Bstatic'
8539 lt_prog_compiler_wl='-Wl,'
8540 # All Alpha code is PIC.
8541 lt_prog_compiler_static='-non_shared'
8543 xl* | bgxl* | bgf* | mpixl*)
8544 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_pic='-qpic'
8547 lt_prog_compiler_static='-qstaticlink'
8550 case `$CC -V 2>&1 | sed 5q` in
8551 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8552 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8553 lt_prog_compiler_pic='-KPIC'
8554 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_wl=''
8557 *Sun\ F* | *Sun*Fortran*)
8558 lt_prog_compiler_pic='-KPIC'
8559 lt_prog_compiler_static='-Bstatic'
8560 lt_prog_compiler_wl='-Qoption ld '
8564 lt_prog_compiler_pic='-KPIC'
8565 lt_prog_compiler_static='-Bstatic'
8566 lt_prog_compiler_wl='-Wl,'
8568 *Intel*\ [CF]*Compiler*)
8569 lt_prog_compiler_wl='-Wl,'
8570 lt_prog_compiler_pic='-fPIC'
8571 lt_prog_compiler_static='-static'
8574 lt_prog_compiler_wl='-Wl,'
8575 lt_prog_compiler_pic='-fpic'
8576 lt_prog_compiler_static='-Bstatic'
8584 lt_prog_compiler_pic='-KPIC'
8585 lt_prog_compiler_static='-Bstatic'
8589 # QNX uses GNU C++, but need to define -shared option too, otherwise
8591 lt_prog_compiler_pic='-fPIC -shared'
8594 osf3* | osf4* | osf5*)
8595 lt_prog_compiler_wl='-Wl,'
8596 # All OSF/1 code is PIC.
8597 lt_prog_compiler_static='-non_shared'
8601 lt_prog_compiler_static='-non_shared'
8605 lt_prog_compiler_pic='-KPIC'
8606 lt_prog_compiler_static='-Bstatic'
8607 case $cc_basename in
8608 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8609 lt_prog_compiler_wl='-Qoption ld ';;
8611 lt_prog_compiler_wl='-Wl,';;
8616 lt_prog_compiler_wl='-Qoption ld '
8617 lt_prog_compiler_pic='-PIC'
8618 lt_prog_compiler_static='-Bstatic'
8621 sysv4 | sysv4.2uw2* | sysv4.3*)
8622 lt_prog_compiler_wl='-Wl,'
8623 lt_prog_compiler_pic='-KPIC'
8624 lt_prog_compiler_static='-Bstatic'
8628 if test -d /usr/nec ;then
8629 lt_prog_compiler_pic='-Kconform_pic'
8630 lt_prog_compiler_static='-Bstatic'
8634 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8635 lt_prog_compiler_wl='-Wl,'
8636 lt_prog_compiler_pic='-KPIC'
8637 lt_prog_compiler_static='-Bstatic'
8641 lt_prog_compiler_wl='-Wl,'
8642 lt_prog_compiler_can_build_shared=no
8646 lt_prog_compiler_pic='-pic'
8647 lt_prog_compiler_static='-Bstatic'
8651 lt_prog_compiler_can_build_shared=no
8657 # For platforms which do not support PIC, -DPIC is meaningless:
8659 lt_prog_compiler_pic=
8662 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8667 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8668 if ${lt_cv_prog_compiler_pic+:} false; then :
8669 $as_echo_n "(cached) " >&6
8671 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8674 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8675 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8678 # Check to make sure the PIC flag actually works.
8680 if test -n "$lt_prog_compiler_pic"; then
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8682 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8683 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8684 $as_echo_n "(cached) " >&6
8686 lt_cv_prog_compiler_pic_works=no
8687 ac_outfile=conftest.$ac_objext
8688 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8689 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8690 # Insert the option either (1) after the last *FLAGS variable, or
8691 # (2) before a word containing "conftest.", or (3) at the end.
8692 # Note that $ac_compile itself does not contain backslashes and begins
8693 # with a dollar sign (not a hyphen), so the echo should work correctly.
8694 # The option is referenced via a variable to avoid confusing sed.
8695 lt_compile=`echo "$ac_compile" | $SED \
8696 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8697 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8698 -e 's:$: $lt_compiler_flag:'`
8699 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8700 (eval "$lt_compile" 2>conftest.err)
8702 cat conftest.err >&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 if (exit $ac_status) && test -s "$ac_outfile"; then
8705 # The compiler can only warn and ignore the option if not recognized
8706 # So say no if there are warnings other than the usual output.
8707 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8708 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8709 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8710 lt_cv_prog_compiler_pic_works=yes
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8717 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8719 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8720 case $lt_prog_compiler_pic in
8722 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8725 lt_prog_compiler_pic=
8726 lt_prog_compiler_can_build_shared=no
8742 # Check to make sure the static flag actually works.
8744 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8746 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8747 if ${lt_cv_prog_compiler_static_works+:} false; then :
8748 $as_echo_n "(cached) " >&6
8750 lt_cv_prog_compiler_static_works=no
8751 save_LDFLAGS="$LDFLAGS"
8752 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8753 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8754 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8755 # The linker can only warn and ignore the option if not recognized
8756 # So say no if there are warnings
8757 if test -s conftest.err; then
8758 # Append any errors to the config.log.
8759 cat conftest.err 1>&5
8760 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8761 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8762 if diff conftest.exp conftest.er2 >/dev/null; then
8763 lt_cv_prog_compiler_static_works=yes
8766 lt_cv_prog_compiler_static_works=yes
8770 LDFLAGS="$save_LDFLAGS"
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8774 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8776 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8779 lt_prog_compiler_static=
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8789 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8790 if ${lt_cv_prog_compiler_c_o+:} false; then :
8791 $as_echo_n "(cached) " >&6
8793 lt_cv_prog_compiler_c_o=no
8794 $RM -r conftest 2>/dev/null
8798 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8800 lt_compiler_flag="-o out/conftest2.$ac_objext"
8801 # Insert the option either (1) after the last *FLAGS variable, or
8802 # (2) before a word containing "conftest.", or (3) at the end.
8803 # Note that $ac_compile itself does not contain backslashes and begins
8804 # with a dollar sign (not a hyphen), so the echo should work correctly.
8805 lt_compile=`echo "$ac_compile" | $SED \
8806 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8808 -e 's:$: $lt_compiler_flag:'`
8809 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8810 (eval "$lt_compile" 2>out/conftest.err)
8812 cat out/conftest.err >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8816 # The compiler can only warn and ignore the option if not recognized
8817 # So say no if there are warnings
8818 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8819 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8820 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8821 lt_cv_prog_compiler_c_o=yes
8826 # SGI C++ compiler will create directory out/ii_files/ for
8827 # template instantiation
8828 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8829 $RM out/* && rmdir out
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8836 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8844 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8845 if ${lt_cv_prog_compiler_c_o+:} false; then :
8846 $as_echo_n "(cached) " >&6
8848 lt_cv_prog_compiler_c_o=no
8849 $RM -r conftest 2>/dev/null
8853 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8855 lt_compiler_flag="-o out/conftest2.$ac_objext"
8856 # Insert the option either (1) after the last *FLAGS variable, or
8857 # (2) before a word containing "conftest.", or (3) at the end.
8858 # Note that $ac_compile itself does not contain backslashes and begins
8859 # with a dollar sign (not a hyphen), so the echo should work correctly.
8860 lt_compile=`echo "$ac_compile" | $SED \
8861 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8862 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8863 -e 's:$: $lt_compiler_flag:'`
8864 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8865 (eval "$lt_compile" 2>out/conftest.err)
8867 cat out/conftest.err >&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8871 # The compiler can only warn and ignore the option if not recognized
8872 # So say no if there are warnings
8873 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8874 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8875 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8876 lt_cv_prog_compiler_c_o=yes
8881 # SGI C++ compiler will create directory out/ii_files/ for
8882 # template instantiation
8883 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8884 $RM out/* && rmdir out
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8891 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8896 hard_links="nottested"
8897 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8898 # do not overwrite the value of need_locks provided by the user
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8900 $as_echo_n "checking if we can lock with hard links... " >&6; }
8903 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8905 ln conftest.a conftest.b 2>&5 || hard_links=no
8906 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8908 $as_echo "$hard_links" >&6; }
8909 if test "$hard_links" = no; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8911 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8924 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8927 allow_undefined_flag=
8928 always_export_symbols=no
8930 archive_expsym_cmds=
8931 compiler_needs_object=no
8932 enable_shared_with_static_runtimes=no
8933 export_dynamic_flag_spec=
8934 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8935 hardcode_automatic=no
8937 hardcode_direct_absolute=no
8938 hardcode_libdir_flag_spec=
8939 hardcode_libdir_separator=
8941 hardcode_shlibpath_var=unsupported
8943 link_all_deplibs=unknown
8946 old_archive_from_new_cmds=
8947 old_archive_from_expsyms_cmds=
8948 thread_safe_flag_spec=
8949 whole_archive_flag_spec=
8950 # include_expsyms should be a list of space-separated symbols to be *always*
8951 # included in the symbol list
8953 # exclude_expsyms can be an extended regexp of symbols to exclude
8954 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8955 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8956 # as well as any symbol that contains `d'.
8957 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8958 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8959 # platforms (ab)use it in PIC code, but their linkers get confused if
8960 # the symbol is explicitly referenced. Since portable code cannot
8961 # rely on this symbol name, it's probably fine to never include it in
8962 # preloaded symbol tables.
8963 # Exclude shared library initialization/finalization symbols.
8964 extract_expsyms_cmds=
8967 cygwin* | mingw* | pw32* | cegcc*)
8968 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8969 # When not using gcc, we currently assume that we are using
8970 # Microsoft Visual C++.
8971 if test "$GCC" != yes; then
8976 # we just hope/assume this is gcc and not c89 (= MSVC++)
8982 linux* | k*bsd*-gnu | gnu*)
8989 # On some targets, GNU ld is compatible enough with the native linker
8990 # that we're better off using the native interface for both.
8991 lt_use_gnu_ld_interface=no
8992 if test "$with_gnu_ld" = yes; then
8995 # The AIX port of GNU ld has always aspired to compatibility
8996 # with the native linker. However, as the warning in the GNU ld
8997 # block says, versions before 2.19.5* couldn't really create working
8998 # shared libraries, regardless of the interface used.
8999 case `$LD -v 2>&1` in
9000 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9001 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9002 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9004 lt_use_gnu_ld_interface=yes
9009 lt_use_gnu_ld_interface=yes
9014 if test "$lt_use_gnu_ld_interface" = yes; then
9015 # If archive_cmds runs LD, not CC, wlarc should be empty
9018 # Set some defaults for GNU ld with shared library support. These
9019 # are reset later if shared libraries are not supported. Putting them
9020 # here allows them to be overridden if necessary.
9021 runpath_var=LD_RUN_PATH
9022 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9023 export_dynamic_flag_spec='${wl}--export-dynamic'
9024 # ancient GNU ld didn't support --whole-archive et. al.
9025 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9026 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9028 whole_archive_flag_spec=
9030 supports_anon_versioning=no
9031 case `$LD -v 2>&1` in
9032 *GNU\ gold*) supports_anon_versioning=yes ;;
9033 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9034 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9035 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9036 *\ 2.11.*) ;; # other 2.11 versions
9037 *) supports_anon_versioning=yes ;;
9040 # See if GNU ld supports shared libraries.
9043 # On AIX/PPC, the GNU linker is very broken
9044 if test "$host_cpu" != ia64; then
9048 *** Warning: the GNU linker, at least up to release 2.19, is reported
9049 *** to be unable to reliably create shared libraries on AIX.
9050 *** Therefore, libtool is disabling shared libraries support. If you
9051 *** really care for shared libraries, you may want to install binutils
9052 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9053 *** You will then need to restart the configuration process.
9062 # see comment about AmigaOS4 .so support
9063 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9064 archive_expsym_cmds=''
9067 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)'
9068 hardcode_libdir_flag_spec='-L$libdir'
9069 hardcode_minus_L=yes
9075 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9076 allow_undefined_flag=unsupported
9077 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9078 # support --undefined. This deserves some investigation. FIXME
9079 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9085 cygwin* | mingw* | pw32* | cegcc*)
9086 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9087 # as there is no search path for DLLs.
9088 hardcode_libdir_flag_spec='-L$libdir'
9089 export_dynamic_flag_spec='${wl}--export-all-symbols'
9090 allow_undefined_flag=unsupported
9091 always_export_symbols=no
9092 enable_shared_with_static_runtimes=yes
9093 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9094 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9096 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9097 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9098 # If the export-symbols file already is a .def file (1st line
9099 # is EXPORTS), use it as is; otherwise, prepend...
9100 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9101 cp $export_symbols $output_objdir/$soname.def;
9103 echo EXPORTS > $output_objdir/$soname.def;
9104 cat $export_symbols >> $output_objdir/$soname.def;
9106 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9113 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9114 link_all_deplibs=yes
9119 hardcode_shlibpath_var=no
9120 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9121 export_dynamic_flag_spec='${wl}-E'
9122 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9123 # Instead, shared libraries are loaded at an image base (0x10000000 by
9124 # default) and relocated if they conflict, which is a slow very memory
9125 # consuming and fragmenting process. To avoid this, we pick a random,
9126 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9127 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9128 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9129 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'
9132 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9134 if test "$host_os" = linux-dietlibc; then
9135 case $cc_basename in
9136 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9139 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9140 && test "$tmp_diet" = no
9142 tmp_addflag=' $pic_flag'
9143 tmp_sharedflag='-shared'
9144 case $cc_basename,$host_cpu in
9145 pgcc*) # Portland Group C compiler
9146 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9147 tmp_addflag=' $pic_flag'
9149 pgf77* | pgf90* | pgf95* | pgfortran*)
9150 # Portland Group f77 and f90 compilers
9151 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9152 tmp_addflag=' $pic_flag -Mnomain' ;;
9153 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9154 tmp_addflag=' -i_dynamic' ;;
9155 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9156 tmp_addflag=' -i_dynamic -nofor_main' ;;
9157 ifc* | ifort*) # Intel Fortran compiler
9158 tmp_addflag=' -nofor_main' ;;
9159 lf95*) # Lahey Fortran 8.1
9160 whole_archive_flag_spec=
9161 tmp_sharedflag='--shared' ;;
9162 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9163 tmp_sharedflag='-qmkshrobj'
9165 nvcc*) # Cuda Compiler Driver 2.2
9166 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9167 compiler_needs_object=yes
9170 case `$CC -V 2>&1 | sed 5q` in
9171 *Sun\ C*) # Sun C 5.9
9172 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9173 compiler_needs_object=yes
9174 tmp_sharedflag='-G' ;;
9175 *Sun\ F*) # Sun Fortran 8.3
9176 tmp_sharedflag='-G' ;;
9178 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9180 if test "x$supports_anon_versioning" = xyes; then
9181 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9182 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9183 echo "local: *; };" >> $output_objdir/$libname.ver~
9184 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9187 case $cc_basename in
9188 xlf* | bgf* | bgxlf* | mpixlf*)
9189 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9190 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9191 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9192 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9193 if test "x$supports_anon_versioning" = xyes; then
9194 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9195 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9196 echo "local: *; };" >> $output_objdir/$libname.ver~
9197 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9206 netbsd* | netbsdelf*-gnu)
9207 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9208 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9211 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9212 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9217 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9221 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9222 *** create shared libraries on Solaris systems. Therefore, libtool
9223 *** is disabling shared libraries support. We urge you to upgrade GNU
9224 *** binutils to release 2.9.1 or newer. Another option is to modify
9225 *** your PATH or compiler configuration so that the native linker is
9226 *** used, and then restart.
9229 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9230 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9237 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9238 case `$LD -v 2>&1` in
9239 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9243 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9244 *** reliably create shared libraries on SCO systems. Therefore, libtool
9245 *** is disabling shared libraries support. We urge you to upgrade GNU
9246 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9247 *** your PATH or compiler configuration so that the native linker is
9248 *** used, and then restart.
9253 # For security reasons, it is highly recommended that you always
9254 # use absolute paths for naming shared libraries, and exclude the
9255 # DT_RUNPATH tag from executables and libraries. But doing so
9256 # requires that you compile everything twice, which is a pain.
9257 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9258 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9259 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9260 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9269 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9272 hardcode_shlibpath_var=no
9276 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9277 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9278 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9285 if test "$ld_shlibs" = no; then
9287 hardcode_libdir_flag_spec=
9288 export_dynamic_flag_spec=
9289 whole_archive_flag_spec=
9292 # PORTME fill in a description of your system's linker (not GNU ld)
9295 allow_undefined_flag=unsupported
9296 always_export_symbols=yes
9297 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'
9298 # Note: this linker hardcodes the directories in LIBPATH if there
9299 # are no directories specified by -L.
9300 hardcode_minus_L=yes
9301 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9302 # Neither direct hardcoding nor static linking is supported with a
9304 hardcode_direct=unsupported
9309 if test "$host_cpu" = ia64; then
9310 # On IA64, the linker does run time linking by default, so we don't
9311 # have to do anything special.
9312 aix_use_runtimelinking=no
9313 exp_sym_flag='-Bexport'
9316 # If we're using GNU nm, then we don't want the "-C" option.
9317 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9318 # Also, AIX nm treats weak defined symbols like other global
9319 # defined symbols, whereas GNU nm marks them as "W".
9320 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9321 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9323 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'
9325 aix_use_runtimelinking=no
9327 # Test if we are trying to use run time linking or normal
9328 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9329 # need to do runtime linking.
9330 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9331 for ld_flag in $LDFLAGS; do
9332 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9333 aix_use_runtimelinking=yes
9340 exp_sym_flag='-bexport'
9341 no_entry_flag='-bnoentry'
9344 # When large executables or shared objects are built, AIX ld can
9345 # have problems creating the table of contents. If linking a library
9346 # or program results in "error TOC overflow" add -mminimal-toc to
9347 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9348 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9352 hardcode_direct_absolute=yes
9353 hardcode_libdir_separator=':'
9354 link_all_deplibs=yes
9355 file_list_spec='${wl}-f,'
9357 if test "$GCC" = yes; then
9358 case $host_os in aix4.[012]|aix4.[012].*)
9359 # We only want to do this on AIX 4.2 and lower, the check
9360 # below for broken collect2 doesn't work under 4.3+
9361 collect2name=`${CC} -print-prog-name=collect2`
9362 if test -f "$collect2name" &&
9363 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9365 # We have reworked collect2
9368 # We have old collect2
9369 hardcode_direct=unsupported
9370 # It fails to find uninstalled libraries when the uninstalled
9371 # path is not listed in the libpath. Setting hardcode_minus_L
9372 # to unsupported forces relinking
9373 hardcode_minus_L=yes
9374 hardcode_libdir_flag_spec='-L$libdir'
9375 hardcode_libdir_separator=
9379 shared_flag='-shared'
9380 if test "$aix_use_runtimelinking" = yes; then
9381 shared_flag="$shared_flag "'${wl}-G'
9386 if test "$host_cpu" = ia64; then
9387 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9388 # chokes on -Wl,-G. The following line is correct:
9391 if test "$aix_use_runtimelinking" = yes; then
9392 shared_flag='${wl}-G'
9394 shared_flag='${wl}-bM:SRE'
9399 export_dynamic_flag_spec='${wl}-bexpall'
9400 # It seems that -bexpall does not export symbols beginning with
9401 # underscore (_), so it is better to generate a list of symbols to export.
9402 always_export_symbols=yes
9403 if test "$aix_use_runtimelinking" = yes; then
9404 # Warning - without using the other runtime loading flags (-brtl),
9405 # -berok will link without error, but may produce a broken library.
9406 allow_undefined_flag='-berok'
9407 # Determine the default libpath from the value encoded in an
9409 if test "${lt_cv_aix_libpath+set}" = set; then
9410 aix_libpath=$lt_cv_aix_libpath
9412 if ${lt_cv_aix_libpath_+:} false; then :
9413 $as_echo_n "(cached) " >&6
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9426 if ac_fn_c_try_link "$LINENO"; then :
9428 lt_aix_libpath_sed='
9429 /Import File Strings/,/^$/ {
9431 s/^0 *\([^ ]*\) *$/\1/
9435 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9436 # Check for a 64-bit object if we didn't find anything.
9437 if test -z "$lt_cv_aix_libpath_"; then
9438 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9441 rm -f core conftest.err conftest.$ac_objext \
9442 conftest$ac_exeext conftest.$ac_ext
9443 if test -z "$lt_cv_aix_libpath_"; then
9444 lt_cv_aix_libpath_="/usr/lib:/lib"
9449 aix_libpath=$lt_cv_aix_libpath_
9452 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9453 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9455 if test "$host_cpu" = ia64; then
9456 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9457 allow_undefined_flag="-z nodefs"
9458 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"
9460 # Determine the default libpath from the value encoded in an
9462 if test "${lt_cv_aix_libpath+set}" = set; then
9463 aix_libpath=$lt_cv_aix_libpath
9465 if ${lt_cv_aix_libpath_+:} false; then :
9466 $as_echo_n "(cached) " >&6
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9479 if ac_fn_c_try_link "$LINENO"; then :
9481 lt_aix_libpath_sed='
9482 /Import File Strings/,/^$/ {
9484 s/^0 *\([^ ]*\) *$/\1/
9488 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9489 # Check for a 64-bit object if we didn't find anything.
9490 if test -z "$lt_cv_aix_libpath_"; then
9491 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 if test -z "$lt_cv_aix_libpath_"; then
9497 lt_cv_aix_libpath_="/usr/lib:/lib"
9502 aix_libpath=$lt_cv_aix_libpath_
9505 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9506 # Warning - without using the other run time loading flags,
9507 # -berok will link without error, but may produce a broken library.
9508 no_undefined_flag=' ${wl}-bernotok'
9509 allow_undefined_flag=' ${wl}-berok'
9510 if test "$with_gnu_ld" = yes; then
9511 # We only use this code for GNU lds that support --whole-archive.
9512 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9514 # Exported symbols can be pulled into shared objects from archives
9515 whole_archive_flag_spec='$convenience'
9517 archive_cmds_need_lc=yes
9518 # This is similar to how AIX traditionally builds its shared libraries.
9519 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'
9527 # see comment about AmigaOS4 .so support
9528 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9529 archive_expsym_cmds=''
9532 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)'
9533 hardcode_libdir_flag_spec='-L$libdir'
9534 hardcode_minus_L=yes
9540 export_dynamic_flag_spec=-rdynamic
9543 cygwin* | mingw* | pw32* | cegcc*)
9544 # When not using gcc, we currently assume that we are using
9545 # Microsoft Visual C++.
9546 # hardcode_libdir_flag_spec is actually meaningless, as there is
9547 # no search path for DLLs.
9548 case $cc_basename in
9551 hardcode_libdir_flag_spec=' '
9552 allow_undefined_flag=unsupported
9553 always_export_symbols=yes
9555 # Tell ltmain to make .lib files, not .a files.
9557 # Tell ltmain to make .dll files, not .so files.
9559 # FIXME: Setting linknames here is a bad hack.
9560 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9561 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9562 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9564 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9566 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9568 # The linker will not automatically build a static lib if we build a DLL.
9569 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9570 enable_shared_with_static_runtimes=yes
9571 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9572 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9574 old_postinstall_cmds='chmod 644 $oldlib'
9575 postlink_cmds='lt_outputfile="@OUTPUT@"~
9576 lt_tool_outputfile="@TOOL_OUTPUT@"~
9577 case $lt_outputfile in
9580 lt_outputfile="$lt_outputfile.exe"
9581 lt_tool_outputfile="$lt_tool_outputfile.exe"
9584 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9585 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9586 $RM "$lt_outputfile.manifest";
9590 # Assume MSVC wrapper
9591 hardcode_libdir_flag_spec=' '
9592 allow_undefined_flag=unsupported
9593 # Tell ltmain to make .lib files, not .a files.
9595 # Tell ltmain to make .dll files, not .so files.
9597 # FIXME: Setting linknames here is a bad hack.
9598 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9599 # The linker will automatically build a .lib file if we build a DLL.
9600 old_archive_from_new_cmds='true'
9601 # FIXME: Should let the user specify the lib program.
9602 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9603 enable_shared_with_static_runtimes=yes
9608 darwin* | rhapsody*)
9611 archive_cmds_need_lc=no
9613 hardcode_automatic=yes
9614 hardcode_shlibpath_var=unsupported
9615 if test "$lt_cv_ld_force_load" = "yes"; then
9616 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9619 whole_archive_flag_spec=''
9621 link_all_deplibs=yes
9622 allow_undefined_flag="$_lt_dar_allow_undefined"
9623 case $cc_basename in
9624 ifort*) _lt_dar_can_shared=yes ;;
9625 *) _lt_dar_can_shared=$GCC ;;
9627 if test "$_lt_dar_can_shared" = "yes"; then
9628 output_verbose_link_cmd=func_echo_all
9629 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9630 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9631 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}"
9632 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}"
9641 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9642 hardcode_libdir_flag_spec='-L$libdir'
9643 hardcode_shlibpath_var=no
9646 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9647 # support. Future versions do this automatically, but an explicit c++rt0.o
9648 # does not break anything, and helps significantly (at the cost of a little
9651 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9652 hardcode_libdir_flag_spec='-R$libdir'
9654 hardcode_shlibpath_var=no
9657 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9659 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9661 hardcode_minus_L=yes
9662 hardcode_shlibpath_var=no
9665 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9666 freebsd* | dragonfly*)
9667 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9668 hardcode_libdir_flag_spec='-R$libdir'
9670 hardcode_shlibpath_var=no
9674 if test "$GCC" = yes; then
9675 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9677 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'
9679 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9680 hardcode_libdir_separator=:
9683 # hardcode_minus_L: Not really in the search PATH,
9684 # but as the default location of the library.
9685 hardcode_minus_L=yes
9686 export_dynamic_flag_spec='${wl}-E'
9690 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9691 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9693 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9695 if test "$with_gnu_ld" = no; then
9696 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9697 hardcode_libdir_separator=:
9699 hardcode_direct_absolute=yes
9700 export_dynamic_flag_spec='${wl}-E'
9701 # hardcode_minus_L: Not really in the search PATH,
9702 # but as the default location of the library.
9703 hardcode_minus_L=yes
9708 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9711 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9714 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9723 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9726 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9730 # Older versions of the 11.00 compiler do not understand -b yet
9731 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9733 $as_echo_n "checking if $CC understands -b... " >&6; }
9734 if ${lt_cv_prog_compiler__b+:} false; then :
9735 $as_echo_n "(cached) " >&6
9737 lt_cv_prog_compiler__b=no
9738 save_LDFLAGS="$LDFLAGS"
9739 LDFLAGS="$LDFLAGS -b"
9740 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9741 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9742 # The linker can only warn and ignore the option if not recognized
9743 # So say no if there are warnings
9744 if test -s conftest.err; then
9745 # Append any errors to the config.log.
9746 cat conftest.err 1>&5
9747 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9748 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9749 if diff conftest.exp conftest.er2 >/dev/null; then
9750 lt_cv_prog_compiler__b=yes
9753 lt_cv_prog_compiler__b=yes
9757 LDFLAGS="$save_LDFLAGS"
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9761 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9763 if test x"$lt_cv_prog_compiler__b" = xyes; then
9764 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9766 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9772 if test "$with_gnu_ld" = no; then
9773 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9774 hardcode_libdir_separator=:
9779 hardcode_shlibpath_var=no
9783 hardcode_direct_absolute=yes
9784 export_dynamic_flag_spec='${wl}-E'
9786 # hardcode_minus_L: Not really in the search PATH,
9787 # but as the default location of the library.
9788 hardcode_minus_L=yes
9794 irix5* | irix6* | nonstopux*)
9795 if test "$GCC" = yes; then
9796 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9797 # Try to use the -exported_symbol ld option, if it does not
9798 # work, assume that -exports_file does not work either and
9799 # implicitly export all symbols.
9800 # This should be the same for all languages, so no per-tag cache variable.
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9802 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9803 if ${lt_cv_irix_exported_symbol+:} false; then :
9804 $as_echo_n "(cached) " >&6
9806 save_LDFLAGS="$LDFLAGS"
9807 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9810 int foo (void) { return 0; }
9812 if ac_fn_c_try_link "$LINENO"; then :
9813 lt_cv_irix_exported_symbol=yes
9815 lt_cv_irix_exported_symbol=no
9817 rm -f core conftest.err conftest.$ac_objext \
9818 conftest$ac_exeext conftest.$ac_ext
9819 LDFLAGS="$save_LDFLAGS"
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9822 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9823 if test "$lt_cv_irix_exported_symbol" = yes; then
9824 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9827 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9828 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9830 archive_cmds_need_lc='no'
9831 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9832 hardcode_libdir_separator=:
9834 link_all_deplibs=yes
9837 netbsd* | netbsdelf*-gnu)
9838 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9839 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9841 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9843 hardcode_libdir_flag_spec='-R$libdir'
9845 hardcode_shlibpath_var=no
9849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9851 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9852 hardcode_libdir_separator=:
9853 hardcode_shlibpath_var=no
9860 if test -f /usr/libexec/ld.so; then
9862 hardcode_shlibpath_var=no
9863 hardcode_direct_absolute=yes
9864 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9865 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9866 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9867 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9868 export_dynamic_flag_spec='${wl}-E'
9871 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9872 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9873 hardcode_libdir_flag_spec='-R$libdir'
9876 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9877 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9887 hardcode_libdir_flag_spec='-L$libdir'
9888 hardcode_minus_L=yes
9889 allow_undefined_flag=unsupported
9890 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'
9891 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9895 if test "$GCC" = yes; then
9896 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9897 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9899 allow_undefined_flag=' -expect_unresolved \*'
9900 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9902 archive_cmds_need_lc='no'
9903 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9904 hardcode_libdir_separator=:
9907 osf4* | osf5*) # as osf3* with the addition of -msym flag
9908 if test "$GCC" = yes; then
9909 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9910 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9911 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9913 allow_undefined_flag=' -expect_unresolved \*'
9914 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9915 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~
9916 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9918 # Both c and cxx compiler support -rpath directly
9919 hardcode_libdir_flag_spec='-rpath $libdir'
9921 archive_cmds_need_lc='no'
9922 hardcode_libdir_separator=:
9926 no_undefined_flag=' -z defs'
9927 if test "$GCC" = yes; then
9929 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9931 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9933 case `$CC -V 2>&1` in
9936 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9937 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9938 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9942 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9944 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9948 hardcode_libdir_flag_spec='-R$libdir'
9949 hardcode_shlibpath_var=no
9951 solaris2.[0-5] | solaris2.[0-5].*) ;;
9953 # The compiler driver will combine and reorder linker options,
9954 # but understands `-z linker_flag'. GCC discards it without `$wl',
9955 # but is careful enough not to reorder.
9956 # Supported since Solaris 2.6 (maybe 2.5.1?)
9957 if test "$GCC" = yes; then
9958 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9960 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9964 link_all_deplibs=yes
9968 if test "x$host_vendor" = xsequent; then
9969 # Use $CC to link under sequent, because it throws in some extra .o
9970 # files that make .init and .fini sections work.
9971 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9973 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9975 hardcode_libdir_flag_spec='-L$libdir'
9977 hardcode_minus_L=yes
9978 hardcode_shlibpath_var=no
9982 case $host_vendor in
9984 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985 hardcode_direct=yes # is this really true???
9988 ## LD is ld it makes a PLAMLIB
9989 ## CC just makes a GrossModule.
9990 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9991 reload_cmds='$CC -r -o $output$reload_objs'
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9999 runpath_var='LD_RUN_PATH'
10000 hardcode_shlibpath_var=no
10004 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005 hardcode_shlibpath_var=no
10006 export_dynamic_flag_spec='-Bexport'
10010 if test -d /usr/nec; then
10011 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_shlibpath_var=no
10013 runpath_var=LD_RUN_PATH
10014 hardcode_runpath_var=yes
10019 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10020 no_undefined_flag='${wl}-z,text'
10021 archive_cmds_need_lc=no
10022 hardcode_shlibpath_var=no
10023 runpath_var='LD_RUN_PATH'
10025 if test "$GCC" = yes; then
10026 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10029 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10030 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10034 sysv5* | sco3.2v5* | sco5v6*)
10035 # Note: We can NOT use -z defs as we might desire, because we do not
10036 # link with -lc, and that would cause any symbols used from libc to
10037 # always be unresolved, which means just about no library would
10038 # ever link correctly. If we're not using GNU ld we use -z text
10039 # though, which does catch some bad symbols but isn't as heavy-handed
10041 no_undefined_flag='${wl}-z,text'
10042 allow_undefined_flag='${wl}-z,nodefs'
10043 archive_cmds_need_lc=no
10044 hardcode_shlibpath_var=no
10045 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10046 hardcode_libdir_separator=':'
10047 link_all_deplibs=yes
10048 export_dynamic_flag_spec='${wl}-Bexport'
10049 runpath_var='LD_RUN_PATH'
10051 if test "$GCC" = yes; then
10052 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10055 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10056 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10061 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062 hardcode_libdir_flag_spec='-L$libdir'
10063 hardcode_shlibpath_var=no
10071 if test x$host_vendor = xsni; then
10073 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10074 export_dynamic_flag_spec='${wl}-Blargedynsym'
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10081 $as_echo "$ld_shlibs" >&6; }
10082 test "$ld_shlibs" = no && can_build_shared=no
10084 with_gnu_ld=$with_gnu_ld
10101 # Do we need to explicitly link libc?
10103 case "x$archive_cmds_need_lc" in
10105 # Assume -lc should be added
10106 archive_cmds_need_lc=yes
10108 if test "$enable_shared" = yes && test "$GCC" = yes; then
10109 case $archive_cmds in
10111 # FIXME: we may have to deal with multi-command sequences.
10114 # Test whether the compiler implicitly links with -lc since on some
10115 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10116 # to ld, don't add -lc before -lgcc.
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10118 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10119 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10120 $as_echo_n "(cached) " >&6
10123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10126 (eval $ac_compile) 2>&5
10128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10129 test $ac_status = 0; } 2>conftest.err; then
10132 libobjs=conftest.$ac_objext
10134 wl=$lt_prog_compiler_wl
10135 pic_flag=$lt_prog_compiler_pic
10141 lt_save_allow_undefined_flag=$allow_undefined_flag
10142 allow_undefined_flag=
10143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10144 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10147 test $ac_status = 0; }
10149 lt_cv_archive_cmds_need_lc=no
10151 lt_cv_archive_cmds_need_lc=yes
10153 allow_undefined_flag=$lt_save_allow_undefined_flag
10155 cat conftest.err 1>&5
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10161 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10162 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10321 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10323 if test "$GCC" = yes; then
10325 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10326 *) lt_awk_arg="/^libraries:/" ;;
10329 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10330 *) lt_sed_strip_eq="s,=/,/,g" ;;
10332 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10333 case $lt_search_path_spec in
10335 # if the path contains ";" then we assume it to be the separator
10336 # otherwise default to the standard path separator (i.e. ":") - it is
10337 # assumed that no part of a normal pathname contains ";" but that should
10338 # okay in the real world where ";" in dirpaths is itself problematic.
10339 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10342 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10345 # Ok, now we have the path, separated by spaces, we can step through it
10346 # and add multilib dir if necessary.
10347 lt_tmp_lt_search_path_spec=
10348 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10349 for lt_sys_path in $lt_search_path_spec; do
10350 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10351 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10353 test -d "$lt_sys_path" && \
10354 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10357 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10358 BEGIN {RS=" "; FS="/|\n";} {
10361 for (lt_i = NF; lt_i > 0; lt_i--) {
10362 if ($lt_i != "" && $lt_i != ".") {
10363 if ($lt_i == "..") {
10366 if (lt_count == 0) {
10367 lt_foo="/" $lt_i lt_foo;
10374 if (lt_foo != "") { lt_freq[lt_foo]++; }
10375 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10377 # AWK program above erroneously prepends '/' to C:/dos/paths
10380 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10381 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10383 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10385 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10387 library_names_spec=
10388 libname_spec='lib$name'
10392 postuninstall_cmds=
10396 shlibpath_overrides_runpath=unknown
10398 dynamic_linker="$host_os ld.so"
10399 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10400 need_lib_prefix=unknown
10401 hardcode_into_libs=no
10403 # when you set need_version to no, make sure it does not cause -set_version
10404 # flags to be left without arguments
10405 need_version=unknown
10409 version_type=linux # correct to gnu/linux during the next big refactor
10410 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10411 shlibpath_var=LIBPATH
10413 # AIX 3 has no versioning support, so we append a major version to the name.
10414 soname_spec='${libname}${release}${shared_ext}$major'
10418 version_type=linux # correct to gnu/linux during the next big refactor
10421 hardcode_into_libs=yes
10422 if test "$host_cpu" = ia64; then
10423 # AIX 5 supports IA64
10424 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10425 shlibpath_var=LD_LIBRARY_PATH
10427 # With GCC up to 2.95.x, collect2 would create an import file
10428 # for dependence libraries. The import file would start with
10429 # the line `#! .'. This would cause the generated library to
10430 # depend on `.', always an invalid library. This was fixed in
10431 # development snapshots of GCC prior to 3.0.
10433 aix4 | aix4.[01] | aix4.[01].*)
10434 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10436 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10439 can_build_shared=no
10443 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10444 # soname into executable. Probably we can add versioning support to
10445 # collect2, so additional links can be useful in future.
10446 if test "$aix_use_runtimelinking" = yes; then
10447 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10448 # instead of lib<name>.a to let people know that these are not
10449 # typical AIX shared libraries.
10450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452 # We preserve .a as extension for shared libraries through AIX4.2
10453 # and later when we are not doing run time linking.
10454 library_names_spec='${libname}${release}.a $libname.a'
10455 soname_spec='${libname}${release}${shared_ext}$major'
10457 shlibpath_var=LIBPATH
10464 # Since July 2007 AmigaOS4 officially supports .so libraries.
10465 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10469 library_names_spec='$libname.ixlibrary $libname.a'
10470 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10471 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10477 library_names_spec='${libname}${shared_ext}'
10478 dynamic_linker="$host_os ld.so"
10479 shlibpath_var=LIBRARY_PATH
10483 version_type=linux # correct to gnu/linux during the next big refactor
10485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10486 soname_spec='${libname}${release}${shared_ext}$major'
10487 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10488 shlibpath_var=LD_LIBRARY_PATH
10489 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10490 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10491 # the default ld.so.conf also contains /usr/contrib/lib and
10492 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10493 # libtool to hard-code these into programs
10496 cygwin* | mingw* | pw32* | cegcc*)
10497 version_type=windows
10502 case $GCC,$cc_basename in
10505 library_names_spec='$libname.dll.a'
10506 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10507 postinstall_cmds='base_file=`basename \${file}`~
10508 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10509 dldir=$destdir/`dirname \$dlpath`~
10510 test -d \$dldir || mkdir -p \$dldir~
10511 $install_prog $dir/$dlname \$dldir/$dlname~
10512 chmod a+x \$dldir/$dlname~
10513 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10514 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10516 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10517 dlpath=$dir/\$dldll~
10519 shlibpath_overrides_runpath=yes
10523 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10524 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10526 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10529 # MinGW DLLs use traditional 'lib' prefix
10530 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10533 # pw32 DLLs use 'pw' prefix rather than 'lib'
10534 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10537 dynamic_linker='Win32 ld.exe'
10542 libname_spec='$name'
10543 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10544 library_names_spec='${libname}.dll.lib'
10548 sys_lib_search_path_spec=
10551 for lt_path in $LIB
10554 # Let DOS variable expansion print the short 8.3 style file name.
10555 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10556 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10559 # Convert to MSYS style.
10560 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10563 # Convert to unix form, then to dos form, then back to unix form
10564 # but this time dos style (no spaces!) so that the unix form looks
10565 # like /cygdrive/c/PROGRA~1:/cygdr...
10566 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10567 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10568 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10571 sys_lib_search_path_spec="$LIB"
10572 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10573 # It is most probably a Windows format PATH.
10574 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10576 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10578 # FIXME: find the short name or the path components, as spaces are
10579 # common. (e.g. "Program Files" -> "PROGRA~1")
10583 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10584 postinstall_cmds='base_file=`basename \${file}`~
10585 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10586 dldir=$destdir/`dirname \$dlpath`~
10587 test -d \$dldir || mkdir -p \$dldir~
10588 $install_prog $dir/$dlname \$dldir/$dlname'
10589 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10590 dlpath=$dir/\$dldll~
10592 shlibpath_overrides_runpath=yes
10593 dynamic_linker='Win32 link.exe'
10597 # Assume MSVC wrapper
10598 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10599 dynamic_linker='Win32 ld.exe'
10602 # FIXME: first we should search . and the directory the executable is in
10606 darwin* | rhapsody*)
10607 dynamic_linker="$host_os dyld"
10608 version_type=darwin
10611 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10612 soname_spec='${libname}${release}${major}$shared_ext'
10613 shlibpath_overrides_runpath=yes
10614 shlibpath_var=DYLD_LIBRARY_PATH
10615 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10617 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10618 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10622 version_type=linux # correct to gnu/linux during the next big refactor
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10626 soname_spec='${libname}${release}${shared_ext}$major'
10627 shlibpath_var=LD_LIBRARY_PATH
10630 freebsd* | dragonfly*)
10631 # DragonFly does not have aout. When/if they implement a new
10632 # versioning mechanism, adjust this.
10633 if test -x /usr/bin/objformat; then
10634 objformat=`/usr/bin/objformat`
10637 freebsd[23].*) objformat=aout ;;
10638 *) objformat=elf ;;
10641 version_type=freebsd-$objformat
10642 case $version_type in
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10653 shlibpath_var=LD_LIBRARY_PATH
10656 shlibpath_overrides_runpath=yes
10658 freebsd3.[01]* | freebsdelf3.[01]*)
10659 shlibpath_overrides_runpath=yes
10660 hardcode_into_libs=yes
10662 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10663 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10664 shlibpath_overrides_runpath=no
10665 hardcode_into_libs=yes
10667 *) # from 4.6 on, and DragonFly
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10675 version_type=linux # correct to gnu/linux during the next big refactor
10678 dynamic_linker="$host_os runtime_loader"
10679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10680 soname_spec='${libname}${release}${shared_ext}$major'
10681 shlibpath_var=LIBRARY_PATH
10682 shlibpath_overrides_runpath=yes
10683 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10684 hardcode_into_libs=yes
10687 hpux9* | hpux10* | hpux11*)
10688 # Give a soname corresponding to the major version so that dld.sl refuses to
10689 # link against other versions.
10696 hardcode_into_libs=yes
10697 dynamic_linker="$host_os dld.so"
10698 shlibpath_var=LD_LIBRARY_PATH
10699 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10701 soname_spec='${libname}${release}${shared_ext}$major'
10702 if test "X$HPUX_IA64_MODE" = X32; then
10703 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10705 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10707 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10711 hardcode_into_libs=yes
10712 dynamic_linker="$host_os dld.sl"
10713 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10714 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10718 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10722 dynamic_linker="$host_os dld.sl"
10723 shlibpath_var=SHLIB_PATH
10724 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10726 soname_spec='${libname}${release}${shared_ext}$major'
10729 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10730 postinstall_cmds='chmod 555 $lib'
10731 # or fails outright, so override atomically:
10732 install_override_mode=555
10736 version_type=linux # correct to gnu/linux during the next big refactor
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10740 soname_spec='${libname}${release}${shared_ext}$major'
10741 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10742 shlibpath_var=LD_LIBRARY_PATH
10743 shlibpath_overrides_runpath=no
10744 hardcode_into_libs=yes
10747 irix5* | irix6* | nonstopux*)
10749 nonstopux*) version_type=nonstopux ;;
10751 if test "$lt_cv_prog_gnu_ld" = yes; then
10752 version_type=linux # correct to gnu/linux during the next big refactor
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10762 irix5* | nonstopux*)
10763 libsuff= shlibsuff=
10766 case $LD in # libtool.m4 will add one of these switches to LD
10767 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10768 libsuff= shlibsuff= libmagic=32-bit;;
10769 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10770 libsuff=32 shlibsuff=N32 libmagic=N32;;
10771 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10772 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10773 *) libsuff= shlibsuff= libmagic=never-match;;
10777 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10778 shlibpath_overrides_runpath=no
10779 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10780 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10781 hardcode_into_libs=yes
10784 # No shared lib support for Linux oldld, aout, or coff.
10785 linux*oldld* | linux*aout* | linux*coff*)
10789 # This must be glibc/ELF.
10790 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10791 version_type=linux # correct to gnu/linux during the next big refactor
10794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10795 soname_spec='${libname}${release}${shared_ext}$major'
10796 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10797 shlibpath_var=LD_LIBRARY_PATH
10798 shlibpath_overrides_runpath=no
10800 # Some binutils ld are patched to set DT_RUNPATH
10801 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10802 $as_echo_n "(cached) " >&6
10804 lt_cv_shlibpath_overrides_runpath=no
10805 save_LDFLAGS=$LDFLAGS
10806 save_libdir=$libdir
10807 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10808 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10820 if ac_fn_c_try_link "$LINENO"; then :
10821 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10822 lt_cv_shlibpath_overrides_runpath=yes
10825 rm -f core conftest.err conftest.$ac_objext \
10826 conftest$ac_exeext conftest.$ac_ext
10827 LDFLAGS=$save_LDFLAGS
10828 libdir=$save_libdir
10832 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10834 # This implies no fast_install, which is unacceptable.
10835 # Some rework will be needed to allow for fast_install
10836 # before this can be enabled.
10837 hardcode_into_libs=yes
10839 # Append ld.so.conf contents to the search path
10840 if test -f /etc/ld.so.conf; then
10841 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;s/"//g;/^$/d' | tr '\n' ' '`
10842 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10845 # We used to test for /lib/ld.so.1 and disable shared libraries on
10846 # powerpc, because MkLinux only supported shared libraries with the
10847 # GNU dynamic linker. Since this was broken with cross compilers,
10848 # most powerpc-linux boxes support dynamic linking these days and
10849 # people can always --disable-shared, the test was removed, and we
10850 # assume the GNU/Linux dynamic linker is in use.
10851 dynamic_linker='GNU/Linux ld.so'
10858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 shlibpath_var=LD_LIBRARY_PATH
10861 shlibpath_overrides_runpath=no
10862 hardcode_into_libs=yes
10863 dynamic_linker='NetBSD ld.elf_so'
10870 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10872 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10873 dynamic_linker='NetBSD (a.out) ld.so'
10875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10876 soname_spec='${libname}${release}${shared_ext}$major'
10877 dynamic_linker='NetBSD ld.elf_so'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 shlibpath_overrides_runpath=yes
10881 hardcode_into_libs=yes
10885 version_type=linux # correct to gnu/linux during the next big refactor
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887 shlibpath_var=LD_LIBRARY_PATH
10888 shlibpath_overrides_runpath=yes
10895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10896 soname_spec='${libname}${release}${shared_ext}$major'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10899 hardcode_into_libs=yes
10900 dynamic_linker='ldqnx.so'
10905 sys_lib_dlsearch_path_spec="/usr/lib"
10907 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10909 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10910 *) need_version=no ;;
10912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10913 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10914 shlibpath_var=LD_LIBRARY_PATH
10915 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10917 openbsd2.[89] | openbsd2.[89].*)
10918 shlibpath_overrides_runpath=no
10921 shlibpath_overrides_runpath=yes
10925 shlibpath_overrides_runpath=yes
10930 libname_spec='$name'
10933 library_names_spec='$libname${shared_ext} $libname.a'
10934 dynamic_linker='OS/2 ld.exe'
10935 shlibpath_var=LIBPATH
10938 osf3* | osf4* | osf5*)
10942 soname_spec='${libname}${release}${shared_ext}$major'
10943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10946 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10954 version_type=linux # correct to gnu/linux during the next big refactor
10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10958 soname_spec='${libname}${release}${shared_ext}$major'
10959 shlibpath_var=LD_LIBRARY_PATH
10960 shlibpath_overrides_runpath=yes
10961 hardcode_into_libs=yes
10962 # ldd complains unless libraries are executable
10963 postinstall_cmds='chmod +x $lib'
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10969 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes
10972 if test "$with_gnu_ld" = yes; then
10979 version_type=linux # correct to gnu/linux during the next big refactor
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 case $host_vendor in
10985 shlibpath_overrides_runpath=no
10987 runpath_var=LD_RUN_PATH
10995 shlibpath_overrides_runpath=no
10996 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11002 if test -d /usr/nec ;then
11003 version_type=linux # correct to gnu/linux during the next big refactor
11004 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11005 soname_spec='$libname${shared_ext}.$major'
11006 shlibpath_var=LD_LIBRARY_PATH
11010 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11011 version_type=freebsd-elf
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11015 soname_spec='${libname}${release}${shared_ext}$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 shlibpath_overrides_runpath=yes
11018 hardcode_into_libs=yes
11019 if test "$with_gnu_ld" = yes; then
11020 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11022 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11025 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11029 sys_lib_dlsearch_path_spec='/usr/lib'
11033 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11034 version_type=linux # correct to gnu/linux during the next big refactor
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038 shlibpath_var=LD_LIBRARY_PATH
11039 shlibpath_overrides_runpath=no
11040 hardcode_into_libs=yes
11044 version_type=linux # correct to gnu/linux during the next big refactor
11045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 shlibpath_var=LD_LIBRARY_PATH
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11055 $as_echo "$dynamic_linker" >&6; }
11056 test "$dynamic_linker" = no && can_build_shared=no
11058 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11059 if test "$GCC" = yes; then
11060 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11063 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11064 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11066 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11067 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11162 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11164 if test -n "$hardcode_libdir_flag_spec" ||
11165 test -n "$runpath_var" ||
11166 test "X$hardcode_automatic" = "Xyes" ; then
11168 # We can hardcode non-existent directories.
11169 if test "$hardcode_direct" != no &&
11170 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11171 # have to relink, otherwise we might link with an installed library
11172 # when we should be linking with a yet-to-be-installed one
11173 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11174 test "$hardcode_minus_L" != no; then
11175 # Linking always hardcodes the temporary library directory.
11176 hardcode_action=relink
11178 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11179 hardcode_action=immediate
11182 # We cannot hardcode anything, or else we can only hardcode existing
11184 hardcode_action=unsupported
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11187 $as_echo "$hardcode_action" >&6; }
11189 if test "$hardcode_action" = relink ||
11190 test "$inherit_rpath" = yes; then
11191 # Fast installation is not supported
11192 enable_fast_install=no
11193 elif test "$shlibpath_overrides_runpath" = yes ||
11194 test "$enable_shared" = no; then
11195 # Fast installation is not necessary
11196 enable_fast_install=needless
11204 if test "x$enable_dlopen" != xyes; then
11205 enable_dlopen=unknown
11206 enable_dlopen_self=unknown
11207 enable_dlopen_self_static=unknown
11214 lt_cv_dlopen="load_add_on"
11216 lt_cv_dlopen_self=yes
11219 mingw* | pw32* | cegcc*)
11220 lt_cv_dlopen="LoadLibrary"
11225 lt_cv_dlopen="dlopen"
11230 # if libdl is installed we need to link against it
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11232 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11233 if ${ac_cv_lib_dl_dlopen+:} false; then :
11234 $as_echo_n "(cached) " >&6
11236 ac_check_lib_save_LIBS=$LIBS
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 ac_cv_lib_dl_dlopen=yes
11259 ac_cv_lib_dl_dlopen=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11266 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11267 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11268 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11271 lt_cv_dlopen="dyld"
11273 lt_cv_dlopen_self=yes
11280 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11281 if test "x$ac_cv_func_shl_load" = xyes; then :
11282 lt_cv_dlopen="shl_load"
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11285 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11286 if ${ac_cv_lib_dld_shl_load+:} false; then :
11287 $as_echo_n "(cached) " >&6
11289 ac_check_lib_save_LIBS=$LIBS
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11304 return shl_load ();
11309 if ac_fn_c_try_link "$LINENO"; then :
11310 ac_cv_lib_dld_shl_load=yes
11312 ac_cv_lib_dld_shl_load=no
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_lib_save_LIBS
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11319 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11320 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11321 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11323 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11324 if test "x$ac_cv_func_dlopen" = xyes; then :
11325 lt_cv_dlopen="dlopen"
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11328 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11329 if ${ac_cv_lib_dl_dlopen+:} false; then :
11330 $as_echo_n "(cached) " >&6
11332 ac_check_lib_save_LIBS=$LIBS
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_dl_dlopen=yes
11355 ac_cv_lib_dl_dlopen=no
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11363 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11364 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11367 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11368 if ${ac_cv_lib_svld_dlopen+:} false; then :
11369 $as_echo_n "(cached) " >&6
11371 ac_check_lib_save_LIBS=$LIBS
11372 LIBS="-lsvld $LIBS"
11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11391 if ac_fn_c_try_link "$LINENO"; then :
11392 ac_cv_lib_svld_dlopen=yes
11394 ac_cv_lib_svld_dlopen=no
11396 rm -f core conftest.err conftest.$ac_objext \
11397 conftest$ac_exeext conftest.$ac_ext
11398 LIBS=$ac_check_lib_save_LIBS
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11401 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11402 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11403 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11406 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11407 if ${ac_cv_lib_dld_dld_link+:} false; then :
11408 $as_echo_n "(cached) " >&6
11410 ac_check_lib_save_LIBS=$LIBS
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11425 return dld_link ();
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_dld_dld_link=yes
11433 ac_cv_lib_dld_dld_link=no
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11440 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11441 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11442 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11463 if test "x$lt_cv_dlopen" != xno; then
11469 case $lt_cv_dlopen in
11471 save_CPPFLAGS="$CPPFLAGS"
11472 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11474 save_LDFLAGS="$LDFLAGS"
11475 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11478 LIBS="$lt_cv_dlopen_libs $LIBS"
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11481 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11482 if ${lt_cv_dlopen_self+:} false; then :
11483 $as_echo_n "(cached) " >&6
11485 if test "$cross_compiling" = yes; then :
11486 lt_cv_dlopen_self=cross
11488 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11489 lt_status=$lt_dlunknown
11490 cat > conftest.$ac_ext <<_LT_EOF
11491 #line $LINENO "configure"
11492 #include "confdefs.h"
11501 # define LT_DLGLOBAL RTLD_GLOBAL
11504 # define LT_DLGLOBAL DL_GLOBAL
11506 # define LT_DLGLOBAL 0
11510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11511 find out it does not work in some platform. */
11512 #ifndef LT_DLLAZY_OR_NOW
11514 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11517 # define LT_DLLAZY_OR_NOW DL_LAZY
11520 # define LT_DLLAZY_OR_NOW RTLD_NOW
11523 # define LT_DLLAZY_OR_NOW DL_NOW
11525 # define LT_DLLAZY_OR_NOW 0
11532 /* When -fvisbility=hidden is used, assume the code has been annotated
11533 correspondingly for the symbols needed. */
11534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11535 int fnord () __attribute__((visibility("default")));
11538 int fnord () { return 42; }
11541 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11542 int status = $lt_dlunknown;
11546 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11549 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11550 else puts (dlerror ());
11552 /* dlclose (self); */
11560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11561 (eval $ac_link) 2>&5
11563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11564 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11565 (./conftest; exit; ) >&5 2>/dev/null
11567 case x$lt_status in
11568 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11569 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11570 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11573 # compilation failed
11574 lt_cv_dlopen_self=no
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11582 $as_echo "$lt_cv_dlopen_self" >&6; }
11584 if test "x$lt_cv_dlopen_self" = xyes; then
11585 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11587 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11588 if ${lt_cv_dlopen_self_static+:} false; then :
11589 $as_echo_n "(cached) " >&6
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self_static=cross
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line $LINENO "configure"
11598 #include "confdefs.h"
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11612 # define LT_DLGLOBAL 0
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11631 # define LT_DLLAZY_OR_NOW 0
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 int fnord () __attribute__((visibility("default")));
11644 int fnord () { return 42; }
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11658 /* dlclose (self); */
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11679 # compilation failed
11680 lt_cv_dlopen_self_static=no
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11688 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11691 CPPFLAGS="$save_CPPFLAGS"
11692 LDFLAGS="$save_LDFLAGS"
11697 case $lt_cv_dlopen_self in
11698 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11699 *) enable_dlopen_self=unknown ;;
11702 case $lt_cv_dlopen_self_static in
11703 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11704 *) enable_dlopen_self_static=unknown ;;
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11727 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11728 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11729 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11730 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11732 $as_echo "yes" >&6; }
11734 # FIXME - insert some real tests, host_os isn't really good enough
11737 if test -n "$STRIP" ; then
11738 striplib="$STRIP -x"
11739 old_striplib="$STRIP -S"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 $as_echo "no" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749 $as_echo "no" >&6; }
11765 # Report which library types will actually be built
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11767 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11769 $as_echo "$can_build_shared" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11772 $as_echo_n "checking whether to build shared libraries... " >&6; }
11773 test "$can_build_shared" = "no" && enable_shared=no
11775 # On AIX, shared libraries and static libraries use the same namespace, and
11776 # are all built from PIC.
11779 test "$enable_shared" = yes && enable_static=no
11780 if test -n "$RANLIB"; then
11781 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11782 postinstall_cmds='$RANLIB $lib'
11787 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11788 test "$enable_shared" = yes && enable_static=no
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11793 $as_echo "$enable_shared" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11796 $as_echo_n "checking whether to build static libraries... " >&6; }
11797 # Make sure either enable_shared or enable_static is yes.
11798 test "$enable_shared" = yes || enable_static=yes
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11800 $as_echo "$enable_static" >&6; }
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11828 ac_config_commands="$ac_config_commands libtool"
11833 # Only expand once:
11838 # Check whether --with-kernel was given.
11839 if test "${with_kernel+set}" = set; then :
11840 withval=$with_kernel; kbuilddir="$withval"; ksourcedir="$withval";
11844 # Check whether --with-kbuild was given.
11845 if test "${with_kbuild+set}" = set; then :
11846 withval=$with_kbuild; kbuilddir="$withval"
11850 # Check whether --with-ksource was given.
11851 if test "${with_ksource+set}" = set; then :
11852 withval=$with_ksource; ksourcedir="$withval"
11856 # Check whether --with-xtlibdir was given.
11857 if test "${with_xtlibdir+set}" = set; then :
11858 withval=$with_xtlibdir; xtlibdir="$withval"
11860 xtlibdir="${libdir}/xtables"
11863 # Check whether --enable-ipv4 was given.
11864 if test "${enable_ipv4+set}" = set; then :
11865 enableval=$enable_ipv4; enable_ipv4="$enableval"
11870 # Check whether --enable-ipv6 was given.
11871 if test "${enable_ipv6+set}" = set; then :
11872 enableval=$enable_ipv6; enable_ipv6="$enableval"
11877 # Check whether --enable-largefile was given.
11878 if test "${enable_largefile+set}" = set; then :
11879 enableval=$enable_largefile; enable_largefile="$enableval"
11881 enable_largefile="yes";
11882 largefile_cppflags='-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64'
11885 # Check whether --enable-devel was given.
11886 if test "${enable_devel+set}" = set; then :
11887 enableval=$enable_devel; enable_devel="$enableval"
11892 # Check whether --enable-libipq was given.
11893 if test "${enable_libipq+set}" = set; then :
11894 enableval=$enable_libipq; enable_libipq="$enableval"
11899 # Check whether --enable-bpf-compiler was given.
11900 if test "${enable_bpf_compiler+set}" = set; then :
11901 enableval=$enable_bpf_compiler; enable_bpfc="yes"
11906 # Check whether --enable-nfsynproxy was given.
11907 if test "${enable_nfsynproxy+set}" = set; then :
11908 enableval=$enable_nfsynproxy; enable_nfsynproxy="yes"
11910 enable_nfsynproxy="no"
11914 # Check whether --with-pkgconfigdir was given.
11915 if test "${with_pkgconfigdir+set}" = set; then :
11916 withval=$with_pkgconfigdir; pkgconfigdir="$withval"
11918 pkgconfigdir='${libdir}/pkgconfig'
11922 libiptc_LDFLAGS2="";
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-as-needed" >&5
11924 $as_echo_n "checking whether the linker accepts -Wl,--no-as-needed... " >&6; }
11925 if ${ax_cv_linker_flags__Wl___no_as_needed+:} false; then :
11926 $as_echo_n "(cached) " >&6
11929 ax_save_FLAGS=$LDFLAGS
11930 LDFLAGS="-Wl,--no-as-needed"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 ax_cv_linker_flags__Wl___no_as_needed=yes
11945 ax_cv_linker_flags__Wl___no_as_needed=no
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 LDFLAGS=$ax_save_FLAGS
11952 eval ax_check_linker_flags=$ax_cv_linker_flags__Wl___no_as_needed
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_linker_flags" >&5
11954 $as_echo "$ax_check_linker_flags" >&6; }
11955 if test "x$ax_check_linker_flags" = xyes; then
11956 libiptc_LDFLAGS2="-Wl,--no-as-needed"
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD knows -Wl,--no-undefined" >&5
11964 $as_echo_n "checking whether $LD knows -Wl,--no-undefined... " >&6; }
11965 saved_LDFLAGS="$LDFLAGS";
11966 LDFLAGS="-Wl,--no-undefined";
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11971 if ac_fn_c_try_link "$LINENO"; then :
11972 noundef_LDFLAGS="$LDFLAGS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11973 $as_echo "yes" >&6; }
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11976 $as_echo "no" >&6; }
11979 rm -f core conftest.err conftest.$ac_objext \
11980 conftest$ac_exeext conftest.$ac_ext
11981 LDFLAGS="$saved_LDFLAGS";
11983 blacklist_modules="";
11985 for ac_header in linux/dccp.h linux/ip_vs.h linux/magic.h linux/proc_fs.h
11987 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11988 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11989 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11990 cat >>confdefs.h <<_ACEOF
11991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11998 if test "$ac_cv_header_linux_dccp_h" != "yes"; then
11999 blacklist_modules="$blacklist_modules dccp";
12001 if test "$ac_cv_header_linux_ip_vs_h" != "yes"; then
12002 blacklist_modules="$blacklist_modules ipvs";
12012 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12013 if test -n "$ac_tool_prefix"; then
12014 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12015 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12017 $as_echo_n "checking for $ac_word... " >&6; }
12018 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12019 $as_echo_n "(cached) " >&6
12021 case $PKG_CONFIG in
12023 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12027 for as_dir in $PATH
12030 test -z "$as_dir" && as_dir=.
12031 for ac_exec_ext in '' $ac_executable_extensions; do
12032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12033 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12044 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12045 if test -n "$PKG_CONFIG"; then
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12047 $as_echo "$PKG_CONFIG" >&6; }
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12050 $as_echo "no" >&6; }
12055 if test -z "$ac_cv_path_PKG_CONFIG"; then
12056 ac_pt_PKG_CONFIG=$PKG_CONFIG
12057 # Extract the first word of "pkg-config", so it can be a program name with args.
12058 set dummy pkg-config; ac_word=$2
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12060 $as_echo_n "checking for $ac_word... " >&6; }
12061 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12062 $as_echo_n "(cached) " >&6
12064 case $ac_pt_PKG_CONFIG in
12066 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12070 for as_dir in $PATH
12073 test -z "$as_dir" && as_dir=.
12074 for ac_exec_ext in '' $ac_executable_extensions; do
12075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12076 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12087 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12088 if test -n "$ac_pt_PKG_CONFIG"; then
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12090 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12093 $as_echo "no" >&6; }
12096 if test "x$ac_pt_PKG_CONFIG" = x; then
12099 case $cross_compiling:$ac_tool_warned in
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12103 ac_tool_warned=yes ;;
12105 PKG_CONFIG=$ac_pt_PKG_CONFIG
12108 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12112 if test -n "$PKG_CONFIG"; then
12113 _pkg_min_version=0.9.0
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12115 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12116 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12118 $as_echo "yes" >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12121 $as_echo "no" >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnetfilter_conntrack" >&5
12128 $as_echo_n "checking for libnetfilter_conntrack... " >&6; }
12130 if test -n "$libnetfilter_conntrack_CFLAGS"; then
12131 pkg_cv_libnetfilter_conntrack_CFLAGS="$libnetfilter_conntrack_CFLAGS"
12132 elif test -n "$PKG_CONFIG"; then
12133 if test -n "$PKG_CONFIG" && \
12134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_conntrack >= 1.0.4\""; } >&5
12135 ($PKG_CONFIG --exists --print-errors "libnetfilter_conntrack >= 1.0.4") 2>&5
12137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12138 test $ac_status = 0; }; then
12139 pkg_cv_libnetfilter_conntrack_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_conntrack >= 1.0.4" 2>/dev/null`
12140 test "x$?" != "x0" && pkg_failed=yes
12147 if test -n "$libnetfilter_conntrack_LIBS"; then
12148 pkg_cv_libnetfilter_conntrack_LIBS="$libnetfilter_conntrack_LIBS"
12149 elif test -n "$PKG_CONFIG"; then
12150 if test -n "$PKG_CONFIG" && \
12151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_conntrack >= 1.0.4\""; } >&5
12152 ($PKG_CONFIG --exists --print-errors "libnetfilter_conntrack >= 1.0.4") 2>&5
12154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12155 test $ac_status = 0; }; then
12156 pkg_cv_libnetfilter_conntrack_LIBS=`$PKG_CONFIG --libs "libnetfilter_conntrack >= 1.0.4" 2>/dev/null`
12157 test "x$?" != "x0" && pkg_failed=yes
12167 if test $pkg_failed = yes; then
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12169 $as_echo "no" >&6; }
12171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12172 _pkg_short_errors_supported=yes
12174 _pkg_short_errors_supported=no
12176 if test $_pkg_short_errors_supported = yes; then
12177 libnetfilter_conntrack_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_conntrack >= 1.0.4" 2>&1`
12179 libnetfilter_conntrack_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_conntrack >= 1.0.4" 2>&1`
12181 # Put the nasty error message in config.log where it belongs
12182 echo "$libnetfilter_conntrack_PKG_ERRORS" >&5
12185 elif test $pkg_failed = untried; then
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12187 $as_echo "no" >&6; }
12190 libnetfilter_conntrack_CFLAGS=$pkg_cv_libnetfilter_conntrack_CFLAGS
12191 libnetfilter_conntrack_LIBS=$pkg_cv_libnetfilter_conntrack_LIBS
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12193 $as_echo "yes" >&6; }
12196 if test "$nfconntrack" = 1; then
12197 HAVE_LIBNETFILTER_CONNTRACK_TRUE=
12198 HAVE_LIBNETFILTER_CONNTRACK_FALSE='#'
12200 HAVE_LIBNETFILTER_CONNTRACK_TRUE='#'
12201 HAVE_LIBNETFILTER_CONNTRACK_FALSE=
12205 if test "$nfconntrack" -ne 1; then
12206 blacklist_modules="$blacklist_modules connlabel";
12207 echo "WARNING: libnetfilter_conntrack not found, connlabel match will not be built";
12211 # The cast to long int works around a bug in the HP C Compiler
12212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12214 # This bug is HP SR number 8606223364.
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct ip6_hdr" >&5
12216 $as_echo_n "checking size of struct ip6_hdr... " >&6; }
12217 if ${ac_cv_sizeof_struct_ip6_hdr+:} false; then :
12218 $as_echo_n "(cached) " >&6
12220 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct ip6_hdr))" "ac_cv_sizeof_struct_ip6_hdr" "#include <netinet/ip6.h>
12224 if test "$ac_cv_type_struct_ip6_hdr" = yes; then
12225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12227 as_fn_error 77 "cannot compute sizeof (struct ip6_hdr)
12228 See \`config.log' for more details" "$LINENO" 5; }
12230 ac_cv_sizeof_struct_ip6_hdr=0
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_ip6_hdr" >&5
12236 $as_echo "$ac_cv_sizeof_struct_ip6_hdr" >&6; }
12240 cat >>confdefs.h <<_ACEOF
12241 #define SIZEOF_STRUCT_IP6_HDR $ac_cv_sizeof_struct_ip6_hdr
12246 if test "$enable_static" = "yes"; then
12247 ENABLE_STATIC_TRUE=
12248 ENABLE_STATIC_FALSE='#'
12250 ENABLE_STATIC_TRUE='#'
12251 ENABLE_STATIC_FALSE=
12254 if test "$enable_shared" = "yes"; then
12255 ENABLE_SHARED_TRUE=
12256 ENABLE_SHARED_FALSE='#'
12258 ENABLE_SHARED_TRUE='#'
12259 ENABLE_SHARED_FALSE=
12262 if test "$enable_ipv4" = "yes"; then
12264 ENABLE_IPV4_FALSE='#'
12266 ENABLE_IPV4_TRUE='#'
12270 if test "$enable_ipv6" = "yes"; then
12272 ENABLE_IPV6_FALSE='#'
12274 ENABLE_IPV6_TRUE='#'
12278 if test "$enable_largefile" = "yes"; then
12279 ENABLE_LARGEFILE_TRUE=
12280 ENABLE_LARGEFILE_FALSE='#'
12282 ENABLE_LARGEFILE_TRUE='#'
12283 ENABLE_LARGEFILE_FALSE=
12286 if test "$enable_devel" = "yes"; then
12288 ENABLE_DEVEL_FALSE='#'
12290 ENABLE_DEVEL_TRUE='#'
12291 ENABLE_DEVEL_FALSE=
12294 if test "$enable_libipq" = "yes"; then
12295 ENABLE_LIBIPQ_TRUE=
12296 ENABLE_LIBIPQ_FALSE='#'
12298 ENABLE_LIBIPQ_TRUE='#'
12299 ENABLE_LIBIPQ_FALSE=
12302 if test "$enable_bpfc" = "yes"; then
12304 ENABLE_BPFC_FALSE='#'
12306 ENABLE_BPFC_TRUE='#'
12310 if test "$enable_nfsynproxy" = "yes"; then
12311 ENABLE_SYNCONF_TRUE=
12312 ENABLE_SYNCONF_FALSE='#'
12314 ENABLE_SYNCONF_TRUE='#'
12315 ENABLE_SYNCONF_FALSE=
12319 if test "x$enable_bpfc" = "xyes" || test "x$enable_nfsynproxy" = "xyes"; then
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_compile in -lpcap" >&5
12321 $as_echo_n "checking for pcap_compile in -lpcap... " >&6; }
12322 if ${ac_cv_lib_pcap_pcap_compile+:} false; then :
12323 $as_echo_n "(cached) " >&6
12325 ac_check_lib_save_LIBS=$LIBS
12326 LIBS="-lpcap $LIBS"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12336 char pcap_compile ();
12340 return pcap_compile ();
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 ac_cv_lib_pcap_pcap_compile=yes
12348 ac_cv_lib_pcap_pcap_compile=no
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_lib_save_LIBS
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_compile" >&5
12355 $as_echo "$ac_cv_lib_pcap_pcap_compile" >&6; }
12356 if test "x$ac_cv_lib_pcap_pcap_compile" = xyes; then :
12357 cat >>confdefs.h <<_ACEOF
12358 #define HAVE_LIBPCAP 1
12361 LIBS="-lpcap $LIBS"
12364 as_fn_error $? "missing libpcap library required by bpf compiler or nfsynproxy tool" "$LINENO" 5
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnfnetlink" >&5
12372 $as_echo_n "checking for libnfnetlink... " >&6; }
12374 if test -n "$libnfnetlink_CFLAGS"; then
12375 pkg_cv_libnfnetlink_CFLAGS="$libnfnetlink_CFLAGS"
12376 elif test -n "$PKG_CONFIG"; then
12377 if test -n "$PKG_CONFIG" && \
12378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0\""; } >&5
12379 ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0") 2>&5
12381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12382 test $ac_status = 0; }; then
12383 pkg_cv_libnfnetlink_CFLAGS=`$PKG_CONFIG --cflags "libnfnetlink >= 1.0" 2>/dev/null`
12384 test "x$?" != "x0" && pkg_failed=yes
12391 if test -n "$libnfnetlink_LIBS"; then
12392 pkg_cv_libnfnetlink_LIBS="$libnfnetlink_LIBS"
12393 elif test -n "$PKG_CONFIG"; then
12394 if test -n "$PKG_CONFIG" && \
12395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0\""; } >&5
12396 ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0") 2>&5
12398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12399 test $ac_status = 0; }; then
12400 pkg_cv_libnfnetlink_LIBS=`$PKG_CONFIG --libs "libnfnetlink >= 1.0" 2>/dev/null`
12401 test "x$?" != "x0" && pkg_failed=yes
12411 if test $pkg_failed = yes; then
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12413 $as_echo "no" >&6; }
12415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12416 _pkg_short_errors_supported=yes
12418 _pkg_short_errors_supported=no
12420 if test $_pkg_short_errors_supported = yes; then
12421 libnfnetlink_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnfnetlink >= 1.0" 2>&1`
12423 libnfnetlink_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnfnetlink >= 1.0" 2>&1`
12425 # Put the nasty error message in config.log where it belongs
12426 echo "$libnfnetlink_PKG_ERRORS" >&5
12429 elif test $pkg_failed = untried; then
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12431 $as_echo "no" >&6; }
12434 libnfnetlink_CFLAGS=$pkg_cv_libnfnetlink_CFLAGS
12435 libnfnetlink_LIBS=$pkg_cv_libnfnetlink_LIBS
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12437 $as_echo "yes" >&6; }
12440 if test "$nfnetlink" = 1; then
12441 HAVE_LIBNFNETLINK_TRUE=
12442 HAVE_LIBNFNETLINK_FALSE='#'
12444 HAVE_LIBNFNETLINK_TRUE='#'
12445 HAVE_LIBNFNETLINK_FALSE=
12449 regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \
12450 -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
12452 regular_CPPFLAGS="${largefile_cppflags} -D_REENTRANT \
12453 -DXTABLES_LIBDIR=\\\"\${xtlibdir}\\\" -DXTABLES_INTERNAL";
12454 kinclude_CPPFLAGS="";
12455 if [ -n "$kbuilddir" ]; then
12456 kinclude_CPPFLAGS="$kinclude_CPPFLAGS -I$kbuilddir/include/uapi -I$kbuilddir/include";
12458 if [ -n "$ksourcedir" ]; then
12459 kinclude_CPPFLAGS="$kinclude_CPPFLAGS -I$ksourcedir/include/uapi -I$ksourcedir/include";
12461 pkgdatadir='${datadir}/xtables';
12475 libxtables_vmajor=$(($libxtables_vcurrent - $libxtables_vage));
12478 ac_config_files="$ac_config_files Makefile extensions/GNUmakefile include/Makefile iptables/Makefile iptables/xtables.pc iptables/iptables.8 iptables/iptables-extensions.8.tmpl iptables/iptables-save.8 iptables/iptables-restore.8 iptables/iptables-apply.8 iptables/iptables-xml.1 libipq/Makefile libipq/libipq.pc libiptc/Makefile libiptc/libiptc.pc libiptc/libip4tc.pc libiptc/libip6tc.pc libxtables/Makefile utils/Makefile include/xtables-version.h include/iptables/internal.h"
12480 cat >confcache <<\_ACEOF
12481 # This file is a shell script that caches the results of configure
12482 # tests run on this system so they can be shared between configure
12483 # scripts and configure runs, see configure's option --config-cache.
12484 # It is not useful on other systems. If it contains results you don't
12485 # want to keep, you may remove or edit it.
12487 # config.status only pays attention to the cache file if you give it
12488 # the --recheck option to rerun configure.
12490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12492 # following values.
12496 # The following way of writing the cache mishandles newlines in values,
12497 # but we know of no workaround that is simple, portable, and efficient.
12498 # So, we kill variables containing newlines.
12499 # Ultrix sh set writes to stderr and can't be redirected directly,
12500 # and sets the high bit in the cache file unless we assign to the vars.
12502 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12503 eval ac_val=\$$ac_var
12507 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12508 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12511 _ | IFS | as_nl) ;; #(
12512 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12513 *) { eval $ac_var=; unset $ac_var;} ;;
12519 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12520 *${as_nl}ac_space=\ *)
12521 # `set' does not quote correctly, so add quotes: double-quote
12522 # substitution turns \\\\ into \\, and sed turns \\ into \.
12525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12528 # `set' quotes correctly as required by POSIX, so do not add quotes.
12529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12538 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12540 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12543 if test -w "$cache_file"; then
12544 if test "x$cache_file" != "x/dev/null"; then
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12546 $as_echo "$as_me: updating cache $cache_file" >&6;}
12547 if test ! -f "$cache_file" || test -h "$cache_file"; then
12548 cat confcache >"$cache_file"
12550 case $cache_file in #(
12552 mv -f confcache "$cache_file"$$ &&
12553 mv -f "$cache_file"$$ "$cache_file" ;; #(
12555 mv -f confcache "$cache_file" ;;
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12561 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12566 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12567 # Let make expand exec_prefix.
12568 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12570 DEFS=-DHAVE_CONFIG_H
12575 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12576 # 1. Remove the extension, and $U if already installed.
12577 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12578 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12579 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12580 # will be set to the directory where LIBOBJS objects are built.
12581 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12582 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12584 LIBOBJS=$ac_libobjs
12586 LTLIBOBJS=$ac_ltlibobjs
12589 if test -n "$EXEEXT"; then
12591 am__EXEEXT_FALSE='#'
12593 am__EXEEXT_TRUE='#'
12597 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12598 as_fn_error $? "conditional \"AMDEP\" was never defined.
12599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12601 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12602 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12605 if test -z "${HAVE_LIBNETFILTER_CONNTRACK_TRUE}" && test -z "${HAVE_LIBNETFILTER_CONNTRACK_FALSE}"; then
12606 as_fn_error $? "conditional \"HAVE_LIBNETFILTER_CONNTRACK\" was never defined.
12607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12609 if test -z "${ENABLE_STATIC_TRUE}" && test -z "${ENABLE_STATIC_FALSE}"; then
12610 as_fn_error $? "conditional \"ENABLE_STATIC\" was never defined.
12611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12613 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
12614 as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined.
12615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12617 if test -z "${ENABLE_IPV4_TRUE}" && test -z "${ENABLE_IPV4_FALSE}"; then
12618 as_fn_error $? "conditional \"ENABLE_IPV4\" was never defined.
12619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12621 if test -z "${ENABLE_IPV6_TRUE}" && test -z "${ENABLE_IPV6_FALSE}"; then
12622 as_fn_error $? "conditional \"ENABLE_IPV6\" was never defined.
12623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12625 if test -z "${ENABLE_LARGEFILE_TRUE}" && test -z "${ENABLE_LARGEFILE_FALSE}"; then
12626 as_fn_error $? "conditional \"ENABLE_LARGEFILE\" was never defined.
12627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12629 if test -z "${ENABLE_DEVEL_TRUE}" && test -z "${ENABLE_DEVEL_FALSE}"; then
12630 as_fn_error $? "conditional \"ENABLE_DEVEL\" was never defined.
12631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12633 if test -z "${ENABLE_LIBIPQ_TRUE}" && test -z "${ENABLE_LIBIPQ_FALSE}"; then
12634 as_fn_error $? "conditional \"ENABLE_LIBIPQ\" was never defined.
12635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12637 if test -z "${ENABLE_BPFC_TRUE}" && test -z "${ENABLE_BPFC_FALSE}"; then
12638 as_fn_error $? "conditional \"ENABLE_BPFC\" was never defined.
12639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12641 if test -z "${ENABLE_SYNCONF_TRUE}" && test -z "${ENABLE_SYNCONF_FALSE}"; then
12642 as_fn_error $? "conditional \"ENABLE_SYNCONF\" was never defined.
12643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12645 if test -z "${HAVE_LIBNFNETLINK_TRUE}" && test -z "${HAVE_LIBNFNETLINK_FALSE}"; then
12646 as_fn_error $? "conditional \"HAVE_LIBNFNETLINK\" was never defined.
12647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12650 : "${CONFIG_STATUS=./config.status}"
12652 ac_clean_files_save=$ac_clean_files
12653 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12655 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12657 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12659 # Generated by $as_me.
12660 # Run this file to recreate the current configuration.
12661 # Compiler output produced by configure, useful for debugging
12662 # configure, is in config.log if it exists.
12665 ac_cs_recheck=false
12668 SHELL=\${CONFIG_SHELL-$SHELL}
12671 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12672 ## -------------------- ##
12673 ## M4sh Initialization. ##
12674 ## -------------------- ##
12676 # Be more Bourne compatible
12677 DUALCASE=1; export DUALCASE # for MKS sh
12678 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12681 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12682 # is contrary to our usage. Disable this feature.
12683 alias -g '${1+"$@"}'='"$@"'
12684 setopt NO_GLOB_SUBST
12686 case `(set -o) 2>/dev/null` in #(
12698 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12699 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12700 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12701 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12702 # Prefer a ksh shell builtin over an external printf program on Solaris,
12703 # but without wasting forks for bash or zsh.
12704 if test -z "$BASH_VERSION$ZSH_VERSION" \
12705 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12706 as_echo='print -r --'
12707 as_echo_n='print -rn --'
12708 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12709 as_echo='printf %s\n'
12710 as_echo_n='printf %s'
12712 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12713 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12714 as_echo_n='/usr/ucb/echo -n'
12716 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12717 as_echo_n_body='eval
12721 expr "X$arg" : "X\\(.*\\)$as_nl";
12722 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12724 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12726 export as_echo_n_body
12727 as_echo_n='sh -c $as_echo_n_body as_echo'
12729 export as_echo_body
12730 as_echo='sh -c $as_echo_body as_echo'
12733 # The user is always right.
12734 if test "${PATH_SEPARATOR+set}" != set; then
12736 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12737 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12744 # We need space, tab and new line, in precisely that order. Quoting is
12745 # there to prevent editors from complaining about space-tab.
12746 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12747 # splitting by setting IFS to empty value.)
12750 # Find who we are. Look in the path if we contain no directory separator.
12753 *[\\/]* ) as_myself=$0 ;;
12754 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12755 for as_dir in $PATH
12758 test -z "$as_dir" && as_dir=.
12759 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12765 # We did not find ourselves, most probably we were run as `sh COMMAND'
12766 # in which case we are not to be found in the path.
12767 if test "x$as_myself" = x; then
12770 if test ! -f "$as_myself"; then
12771 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12775 # Unset variables that we do not need and which cause bugs (e.g. in
12776 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12777 # suppresses any "Segmentation fault" message there. '((' could
12778 # trigger a bug in pdksh 5.2.14.
12779 for as_var in BASH_ENV ENV MAIL MAILPATH
12780 do eval test x\${$as_var+set} = xset \
12781 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12794 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12797 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12798 # ----------------------------------------
12799 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12800 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12801 # script with STATUS, using 1 if that was 0.
12804 as_status=$1; test $as_status -eq 0 && as_status=1
12806 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12807 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12809 $as_echo "$as_me: error: $2" >&2
12810 as_fn_exit $as_status
12814 # as_fn_set_status STATUS
12815 # -----------------------
12816 # Set $? to STATUS, without forking.
12817 as_fn_set_status ()
12820 } # as_fn_set_status
12822 # as_fn_exit STATUS
12823 # -----------------
12824 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12828 as_fn_set_status $1
12834 # Portably unset VAR.
12837 { eval $1=; unset $1;}
12839 as_unset=as_fn_unset
12840 # as_fn_append VAR VALUE
12841 # ----------------------
12842 # Append the text in VALUE to the end of the definition contained in VAR. Take
12843 # advantage of any shell optimizations that allow amortized linear growth over
12844 # repeated appends, instead of the typical quadratic growth present in naive
12846 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12847 eval 'as_fn_append ()
12858 # as_fn_arith ARG...
12859 # ------------------
12860 # Perform arithmetic evaluation on the ARGs, and store the result in the
12861 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12862 # must be portable across $(()) and expr.
12863 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12864 eval 'as_fn_arith ()
12871 as_val=`expr "$@" || test $? -eq 1`
12876 if expr a : '\(a\)' >/dev/null 2>&1 &&
12877 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12883 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12884 as_basename=basename
12889 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12895 as_me=`$as_basename -- "$0" ||
12896 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12897 X"$0" : 'X\(//\)$' \| \
12898 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12900 sed '/^.*\/\([^/][^/]*\)\/*$/{
12914 # Avoid depending upon Character Ranges.
12915 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12916 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12917 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12918 as_cr_digits='0123456789'
12919 as_cr_alnum=$as_cr_Letters$as_cr_digits
12921 ECHO_C= ECHO_N= ECHO_T=
12922 case `echo -n x` in #(((((
12924 case `echo 'xy\c'` in
12925 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12927 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12934 rm -f conf$$ conf$$.exe conf$$.file
12935 if test -d conf$$.dir; then
12936 rm -f conf$$.dir/conf$$.file
12939 mkdir conf$$.dir 2>/dev/null
12941 if (echo >conf$$.file) 2>/dev/null; then
12942 if ln -s conf$$.file conf$$ 2>/dev/null; then
12944 # ... but there are two gotchas:
12945 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12946 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12947 # In both cases, we have to default to `cp -pR'.
12948 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12950 elif ln conf$$.file conf$$ 2>/dev/null; then
12958 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12959 rmdir conf$$.dir 2>/dev/null
12964 # Create "$as_dir" as a directory, including parents if necessary.
12969 -*) as_dir=./$as_dir;;
12971 test -d "$as_dir" || eval $as_mkdir_p || {
12975 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12976 *) as_qdir=$as_dir;;
12978 as_dirs="'$as_qdir' $as_dirs"
12979 as_dir=`$as_dirname -- "$as_dir" ||
12980 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12981 X"$as_dir" : 'X\(//\)[^/]' \| \
12982 X"$as_dir" : 'X\(//\)$' \| \
12983 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12984 $as_echo X"$as_dir" |
12985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12989 /^X\(\/\/\)[^/].*/{
13002 test -d "$as_dir" && break
13004 test -z "$as_dirs" || eval "mkdir $as_dirs"
13005 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13009 if mkdir -p . 2>/dev/null; then
13010 as_mkdir_p='mkdir -p "$as_dir"'
13012 test -d ./-p && rmdir ./-p
13017 # as_fn_executable_p FILE
13018 # -----------------------
13019 # Test if FILE is an executable regular file.
13020 as_fn_executable_p ()
13022 test -f "$1" && test -x "$1"
13023 } # as_fn_executable_p
13024 as_test_x='test -x'
13025 as_executable_p=as_fn_executable_p
13027 # Sed expression to map a string onto a valid CPP name.
13028 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13030 # Sed expression to map a string onto a valid variable name.
13031 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13035 ## ----------------------------------- ##
13036 ## Main body of $CONFIG_STATUS script. ##
13037 ## ----------------------------------- ##
13039 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13042 # Save the log message, to keep $0 and so on meaningful, and to
13043 # report actual input values of CONFIG_FILES etc. instead of their
13044 # values after options handling.
13046 This file was extended by iptables $as_me 1.4.21, which was
13047 generated by GNU Autoconf 2.69. Invocation command line was
13049 CONFIG_FILES = $CONFIG_FILES
13050 CONFIG_HEADERS = $CONFIG_HEADERS
13051 CONFIG_LINKS = $CONFIG_LINKS
13052 CONFIG_COMMANDS = $CONFIG_COMMANDS
13055 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13060 case $ac_config_files in *"
13061 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13064 case $ac_config_headers in *"
13065 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13070 # Files that config.status was made for.
13071 config_files="$ac_config_files"
13072 config_headers="$ac_config_headers"
13073 config_commands="$ac_config_commands"
13077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13079 \`$as_me' instantiates files and other configuration actions
13080 from templates according to the current configuration. Unless the files
13081 and actions are specified as TAGs, all are instantiated by default.
13083 Usage: $0 [OPTION]... [TAG]...
13085 -h, --help print this help, then exit
13086 -V, --version print version number and configuration settings, then exit
13087 --config print configuration, then exit
13088 -q, --quiet, --silent
13089 do not print progress messages
13090 -d, --debug don't remove temporary files
13091 --recheck update $as_me by reconfiguring in the same conditions
13092 --file=FILE[:TEMPLATE]
13093 instantiate the configuration file FILE
13094 --header=FILE[:TEMPLATE]
13095 instantiate the configuration header FILE
13097 Configuration files:
13100 Configuration headers:
13103 Configuration commands:
13106 Report bugs to the package provider."
13109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13110 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13112 iptables config.status 1.4.21
13113 configured by $0, generated by GNU Autoconf 2.69,
13114 with options \\"\$ac_cs_config\\"
13116 Copyright (C) 2012 Free Software Foundation, Inc.
13117 This config.status script is free software; the Free Software Foundation
13118 gives unlimited permission to copy, distribute and modify it."
13125 test -n "\$AWK" || AWK=awk
13128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13129 # The default lists apply if the user does not specify any file.
13135 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13136 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13140 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13152 # Handling of the options.
13153 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13155 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13156 $as_echo "$ac_cs_version"; exit ;;
13157 --config | --confi | --conf | --con | --co | --c )
13158 $as_echo "$ac_cs_config"; exit ;;
13159 --debug | --debu | --deb | --de | --d | -d )
13161 --file | --fil | --fi | --f )
13164 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13165 '') as_fn_error $? "missing file argument" ;;
13167 as_fn_append CONFIG_FILES " '$ac_optarg'"
13168 ac_need_defaults=false;;
13169 --header | --heade | --head | --hea )
13172 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13174 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13175 ac_need_defaults=false;;
13177 # Conflict between --help and --header
13178 as_fn_error $? "ambiguous option: \`$1'
13179 Try \`$0 --help' for more information.";;
13180 --help | --hel | -h )
13181 $as_echo "$ac_cs_usage"; exit ;;
13182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13183 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13186 # This is an error.
13187 -*) as_fn_error $? "unrecognized option: \`$1'
13188 Try \`$0 --help' for more information." ;;
13190 *) as_fn_append ac_config_targets " $1"
13191 ac_need_defaults=false ;;
13197 ac_configure_extra_args=
13199 if $ac_cs_silent; then
13201 ac_configure_extra_args="$ac_configure_extra_args --silent"
13205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13206 if \$ac_cs_recheck; then
13207 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13209 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13210 CONFIG_SHELL='$SHELL'
13211 export CONFIG_SHELL
13216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13220 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13221 ## Running $as_me. ##
13227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13231 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13234 # The HP-UX ksh and POSIX shell print the target directory to stdout
13235 # if CDPATH is set.
13236 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13238 sed_quote_subst='$sed_quote_subst'
13239 double_quote_subst='$double_quote_subst'
13240 delay_variable_subst='$delay_variable_subst'
13241 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13242 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13243 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13244 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13245 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13246 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13247 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13248 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13249 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13250 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13251 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13252 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13253 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13254 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13255 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13256 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13257 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13258 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13259 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13260 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13261 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13262 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13263 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13264 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13265 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13266 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13267 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13268 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13269 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13270 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13271 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13272 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13273 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13274 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13275 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13276 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13277 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13278 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13279 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13280 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13281 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13282 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13283 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13284 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13285 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13286 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13287 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13288 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13289 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13290 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13291 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13292 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13293 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13294 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13295 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13296 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13297 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13298 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13299 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13300 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13301 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13302 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13303 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13304 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13305 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13306 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13307 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13308 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13309 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13310 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13311 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13312 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13313 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13314 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13315 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13316 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13317 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13318 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13319 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13320 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13321 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13322 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13323 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13324 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13325 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13326 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13327 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13328 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13329 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13330 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13331 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13332 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13333 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13334 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13335 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13336 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13337 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13338 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13339 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13340 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13341 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13342 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13343 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13344 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13345 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13346 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13347 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13348 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13349 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13350 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13351 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13352 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13353 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13354 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13355 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13356 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13357 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13358 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13359 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13360 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13361 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13362 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13363 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13364 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13365 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13366 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13367 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13368 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13369 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13370 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13373 LTCFLAGS='$LTCFLAGS'
13374 compiler='$compiler_DEFAULT'
13376 # A function that is used when there is no print builtin or printf.
13377 func_fallback_echo ()
13379 eval 'cat <<_LTECHO_EOF
13384 # Quote evaled strings.
13399 deplibs_check_method \
13404 sharedlib_from_linklib_cmd \
13407 archiver_list_spec \
13413 lt_cv_sys_global_symbol_pipe \
13414 lt_cv_sys_global_symbol_to_cdecl \
13415 lt_cv_sys_global_symbol_to_c_name_address \
13416 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13417 nm_file_list_spec \
13418 lt_prog_compiler_no_builtin_flag \
13419 lt_prog_compiler_pic \
13420 lt_prog_compiler_wl \
13421 lt_prog_compiler_static \
13422 lt_cv_prog_compiler_c_o \
13431 export_dynamic_flag_spec \
13432 whole_archive_flag_spec \
13433 compiler_needs_object \
13435 allow_undefined_flag \
13436 no_undefined_flag \
13437 hardcode_libdir_flag_spec \
13438 hardcode_libdir_separator \
13442 variables_saved_for_relink \
13444 library_names_spec \
13446 install_override_mode \
13450 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13451 *[\\\\\\\`\\"\\\$]*)
13452 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13455 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13460 # Double-quote double-evaled strings.
13461 for var in reload_cmds \
13462 old_postinstall_cmds \
13463 old_postuninstall_cmds \
13465 extract_expsyms_cmds \
13466 old_archive_from_new_cmds \
13467 old_archive_from_expsyms_cmds \
13469 archive_expsym_cmds \
13471 module_expsym_cmds \
13472 export_symbols_cmds \
13476 postuninstall_cmds \
13478 sys_lib_search_path_spec \
13479 sys_lib_dlsearch_path_spec; do
13480 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13481 *[\\\\\\\`\\"\\\$]*)
13482 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13485 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13490 ac_aux_dir='$ac_aux_dir'
13491 xsi_shell='$xsi_shell'
13492 lt_shell_append='$lt_shell_append'
13494 # See if we are running on zsh, and set the options which allow our
13495 # commands through without removal of \ escapes INIT.
13496 if test -n "\${ZSH_VERSION+set}" ; then
13497 setopt NO_GLOB_SUBST
13503 TIMESTAMP='$TIMESTAMP'
13512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13514 # Handling of arguments.
13515 for ac_config_target in $ac_config_targets
13517 case $ac_config_target in
13518 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13519 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13520 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13521 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13522 "extensions/GNUmakefile") CONFIG_FILES="$CONFIG_FILES extensions/GNUmakefile" ;;
13523 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13524 "iptables/Makefile") CONFIG_FILES="$CONFIG_FILES iptables/Makefile" ;;
13525 "iptables/xtables.pc") CONFIG_FILES="$CONFIG_FILES iptables/xtables.pc" ;;
13526 "iptables/iptables.8") CONFIG_FILES="$CONFIG_FILES iptables/iptables.8" ;;
13527 "iptables/iptables-extensions.8.tmpl") CONFIG_FILES="$CONFIG_FILES iptables/iptables-extensions.8.tmpl" ;;
13528 "iptables/iptables-save.8") CONFIG_FILES="$CONFIG_FILES iptables/iptables-save.8" ;;
13529 "iptables/iptables-restore.8") CONFIG_FILES="$CONFIG_FILES iptables/iptables-restore.8" ;;
13530 "iptables/iptables-apply.8") CONFIG_FILES="$CONFIG_FILES iptables/iptables-apply.8" ;;
13531 "iptables/iptables-xml.1") CONFIG_FILES="$CONFIG_FILES iptables/iptables-xml.1" ;;
13532 "libipq/Makefile") CONFIG_FILES="$CONFIG_FILES libipq/Makefile" ;;
13533 "libipq/libipq.pc") CONFIG_FILES="$CONFIG_FILES libipq/libipq.pc" ;;
13534 "libiptc/Makefile") CONFIG_FILES="$CONFIG_FILES libiptc/Makefile" ;;
13535 "libiptc/libiptc.pc") CONFIG_FILES="$CONFIG_FILES libiptc/libiptc.pc" ;;
13536 "libiptc/libip4tc.pc") CONFIG_FILES="$CONFIG_FILES libiptc/libip4tc.pc" ;;
13537 "libiptc/libip6tc.pc") CONFIG_FILES="$CONFIG_FILES libiptc/libip6tc.pc" ;;
13538 "libxtables/Makefile") CONFIG_FILES="$CONFIG_FILES libxtables/Makefile" ;;
13539 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
13540 "include/xtables-version.h") CONFIG_FILES="$CONFIG_FILES include/xtables-version.h" ;;
13541 "include/iptables/internal.h") CONFIG_FILES="$CONFIG_FILES include/iptables/internal.h" ;;
13543 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13548 # If the user did not use the arguments to specify the items to instantiate,
13549 # then the envvar interface is used. Set only those that are not.
13550 # We use the long form for the default assignment because of an extremely
13551 # bizarre bug on SunOS 4.1.3.
13552 if $ac_need_defaults; then
13553 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13554 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13555 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13558 # Have a temporary directory for convenience. Make it in the build tree
13559 # simply because there is no reason against having it here, and in addition,
13560 # creating and moving files from /tmp can sometimes cause problems.
13561 # Hook for its removal unless debugging.
13562 # Note that there is a small window in which the directory will not be cleaned:
13563 # after its creation but before its name has been assigned to `$tmp'.
13567 trap 'exit_status=$?
13568 : "${ac_tmp:=$tmp}"
13569 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13571 trap 'as_fn_exit 1' 1 2 13 15
13573 # Create a (secure) tmp directory for tmp files.
13576 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13580 tmp=./conf$$-$RANDOM
13581 (umask 077 && mkdir "$tmp")
13582 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13585 # Set up the scripts for CONFIG_FILES section.
13586 # No need to generate them if there are no CONFIG_FILES.
13587 # This happens for instance with `./config.status config.h'.
13588 if test -n "$CONFIG_FILES"; then
13591 ac_cr=`echo X | tr X '\015'`
13592 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13593 # But we know of no other shell where ac_cr would be empty at this
13594 # point, so we can use a bashism as a fallback.
13595 if test "x$ac_cr" = x; then
13596 eval ac_cr=\$\'\\r\'
13598 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13599 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13602 ac_cs_awk_cr=$ac_cr
13605 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13610 echo "cat >conf$$subs.awk <<_ACEOF" &&
13611 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13613 } >conf$$subs.sh ||
13614 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13615 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13617 for ac_last_try in false false false false false :; do
13618 . ./conf$$subs.sh ||
13619 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13621 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13622 if test $ac_delim_n = $ac_delim_num; then
13624 elif $ac_last_try; then
13625 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13627 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13630 rm -f conf$$subs.sh
13632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13633 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13637 s/^/S["/; s/!.*/"]=/
13647 s/\(.\{148\}\)..*/\1/
13649 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13654 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13661 s/\(.\{148\}\)..*/\1/
13663 s/["\\]/\\&/g; s/^/"/; s/$/"/
13667 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13672 ' <conf$$subs.awk | sed '
13677 ' >>$CONFIG_STATUS || ac_write_fail=1
13678 rm -f conf$$subs.awk
13679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13681 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13682 for (key in S) S_is_set[key] = 1
13688 nfields = split(line, field, "@")
13690 len = length(field[1])
13691 for (i = 2; i < nfields; i++) {
13693 keylen = length(key)
13694 if (S_is_set[key]) {
13696 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13697 len += length(value) + length(field[++i])
13708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13709 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13710 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13713 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13714 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13717 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13718 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13719 # trailing colons and then remove the whole line if VPATH becomes empty
13720 # (actually we leave an empty line to preserve line numbers).
13721 if test "x$srcdir" = x.; then
13722 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13741 fi # test -n "$CONFIG_FILES"
13743 # Set up the scripts for CONFIG_HEADERS section.
13744 # No need to generate them if there are no CONFIG_HEADERS.
13745 # This happens for instance with `./config.status Makefile'.
13746 if test -n "$CONFIG_HEADERS"; then
13747 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13751 # Transform confdefs.h into an awk script `defines.awk', embedded as
13752 # here-document in config.status, that substitutes the proper values into
13753 # config.h.in to produce config.h.
13755 # Create a delimiter string that does not exist in confdefs.h, to ease
13756 # handling of long lines.
13758 for ac_last_try in false false :; do
13759 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13760 if test -z "$ac_tt"; then
13762 elif $ac_last_try; then
13763 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13765 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13769 # For the awk script, D is an array of macro values keyed by name,
13770 # likewise P contains macro parameters if any. Preserve backslash
13771 # newline sequences.
13773 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13775 s/.\{148\}/&'"$ac_delim"'/g
13778 s/^[ ]*#[ ]*define[ ][ ]*/ /
13785 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13787 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13791 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13792 D["\1"]=" \3\\\\\\n"\\/p
13794 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13799 s/.\{148\}/&'"$ac_delim"'/g
13804 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13807 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13809 ' <confdefs.h | sed '
13810 s/'"$ac_delim"'/"\\\
13811 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13814 for (key in D) D_is_set[key] = 1
13817 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13819 split(line, arg, " ")
13820 if (arg[1] == "#") {
13824 defundef = substr(arg[1], 2)
13827 split(mac1, mac2, "(") #)
13829 prefix = substr(line, 1, index(line, defundef) - 1)
13830 if (D_is_set[macro]) {
13831 # Preserve the white space surrounding the "#".
13832 print prefix "define", macro P[macro] D[macro]
13835 # Replace #undef with comments. This is necessary, for example,
13836 # in the case of _POSIX_SOURCE, which is predefined and required
13837 # on some systems where configure will not decide to define it.
13838 if (defundef == "undef") {
13839 print "/*", prefix defundef, macro, "*/"
13847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13848 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13849 fi # test -n "$CONFIG_HEADERS"
13852 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13857 :[FHLC]) ac_mode=$ac_tag; continue;;
13859 case $ac_mode$ac_tag in
13861 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13862 :[FH]-) ac_tag=-:-;;
13863 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13880 -) ac_f="$ac_tmp/stdin";;
13881 *) # Look for the file first in the build tree, then in the source tree
13882 # (if the path is not absolute). The absolute path cannot be DOS-style,
13883 # because $ac_f cannot contain `:'.
13887 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13889 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13891 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13892 as_fn_append ac_file_inputs " '$ac_f'"
13895 # Let's still pretend it is `configure' which instantiates (i.e., don't
13896 # use $as_me), people would be surprised to read:
13897 # /* config.h. Generated by config.status. */
13898 configure_input='Generated from '`
13899 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13901 if test x"$ac_file" != x-; then
13902 configure_input="$ac_file. $configure_input"
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13904 $as_echo "$as_me: creating $ac_file" >&6;}
13906 # Neutralize special characters interpreted by sed in replacement strings.
13907 case $configure_input in #(
13908 *\&* | *\|* | *\\* )
13909 ac_sed_conf_input=`$as_echo "$configure_input" |
13910 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13911 *) ac_sed_conf_input=$configure_input;;
13915 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13916 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13921 ac_dir=`$as_dirname -- "$ac_file" ||
13922 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13923 X"$ac_file" : 'X\(//\)[^/]' \| \
13924 X"$ac_file" : 'X\(//\)$' \| \
13925 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13926 $as_echo X"$ac_file" |
13927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13931 /^X\(\/\/\)[^/].*/{
13944 as_dir="$ac_dir"; as_fn_mkdir_p
13948 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13950 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13951 # A ".." for each directory in $ac_dir_suffix.
13952 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13953 case $ac_top_builddir_sub in
13954 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13955 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13958 ac_abs_top_builddir=$ac_pwd
13959 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13960 # for backward compatibility:
13961 ac_top_builddir=$ac_top_build_prefix
13964 .) # We are building in place.
13966 ac_top_srcdir=$ac_top_builddir_sub
13967 ac_abs_top_srcdir=$ac_pwd ;;
13968 [\\/]* | ?:[\\/]* ) # Absolute name.
13969 ac_srcdir=$srcdir$ac_dir_suffix;
13970 ac_top_srcdir=$srcdir
13971 ac_abs_top_srcdir=$srcdir ;;
13972 *) # Relative name.
13973 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13974 ac_top_srcdir=$ac_top_build_prefix$srcdir
13975 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13977 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13987 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13988 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13990 ac_MKDIR_P=$MKDIR_P
13992 [\\/$]* | ?:[\\/]* ) ;;
13993 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13998 # If the template does not know about datarootdir, expand it.
13999 # FIXME: This hack should be removed a few years after 2.60.
14000 ac_datarootdir_hack=; ac_datarootdir_seen=
14011 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14012 *datarootdir*) ac_datarootdir_seen=yes;;
14013 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14015 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14018 ac_datarootdir_hack='
14019 s&@datadir@&$datadir&g
14020 s&@docdir@&$docdir&g
14021 s&@infodir@&$infodir&g
14022 s&@localedir@&$localedir&g
14023 s&@mandir@&$mandir&g
14024 s&\\\${datarootdir}&$datarootdir&g' ;;
14028 # Neutralize VPATH when `$srcdir' = `.'.
14029 # Shell code in configure.ac might set extrasub.
14030 # FIXME: do we really want to maintain this feature?
14031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14032 ac_sed_extra="$ac_vpsub
14035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14038 s|@configure_input@|$ac_sed_conf_input|;t t
14039 s&@top_builddir@&$ac_top_builddir_sub&;t t
14040 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14041 s&@srcdir@&$ac_srcdir&;t t
14042 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14043 s&@top_srcdir@&$ac_top_srcdir&;t t
14044 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14045 s&@builddir@&$ac_builddir&;t t
14046 s&@abs_builddir@&$ac_abs_builddir&;t t
14047 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14048 s&@INSTALL@&$ac_INSTALL&;t t
14049 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14050 $ac_datarootdir_hack
14052 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14053 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14055 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14056 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14057 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14058 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14060 which seems to be undefined. Please make sure it is defined" >&5
14061 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14062 which seems to be undefined. Please make sure it is defined" >&2;}
14064 rm -f "$ac_tmp/stdin"
14066 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14067 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14069 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14075 if test x"$ac_file" != x-; then
14077 $as_echo "/* $configure_input */" \
14078 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14079 } >"$ac_tmp/config.h" \
14080 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14081 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14083 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14086 mv "$ac_tmp/config.h" "$ac_file" \
14087 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14090 $as_echo "/* $configure_input */" \
14091 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14092 || as_fn_error $? "could not create -" "$LINENO" 5
14094 # Compute "$ac_file"'s index in $config_headers.
14097 for _am_header in $config_headers :; do
14098 case $_am_header in
14099 $_am_arg | $_am_arg:* )
14102 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14105 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14106 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14107 X"$_am_arg" : 'X\(//\)[^/]' \| \
14108 X"$_am_arg" : 'X\(//\)$' \| \
14109 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14110 $as_echo X"$_am_arg" |
14111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14115 /^X\(\/\/\)[^/].*/{
14127 s/.*/./; q'`/stamp-h$_am_stamp_count
14130 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14131 $as_echo "$as_me: executing $ac_file commands" >&6;}
14136 case $ac_file$ac_mode in
14137 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14138 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14139 # are listed without --file. Let's play safe and only enable the eval
14140 # if we detect the quoting.
14141 case $CONFIG_FILES in
14142 *\'*) eval set x "$CONFIG_FILES" ;;
14143 *) set x $CONFIG_FILES ;;
14148 # Strip MF so we end up with the name of the file.
14149 mf=`echo "$mf" | sed -e 's/:.*$//'`
14150 # Check whether this is an Automake generated Makefile or not.
14151 # We used to match only the files named `Makefile.in', but
14152 # some people rename them; so instead we look at the file content.
14153 # Grep'ing the first line is not enough: some people post-process
14154 # each Makefile.in and add a new line on top of each file to say so.
14155 # Grep'ing the whole file is not good either: AIX grep has a line
14156 # limit of 2048, but all sed's we know have understand at least 4000.
14157 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14158 dirpart=`$as_dirname -- "$mf" ||
14159 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14160 X"$mf" : 'X\(//\)[^/]' \| \
14161 X"$mf" : 'X\(//\)$' \| \
14162 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14168 /^X\(\/\/\)[^/].*/{
14184 # Extract the definition of DEPDIR, am__include, and am__quote
14185 # from the Makefile without running `make'.
14186 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14187 test -z "$DEPDIR" && continue
14188 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14189 test -z "am__include" && continue
14190 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14191 # When using ansi2knr, U may be empty or an underscore; expand it
14192 U=`sed -n 's/^U = //p' < "$mf"`
14193 # Find all dependency output files, they are included files with
14194 # $(DEPDIR) in their names. We invoke sed twice because it is the
14195 # simplest approach to changing $(DEPDIR) to its actual value in the
14197 for file in `sed -n "
14198 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14199 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14200 # Make sure the directory exists.
14201 test -f "$dirpart/$file" && continue
14202 fdir=`$as_dirname -- "$file" ||
14203 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14204 X"$file" : 'X\(//\)[^/]' \| \
14205 X"$file" : 'X\(//\)$' \| \
14206 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14207 $as_echo X"$file" |
14208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14212 /^X\(\/\/\)[^/].*/{
14225 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14226 # echo "creating $dirpart/$file"
14227 echo '# dummy' > "$dirpart/$file"
14234 # See if we are running on zsh, and set the options which allow our
14235 # commands through without removal of \ escapes.
14236 if test -n "${ZSH_VERSION+set}" ; then
14237 setopt NO_GLOB_SUBST
14240 cfgfile="${ofile}T"
14241 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14244 cat <<_LT_EOF >> "$cfgfile"
14247 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14248 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14249 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14250 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14252 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14253 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14255 # Written by Gordon Matzigkeit, 1996
14257 # This file is part of GNU Libtool.
14259 # GNU Libtool is free software; you can redistribute it and/or
14260 # modify it under the terms of the GNU General Public License as
14261 # published by the Free Software Foundation; either version 2 of
14262 # the License, or (at your option) any later version.
14264 # As a special exception to the GNU General Public License,
14265 # if you distribute this file as part of a program or library that
14266 # is built using GNU Libtool, you may include this file under the
14267 # same distribution terms that you use for the rest of that program.
14269 # GNU Libtool is distributed in the hope that it will be useful,
14270 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14271 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14272 # GNU General Public License for more details.
14274 # You should have received a copy of the GNU General Public License
14275 # along with GNU Libtool; see the file COPYING. If not, a copy
14276 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14277 # obtained by writing to the Free Software Foundation, Inc.,
14278 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14281 # The names of the tagged configurations supported by this script.
14284 # ### BEGIN LIBTOOL CONFIG
14286 # Whether or not to build static libraries.
14287 build_old_libs=$enable_static
14289 # Which release of libtool.m4 was used?
14290 macro_version=$macro_version
14291 macro_revision=$macro_revision
14293 # Whether or not to build shared libraries.
14294 build_libtool_libs=$enable_shared
14296 # What type of objects to build.
14299 # Whether or not to optimize for fast installation.
14300 fast_install=$enable_fast_install
14302 # Shell to use when invoking shell scripts.
14305 # An echo program that protects backslashes.
14308 # The PATH separator for the build system.
14309 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14312 host_alias=$host_alias
14316 # The build system.
14317 build_alias=$build_alias
14321 # A sed program that does not truncate output.
14324 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14325 Xsed="\$SED -e 1s/^X//"
14327 # A grep program that handles long lines.
14333 # A literal string matcher.
14336 # A BSD- or MS-compatible name lister.
14339 # Whether we need soft or hard links.
14342 # What is the maximum length of a command?
14343 max_cmd_len=$max_cmd_len
14345 # Object file suffix (normally "o").
14348 # Executable file suffix (normally "").
14351 # whether the shell understands "unset".
14354 # turn spaces into newlines.
14357 # turn newlines into spaces.
14360 # convert \$build file names to \$host format.
14361 to_host_file_cmd=$lt_cv_to_host_file_cmd
14363 # convert \$build files to toolchain format.
14364 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14366 # An object symbol dumper.
14367 OBJDUMP=$lt_OBJDUMP
14369 # Method to check whether dependent libraries are shared objects.
14370 deplibs_check_method=$lt_deplibs_check_method
14372 # Command to use when deplibs_check_method = "file_magic".
14373 file_magic_cmd=$lt_file_magic_cmd
14375 # How to find potential files when deplibs_check_method = "file_magic".
14376 file_magic_glob=$lt_file_magic_glob
14378 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14379 want_nocaseglob=$lt_want_nocaseglob
14381 # DLL creation program.
14382 DLLTOOL=$lt_DLLTOOL
14384 # Command to associate shared and link libraries.
14385 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14390 # Flags to create an archive.
14391 AR_FLAGS=$lt_AR_FLAGS
14393 # How to feed a file listing to the archiver.
14394 archiver_list_spec=$lt_archiver_list_spec
14396 # A symbol stripping program.
14399 # Commands used to install an old-style archive.
14401 old_postinstall_cmds=$lt_old_postinstall_cmds
14402 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14404 # Whether to use a lock for old archive extraction.
14405 lock_old_archive_extraction=$lock_old_archive_extraction
14410 # LTCC compiler flags.
14411 LTCFLAGS=$lt_CFLAGS
14413 # Take the output of nm and produce a listing of raw symbols and C names.
14414 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14416 # Transform the output of nm in a proper C declaration.
14417 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14419 # Transform the output of nm in a C name address pair.
14420 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14422 # Transform the output of nm in a C name address pair when lib prefix is needed.
14423 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14425 # Specify filename containing input files for \$NM.
14426 nm_file_list_spec=$lt_nm_file_list_spec
14428 # The root where to search for dependent libraries,and in which our libraries should be installed.
14429 lt_sysroot=$lt_sysroot
14431 # The name of the directory that contains temporary libtool files.
14434 # Used to examine libraries when file_magic_cmd begins with "file".
14435 MAGIC_CMD=$MAGIC_CMD
14437 # Must we lock files when doing compilation?
14438 need_locks=$lt_need_locks
14441 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14443 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14444 DSYMUTIL=$lt_DSYMUTIL
14446 # Tool to change global to local symbols on Mac OS X.
14449 # Tool to manipulate fat objects and archives on Mac OS X.
14452 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14455 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14456 OTOOL64=$lt_OTOOL64
14458 # Old archive suffix (normally "a").
14461 # Shared library suffix (normally ".so").
14462 shrext_cmds=$lt_shrext_cmds
14464 # The commands to extract the exported symbol list from a shared archive.
14465 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14467 # Variables whose values should be saved in libtool wrapper scripts and
14468 # restored at link time.
14469 variables_saved_for_relink=$lt_variables_saved_for_relink
14471 # Do we need the "lib" prefix for modules?
14472 need_lib_prefix=$need_lib_prefix
14474 # Do we need a version for libraries?
14475 need_version=$need_version
14477 # Library versioning type.
14478 version_type=$version_type
14480 # Shared library runtime path variable.
14481 runpath_var=$runpath_var
14483 # Shared library path variable.
14484 shlibpath_var=$shlibpath_var
14486 # Is shlibpath searched before the hard-coded library search path?
14487 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14489 # Format of library name prefix.
14490 libname_spec=$lt_libname_spec
14492 # List of archive names. First name is the real one, the rest are links.
14493 # The last name is the one that the linker finds with -lNAME
14494 library_names_spec=$lt_library_names_spec
14496 # The coded name of the library, if different from the real name.
14497 soname_spec=$lt_soname_spec
14499 # Permission mode override for installation of shared libraries.
14500 install_override_mode=$lt_install_override_mode
14502 # Command to use after installation of a shared archive.
14503 postinstall_cmds=$lt_postinstall_cmds
14505 # Command to use after uninstallation of a shared archive.
14506 postuninstall_cmds=$lt_postuninstall_cmds
14508 # Commands used to finish a libtool library installation in a directory.
14509 finish_cmds=$lt_finish_cmds
14511 # As "finish_cmds", except a single script fragment to be evaled but
14513 finish_eval=$lt_finish_eval
14515 # Whether we should hardcode library paths into libraries.
14516 hardcode_into_libs=$hardcode_into_libs
14518 # Compile-time system search path for libraries.
14519 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14521 # Run-time system search path for libraries.
14522 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14524 # Whether dlopen is supported.
14525 dlopen_support=$enable_dlopen
14527 # Whether dlopen of programs is supported.
14528 dlopen_self=$enable_dlopen_self
14530 # Whether dlopen of statically linked programs is supported.
14531 dlopen_self_static=$enable_dlopen_self_static
14533 # Commands to strip libraries.
14534 old_striplib=$lt_old_striplib
14535 striplib=$lt_striplib
14538 # The linker used to build libraries.
14541 # How to create reloadable object files.
14542 reload_flag=$lt_reload_flag
14543 reload_cmds=$lt_reload_cmds
14545 # Commands used to build an old-style archive.
14546 old_archive_cmds=$lt_old_archive_cmds
14548 # A language specific compiler.
14551 # Is the compiler the GNU compiler?
14554 # Compiler flag to turn off builtin functions.
14555 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14557 # Additional compiler flags for building library objects.
14558 pic_flag=$lt_lt_prog_compiler_pic
14560 # How to pass a linker flag through the compiler.
14561 wl=$lt_lt_prog_compiler_wl
14563 # Compiler flag to prevent dynamic linking.
14564 link_static_flag=$lt_lt_prog_compiler_static
14566 # Does compiler simultaneously support -c and -o options?
14567 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14569 # Whether or not to add -lc for building shared libraries.
14570 build_libtool_need_lc=$archive_cmds_need_lc
14572 # Whether or not to disallow shared libs when runtime libs are static.
14573 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14575 # Compiler flag to allow reflexive dlopens.
14576 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14578 # Compiler flag to generate shared objects directly from archives.
14579 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14581 # Whether the compiler copes with passing no objects directly.
14582 compiler_needs_object=$lt_compiler_needs_object
14584 # Create an old-style archive from a shared archive.
14585 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14587 # Create a temporary old-style archive to link instead of a shared archive.
14588 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14590 # Commands used to build a shared archive.
14591 archive_cmds=$lt_archive_cmds
14592 archive_expsym_cmds=$lt_archive_expsym_cmds
14594 # Commands used to build a loadable module if different from building
14595 # a shared archive.
14596 module_cmds=$lt_module_cmds
14597 module_expsym_cmds=$lt_module_expsym_cmds
14599 # Whether we are building with GNU ld or not.
14600 with_gnu_ld=$lt_with_gnu_ld
14602 # Flag that allows shared libraries with undefined symbols to be built.
14603 allow_undefined_flag=$lt_allow_undefined_flag
14605 # Flag that enforces no undefined symbols.
14606 no_undefined_flag=$lt_no_undefined_flag
14608 # Flag to hardcode \$libdir into a binary during linking.
14609 # This must work even if \$libdir does not exist
14610 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14612 # Whether we need a single "-rpath" flag with a separated argument.
14613 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14615 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14616 # DIR into the resulting binary.
14617 hardcode_direct=$hardcode_direct
14619 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14620 # DIR into the resulting binary and the resulting library dependency is
14621 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14622 # library is relocated.
14623 hardcode_direct_absolute=$hardcode_direct_absolute
14625 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14626 # into the resulting binary.
14627 hardcode_minus_L=$hardcode_minus_L
14629 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14630 # into the resulting binary.
14631 hardcode_shlibpath_var=$hardcode_shlibpath_var
14633 # Set to "yes" if building a shared library automatically hardcodes DIR
14634 # into the library and all subsequent libraries and executables linked
14636 hardcode_automatic=$hardcode_automatic
14638 # Set to yes if linker adds runtime paths of dependent libraries
14639 # to runtime path list.
14640 inherit_rpath=$inherit_rpath
14642 # Whether libtool must link a program against all its dependency libraries.
14643 link_all_deplibs=$link_all_deplibs
14645 # Set to "yes" if exported symbols are required.
14646 always_export_symbols=$always_export_symbols
14648 # The commands to list exported symbols.
14649 export_symbols_cmds=$lt_export_symbols_cmds
14651 # Symbols that should not be listed in the preloaded symbols.
14652 exclude_expsyms=$lt_exclude_expsyms
14654 # Symbols that must always be exported.
14655 include_expsyms=$lt_include_expsyms
14657 # Commands necessary for linking programs (against libraries) with templates.
14658 prelink_cmds=$lt_prelink_cmds
14660 # Commands necessary for finishing linking programs.
14661 postlink_cmds=$lt_postlink_cmds
14663 # Specify filename containing input files.
14664 file_list_spec=$lt_file_list_spec
14666 # How to hardcode a shared library path into an executable.
14667 hardcode_action=$hardcode_action
14669 # ### END LIBTOOL CONFIG
14675 cat <<\_LT_EOF >> "$cfgfile"
14676 # AIX sometimes has problems with the GCC collect2 program. For some
14677 # reason, if we set the COLLECT_NAMES environment variable, the problems
14678 # vanish in a puff of smoke.
14679 if test "X${COLLECT_NAMES+set}" != Xset; then
14681 export COLLECT_NAMES
14688 ltmain="$ac_aux_dir/ltmain.sh"
14691 # We use sed instead of cat because bash on DJGPP gets confused if
14692 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14693 # text mode, it properly converts lines to CR/LF. This bash problem
14694 # is reportedly fixed, but why not run on old versions too?
14695 sed '$q' "$ltmain" >> "$cfgfile" \
14696 || (rm -f "$cfgfile"; exit 1)
14698 if test x"$xsi_shell" = xyes; then
14699 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14703 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14704 \ * ) func_dirname_result="${3}" ;;\
14706 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14707 && mv -f "$cfgfile.tmp" "$cfgfile" \
14708 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14709 test 0 -eq $? || _lt_function_replace_fail=:
14712 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14715 \ func_basename_result="${1##*/}"\
14716 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14717 && mv -f "$cfgfile.tmp" "$cfgfile" \
14718 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14719 test 0 -eq $? || _lt_function_replace_fail=:
14722 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14723 func_dirname_and_basename ()\
14726 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14727 \ * ) func_dirname_result="${3}" ;;\
14729 \ func_basename_result="${1##*/}"\
14730 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14731 && mv -f "$cfgfile.tmp" "$cfgfile" \
14732 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14733 test 0 -eq $? || _lt_function_replace_fail=:
14736 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14739 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14740 \ # positional parameters, so assign one to ordinary parameter first.\
14741 \ func_stripname_result=${3}\
14742 \ func_stripname_result=${func_stripname_result#"${1}"}\
14743 \ func_stripname_result=${func_stripname_result%"${2}"}\
14744 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14745 && mv -f "$cfgfile.tmp" "$cfgfile" \
14746 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14747 test 0 -eq $? || _lt_function_replace_fail=:
14750 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14751 func_split_long_opt ()\
14753 \ func_split_long_opt_name=${1%%=*}\
14754 \ func_split_long_opt_arg=${1#*=}\
14755 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14756 && mv -f "$cfgfile.tmp" "$cfgfile" \
14757 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14758 test 0 -eq $? || _lt_function_replace_fail=:
14761 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14762 func_split_short_opt ()\
14764 \ func_split_short_opt_arg=${1#??}\
14765 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14766 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14767 && mv -f "$cfgfile.tmp" "$cfgfile" \
14768 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14769 test 0 -eq $? || _lt_function_replace_fail=:
14772 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14776 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14777 \ *) func_lo2o_result=${1} ;;\
14779 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14780 && mv -f "$cfgfile.tmp" "$cfgfile" \
14781 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14782 test 0 -eq $? || _lt_function_replace_fail=:
14785 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14788 func_xform_result=${1%.*}.lo\
14789 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14790 && mv -f "$cfgfile.tmp" "$cfgfile" \
14791 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14792 test 0 -eq $? || _lt_function_replace_fail=:
14795 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14798 func_arith_result=$(( $* ))\
14799 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14800 && mv -f "$cfgfile.tmp" "$cfgfile" \
14801 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14802 test 0 -eq $? || _lt_function_replace_fail=:
14805 sed -e '/^func_len ()$/,/^} # func_len /c\
14808 func_len_result=${#1}\
14809 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14810 && mv -f "$cfgfile.tmp" "$cfgfile" \
14811 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14812 test 0 -eq $? || _lt_function_replace_fail=:
14816 if test x"$lt_shell_append" = xyes; then
14817 sed -e '/^func_append ()$/,/^} # func_append /c\
14820 eval "${1}+=\\${2}"\
14821 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14822 && mv -f "$cfgfile.tmp" "$cfgfile" \
14823 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14824 test 0 -eq $? || _lt_function_replace_fail=:
14827 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14828 func_append_quoted ()\
14830 \ func_quote_for_eval "${2}"\
14831 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14832 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14833 && mv -f "$cfgfile.tmp" "$cfgfile" \
14834 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14835 test 0 -eq $? || _lt_function_replace_fail=:
14838 # Save a `func_append' function call where possible by direct use of '+='
14839 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14840 && mv -f "$cfgfile.tmp" "$cfgfile" \
14841 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14842 test 0 -eq $? || _lt_function_replace_fail=:
14844 # Save a `func_append' function call even when '+=' is not available
14845 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14846 && mv -f "$cfgfile.tmp" "$cfgfile" \
14847 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14848 test 0 -eq $? || _lt_function_replace_fail=:
14851 if test x"$_lt_function_replace_fail" = x":"; then
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14853 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14857 mv -f "$cfgfile" "$ofile" ||
14858 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14869 ac_clean_files=$ac_clean_files_save
14871 test $ac_write_fail = 0 ||
14872 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14875 # configure is writing to config.log, and then calls config.status.
14876 # config.status does its own redirection, appending to config.log.
14877 # Unfortunately, on DOS this fails, as config.log is still kept open
14878 # by configure, so config.status won't be able to write to it; its
14879 # output is simply discarded. So we exec the FD to /dev/null,
14880 # effectively closing config.log, so it can be properly (re)opened and
14881 # appended to by config.status. When coming back to configure, we
14882 # need to make the FD available again.
14883 if test "$no_create" != yes; then
14885 ac_config_status_args=
14886 test "$silent" = yes &&
14887 ac_config_status_args="$ac_config_status_args --quiet"
14889 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14891 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14892 # would make configure fail if this is the last instruction.
14893 $ac_cs_success || as_fn_exit 1
14895 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14897 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14902 e_xtlibdir=$xtlibdir
14903 if test $prefix = 'NONE'; then
14904 prefix="/usr/local"
14907 case "$e_xtlibdir" in
14908 *\$* ) eval "e_xtlibdir=$e_xtlibdir" ;;
14912 eval "e_xtlibdir=$e_xtlibdir"
14914 e_pkgconfigdir=$pkgconfigdir
14915 if test $prefix = 'NONE'; then
14916 prefix="/usr/local"
14919 case "$e_pkgconfigdir" in
14920 *\$* ) eval "e_pkgconfigdir=$e_pkgconfigdir" ;;
14924 eval "e_pkgconfigdir=$e_pkgconfigdir"
14928 Iptables Configuration:
14929 IPv4 support: ${enable_ipv4}
14930 IPv6 support: ${enable_ipv6}
14931 Devel support: ${enable_devel}
14932 IPQ support: ${enable_libipq}
14933 Large file support: ${enable_largefile}
14934 BPF utils support: ${enable_bpfc}
14935 nfsynproxy util support: ${enable_nfsynproxy}
14938 Put plugins into executable (static): ${enable_static}
14939 Support plugins via dlopen (shared): ${enable_shared}
14940 Installation prefix (--prefix): ${prefix}
14941 Xtables extension directory: ${e_xtlibdir}
14942 Pkg-config directory: ${e_pkgconfigdir}"
14944 if [ -n "$ksourcedir" ]; then
14945 echo " Kernel source directory: ${ksourcedir}"
14947 if [ -n "$kbuilddir" ]; then
14948 echo " Kernel build directory: ${kbuilddir}"
14951 echo " Host: ${host}
14954 test x"$blacklist_modules" = "x" || echo "
14955 Iptables modules that will not be built: $blacklist_modules"