2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for iftop 1.0pre4.
5 # Report bugs to <pdw@ex-parrot.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and pdw@ex-parrot.com
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
582 PACKAGE_TARNAME='iftop'
583 PACKAGE_VERSION='1.0pre4'
584 PACKAGE_STRING='iftop 1.0pre4'
585 PACKAGE_BUGREPORT='pdw@ex-parrot.com'
586 PACKAGE_URL='http://www.ex-parrot.com/pdw/iftop/'
588 # Factoring default headers for most tests.
589 ac_includes_default="\
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
601 # ifdef HAVE_STDLIB_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
624 ac_subst_vars='am__EXEEXT_FALSE
661 INSTALL_STRIP_PROGRAM
715 program_transform_name
728 enable_option_checking
730 enable_dependency_tracking
733 enable_default_promiscuous
735 ac_precious_vars='build_alias
746 # Initialize some variables set by options.
748 ac_init_version=false
749 ac_unrecognized_opts=
751 # The variables have the same names as the options, with
752 # dashes changed to underlines.
760 program_transform_name=s,x,x,
768 # Installation directory options.
769 # These are left unexpanded so users can "make install exec_prefix=/foo"
770 # and all the variables that are supposed to be based on exec_prefix
771 # by default will actually change.
772 # Use braces instead of parens because sh, perl, etc. also accept them.
773 # (The list follows the same order as the GNU Coding Standards.)
774 bindir='${exec_prefix}/bin'
775 sbindir='${exec_prefix}/sbin'
776 libexecdir='${exec_prefix}/libexec'
777 datarootdir='${prefix}/share'
778 datadir='${datarootdir}'
779 sysconfdir='${prefix}/etc'
780 sharedstatedir='${prefix}/com'
781 localstatedir='${prefix}/var'
782 includedir='${prefix}/include'
783 oldincludedir='/usr/include'
784 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
785 infodir='${datarootdir}/info'
790 libdir='${exec_prefix}/lib'
791 localedir='${datarootdir}/locale'
792 mandir='${datarootdir}/man'
798 # If the previous option needs an argument, assign it.
799 if test -n "$ac_prev"; then
800 eval $ac_prev=\$ac_option
806 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
811 # Accept the important Cygnus configure options, so we can diagnose typos.
813 case $ac_dashdash$ac_option in
817 -bindir | --bindir | --bindi | --bind | --bin | --bi)
819 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
822 -build | --build | --buil | --bui | --bu)
823 ac_prev=build_alias ;;
824 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
825 build_alias=$ac_optarg ;;
827 -cache-file | --cache-file | --cache-fil | --cache-fi \
828 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
829 ac_prev=cache_file ;;
830 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
831 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
832 cache_file=$ac_optarg ;;
835 cache_file=config.cache ;;
837 -datadir | --datadir | --datadi | --datad)
839 -datadir=* | --datadir=* | --datadi=* | --datad=*)
840 datadir=$ac_optarg ;;
842 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
843 | --dataroo | --dataro | --datar)
844 ac_prev=datarootdir ;;
845 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
846 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
847 datarootdir=$ac_optarg ;;
849 -disable-* | --disable-*)
850 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
853 as_fn_error $? "invalid feature name: $ac_useropt"
854 ac_useropt_orig=$ac_useropt
855 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856 case $ac_user_opts in
860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
861 ac_unrecognized_sep=', ';;
863 eval enable_$ac_useropt=no ;;
865 -docdir | --docdir | --docdi | --doc | --do)
867 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
870 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
872 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
875 -enable-* | --enable-*)
876 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
877 # Reject names that are not valid shell variable names.
878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879 as_fn_error $? "invalid feature name: $ac_useropt"
880 ac_useropt_orig=$ac_useropt
881 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882 case $ac_user_opts in
886 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
887 ac_unrecognized_sep=', ';;
889 eval enable_$ac_useropt=\$ac_optarg ;;
891 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
892 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
893 | --exec | --exe | --ex)
894 ac_prev=exec_prefix ;;
895 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
896 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
897 | --exec=* | --exe=* | --ex=*)
898 exec_prefix=$ac_optarg ;;
900 -gas | --gas | --ga | --g)
901 # Obsolete; use --with-gas.
904 -help | --help | --hel | --he | -h)
906 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
907 ac_init_help=recursive ;;
908 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
909 ac_init_help=short ;;
911 -host | --host | --hos | --ho)
912 ac_prev=host_alias ;;
913 -host=* | --host=* | --hos=* | --ho=*)
914 host_alias=$ac_optarg ;;
916 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
918 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
920 htmldir=$ac_optarg ;;
922 -includedir | --includedir | --includedi | --included | --include \
923 | --includ | --inclu | --incl | --inc)
924 ac_prev=includedir ;;
925 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
926 | --includ=* | --inclu=* | --incl=* | --inc=*)
927 includedir=$ac_optarg ;;
929 -infodir | --infodir | --infodi | --infod | --info | --inf)
931 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
932 infodir=$ac_optarg ;;
934 -libdir | --libdir | --libdi | --libd)
936 -libdir=* | --libdir=* | --libdi=* | --libd=*)
939 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
940 | --libexe | --libex | --libe)
941 ac_prev=libexecdir ;;
942 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
943 | --libexe=* | --libex=* | --libe=*)
944 libexecdir=$ac_optarg ;;
946 -localedir | --localedir | --localedi | --localed | --locale)
948 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
949 localedir=$ac_optarg ;;
951 -localstatedir | --localstatedir | --localstatedi | --localstated \
952 | --localstate | --localstat | --localsta | --localst | --locals)
953 ac_prev=localstatedir ;;
954 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
955 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
956 localstatedir=$ac_optarg ;;
958 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
960 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
964 # Obsolete; use --without-fp.
967 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
968 | --no-cr | --no-c | -n)
971 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
972 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
975 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
976 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
977 | --oldin | --oldi | --old | --ol | --o)
978 ac_prev=oldincludedir ;;
979 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
980 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
981 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
982 oldincludedir=$ac_optarg ;;
984 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
986 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
989 -program-prefix | --program-prefix | --program-prefi | --program-pref \
990 | --program-pre | --program-pr | --program-p)
991 ac_prev=program_prefix ;;
992 -program-prefix=* | --program-prefix=* | --program-prefi=* \
993 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
994 program_prefix=$ac_optarg ;;
996 -program-suffix | --program-suffix | --program-suffi | --program-suff \
997 | --program-suf | --program-su | --program-s)
998 ac_prev=program_suffix ;;
999 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1000 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1001 program_suffix=$ac_optarg ;;
1003 -program-transform-name | --program-transform-name \
1004 | --program-transform-nam | --program-transform-na \
1005 | --program-transform-n | --program-transform- \
1006 | --program-transform | --program-transfor \
1007 | --program-transfo | --program-transf \
1008 | --program-trans | --program-tran \
1009 | --progr-tra | --program-tr | --program-t)
1010 ac_prev=program_transform_name ;;
1011 -program-transform-name=* | --program-transform-name=* \
1012 | --program-transform-nam=* | --program-transform-na=* \
1013 | --program-transform-n=* | --program-transform-=* \
1014 | --program-transform=* | --program-transfor=* \
1015 | --program-transfo=* | --program-transf=* \
1016 | --program-trans=* | --program-tran=* \
1017 | --progr-tra=* | --program-tr=* | --program-t=*)
1018 program_transform_name=$ac_optarg ;;
1020 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1022 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1023 pdfdir=$ac_optarg ;;
1025 -psdir | --psdir | --psdi | --psd | --ps)
1027 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1031 | -silent | --silent | --silen | --sile | --sil)
1034 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1036 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1038 sbindir=$ac_optarg ;;
1040 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1041 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1042 | --sharedst | --shareds | --shared | --share | --shar \
1044 ac_prev=sharedstatedir ;;
1045 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1046 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1047 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1049 sharedstatedir=$ac_optarg ;;
1051 -site | --site | --sit)
1053 -site=* | --site=* | --sit=*)
1056 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1058 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1059 srcdir=$ac_optarg ;;
1061 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1062 | --syscon | --sysco | --sysc | --sys | --sy)
1063 ac_prev=sysconfdir ;;
1064 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1065 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1066 sysconfdir=$ac_optarg ;;
1068 -target | --target | --targe | --targ | --tar | --ta | --t)
1069 ac_prev=target_alias ;;
1070 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1071 target_alias=$ac_optarg ;;
1073 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1076 -version | --version | --versio | --versi | --vers | -V)
1077 ac_init_version=: ;;
1080 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083 as_fn_error $? "invalid package name: $ac_useropt"
1084 ac_useropt_orig=$ac_useropt
1085 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1090 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1091 ac_unrecognized_sep=', ';;
1093 eval with_$ac_useropt=\$ac_optarg ;;
1095 -without-* | --without-*)
1096 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error $? "invalid package name: $ac_useropt"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1109 eval with_$ac_useropt=no ;;
1112 # Obsolete; use --with-x.
1115 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1116 | --x-incl | --x-inc | --x-in | --x-i)
1117 ac_prev=x_includes ;;
1118 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1119 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1120 x_includes=$ac_optarg ;;
1122 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1123 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1124 ac_prev=x_libraries ;;
1125 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1126 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1127 x_libraries=$ac_optarg ;;
1129 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1130 Try \`$0 --help' for more information"
1134 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1135 # Reject names that are not valid shell variable names.
1136 case $ac_envvar in #(
1137 '' | [0-9]* | *[!_$as_cr_alnum]* )
1138 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1140 eval $ac_envvar=\$ac_optarg
1141 export $ac_envvar ;;
1144 # FIXME: should be removed in autoconf 3.0.
1145 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1146 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1147 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1148 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1154 if test -n "$ac_prev"; then
1155 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1156 as_fn_error $? "missing argument to $ac_option"
1159 if test -n "$ac_unrecognized_opts"; then
1160 case $enable_option_checking in
1162 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1163 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1167 # Check all directory arguments for consistency.
1168 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1169 datadir sysconfdir sharedstatedir localstatedir includedir \
1170 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1171 libdir localedir mandir
1173 eval ac_val=\$$ac_var
1174 # Remove trailing slashes.
1177 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1178 eval $ac_var=\$ac_val;;
1180 # Be sure to have absolute directory names.
1182 [\\/$]* | ?:[\\/]* ) continue;;
1183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1188 # There might be people who depend on the old broken behavior: `$host'
1189 # used to hold the argument of --host etc.
1190 # FIXME: To remove some day.
1193 target=$target_alias
1195 # FIXME: To remove some day.
1196 if test "x$host_alias" != x; then
1197 if test "x$build_alias" = x; then
1198 cross_compiling=maybe
1199 elif test "x$build_alias" != "x$host_alias"; then
1205 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1207 test "$silent" = yes && exec 6>/dev/null
1210 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1211 ac_ls_di=`ls -di .` &&
1212 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1213 as_fn_error $? "working directory cannot be determined"
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215 as_fn_error $? "pwd does not report name of working directory"
1218 # Find the source files, if location was not specified.
1219 if test -z "$srcdir"; then
1220 ac_srcdir_defaulted=yes
1221 # Try the directory containing this script, then the parent directory.
1222 ac_confdir=`$as_dirname -- "$as_myself" ||
1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224 X"$as_myself" : 'X\(//\)[^/]' \| \
1225 X"$as_myself" : 'X\(//\)$' \| \
1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227 $as_echo X"$as_myself" |
1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1250 ac_srcdir_defaulted=no
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1254 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1256 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1260 # When building in place, set srcdir=.
1261 if test "$ac_abs_confdir" = "$ac_pwd"; then
1264 # Remove unnecessary trailing slashes from srcdir.
1265 # Double slashes in file names in object file debugging info
1266 # mess up M-x gdb in Emacs.
1268 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 for ac_var in $ac_precious_vars; do
1271 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_env_${ac_var}_value=\$${ac_var}
1273 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1274 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1278 # Report the --help message.
1280 if test "$ac_init_help" = "long"; then
1281 # Omit some internal or obsolete options to make the list less imposing.
1282 # This message is too long to be a string in the A/UX 3.1 sh.
1284 \`configure' configures iftop 1.0pre4 to adapt to many kinds of systems.
1286 Usage: $0 [OPTION]... [VAR=VALUE]...
1288 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1289 VAR=VALUE. See below for descriptions of some of the useful variables.
1291 Defaults for the options are specified in brackets.
1294 -h, --help display this help and exit
1295 --help=short display options specific to this package
1296 --help=recursive display the short help of all the included packages
1297 -V, --version display version information and exit
1298 -q, --quiet, --silent do not print \`checking ...' messages
1299 --cache-file=FILE cache test results in FILE [disabled]
1300 -C, --config-cache alias for \`--cache-file=config.cache'
1301 -n, --no-create do not create output files
1302 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1304 Installation directories:
1305 --prefix=PREFIX install architecture-independent files in PREFIX
1306 [$ac_default_prefix]
1307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1310 By default, \`make install' will install all the files in
1311 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1312 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1313 for instance \`--prefix=\$HOME'.
1315 For better control, use the options below.
1317 Fine tuning of the installation directories:
1318 --bindir=DIR user executables [EPREFIX/bin]
1319 --sbindir=DIR system admin executables [EPREFIX/sbin]
1320 --libexecdir=DIR program executables [EPREFIX/libexec]
1321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1324 --libdir=DIR object code libraries [EPREFIX/lib]
1325 --includedir=DIR C header files [PREFIX/include]
1326 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1327 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1328 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1329 --infodir=DIR info documentation [DATAROOTDIR/info]
1330 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1331 --mandir=DIR man documentation [DATAROOTDIR/man]
1332 --docdir=DIR documentation root [DATAROOTDIR/doc/iftop]
1333 --htmldir=DIR html documentation [DOCDIR]
1334 --dvidir=DIR dvi documentation [DOCDIR]
1335 --pdfdir=DIR pdf documentation [DOCDIR]
1336 --psdir=DIR ps documentation [DOCDIR]
1342 --program-prefix=PREFIX prepend PREFIX to installed program names
1343 --program-suffix=SUFFIX append SUFFIX to installed program names
1344 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1347 --build=BUILD configure for building on BUILD [guessed]
1348 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1349 --target=TARGET configure for building compilers for TARGET [HOST]
1353 if test -n "$ac_init_help"; then
1354 case $ac_init_help in
1355 short | recursive ) echo "Configuration of iftop 1.0pre4:";;
1360 --disable-option-checking ignore unrecognized --enable/--with options
1361 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1362 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1363 --enable-silent-rules less verbose build output (undo: "make V=1")
1364 --disable-silent-rules verbose build output (undo: "make V=0")
1365 --enable-dependency-tracking
1366 do not reject slow dependency extractors
1367 --disable-dependency-tracking
1368 speeds up one-time build
1369 --enable-default-promiscuous If enabled, iftop will operate in promiscuous mode
1370 to capture outgoing packets
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --with-resolver=TYPE Technique iftop should use for name resolution.
1377 netdb use gethostbyaddr_r in multiple
1379 netdb_1thread use gethostbyaddr_r and
1380 assume it is not reentrant.
1381 ares use the MIT ARES asynchronous
1383 forking use the REALLY SUCKY forking resolver.
1384 guess run experiments to guess a
1385 reasonable value. Only works if you
1386 aren't cross-compiling. This
1387 is the default. guess will
1388 either select netdb or netdb_1thread.
1389 none don't do name resolution.
1390 --with-libpcap=WHERE Where the libpcap packet-capture library is found.
1391 The pcap library should be installed in WHERE/lib,
1392 and the header file in either WHERE/include or
1394 default=look in standard locations
1396 Some influential environment variables:
1397 CC C compiler command
1398 CFLAGS C compiler flags
1399 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1400 nonstandard directory <lib dir>
1401 LIBS libraries to pass to the linker, e.g. -l<library>
1402 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1403 you have headers in a nonstandard directory <include dir>
1406 Use these variables to override the choices made by `configure' or to help
1407 it to find libraries and programs with nonstandard names/locations.
1409 Report bugs to <pdw@ex-parrot.com>.
1410 iftop home page: <http://www.ex-parrot.com/pdw/iftop/>.
1415 if test "$ac_init_help" = "recursive"; then
1416 # If there are subdirs, report their specific --help.
1417 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1418 test -d "$ac_dir" ||
1419 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1427 # A ".." for each directory in $ac_dir_suffix.
1428 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1429 case $ac_top_builddir_sub in
1430 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1434 ac_abs_top_builddir=$ac_pwd
1435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1436 # for backward compatibility:
1437 ac_top_builddir=$ac_top_build_prefix
1440 .) # We are building in place.
1442 ac_top_srcdir=$ac_top_builddir_sub
1443 ac_abs_top_srcdir=$ac_pwd ;;
1444 [\\/]* | ?:[\\/]* ) # Absolute name.
1445 ac_srcdir=$srcdir$ac_dir_suffix;
1446 ac_top_srcdir=$srcdir
1447 ac_abs_top_srcdir=$srcdir ;;
1449 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1450 ac_top_srcdir=$ac_top_build_prefix$srcdir
1451 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1455 cd "$ac_dir" || { ac_status=$?; continue; }
1456 # Check for guested configure.
1457 if test -f "$ac_srcdir/configure.gnu"; then
1459 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1460 elif test -f "$ac_srcdir/configure"; then
1462 $SHELL "$ac_srcdir/configure" --help=recursive
1464 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466 cd "$ac_pwd" || { ac_status=$?; break; }
1470 test -n "$ac_init_help" && exit $ac_status
1471 if $ac_init_version; then
1473 iftop configure 1.0pre4
1474 generated by GNU Autoconf 2.69
1476 Copyright (C) 2012 Free Software Foundation, Inc.
1477 This configure script is free software; the Free Software Foundation
1478 gives unlimited permission to copy, distribute and modify it.
1483 ## ------------------------ ##
1484 ## Autoconf initialization. ##
1485 ## ------------------------ ##
1487 # ac_fn_c_try_compile LINENO
1488 # --------------------------
1489 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1490 ac_fn_c_try_compile ()
1492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493 rm -f conftest.$ac_objext
1494 if { { ac_try="$ac_compile"
1496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1497 *) ac_try_echo=$ac_try;;
1499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1500 $as_echo "$ac_try_echo"; } >&5
1501 (eval "$ac_compile") 2>conftest.err
1503 if test -s conftest.err; then
1504 grep -v '^ *+' conftest.err >conftest.er1
1505 cat conftest.er1 >&5
1506 mv -f conftest.er1 conftest.err
1508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1509 test $ac_status = 0; } && {
1510 test -z "$ac_c_werror_flag" ||
1511 test ! -s conftest.err
1512 } && test -s conftest.$ac_objext; then :
1515 $as_echo "$as_me: failed program was:" >&5
1516 sed 's/^/| /' conftest.$ac_ext >&5
1520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1521 as_fn_set_status $ac_retval
1523 } # ac_fn_c_try_compile
1525 # ac_fn_c_try_cpp LINENO
1526 # ----------------------
1527 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531 if { { ac_try="$ac_cpp conftest.$ac_ext"
1533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1534 *) ac_try_echo=$ac_try;;
1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537 $as_echo "$ac_try_echo"; } >&5
1538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1540 if test -s conftest.err; then
1541 grep -v '^ *+' conftest.err >conftest.er1
1542 cat conftest.er1 >&5
1543 mv -f conftest.er1 conftest.err
1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546 test $ac_status = 0; } > conftest.i && {
1547 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1548 test ! -s conftest.err
1552 $as_echo "$as_me: failed program was:" >&5
1553 sed 's/^/| /' conftest.$ac_ext >&5
1557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1558 as_fn_set_status $ac_retval
1562 # ac_fn_c_try_run LINENO
1563 # ----------------------
1564 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1565 # that executables *can* be run.
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 if { { ac_try="$ac_link"
1571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1572 *) ac_try_echo=$ac_try;;
1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575 $as_echo "$ac_try_echo"; } >&5
1576 (eval "$ac_link") 2>&5
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1580 { { case "(($ac_try" in
1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1582 *) ac_try_echo=$ac_try;;
1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 $as_echo "$ac_try_echo"; } >&5
1586 (eval "$ac_try") 2>&5
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; }; }; then :
1592 $as_echo "$as_me: program exited with status $ac_status" >&5
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1596 ac_retval=$ac_status
1598 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status $ac_retval
1604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607 # the include files in INCLUDES and setting the cache variable VAR
1609 ac_fn_c_check_header_mongrel ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if eval \${$3+:} false; then :
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if eval \${$3+:} false; then :
1616 $as_echo_n "(cached) " >&6
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1622 # Is the header compilable?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624 $as_echo_n "checking $2 usability... " >&6; }
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1630 if ac_fn_c_try_compile "$LINENO"; then :
1631 ac_header_compiler=yes
1633 ac_header_compiler=no
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637 $as_echo "$ac_header_compiler" >&6; }
1639 # Is the header present?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641 $as_echo_n "checking $2 presence... " >&6; }
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1646 if ac_fn_c_try_cpp "$LINENO"; then :
1647 ac_header_preproc=yes
1649 ac_header_preproc=no
1651 rm -f conftest.err conftest.i conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653 $as_echo "$ac_header_preproc" >&6; }
1655 # So? What about this header?
1656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1667 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1671 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 ( $as_echo "## -------------------------------- ##
1675 ## Report this to pdw@ex-parrot.com ##
1676 ## -------------------------------- ##"
1677 ) | sed "s/^/$as_me: WARNING: /" >&2
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681 $as_echo_n "checking for $2... " >&6; }
1682 if eval \${$3+:} false; then :
1683 $as_echo_n "(cached) " >&6
1685 eval "$3=\$ac_header_compiler"
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 } # ac_fn_c_check_header_mongrel
1695 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1696 # -------------------------------------------------------
1697 # Tests whether HEADER exists and can be compiled using the include files in
1698 # INCLUDES, setting the cache variable VAR accordingly.
1699 ac_fn_c_check_header_compile ()
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if eval \${$3+:} false; then :
1705 $as_echo_n "(cached) " >&6
1707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1708 /* end confdefs.h. */
1712 if ac_fn_c_try_compile "$LINENO"; then :
1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721 $as_echo "$ac_res" >&6; }
1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724 } # ac_fn_c_check_header_compile
1726 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1727 # -------------------------------------------
1728 # Tests whether TYPE exists after having included INCLUDES, setting cache
1729 # variable VAR accordingly.
1730 ac_fn_c_check_type ()
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1734 $as_echo_n "checking for $2... " >&6; }
1735 if eval \${$3+:} false; then :
1736 $as_echo_n "(cached) " >&6
1739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740 /* end confdefs.h. */
1751 if ac_fn_c_try_compile "$LINENO"; then :
1752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h. */
1764 if ac_fn_c_try_compile "$LINENO"; then :
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775 $as_echo "$ac_res" >&6; }
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 } # ac_fn_c_check_type
1780 # ac_fn_c_try_link LINENO
1781 # -----------------------
1782 # Try to link conftest.$ac_ext, and return whether this succeeded.
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 rm -f conftest.$ac_objext conftest$ac_exeext
1787 if { { ac_try="$ac_link"
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_link") 2>conftest.err
1796 if test -s conftest.err; then
1797 grep -v '^ *+' conftest.err >conftest.er1
1798 cat conftest.er1 >&5
1799 mv -f conftest.er1 conftest.err
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; } && {
1803 test -z "$ac_c_werror_flag" ||
1804 test ! -s conftest.err
1805 } && test -s conftest$ac_exeext && {
1806 test "$cross_compiling" = yes ||
1807 test -x conftest$ac_exeext
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1818 # interfere with the next link command; also delete a directory that is
1819 # left behind by Apple's compiler. We do this before executing the actions.
1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 as_fn_set_status $ac_retval
1824 } # ac_fn_c_try_link
1826 # ac_fn_c_check_func LINENO FUNC VAR
1827 # ----------------------------------
1828 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1829 ac_fn_c_check_func ()
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833 $as_echo_n "checking for $2... " >&6; }
1834 if eval \${$3+:} false; then :
1835 $as_echo_n "(cached) " >&6
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1839 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1841 #define $2 innocuous_$2
1843 /* System header to define __stub macros and hopefully few prototypes,
1844 which can conflict with char $2 (); below.
1845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1846 <limits.h> exists even on freestanding compilers. */
1849 # include <limits.h>
1851 # include <assert.h>
1856 /* Override any GCC internal prototype to avoid an error.
1857 Use char because int might match the return type of a GCC
1858 builtin and then its argument prototype would still apply. */
1863 /* The GNU C library defines this for functions which it implements
1864 to always fail with ENOSYS. Some functions are actually named
1865 something starting with __ and the normal name is an alias. */
1866 #if defined __stub_$2 || defined __stub___$2
1878 if ac_fn_c_try_link "$LINENO"; then :
1883 rm -f core conftest.err conftest.$ac_objext \
1884 conftest$ac_exeext conftest.$ac_ext
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 } # ac_fn_c_check_func
1893 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1894 # --------------------------------------------
1895 # Tries to find the compile-time value of EXPR in a program that includes
1896 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1898 ac_fn_c_compute_int ()
1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901 if test "$cross_compiling" = yes; then
1902 # Depending upon the size, compute the lo and hi bounds.
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1909 static int test_array [1 - 2 * !(($2) >= 0)];
1911 return test_array [0];
1917 if ac_fn_c_try_compile "$LINENO"; then :
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1926 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1928 return test_array [0];
1934 if ac_fn_c_try_compile "$LINENO"; then :
1935 ac_hi=$ac_mid; break
1937 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1938 if test $ac_lo -le $ac_mid; then
1942 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948 /* end confdefs.h. */
1953 static int test_array [1 - 2 * !(($2) < 0)];
1955 return test_array [0];
1961 if ac_fn_c_try_compile "$LINENO"; then :
1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1970 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1972 return test_array [0];
1978 if ac_fn_c_try_compile "$LINENO"; then :
1979 ac_lo=$ac_mid; break
1981 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1982 if test $ac_mid -le $ac_hi; then
1986 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1996 # Binary search between lo and hi bounds.
1997 while test "x$ac_lo" != "x$ac_hi"; do
1998 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000 /* end confdefs.h. */
2005 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2007 return test_array [0];
2013 if ac_fn_c_try_compile "$LINENO"; then :
2016 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2021 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2026 /* end confdefs.h. */
2028 static long int longval () { return $2; }
2029 static unsigned long int ulongval () { return $2; }
2036 FILE *f = fopen ("conftest.val", "w");
2041 long int i = longval ();
2044 fprintf (f, "%ld", i);
2048 unsigned long int i = ulongval ();
2051 fprintf (f, "%lu", i);
2053 /* Do not output a trailing newline, as this causes \r\n confusion
2054 on some platforms. */
2055 return ferror (f) || fclose (f) != 0;
2061 if ac_fn_c_try_run "$LINENO"; then :
2062 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2067 conftest.$ac_objext conftest.beam conftest.$ac_ext
2071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 as_fn_set_status $ac_retval
2074 } # ac_fn_c_compute_int
2075 cat >config.log <<_ACEOF
2076 This file contains any messages produced by compilers while
2077 running configure, to aid debugging if configure makes a mistake.
2079 It was created by iftop $as_me 1.0pre4, which was
2080 generated by GNU Autoconf 2.69. Invocation command line was
2092 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2093 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2094 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2095 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2096 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2098 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2099 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2101 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2102 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2103 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2104 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2105 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2106 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2107 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115 test -z "$as_dir" && as_dir=.
2116 $as_echo "PATH: $as_dir"
2132 # Keep a trace of the command line.
2133 # Strip out --no-create and --no-recursion so they do not pile up.
2134 # Strip out --silent because we don't want to record it for future runs.
2135 # Also quote any args containing shell meta-characters.
2136 # Make two passes to allow for proper duplicate-argument suppression.
2140 ac_must_keep_next=false
2146 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2148 | -silent | --silent | --silen | --sile | --sil)
2151 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2154 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2156 as_fn_append ac_configure_args1 " '$ac_arg'"
2157 if test $ac_must_keep_next = true; then
2158 ac_must_keep_next=false # Got value, back to normal.
2161 *=* | --config-cache | -C | -disable-* | --disable-* \
2162 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2163 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2164 | -with-* | --with-* | -without-* | --without-* | --x)
2165 case "$ac_configure_args0 " in
2166 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2169 -* ) ac_must_keep_next=true ;;
2172 as_fn_append ac_configure_args " '$ac_arg'"
2177 { ac_configure_args0=; unset ac_configure_args0;}
2178 { ac_configure_args1=; unset ac_configure_args1;}
2180 # When interrupted or exit'd, cleanup temporary files, and complete
2181 # config.log. We remove comments because anyway the quotes in there
2182 # would cause problems or look ugly.
2183 # WARNING: Use '\'' to represent an apostrophe within the trap.
2184 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2185 trap 'exit_status=$?
2186 # Save into config.log some information that might help in debugging.
2190 $as_echo "## ---------------- ##
2191 ## Cache variables. ##
2192 ## ---------------- ##"
2194 # The following way of writing the cache mishandles newlines in values,
2196 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2197 eval ac_val=\$$ac_var
2201 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2205 _ | IFS | as_nl) ;; #(
2206 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2207 *) { eval $ac_var=; unset $ac_var;} ;;
2212 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2213 *${as_nl}ac_space=\ *)
2215 "s/'\''/'\''\\\\'\'''\''/g;
2216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2226 $as_echo "## ----------------- ##
2227 ## Output variables. ##
2228 ## ----------------- ##"
2230 for ac_var in $ac_subst_vars
2232 eval ac_val=\$$ac_var
2234 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2236 $as_echo "$ac_var='\''$ac_val'\''"
2240 if test -n "$ac_subst_files"; then
2241 $as_echo "## ------------------- ##
2242 ## File substitutions. ##
2243 ## ------------------- ##"
2245 for ac_var in $ac_subst_files
2247 eval ac_val=\$$ac_var
2249 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2251 $as_echo "$ac_var='\''$ac_val'\''"
2256 if test -s confdefs.h; then
2257 $as_echo "## ----------- ##
2264 test "$ac_signal" != 0 &&
2265 $as_echo "$as_me: caught signal $ac_signal"
2266 $as_echo "$as_me: exit $exit_status"
2268 rm -f core *.core core.conftest.* &&
2269 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2272 for ac_signal in 1 2 13 15; do
2273 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2277 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2278 rm -f -r conftest* confdefs.h
2280 $as_echo "/* confdefs.h */" > confdefs.h
2282 # Predefined preprocessor variables.
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_NAME "$PACKAGE_NAME"
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_STRING "$PACKAGE_STRING"
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_URL "$PACKAGE_URL"
2309 # Let the site file select an alternate cache file if it wants to.
2310 # Prefer an explicitly selected file to automatically selected ones.
2313 if test -n "$CONFIG_SITE"; then
2314 # We do not want a PATH search for config.site.
2315 case $CONFIG_SITE in #((
2316 -*) ac_site_file1=./$CONFIG_SITE;;
2317 */*) ac_site_file1=$CONFIG_SITE;;
2318 *) ac_site_file1=./$CONFIG_SITE;;
2320 elif test "x$prefix" != xNONE; then
2321 ac_site_file1=$prefix/share/config.site
2322 ac_site_file2=$prefix/etc/config.site
2324 ac_site_file1=$ac_default_prefix/share/config.site
2325 ac_site_file2=$ac_default_prefix/etc/config.site
2327 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2329 test "x$ac_site_file" = xNONE && continue
2330 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2332 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2333 sed 's/^/| /' "$ac_site_file" >&5
2335 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2337 as_fn_error $? "failed to load site script $ac_site_file
2338 See \`config.log' for more details" "$LINENO" 5; }
2342 if test -r "$cache_file"; then
2343 # Some versions of bash will fail to source /dev/null (special files
2344 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2345 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2347 $as_echo "$as_me: loading cache $cache_file" >&6;}
2349 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2350 *) . "./$cache_file";;
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2355 $as_echo "$as_me: creating cache $cache_file" >&6;}
2359 # Check that the precious variables saved in the cache have kept the same
2361 ac_cache_corrupted=false
2362 for ac_var in $ac_precious_vars; do
2363 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2364 eval ac_new_set=\$ac_env_${ac_var}_set
2365 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2366 eval ac_new_val=\$ac_env_${ac_var}_value
2367 case $ac_old_set,$ac_new_set in
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2370 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2371 ac_cache_corrupted=: ;;
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2374 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2375 ac_cache_corrupted=: ;;
2378 if test "x$ac_old_val" != "x$ac_new_val"; then
2379 # differences in whitespace do not lead to failure.
2380 ac_old_val_w=`echo x $ac_old_val`
2381 ac_new_val_w=`echo x $ac_new_val`
2382 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2384 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2385 ac_cache_corrupted=:
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2388 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2389 eval $ac_var=\$ac_old_val
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2392 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2394 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2397 # Pass precious variables to config.status.
2398 if test "$ac_new_set" = set; then
2400 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2401 *) ac_arg=$ac_var=$ac_new_val ;;
2403 case " $ac_configure_args " in
2404 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2405 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2409 if $ac_cache_corrupted; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2413 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2414 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2416 ## -------------------- ##
2417 ## Main body of script. ##
2418 ## -------------------- ##
2421 ac_cpp='$CPP $CPPFLAGS'
2422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2429 for ac_dir in config "$srcdir"/config; do
2430 if test -f "$ac_dir/install-sh"; then
2432 ac_install_sh="$ac_aux_dir/install-sh -c"
2434 elif test -f "$ac_dir/install.sh"; then
2436 ac_install_sh="$ac_aux_dir/install.sh -c"
2438 elif test -f "$ac_dir/shtool"; then
2440 ac_install_sh="$ac_aux_dir/shtool install -c"
2444 if test -z "$ac_aux_dir"; then
2445 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2453 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2454 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2458 # Make sure we can run config.sub.
2459 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2460 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2463 $as_echo_n "checking build system type... " >&6; }
2464 if ${ac_cv_build+:} false; then :
2465 $as_echo_n "(cached) " >&6
2467 ac_build_alias=$build_alias
2468 test "x$ac_build_alias" = x &&
2469 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x &&
2471 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2472 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2477 $as_echo "$ac_cv_build" >&6; }
2478 case $ac_cv_build in
2480 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2483 ac_save_IFS=$IFS; IFS='-'
2489 # Remember, the first character of IFS is used to create $*,
2490 # except with old shells:
2493 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2497 $as_echo_n "checking host system type... " >&6; }
2498 if ${ac_cv_host+:} false; then :
2499 $as_echo_n "(cached) " >&6
2501 if test "x$host_alias" = x; then
2502 ac_cv_host=$ac_cv_build
2504 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2505 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2510 $as_echo "$ac_cv_host" >&6; }
2513 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2516 ac_save_IFS=$IFS; IFS='-'
2522 # Remember, the first character of IFS is used to create $*,
2523 # except with old shells:
2526 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2530 $as_echo_n "checking target system type... " >&6; }
2531 if ${ac_cv_target+:} false; then :
2532 $as_echo_n "(cached) " >&6
2534 if test "x$target_alias" = x; then
2535 ac_cv_target=$ac_cv_host
2537 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2538 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2543 $as_echo "$ac_cv_target" >&6; }
2544 case $ac_cv_target in
2546 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2548 target=$ac_cv_target
2549 ac_save_IFS=$IFS; IFS='-'
2555 # Remember, the first character of IFS is used to create $*,
2556 # except with old shells:
2559 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2562 # The aliases save the names the user supplied, while $host etc.
2563 # will get canonicalized.
2564 test -n "$target_alias" &&
2565 test "$program_prefix$program_suffix$program_transform_name" = \
2567 program_prefix=${target_alias}-
2570 ac_config_headers="$ac_config_headers config.h"
2572 am__api_version='1.14'
2574 # Find a good install program. We prefer a C program (faster),
2575 # so one script is as good as another. But avoid the broken or
2576 # incompatible versions:
2577 # SysV /etc/install, /usr/sbin/install
2578 # SunOS /usr/etc/install
2579 # IRIX /sbin/install
2581 # AmigaOS /C/install, which installs bootblocks on floppy discs
2582 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2583 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2584 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2585 # OS/2's system install, which has a completely different semantic
2586 # ./install, which can be erroneously created by make from ./install.sh.
2587 # Reject install programs that cannot install multiple files.
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2589 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2590 if test -z "$INSTALL"; then
2591 if ${ac_cv_path_install+:} false; then :
2592 $as_echo_n "(cached) " >&6
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir=.
2599 # Account for people who put trailing slashes in PATH elements.
2600 case $as_dir/ in #((
2601 ./ | .// | /[cC]/* | \
2602 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2603 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2606 # OSF1 and SCO ODT 3.0 have their own names for install.
2607 # Don't use installbsd from OSF since it installs stuff as root
2609 for ac_prog in ginstall scoinst install; do
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2612 if test $ac_prog = install &&
2613 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2614 # AIX install. It has an incompatible calling convention.
2616 elif test $ac_prog = install &&
2617 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2618 # program-specific install script used by HP pwplus--don't use.
2621 rm -rf conftest.one conftest.two conftest.dir
2622 echo one > conftest.one
2623 echo two > conftest.two
2625 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2626 test -s conftest.one && test -s conftest.two &&
2627 test -s conftest.dir/conftest.one &&
2628 test -s conftest.dir/conftest.two
2630 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2643 rm -rf conftest.one conftest.two conftest.dir
2646 if test "${ac_cv_path_install+set}" = set; then
2647 INSTALL=$ac_cv_path_install
2649 # As a last resort, use the slow shell script. Don't cache a
2650 # value for INSTALL within a source directory, because that will
2651 # break other packages using the cache if that directory is
2652 # removed, or if the value is a relative name.
2653 INSTALL=$ac_install_sh
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2657 $as_echo "$INSTALL" >&6; }
2659 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2660 # It thinks the first close brace ends the variable substitution.
2661 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2663 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2665 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2668 $as_echo_n "checking whether build environment is sane... " >&6; }
2669 # Reject unsafe characters in $srcdir or the absolute working directory
2670 # name. Accept space and tab only in the latter.
2674 *[\\\"\#\$\&\'\`$am_lf]*)
2675 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2678 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2679 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2682 # Do 'set' in a subshell so we don't clobber the current shell's
2683 # arguments. Must try -L first in case configure is actually a
2684 # symlink; some systems play weird games with the mod time of symlinks
2685 # (eg FreeBSD returns the mod time of the symlink's containing
2689 for am_try in 1 2; do
2690 echo "timestamp, slept: $am_has_slept" > conftest.file
2691 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2692 if test "$*" = "X"; then
2694 set X `ls -t "$srcdir/configure" conftest.file`
2696 if test "$*" != "X $srcdir/configure conftest.file" \
2697 && test "$*" != "X conftest.file $srcdir/configure"; then
2699 # If neither matched, then we have a broken ls. This can happen
2700 # if, for instance, CONFIG_SHELL is bash and it inherits a
2701 # broken ls alias from the environment. This has actually
2702 # happened. Such a system could not be considered "sane".
2703 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2704 alias in your environment" "$LINENO" 5
2706 if test "$2" = conftest.file || test $am_try -eq 2; then
2713 test "$2" = conftest.file
2719 as_fn_error $? "newly created file is older than distributed files!
2720 Check your system clock" "$LINENO" 5
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2723 $as_echo "yes" >&6; }
2724 # If we didn't sleep, we still need to ensure time stamps of config.status and
2725 # generated files are strictly newer.
2727 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2734 test "$program_prefix" != NONE &&
2735 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2736 # Use a double $ so make ignores it.
2737 test "$program_suffix" != NONE &&
2738 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2739 # Double any \ or $.
2740 # By default was `s,x,x', remove it if useless.
2741 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2742 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2744 # expand $ac_aux_dir to an absolute path
2745 am_aux_dir=`cd $ac_aux_dir && pwd`
2747 if test x"${MISSING+set}" != xset; then
2750 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2752 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2755 # Use eval to expand $SHELL
2756 if eval "$MISSING --is-lightweight"; then
2757 am_missing_run="$MISSING "
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2761 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2764 if test x"${install_sh}" != xset; then
2767 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2769 install_sh="\${SHELL} $am_aux_dir/install-sh"
2773 # Installed binaries are usually stripped using 'strip' when the user
2774 # run "make install-strip". However 'strip' might not be the right
2775 # tool to use in cross-compilation environments, therefore Automake
2776 # will honor the 'STRIP' environment variable to overrule this program.
2777 if test "$cross_compiling" != no; then
2778 if test -n "$ac_tool_prefix"; then
2779 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2780 set dummy ${ac_tool_prefix}strip; ac_word=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if ${ac_cv_prog_STRIP+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$STRIP"; then
2787 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2796 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 STRIP=$ac_cv_prog_STRIP
2807 if test -n "$STRIP"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2809 $as_echo "$STRIP" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2817 if test -z "$ac_cv_prog_STRIP"; then
2819 # Extract the first word of "strip", so it can be a program name with args.
2820 set dummy strip; ac_word=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$ac_ct_STRIP"; then
2827 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir=.
2834 for ac_exec_ext in '' $ac_executable_extensions; do
2835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2836 ac_cv_prog_ac_ct_STRIP="strip"
2837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2847 if test -n "$ac_ct_STRIP"; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2849 $as_echo "$ac_ct_STRIP" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2855 if test "x$ac_ct_STRIP" = x; then
2858 case $cross_compiling:$ac_tool_warned in
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2862 ac_tool_warned=yes ;;
2867 STRIP="$ac_cv_prog_STRIP"
2871 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2874 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2875 if test -z "$MKDIR_P"; then
2876 if ${ac_cv_path_mkdir+:} false; then :
2877 $as_echo_n "(cached) " >&6
2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2883 test -z "$as_dir" && as_dir=.
2884 for ac_prog in mkdir gmkdir; do
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2887 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2888 'mkdir (GNU coreutils) '* | \
2889 'mkdir (coreutils) '* | \
2890 'mkdir (fileutils) '4.1*)
2891 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2901 test -d ./--version && rmdir ./--version
2902 if test "${ac_cv_path_mkdir+set}" = set; then
2903 MKDIR_P="$ac_cv_path_mkdir -p"
2905 # As a last resort, use the slow shell script. Don't cache a
2906 # value for MKDIR_P within a source directory, because that will
2907 # break other packages using the cache if that directory is
2908 # removed, or if the value is a relative name.
2909 MKDIR_P="$ac_install_sh -d"
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2913 $as_echo "$MKDIR_P" >&6; }
2915 for ac_prog in gawk mawk nawk awk
2917 # Extract the first word of "$ac_prog", so it can be a program name with args.
2918 set dummy $ac_prog; ac_word=$2
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if ${ac_cv_prog_AWK+:} false; then :
2922 $as_echo_n "(cached) " >&6
2924 if test -n "$AWK"; then
2925 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir=.
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2934 ac_cv_prog_AWK="$ac_prog"
2935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 if test -n "$AWK"; then
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2947 $as_echo "$AWK" >&6; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2954 test -n "$AWK" && break
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2958 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2960 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2961 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2962 $as_echo_n "(cached) " >&6
2964 cat >conftest.make <<\_ACEOF
2967 @echo '@@@%%%=$(MAKE)=@@@%%%'
2969 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2970 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2972 eval ac_cv_prog_make_${ac_make}_set=yes;;
2974 eval ac_cv_prog_make_${ac_make}_set=no;;
2978 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2980 $as_echo "yes" >&6; }
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2985 SET_MAKE="MAKE=${MAKE-make}"
2988 rm -rf .tst 2>/dev/null
2989 mkdir .tst 2>/dev/null
2990 if test -d .tst; then
2995 rmdir .tst 2>/dev/null
2997 # Check whether --enable-silent-rules was given.
2998 if test "${enable_silent_rules+set}" = set; then :
2999 enableval=$enable_silent_rules;
3002 case $enable_silent_rules in # (((
3003 yes) AM_DEFAULT_VERBOSITY=0;;
3004 no) AM_DEFAULT_VERBOSITY=1;;
3005 *) AM_DEFAULT_VERBOSITY=1;;
3007 am_make=${MAKE-make}
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3009 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3010 if ${am_cv_make_support_nested_variables+:} false; then :
3011 $as_echo_n "(cached) " >&6
3013 if $as_echo 'TRUE=$(BAR$(V))
3019 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3020 am_cv_make_support_nested_variables=yes
3022 am_cv_make_support_nested_variables=no
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3026 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3027 if test $am_cv_make_support_nested_variables = yes; then
3029 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3031 AM_V=$AM_DEFAULT_VERBOSITY
3032 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3036 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3037 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3038 # is not polluted with repeated "-I."
3039 am__isrc=' -I$(srcdir)'
3040 # test to see if srcdir already configured
3041 if test -f $srcdir/config.status; then
3042 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3046 # test whether we have cygpath
3047 if test -z "$CYGPATH_W"; then
3048 if (cygpath --version) >/dev/null 2>/dev/null; then
3049 CYGPATH_W='cygpath -w'
3056 # Define the identity of the package.
3061 cat >>confdefs.h <<_ACEOF
3062 #define PACKAGE "$PACKAGE"
3066 cat >>confdefs.h <<_ACEOF
3067 #define VERSION "$VERSION"
3070 # Some tools Automake needs.
3072 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3075 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3078 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3081 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3084 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3086 # For better backward compatibility. To be removed once Automake 1.9.x
3087 # dies out for good. For more background, see:
3088 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3089 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3090 mkdir_p='$(MKDIR_P)'
3092 # We need awk for the "check" target. The system "awk" is bad on
3094 # Always define AMTAR for backward compatibility. Yes, it's still used
3095 # in the wild :-( We should find a proper way to deprecate it ...
3099 # We'll loop over all known methods to create a tar archive until one works.
3100 _am_tools='gnutar pax cpio none'
3102 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3109 # POSIX will say in a future version that running "rm -f" with no argument
3110 # is OK; and we want to be able to make that assumption in our Makefile
3111 # recipes. So use an aggressive probe to check that the usage we want is
3112 # actually supported "in the wild" to an acceptable degree.
3113 # See automake bug#10828.
3114 # To make any issue more visible, cause the running configure to be aborted
3115 # by default if the 'rm' program in use doesn't match our expectations; the
3116 # user can still override this though.
3117 if rm -f && rm -fr && rm -rf; then : OK; else
3121 Your 'rm' program seems unable to run without file operands specified
3122 on the command line, even when the '-f' option is present. This is contrary
3123 to the behaviour of most rm programs out there, and not conforming with
3124 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3126 Please tell bug-automake@gnu.org about your system, including the value
3127 of your $PATH and any error possibly output before this message. This
3128 can help us improve future automake versions.
3131 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3132 echo 'Configuration will proceed anyway, since you have set the' >&2
3133 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3137 Aborting the configuration process, to ensure you take notice of the issue.
3139 You can download and install GNU coreutils to get an 'rm' implementation
3140 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3142 If you want to complete the configuration process using your problematic
3143 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3144 to "yes", and re-run configure.
3147 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3152 ac_cpp='$CPP $CPPFLAGS'
3153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3156 if test -n "$ac_tool_prefix"; then
3157 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3158 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if ${ac_cv_prog_CC+:} false; then :
3162 $as_echo_n "(cached) " >&6
3164 if test -n "$CC"; then
3165 ac_cv_prog_CC="$CC" # Let the user override the test.
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir=.
3172 for ac_exec_ext in '' $ac_executable_extensions; do
3173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3174 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 if test -n "$CC"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3187 $as_echo "$CC" >&6; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3195 if test -z "$ac_cv_prog_CC"; then
3197 # Extract the first word of "gcc", so it can be a program name with args.
3198 set dummy gcc; ac_word=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3202 $as_echo_n "(cached) " >&6
3204 if test -n "$ac_ct_CC"; then
3205 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_ac_ct_CC="gcc"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3225 if test -n "$ac_ct_CC"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3227 $as_echo "$ac_ct_CC" >&6; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3233 if test "x$ac_ct_CC" = x; then
3236 case $cross_compiling:$ac_tool_warned in
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3240 ac_tool_warned=yes ;;
3248 if test -z "$CC"; then
3249 if test -n "$ac_tool_prefix"; then
3250 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3251 set dummy ${ac_tool_prefix}cc; ac_word=$2
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if ${ac_cv_prog_CC+:} false; then :
3255 $as_echo_n "(cached) " >&6
3257 if test -n "$CC"; then
3258 ac_cv_prog_CC="$CC" # Let the user override the test.
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 test -z "$as_dir" && as_dir=.
3265 for ac_exec_ext in '' $ac_executable_extensions; do
3266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267 ac_cv_prog_CC="${ac_tool_prefix}cc"
3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 if test -n "$CC"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3280 $as_echo "$CC" >&6; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3289 if test -z "$CC"; then
3290 # Extract the first word of "cc", so it can be a program name with args.
3291 set dummy cc; ac_word=$2
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293 $as_echo_n "checking for $ac_word... " >&6; }
3294 if ${ac_cv_prog_CC+:} false; then :
3295 $as_echo_n "(cached) " >&6
3297 if test -n "$CC"; then
3298 ac_cv_prog_CC="$CC" # Let the user override the test.
3301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305 test -z "$as_dir" && as_dir=.
3306 for ac_exec_ext in '' $ac_executable_extensions; do
3307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3309 ac_prog_rejected=yes
3313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3320 if test $ac_prog_rejected = yes; then
3321 # We found a bogon in the path, so make sure we never use it.
3322 set dummy $ac_cv_prog_CC
3324 if test $# != 0; then
3325 # We chose a different compiler from the bogus one.
3326 # However, it has the same basename, so the bogon will be chosen
3327 # first if we set CC to just the basename; use the full file name.
3329 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3335 if test -n "$CC"; then
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3337 $as_echo "$CC" >&6; }
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 $as_echo "no" >&6; }
3345 if test -z "$CC"; then
3346 if test -n "$ac_tool_prefix"; then
3347 for ac_prog in cl.exe
3349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3350 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352 $as_echo_n "checking for $ac_word... " >&6; }
3353 if ${ac_cv_prog_CC+:} false; then :
3354 $as_echo_n "(cached) " >&6
3356 if test -n "$CC"; then
3357 ac_cv_prog_CC="$CC" # Let the user override the test.
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 test -z "$as_dir" && as_dir=.
3364 for ac_exec_ext in '' $ac_executable_extensions; do
3365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3366 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3377 if test -n "$CC"; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3379 $as_echo "$CC" >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382 $as_echo "no" >&6; }
3386 test -n "$CC" && break
3389 if test -z "$CC"; then
3391 for ac_prog in cl.exe
3393 # Extract the first word of "$ac_prog", so it can be a program name with args.
3394 set dummy $ac_prog; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3398 $as_echo_n "(cached) " >&6
3400 if test -n "$ac_ct_CC"; then
3401 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_ac_ct_CC="$ac_prog"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3421 if test -n "$ac_ct_CC"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3423 $as_echo "$ac_ct_CC" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3430 test -n "$ac_ct_CC" && break
3433 if test "x$ac_ct_CC" = x; then
3436 case $cross_compiling:$ac_tool_warned in
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3440 ac_tool_warned=yes ;;
3449 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 as_fn_error $? "no acceptable C compiler found in \$PATH
3452 See \`config.log' for more details" "$LINENO" 5; }
3454 # Provide some information about the compiler.
3455 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3458 for ac_option in --version -v -V -qversion; do
3459 { { ac_try="$ac_compiler $ac_option >&5"
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3468 if test -s conftest.err; then
3470 ... rest of stderr output deleted ...
3471 10q' conftest.err >conftest.er1
3472 cat conftest.er1 >&5
3474 rm -f conftest.er1 conftest.err
3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476 test $ac_status = 0; }
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3490 ac_clean_files_save=$ac_clean_files
3491 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3492 # Try to create an executable without -o first, disregard a.out.
3493 # It will help us diagnose broken compilers, and finding out an intuition
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3496 $as_echo_n "checking whether the C compiler works... " >&6; }
3497 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3499 # The possible output files:
3500 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3503 for ac_file in $ac_files
3506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3507 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3512 if { { ac_try="$ac_link_default"
3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515 *) ac_try_echo=$ac_try;;
3517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3518 $as_echo "$ac_try_echo"; } >&5
3519 (eval "$ac_link_default") 2>&5
3521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522 test $ac_status = 0; }; then :
3523 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3524 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3525 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3526 # so that the user can short-circuit this test for compilers unknown to
3528 for ac_file in $ac_files ''
3530 test -f "$ac_file" || continue
3532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3535 # We found the default executable, but exeext='' is most
3539 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3541 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3543 # We set ac_cv_exeext here because the later test for it is not
3544 # safe: cross compilers may not add the suffix if given an `-o'
3545 # argument, so we may need to know it at that point already.
3546 # Even if this section looks crufty: it has the advantage of
3553 test "$ac_cv_exeext" = no && ac_cv_exeext=
3558 if test -z "$ac_file"; then :
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 $as_echo "no" >&6; }
3561 $as_echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3566 as_fn_error 77 "C compiler cannot create executables
3567 See \`config.log' for more details" "$LINENO" 5; }
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3570 $as_echo "yes" >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3573 $as_echo_n "checking for C compiler default output file name... " >&6; }
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3575 $as_echo "$ac_file" >&6; }
3576 ac_exeext=$ac_cv_exeext
3578 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3579 ac_clean_files=$ac_clean_files_save
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3581 $as_echo_n "checking for suffix of executables... " >&6; }
3582 if { { ac_try="$ac_link"
3584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3585 *) ac_try_echo=$ac_try;;
3587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3588 $as_echo "$ac_try_echo"; } >&5
3589 (eval "$ac_link") 2>&5
3591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3592 test $ac_status = 0; }; then :
3593 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3594 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3595 # work properly (i.e., refer to `conftest.exe'), while it won't with
3597 for ac_file in conftest.exe conftest conftest.*; do
3598 test -f "$ac_file" || continue
3600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3601 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3609 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3610 See \`config.log' for more details" "$LINENO" 5; }
3612 rm -f conftest conftest$ac_cv_exeext
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3614 $as_echo "$ac_cv_exeext" >&6; }
3616 rm -f conftest.$ac_ext
3617 EXEEXT=$ac_cv_exeext
3619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3625 FILE *f = fopen ("conftest.out", "w");
3626 return ferror (f) || fclose (f) != 0;
3632 ac_clean_files="$ac_clean_files conftest.out"
3633 # Check that the compiler produces executables we can run. If not, either
3634 # the compiler is broken, or we cross compile.
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3636 $as_echo_n "checking whether we are cross compiling... " >&6; }
3637 if test "$cross_compiling" != yes; then
3638 { { ac_try="$ac_link"
3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641 *) ac_try_echo=$ac_try;;
3643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3644 $as_echo "$ac_try_echo"; } >&5
3645 (eval "$ac_link") 2>&5
3647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3648 test $ac_status = 0; }
3649 if { ac_try='./conftest$ac_cv_exeext'
3650 { { case "(($ac_try" in
3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3652 *) ac_try_echo=$ac_try;;
3654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3655 $as_echo "$ac_try_echo"; } >&5
3656 (eval "$ac_try") 2>&5
3658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3659 test $ac_status = 0; }; }; then
3662 if test "$cross_compiling" = maybe; then
3665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667 as_fn_error $? "cannot run C compiled programs.
3668 If you meant to cross compile, use \`--host'.
3669 See \`config.log' for more details" "$LINENO" 5; }
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3674 $as_echo "$cross_compiling" >&6; }
3676 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3677 ac_clean_files=$ac_clean_files_save
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3679 $as_echo_n "checking for suffix of object files... " >&6; }
3680 if ${ac_cv_objext+:} false; then :
3681 $as_echo_n "(cached) " >&6
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3694 rm -f conftest.o conftest.obj
3695 if { { ac_try="$ac_compile"
3697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3698 *) ac_try_echo=$ac_try;;
3700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3701 $as_echo "$ac_try_echo"; } >&5
3702 (eval "$ac_compile") 2>&5
3704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3705 test $ac_status = 0; }; then :
3706 for ac_file in conftest.o conftest.obj conftest.*; do
3707 test -f "$ac_file" || continue;
3709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3710 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3715 $as_echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.$ac_ext >&5
3718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3720 as_fn_error $? "cannot compute suffix of object files: cannot compile
3721 See \`config.log' for more details" "$LINENO" 5; }
3723 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3726 $as_echo "$ac_cv_objext" >&6; }
3727 OBJEXT=$ac_cv_objext
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3730 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3731 if ${ac_cv_c_compiler_gnu+:} false; then :
3732 $as_echo_n "(cached) " >&6
3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3735 /* end confdefs.h. */
3748 if ac_fn_c_try_compile "$LINENO"; then :
3753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3758 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3759 if test $ac_compiler_gnu = yes; then
3764 ac_test_CFLAGS=${CFLAGS+set}
3765 ac_save_CFLAGS=$CFLAGS
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3767 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3768 if ${ac_cv_prog_cc_g+:} false; then :
3769 $as_echo_n "(cached) " >&6
3771 ac_save_c_werror_flag=$ac_c_werror_flag
3772 ac_c_werror_flag=yes
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3786 if ac_fn_c_try_compile "$LINENO"; then :
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3801 if ac_fn_c_try_compile "$LINENO"; then :
3804 ac_c_werror_flag=$ac_save_c_werror_flag
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3817 if ac_fn_c_try_compile "$LINENO"; then :
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 ac_c_werror_flag=$ac_save_c_werror_flag
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3828 $as_echo "$ac_cv_prog_cc_g" >&6; }
3829 if test "$ac_test_CFLAGS" = set; then
3830 CFLAGS=$ac_save_CFLAGS
3831 elif test $ac_cv_prog_cc_g = yes; then
3832 if test "$GCC" = yes; then
3838 if test "$GCC" = yes; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3845 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3846 if ${ac_cv_prog_cc_c89+:} false; then :
3847 $as_echo_n "(cached) " >&6
3849 ac_cv_prog_cc_c89=no
3851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3852 /* end confdefs.h. */
3856 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3857 struct buf { int x; };
3858 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3859 static char *e (p, i)
3865 static char *f (char * (*g) (char **, int), char **p, ...)
3870 s = g (p, va_arg (v,int));
3875 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3876 function prototypes and stuff, but not '\xHH' hex character constants.
3877 These don't provoke an error unfortunately, instead are silently treated
3878 as 'x'. The following induces an error, until -std is added to get
3879 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3880 array size at least. It's necessary to write '\x00'==0 to get something
3881 that's true only with -std. */
3882 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3884 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3885 inside strings and character constants. */
3887 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3889 int test (int i, double x);
3890 struct s1 {int (*f) (int a);};
3891 struct s2 {int (*f) (double a);};
3892 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3898 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3903 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3904 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3906 CC="$ac_save_CC $ac_arg"
3907 if ac_fn_c_try_compile "$LINENO"; then :
3908 ac_cv_prog_cc_c89=$ac_arg
3910 rm -f core conftest.err conftest.$ac_objext
3911 test "x$ac_cv_prog_cc_c89" != "xno" && break
3913 rm -f conftest.$ac_ext
3918 case "x$ac_cv_prog_cc_c89" in
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3921 $as_echo "none needed" >&6; } ;;
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3924 $as_echo "unsupported" >&6; } ;;
3926 CC="$CC $ac_cv_prog_cc_c89"
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3928 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3930 if test "x$ac_cv_prog_cc_c89" != xno; then :
3935 ac_cpp='$CPP $CPPFLAGS'
3936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941 ac_cpp='$CPP $CPPFLAGS'
3942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3946 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3947 if ${am_cv_prog_cc_c_o+:} false; then :
3948 $as_echo_n "(cached) " >&6
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3961 # Make sure it works both with $CC and with simple cc.
3962 # Following AC_PROG_CC_C_O, we do the test twice because some
3963 # compilers refuse to overwrite an existing .o file with -o,
3964 # though they will create one.
3965 am_cv_prog_cc_c_o=yes
3967 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3968 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } \
3972 && test -f conftest2.$ac_objext; then
3975 am_cv_prog_cc_c_o=no
3979 rm -f core conftest*
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3983 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3984 if test "$am_cv_prog_cc_c_o" != yes; then
3985 # Losing compiler, so override with the script.
3986 # FIXME: It is wrong to rewrite CC.
3987 # But if we don't then we get into trouble of one sort or another.
3988 # A longer-term fix would be to have automake use am__CC in this case,
3989 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3990 CC="$am_aux_dir/compile $CC"
3993 ac_cpp='$CPP $CPPFLAGS'
3994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3998 DEPDIR="${am__leading_dot}deps"
4000 ac_config_commands="$ac_config_commands depfiles"
4003 am_make=${MAKE-make}
4004 cat > confinc << 'END'
4006 @echo this is the am__doit target
4009 # If we don't find an include directive, just comment out the code.
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4011 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4015 # First try GNU make style include.
4016 echo "include confinc" > confmf
4017 # Ignore all kinds of additional output from 'make'.
4018 case `$am_make -s -f confmf 2> /dev/null` in #(
4019 *the\ am__doit\ target*)
4025 # Now try BSD make style include.
4026 if test "$am__include" = "#"; then
4027 echo '.include "confinc"' > confmf
4028 case `$am_make -s -f confmf 2> /dev/null` in #(
4029 *the\ am__doit\ target*)
4030 am__include=.include
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4039 $as_echo "$_am_result" >&6; }
4040 rm -f confinc confmf
4042 # Check whether --enable-dependency-tracking was given.
4043 if test "${enable_dependency_tracking+set}" = set; then :
4044 enableval=$enable_dependency_tracking;
4047 if test "x$enable_dependency_tracking" != xno; then
4048 am_depcomp="$ac_aux_dir/depcomp"
4052 if test "x$enable_dependency_tracking" != xno; then
4062 depcc="$CC" am_compiler_list=
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4065 $as_echo_n "checking dependency style of $depcc... " >&6; }
4066 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4067 $as_echo_n "(cached) " >&6
4069 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4070 # We make a subdir and do the tests there. Otherwise we can end up
4071 # making bogus files that we don't know about and never remove. For
4072 # instance it was reported that on HP-UX the gcc test will end up
4073 # making a dummy file named 'D' -- because '-MD' means "put the output
4077 # Copy depcomp to subdir because otherwise we won't find it if we're
4078 # using a relative directory.
4079 cp "$am_depcomp" conftest.dir
4081 # We will build objects and dependencies in a subdirectory because
4082 # it helps to detect inapplicable dependency modes. For instance
4083 # both Tru64's cc and ICC support -MD to output dependencies as a
4084 # side effect of compilation, but ICC will put the dependencies in
4085 # the current directory while Tru64 will put them in the object
4089 am_cv_CC_dependencies_compiler_type=none
4090 if test "$am_compiler_list" = ""; then
4091 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4094 case " $depcc " in #(
4095 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4098 for depmode in $am_compiler_list; do
4099 # Setup a source with many dependencies, because some compilers
4100 # like to wrap large dependency lists on column 80 (with \), and
4101 # we should not choose a depcomp mode which is confused by this.
4103 # We need to recreate these files for each test, as the compiler may
4104 # overwrite some of them when testing with obscure command lines.
4105 # This happens at least with the AIX C compiler.
4107 for i in 1 2 3 4 5 6; do
4108 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4109 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4110 # Solaris 10 /bin/sh.
4111 echo '/* dummy */' > sub/conftst$i.h
4113 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4115 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4116 # mode. It turns out that the SunPro C++ compiler does not properly
4117 # handle '-M -o', and we need to detect this. Also, some Intel
4118 # versions had trouble with output in subdirs.
4119 am__obj=sub/conftest.${OBJEXT-o}
4120 am__minus_obj="-o $am__obj"
4123 # This depmode causes a compiler race in universal mode.
4124 test "$am__universal" = false || continue
4127 # After this tag, mechanisms are not by side-effect, so they'll
4128 # only be used when explicitly requested.
4129 if test "x$enable_dependency_tracking" = xyes; then
4135 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4136 # This compiler won't grok '-c -o', but also, the minuso test has
4137 # not run yet. These depmodes are late enough in the game, and
4138 # so weak that their functioning should not be impacted.
4139 am__obj=conftest.${OBJEXT-o}
4144 if depmode=$depmode \
4145 source=sub/conftest.c object=$am__obj \
4146 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4147 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4148 >/dev/null 2>conftest.err &&
4149 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4150 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4151 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4152 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4153 # icc doesn't choke on unknown options, it will just issue warnings
4154 # or remarks (even with -Werror). So we grep stderr for any message
4155 # that says an option was ignored or not supported.
4156 # When given -MP, icc 7.0 and 7.1 complain thusly:
4157 # icc: Command line warning: ignoring option '-M'; no argument required
4158 # The diagnosis changed in icc 8.0:
4159 # icc: Command line remark: option '-MP' not supported
4160 if (grep 'ignoring option' conftest.err ||
4161 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4162 am_cv_CC_dependencies_compiler_type=$depmode
4171 am_cv_CC_dependencies_compiler_type=none
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4176 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4177 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4180 test "x$enable_dependency_tracking" != xno \
4181 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4183 am__fastdepCC_FALSE='#'
4185 am__fastdepCC_TRUE='#'
4186 am__fastdepCC_FALSE=
4192 ac_cpp='$CPP $CPPFLAGS'
4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4197 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4198 # On Suns, sometimes $CPP names a directory.
4199 if test -n "$CPP" && test -d "$CPP"; then
4202 if test -z "$CPP"; then
4203 if ${ac_cv_prog_CPP+:} false; then :
4204 $as_echo_n "(cached) " >&6
4206 # Double quotes because CPP needs to be expanded
4207 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4210 for ac_c_preproc_warn_flag in '' yes
4212 # Use a header file that comes with gcc, so configuring glibc
4213 # with a fresh cross-compiler works.
4214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4215 # <limits.h> exists even on freestanding compilers.
4216 # On the NeXT, cc -E runs the code through the compiler's parser,
4217 # not just through cpp. "Syntax error" is here to catch this case.
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4221 # include <limits.h>
4223 # include <assert.h>
4227 if ac_fn_c_try_cpp "$LINENO"; then :
4230 # Broken: fails on valid input.
4233 rm -f conftest.err conftest.i conftest.$ac_ext
4235 # OK, works on sane cases. Now check whether nonexistent headers
4236 # can be detected and how.
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4239 #include <ac_nonexistent.h>
4241 if ac_fn_c_try_cpp "$LINENO"; then :
4242 # Broken: success on invalid input.
4245 # Passes both tests.
4249 rm -f conftest.err conftest.i conftest.$ac_ext
4252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4253 rm -f conftest.i conftest.err conftest.$ac_ext
4254 if $ac_preproc_ok; then :
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4267 $as_echo "$CPP" >&6; }
4269 for ac_c_preproc_warn_flag in '' yes
4271 # Use a header file that comes with gcc, so configuring glibc
4272 # with a fresh cross-compiler works.
4273 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4274 # <limits.h> exists even on freestanding compilers.
4275 # On the NeXT, cc -E runs the code through the compiler's parser,
4276 # not just through cpp. "Syntax error" is here to catch this case.
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4280 # include <limits.h>
4282 # include <assert.h>
4286 if ac_fn_c_try_cpp "$LINENO"; then :
4289 # Broken: fails on valid input.
4292 rm -f conftest.err conftest.i conftest.$ac_ext
4294 # OK, works on sane cases. Now check whether nonexistent headers
4295 # can be detected and how.
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4298 #include <ac_nonexistent.h>
4300 if ac_fn_c_try_cpp "$LINENO"; then :
4301 # Broken: success on invalid input.
4304 # Passes both tests.
4308 rm -f conftest.err conftest.i conftest.$ac_ext
4311 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4312 rm -f conftest.i conftest.err conftest.$ac_ext
4313 if $ac_preproc_ok; then :
4316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4318 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4319 See \`config.log' for more details" "$LINENO" 5; }
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4330 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4331 if ${ac_cv_path_GREP+:} false; then :
4332 $as_echo_n "(cached) " >&6
4334 if test -z "$GREP"; then
4335 ac_path_GREP_found=false
4336 # Loop through the user's path and test for each of PROGNAME-LIST
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4341 test -z "$as_dir" && as_dir=.
4342 for ac_prog in grep ggrep; do
4343 for ac_exec_ext in '' $ac_executable_extensions; do
4344 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4345 as_fn_executable_p "$ac_path_GREP" || continue
4346 # Check for GNU ac_path_GREP and select it if it is found.
4347 # Check for GNU $ac_path_GREP
4348 case `"$ac_path_GREP" --version 2>&1` in
4350 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4353 $as_echo_n 0123456789 >"conftest.in"
4356 cat "conftest.in" "conftest.in" >"conftest.tmp"
4357 mv "conftest.tmp" "conftest.in"
4358 cp "conftest.in" "conftest.nl"
4359 $as_echo 'GREP' >> "conftest.nl"
4360 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4362 as_fn_arith $ac_count + 1 && ac_count=$as_val
4363 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4364 # Best one so far, save it but keep looking for a better one
4365 ac_cv_path_GREP="$ac_path_GREP"
4366 ac_path_GREP_max=$ac_count
4368 # 10*(2^10) chars as input seems more than enough
4369 test $ac_count -gt 10 && break
4371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4374 $ac_path_GREP_found && break 3
4379 if test -z "$ac_cv_path_GREP"; then
4380 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4383 ac_cv_path_GREP=$GREP
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4388 $as_echo "$ac_cv_path_GREP" >&6; }
4389 GREP="$ac_cv_path_GREP"
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4393 $as_echo_n "checking for egrep... " >&6; }
4394 if ${ac_cv_path_EGREP+:} false; then :
4395 $as_echo_n "(cached) " >&6
4397 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4398 then ac_cv_path_EGREP="$GREP -E"
4400 if test -z "$EGREP"; then
4401 ac_path_EGREP_found=false
4402 # Loop through the user's path and test for each of PROGNAME-LIST
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4407 test -z "$as_dir" && as_dir=.
4408 for ac_prog in egrep; do
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4411 as_fn_executable_p "$ac_path_EGREP" || continue
4412 # Check for GNU ac_path_EGREP and select it if it is found.
4413 # Check for GNU $ac_path_EGREP
4414 case `"$ac_path_EGREP" --version 2>&1` in
4416 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4419 $as_echo_n 0123456789 >"conftest.in"
4422 cat "conftest.in" "conftest.in" >"conftest.tmp"
4423 mv "conftest.tmp" "conftest.in"
4424 cp "conftest.in" "conftest.nl"
4425 $as_echo 'EGREP' >> "conftest.nl"
4426 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4428 as_fn_arith $ac_count + 1 && ac_count=$as_val
4429 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4430 # Best one so far, save it but keep looking for a better one
4431 ac_cv_path_EGREP="$ac_path_EGREP"
4432 ac_path_EGREP_max=$ac_count
4434 # 10*(2^10) chars as input seems more than enough
4435 test $ac_count -gt 10 && break
4437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4440 $ac_path_EGREP_found && break 3
4445 if test -z "$ac_cv_path_EGREP"; then
4446 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4449 ac_cv_path_EGREP=$EGREP
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4455 $as_echo "$ac_cv_path_EGREP" >&6; }
4456 EGREP="$ac_cv_path_EGREP"
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4460 $as_echo_n "checking for ANSI C header files... " >&6; }
4461 if ${ac_cv_header_stdc+:} false; then :
4462 $as_echo_n "(cached) " >&6
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4479 if ac_fn_c_try_compile "$LINENO"; then :
4480 ac_cv_header_stdc=yes
4482 ac_cv_header_stdc=no
4484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4486 if test $ac_cv_header_stdc = yes; then
4487 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4494 $EGREP "memchr" >/dev/null 2>&1; then :
4497 ac_cv_header_stdc=no
4503 if test $ac_cv_header_stdc = yes; then
4504 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4511 $EGREP "free" >/dev/null 2>&1; then :
4514 ac_cv_header_stdc=no
4520 if test $ac_cv_header_stdc = yes; then
4521 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4522 if test "$cross_compiling" = yes; then :
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 #if ((' ' & 0x0FF) == 0x020)
4530 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4531 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4533 # define ISLOWER(c) \
4534 (('a' <= (c) && (c) <= 'i') \
4535 || ('j' <= (c) && (c) <= 'r') \
4536 || ('s' <= (c) && (c) <= 'z'))
4537 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4540 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4545 for (i = 0; i < 256; i++)
4546 if (XOR (islower (i), ISLOWER (i))
4547 || toupper (i) != TOUPPER (i))
4552 if ac_fn_c_try_run "$LINENO"; then :
4555 ac_cv_header_stdc=no
4557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4558 conftest.$ac_objext conftest.beam conftest.$ac_ext
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4564 $as_echo "$ac_cv_header_stdc" >&6; }
4565 if test $ac_cv_header_stdc = yes; then
4567 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4574 # Check whether --with-resolver was given.
4575 if test "${with_resolver+set}" = set; then :
4576 withval=$with_resolver; resolver=$withval
4583 # Check whether --with-libpcap was given.
4584 if test "${with_libpcap+set}" = set; then :
4585 withval=$with_libpcap; libpcap_prefix=$withval
4592 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4593 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4594 inttypes.h stdint.h unistd.h
4596 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4597 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4599 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4600 cat >>confdefs.h <<_ACEOF
4601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4609 for ac_header in sgtty.h sys/ioctl.h sys/time.h sys/sockio.h termio.h termios.h unistd.h
4611 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4612 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4613 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4614 cat >>confdefs.h <<_ACEOF
4615 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4624 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4625 if ${ac_cv_c_const+:} false; then :
4626 $as_echo_n "(cached) " >&6
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4636 /* Ultrix mips cc rejects this sort of thing. */
4637 typedef int charset[2];
4638 const charset cs = { 0, 0 };
4639 /* SunOS 4.1.1 cc rejects this. */
4640 char const *const *pcpcc;
4642 /* NEC SVR4.0.2 mips cc rejects this. */
4643 struct point {int x, y;};
4644 static struct point const zero = {0,0};
4645 /* AIX XL C 1.02.0.0 rejects this.
4646 It does not let you subtract one const X* pointer from another in
4647 an arm of an if-expression whose if-part is not a constant
4649 const char *g = "string";
4650 pcpcc = &g + (g ? g-g : 0);
4651 /* HPUX 7.0 cc rejects these. */
4653 ppc = (char**) pcpcc;
4654 pcpcc = (char const *const *) ppc;
4655 { /* SCO 3.2v4 cc rejects this sort of thing. */
4658 char const *s = 0 ? (char *) 0 : (char const *) 0;
4663 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4665 const int *foo = &x[0];
4668 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4669 typedef const int *iptr;
4673 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4674 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4675 struct s { int j; const int *ap[3]; } bx;
4676 struct s *b = &bx; b->j = 5;
4678 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4682 return !cs[0] && !zero.x;
4689 if ac_fn_c_try_compile "$LINENO"; then :
4694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4697 $as_echo "$ac_cv_c_const" >&6; }
4698 if test $ac_cv_c_const = no; then
4700 $as_echo "#define const /**/" >>confdefs.h
4704 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4705 if test "x$ac_cv_type_size_t" = xyes; then :
4709 cat >>confdefs.h <<_ACEOF
4710 #define size_t unsigned int
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4716 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4717 if ${ac_cv_header_time+:} false; then :
4718 $as_echo_n "(cached) " >&6
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4722 #include <sys/types.h>
4723 #include <sys/time.h>
4729 if ((struct tm *) 0)
4735 if ac_fn_c_try_compile "$LINENO"; then :
4736 ac_cv_header_time=yes
4738 ac_cv_header_time=no
4740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4743 $as_echo "$ac_cv_header_time" >&6; }
4744 if test $ac_cv_header_time = yes; then
4746 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4752 ac_fn_c_check_header_mongrel "$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
4753 if test "x$ac_cv_header_sys_dlpi_h" = xyes; then :
4755 $as_echo "#define HAVE_DLPI 1" >>confdefs.h
4761 for ac_func in regcomp select strdup strerror strspn
4763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4765 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4766 cat >>confdefs.h <<_ACEOF
4767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
4775 $as_echo_n "checking for library containing socket... " >&6; }
4776 if ${ac_cv_search_socket+:} false; then :
4777 $as_echo_n "(cached) " >&6
4779 ac_func_search_save_LIBS=$LIBS
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4783 /* Override any GCC internal prototype to avoid an error.
4784 Use char because int might match the return type of a GCC
4785 builtin and then its argument prototype would still apply. */
4798 for ac_lib in '' socket; do
4799 if test -z "$ac_lib"; then
4800 ac_res="none required"
4803 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4805 if ac_fn_c_try_link "$LINENO"; then :
4806 ac_cv_search_socket=$ac_res
4808 rm -f core conftest.err conftest.$ac_objext \
4810 if ${ac_cv_search_socket+:} false; then :
4814 if ${ac_cv_search_socket+:} false; then :
4817 ac_cv_search_socket=no
4820 LIBS=$ac_func_search_save_LIBS
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
4823 $as_echo "$ac_cv_search_socket" >&6; }
4824 ac_res=$ac_cv_search_socket
4825 if test "$ac_res" != no; then :
4826 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
4831 $as_echo_n "checking for library containing log... " >&6; }
4832 if ${ac_cv_search_log+:} false; then :
4833 $as_echo_n "(cached) " >&6
4835 ac_func_search_save_LIBS=$LIBS
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4839 /* Override any GCC internal prototype to avoid an error.
4840 Use char because int might match the return type of a GCC
4841 builtin and then its argument prototype would still apply. */
4854 for ac_lib in '' m; do
4855 if test -z "$ac_lib"; then
4856 ac_res="none required"
4859 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4861 if ac_fn_c_try_link "$LINENO"; then :
4862 ac_cv_search_log=$ac_res
4864 rm -f core conftest.err conftest.$ac_objext \
4866 if ${ac_cv_search_log+:} false; then :
4870 if ${ac_cv_search_log+:} false; then :
4876 LIBS=$ac_func_search_save_LIBS
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
4879 $as_echo "$ac_cv_search_log" >&6; }
4880 ac_res=$ac_cv_search_log
4881 if test "$ac_res" != no; then :
4882 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4886 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
4887 if test "x$ac_cv_func_gethostbyname" = xyes; then :
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4891 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4892 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
4893 $as_echo_n "(cached) " >&6
4895 ac_check_lib_save_LIBS=$LIBS
4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4900 /* Override any GCC internal prototype to avoid an error.
4901 Use char because int might match the return type of a GCC
4902 builtin and then its argument prototype would still apply. */
4906 char gethostbyname ();
4910 return gethostbyname ();
4915 if ac_fn_c_try_link "$LINENO"; then :
4916 ac_cv_lib_nsl_gethostbyname=yes
4918 ac_cv_lib_nsl_gethostbyname=no
4920 rm -f core conftest.err conftest.$ac_objext \
4921 conftest$ac_exeext conftest.$ac_ext
4922 LIBS=$ac_check_lib_save_LIBS
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4925 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4926 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
4927 cat >>confdefs.h <<_ACEOF
4928 #define HAVE_LIBNSL 1
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
4939 $as_echo_n "checking for library containing inet_aton... " >&6; }
4940 if ${ac_cv_search_inet_aton+:} false; then :
4941 $as_echo_n "(cached) " >&6
4943 ac_func_search_save_LIBS=$LIBS
4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4947 /* Override any GCC internal prototype to avoid an error.
4948 Use char because int might match the return type of a GCC
4949 builtin and then its argument prototype would still apply. */
4957 return inet_aton ();
4962 for ac_lib in '' socket nsl; do
4963 if test -z "$ac_lib"; then
4964 ac_res="none required"
4967 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4969 if ac_fn_c_try_link "$LINENO"; then :
4970 ac_cv_search_inet_aton=$ac_res
4972 rm -f core conftest.err conftest.$ac_objext \
4974 if ${ac_cv_search_inet_aton+:} false; then :
4978 if ${ac_cv_search_inet_aton+:} false; then :
4981 ac_cv_search_inet_aton=no
4984 LIBS=$ac_func_search_save_LIBS
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
4987 $as_echo "$ac_cv_search_inet_aton" >&6; }
4988 ac_res=$ac_cv_search_inet_aton
4989 if test "$ac_res" != no; then :
4990 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
4995 $as_echo_n "checking for library containing inet_pton... " >&6; }
4996 if ${ac_cv_search_inet_pton+:} false; then :
4997 $as_echo_n "(cached) " >&6
4999 ac_func_search_save_LIBS=$LIBS
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5003 /* Override any GCC internal prototype to avoid an error.
5004 Use char because int might match the return type of a GCC
5005 builtin and then its argument prototype would still apply. */
5013 return inet_pton ();
5018 for ac_lib in '' socket nsl; do
5019 if test -z "$ac_lib"; then
5020 ac_res="none required"
5023 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5025 if ac_fn_c_try_link "$LINENO"; then :
5026 ac_cv_search_inet_pton=$ac_res
5028 rm -f core conftest.err conftest.$ac_objext \
5030 if ${ac_cv_search_inet_pton+:} false; then :
5034 if ${ac_cv_search_inet_pton+:} false; then :
5037 ac_cv_search_inet_pton=no
5040 LIBS=$ac_func_search_save_LIBS
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
5043 $as_echo "$ac_cv_search_inet_pton" >&6; }
5044 ac_res=$ac_cv_search_inet_pton
5045 if test "$ac_res" != no; then :
5046 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5050 for ac_func in inet_aton inet_pton
5052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5054 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5055 cat >>confdefs.h <<_ACEOF
5056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5064 for type in u_int8_t u_int16_t u_int32_t ; do
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of $type" >&5
5066 $as_echo_n "checking size of $type... " >&6; }
5067 if test "$cross_compiling" = yes; then :
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't determine when cross-compiling" >&5
5071 $as_echo "can't determine when cross-compiling" >&6; }
5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5077 #include <sys/types.h>
5081 FILE *f=fopen("conftestval", "w");
5083 fprintf(f, "%d\n", sizeof($1));
5088 if ac_fn_c_try_run "$LINENO"; then :
5091 eval "size_$type=$x"
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $x" >&5
5093 $as_echo "$x" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown type" >&5
5099 $as_echo "unknown type" >&6; }
5102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5103 conftest.$ac_objext conftest.beam conftest.$ac_ext
5109 cat >>confdefs.h <<_ACEOF
5110 #define SIZEOF_U_INT8_T $size_u_int8_t
5114 cat >>confdefs.h <<_ACEOF
5115 #define SIZEOF_U_INT16_T $size_u_int16_t
5119 cat >>confdefs.h <<_ACEOF
5120 #define SIZEOF_U_INT32_T $size_u_int32_t
5125 if test $size_u_int8_t != 1 || test $size_u_int16_t != 2 || test $size_u_int32_t != 4 ; then
5127 for ac_header in stdint.h sys/inttypes.h
5129 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5130 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5131 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5132 cat >>confdefs.h <<_ACEOF
5133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5135 do_int_types=0; break
5141 if test $do_int_types = 1 ; then
5142 # The cast to long int works around a bug in the HP C Compiler
5143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5145 # This bug is HP SR number 8606223364.
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short int" >&5
5147 $as_echo_n "checking size of unsigned short int... " >&6; }
5148 if ${ac_cv_sizeof_unsigned_short_int+:} false; then :
5149 $as_echo_n "(cached) " >&6
5151 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short int))" "ac_cv_sizeof_unsigned_short_int" "$ac_includes_default"; then :
5154 if test "$ac_cv_type_unsigned_short_int" = yes; then
5155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5157 as_fn_error 77 "cannot compute sizeof (unsigned short int)
5158 See \`config.log' for more details" "$LINENO" 5; }
5160 ac_cv_sizeof_unsigned_short_int=0
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short_int" >&5
5166 $as_echo "$ac_cv_sizeof_unsigned_short_int" >&6; }
5170 cat >>confdefs.h <<_ACEOF
5171 #define SIZEOF_UNSIGNED_SHORT_INT $ac_cv_sizeof_unsigned_short_int
5175 # The cast to long int works around a bug in the HP C Compiler
5176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5178 # This bug is HP SR number 8606223364.
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
5180 $as_echo_n "checking size of unsigned int... " >&6; }
5181 if ${ac_cv_sizeof_unsigned_int+:} false; then :
5182 $as_echo_n "(cached) " >&6
5184 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
5187 if test "$ac_cv_type_unsigned_int" = yes; then
5188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5190 as_fn_error 77 "cannot compute sizeof (unsigned int)
5191 See \`config.log' for more details" "$LINENO" 5; }
5193 ac_cv_sizeof_unsigned_int=0
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
5199 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
5203 cat >>confdefs.h <<_ACEOF
5204 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
5208 # The cast to long int works around a bug in the HP C Compiler
5209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5211 # This bug is HP SR number 8606223364.
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long int" >&5
5213 $as_echo_n "checking size of unsigned long int... " >&6; }
5214 if ${ac_cv_sizeof_unsigned_long_int+:} false; then :
5215 $as_echo_n "(cached) " >&6
5217 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long int))" "ac_cv_sizeof_unsigned_long_int" "$ac_includes_default"; then :
5220 if test "$ac_cv_type_unsigned_long_int" = yes; then
5221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5223 as_fn_error 77 "cannot compute sizeof (unsigned long int)
5224 See \`config.log' for more details" "$LINENO" 5; }
5226 ac_cv_sizeof_unsigned_long_int=0
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_int" >&5
5232 $as_echo "$ac_cv_sizeof_unsigned_long_int" >&6; }
5236 cat >>confdefs.h <<_ACEOF
5237 #define SIZEOF_UNSIGNED_LONG_INT $ac_cv_sizeof_unsigned_long_int
5243 $as_echo "#define HAVE_C99_INTS 1" >>confdefs.h
5250 specified_resolver=$resolver
5251 if test x$specified_resolver = xguess ; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
5254 $as_echo_n "checking for library containing getnameinfo... " >&6; }
5255 if ${ac_cv_search_getnameinfo+:} false; then :
5256 $as_echo_n "(cached) " >&6
5258 ac_func_search_save_LIBS=$LIBS
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5260 /* end confdefs.h. */
5262 /* Override any GCC internal prototype to avoid an error.
5263 Use char because int might match the return type of a GCC
5264 builtin and then its argument prototype would still apply. */
5268 char getnameinfo ();
5272 return getnameinfo ();
5277 for ac_lib in '' nsl; do
5278 if test -z "$ac_lib"; then
5279 ac_res="none required"
5282 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5284 if ac_fn_c_try_link "$LINENO"; then :
5285 ac_cv_search_getnameinfo=$ac_res
5287 rm -f core conftest.err conftest.$ac_objext \
5289 if ${ac_cv_search_getnameinfo+:} false; then :
5293 if ${ac_cv_search_getnameinfo+:} false; then :
5296 ac_cv_search_getnameinfo=no
5299 LIBS=$ac_func_search_save_LIBS
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
5302 $as_echo "$ac_cv_search_getnameinfo" >&6; }
5303 ac_res=$ac_cv_search_getnameinfo
5304 if test "$ac_res" != no; then :
5305 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5312 if test $use_getnameinfo = 1 ; then
5314 $as_echo "#define USE_GETNAMEINFO 1" >>confdefs.h
5321 if test x$resolver = xnetdb ; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyaddr_r" >&5
5323 $as_echo_n "checking for library containing gethostbyaddr_r... " >&6; }
5324 if ${ac_cv_search_gethostbyaddr_r+:} false; then :
5325 $as_echo_n "(cached) " >&6
5327 ac_func_search_save_LIBS=$LIBS
5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5331 /* Override any GCC internal prototype to avoid an error.
5332 Use char because int might match the return type of a GCC
5333 builtin and then its argument prototype would still apply. */
5337 char gethostbyaddr_r ();
5341 return gethostbyaddr_r ();
5346 for ac_lib in '' nsl; do
5347 if test -z "$ac_lib"; then
5348 ac_res="none required"
5351 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5353 if ac_fn_c_try_link "$LINENO"; then :
5354 ac_cv_search_gethostbyaddr_r=$ac_res
5356 rm -f core conftest.err conftest.$ac_objext \
5358 if ${ac_cv_search_gethostbyaddr_r+:} false; then :
5362 if ${ac_cv_search_gethostbyaddr_r+:} false; then :
5365 ac_cv_search_gethostbyaddr_r=no
5368 LIBS=$ac_func_search_save_LIBS
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyaddr_r" >&5
5371 $as_echo "$ac_cv_search_gethostbyaddr_r" >&6; }
5372 ac_res=$ac_cv_search_gethostbyaddr_r
5373 if test "$ac_res" != no; then :
5374 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5380 if test x$resolver = xguess && test x$specified_resolver != xguess ; then
5381 as_fn_error $? "no library defines gethostbyaddr_r" "$LINENO" 5
5385 if test x$resolver = xnetdb ; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to call gethostbyaddr_r" >&5
5387 $as_echo_n "checking how to call gethostbyaddr_r... " >&6; }
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5390 `cat config/hostentp_ghba_r.c`
5392 if ac_fn_c_try_link "$LINENO"; then :
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7 args" >&5
5394 $as_echo "7 args" >&6; }
5397 $as_echo "#define GETHOSTBYADDR_R_RETURNS_HOSTENT_P 1" >>confdefs.h
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5403 `cat config/int_ghba_r.c`
5405 if ac_fn_c_try_link "$LINENO"; then :
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 args, int return" >&5
5407 $as_echo "8 args, int return" >&6; }
5410 $as_echo "#define GETHOSTBYADDR_R_RETURNS_INT 1" >>confdefs.h
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: don't know how" >&5
5415 $as_echo "don't know how" >&6; }
5418 rm -f core conftest.err conftest.$ac_objext \
5419 conftest$ac_exeext conftest.$ac_ext
5421 rm -f core conftest.err conftest.$ac_objext \
5422 conftest$ac_exeext conftest.$ac_ext
5423 if test x$resolver = xguess && test x$specified_resolver != xguess ; then
5424 as_fn_error $? "gethostbyaddr_r has no known calling convention" "$LINENO" 5
5428 if test x$resolver = xnetdb ; then
5429 if test x$ghba_args = x8 ; then
5432 testfile=hostentp_ghba_r
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyaddr_r usability" >&5
5435 $as_echo_n "checking gethostbyaddr_r usability... " >&6; }
5436 if test "$cross_compiling" = yes; then :
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't test because we are cross-compiling" >&5
5438 $as_echo "can't test because we are cross-compiling" >&6; }
5440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5442 `cat config/$testfile.c`
5444 if ac_fn_c_try_run "$LINENO"; then :
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5446 $as_echo "yes" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5453 conftest.$ac_objext conftest.beam conftest.$ac_ext
5456 if test x$resolver = xguess ; then
5457 if test x$specified_resolver = xguess ; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gethostbyaddr_r doesn't work, so we'll try something else" >&5
5459 $as_echo "gethostbyaddr_r doesn't work, so we'll try something else" >&6; }
5461 as_fn_error $? "gethostbyaddr_r doesn't work" "$LINENO" 5
5466 if test x$resolver = xnetdb ; then
5468 $as_echo "#define USE_GETHOSTBYADDR_R 1" >>confdefs.h
5472 if test x$resolver = xares ; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ares_init" >&5
5474 $as_echo_n "checking for library containing ares_init... " >&6; }
5475 if ${ac_cv_search_ares_init+:} false; then :
5476 $as_echo_n "(cached) " >&6
5478 ac_func_search_save_LIBS=$LIBS
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5482 /* Override any GCC internal prototype to avoid an error.
5483 Use char because int might match the return type of a GCC
5484 builtin and then its argument prototype would still apply. */
5492 return ares_init ();
5497 for ac_lib in '' ares; do
5498 if test -z "$ac_lib"; then
5499 ac_res="none required"
5502 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5504 if ac_fn_c_try_link "$LINENO"; then :
5505 ac_cv_search_ares_init=$ac_res
5507 rm -f core conftest.err conftest.$ac_objext \
5509 if ${ac_cv_search_ares_init+:} false; then :
5513 if ${ac_cv_search_ares_init+:} false; then :
5516 ac_cv_search_ares_init=no
5519 LIBS=$ac_func_search_save_LIBS
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ares_init" >&5
5522 $as_echo "$ac_cv_search_ares_init" >&6; }
5523 ac_res=$ac_cv_search_ares_init
5524 if test "$ac_res" != no; then :
5525 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5528 $as_echo "#define USE_ARES 1" >>confdefs.h
5533 as_fn_error $? "can't find ARES. Re-run configure and ask for a different resolver." "$LINENO" 5
5538 if test x$resolver = xguess ; then
5539 resolver=netdb_1thread
5542 if test x$resolver = xnetdb_1thread || test x$resolver = xforking ; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyaddr" >&5
5544 $as_echo_n "checking for library containing gethostbyaddr... " >&6; }
5545 if ${ac_cv_search_gethostbyaddr+:} false; then :
5546 $as_echo_n "(cached) " >&6
5548 ac_func_search_save_LIBS=$LIBS
5549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5550 /* end confdefs.h. */
5552 /* Override any GCC internal prototype to avoid an error.
5553 Use char because int might match the return type of a GCC
5554 builtin and then its argument prototype would still apply. */
5558 char gethostbyaddr ();
5562 return gethostbyaddr ();
5567 for ac_lib in '' nsl; do
5568 if test -z "$ac_lib"; then
5569 ac_res="none required"
5572 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5574 if ac_fn_c_try_link "$LINENO"; then :
5575 ac_cv_search_gethostbyaddr=$ac_res
5577 rm -f core conftest.err conftest.$ac_objext \
5579 if ${ac_cv_search_gethostbyaddr+:} false; then :
5583 if ${ac_cv_search_gethostbyaddr+:} false; then :
5586 ac_cv_search_gethostbyaddr=no
5589 LIBS=$ac_func_search_save_LIBS
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyaddr" >&5
5592 $as_echo "$ac_cv_search_gethostbyaddr" >&6; }
5593 ac_res=$ac_cv_search_gethostbyaddr
5594 if test "$ac_res" != no; then :
5595 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5599 as_fn_error $? "gethostbyaddr is not available. You will have to
5600 recompile with no name resolution at all." "$LINENO" 5
5604 if test x$resolver = xnetdb_1thread ; then
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using single-threaded resolver with gethostbyaddr
5606 Consider obtaining ARES or a machine with a working gethostbyaddr_r." >&5
5607 $as_echo "$as_me: WARNING: using single-threaded resolver with gethostbyaddr
5608 Consider obtaining ARES or a machine with a working gethostbyaddr_r." >&2;}
5610 $as_echo "#define USE_GETHOSTBYADDR 1" >>confdefs.h
5614 $as_echo "#define USE_FORKING_RESOLVER 1" >>confdefs.h
5621 if test x$libpcap_prefix = x ; then
5622 libpcap_prefix="/usr /usr/local /opt /software"
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find pcap.h" >&5
5626 $as_echo_n "checking where to find pcap.h... " >&6; }
5628 oldCPPFLAGS=$CPPFLAGS
5629 for test_prefix in "" $libpcap_prefix ; do
5630 for x in "" /pcap ; do
5631 if test x$test_prefix != x ; then
5632 CPPFLAGS="$oldCPPFLAGS -I$test_prefix/include$x"
5634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5640 if ac_fn_c_try_cpp "$LINENO"; then :
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $test_prefix/include$x" >&5
5643 $as_echo "$test_prefix/include$x" >&6; }
5648 rm -f conftest.err conftest.i conftest.$ac_ext
5650 if test $foundpcaph = 1 ; then
5655 if test $foundpcaph = 0 ; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no idea" >&5
5657 $as_echo "no idea" >&6; }
5658 as_fn_error $? "can't find pcap.h
5659 You're not going to get very far without libpcap." "$LINENO" 5
5661 if test x$test_prefix != x ; then
5662 LDFLAGS="$LDFLAGS -L$test_prefix/lib"
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_open_live in -lpcap" >&5
5665 $as_echo_n "checking for pcap_open_live in -lpcap... " >&6; }
5666 if ${ac_cv_lib_pcap_pcap_open_live+:} false; then :
5667 $as_echo_n "(cached) " >&6
5669 ac_check_lib_save_LIBS=$LIBS
5671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5672 /* end confdefs.h. */
5674 /* Override any GCC internal prototype to avoid an error.
5675 Use char because int might match the return type of a GCC
5676 builtin and then its argument prototype would still apply. */
5680 char pcap_open_live ();
5684 return pcap_open_live ();
5689 if ac_fn_c_try_link "$LINENO"; then :
5690 ac_cv_lib_pcap_pcap_open_live=yes
5692 ac_cv_lib_pcap_pcap_open_live=no
5694 rm -f core conftest.err conftest.$ac_objext \
5695 conftest$ac_exeext conftest.$ac_ext
5696 LIBS=$ac_check_lib_save_LIBS
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_open_live" >&5
5699 $as_echo "$ac_cv_lib_pcap_pcap_open_live" >&6; }
5700 if test "x$ac_cv_lib_pcap_pcap_open_live" = xyes; then :
5701 cat >>confdefs.h <<_ACEOF
5702 #define HAVE_LIBPCAP 1
5709 as_fn_error $? "can't find libpcap
5710 You're not going to get very far without libpcap." "$LINENO" 5
5717 for ac_header in pcap.h pcap/pcap.h
5719 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5720 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5721 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5722 cat >>confdefs.h <<_ACEOF
5723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5734 if test $foundpcap = 0 ; then
5735 as_fn_error $? "can't find pcap.h
5736 You're not going to get very far without libpcap." "$LINENO" 5
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a curses library containing mvchgat" >&5
5741 $as_echo_n "checking for a curses library containing mvchgat... " >&6; }
5743 for curseslib in ncursesw curses ncurses ; do
5744 LIBS="$oldLIBS -l$curseslib"
5745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5746 /* end confdefs.h. */
5748 #include <$curseslib.h>
5754 mvchgat(0, 0, 1, A_REVERSE, 0, NULL)
5760 if ac_fn_c_try_link "$LINENO"; then :
5762 foundcurseslib=$curseslib
5766 rm -f core conftest.err conftest.$ac_objext \
5767 conftest$ac_exeext conftest.$ac_ext
5770 if test x$foundcurseslib = x ; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none found" >&5
5772 $as_echo "none found" >&6; }
5773 as_fn_error $? "Curses! Foiled again!
5774 (Can't find a curses library supporting mvchgat.)
5775 Consider installing ncurses." "$LINENO" 5
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -l$foundcurseslib" >&5
5778 $as_echo "-l$foundcurseslib" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX threads compilation" >&5
5784 $as_echo_n "checking POSIX threads compilation... " >&6; }
5788 for flag in "" -mt -pthread -thread ; do
5789 CFLAGS="$oldCFLAGS $flag"
5790 for lib in "" -lpthread "-lpthread -lposix4" ; do
5791 LIBS="$oldLIBS $lib"
5792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5794 `cat config/pthread.c`
5796 if ac_fn_c_try_link "$LINENO"; then :
5804 rm -f core conftest.err conftest.$ac_objext \
5805 conftest$ac_exeext conftest.$ac_ext
5807 if test $thrfail = 0 ; then
5812 if test $thrfail = 1 ; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no idea" >&5
5814 $as_echo "no idea" >&6; }
5815 as_fn_error $? "can't figure out how to compile with POSIX threads
5816 If your system actually supports POSIX threads, this means we've messed up." "$LINENO" 5
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: CFLAGS=$foundthrflag and LIBS=$foundthrlib" >&5
5820 $as_echo "CFLAGS=$foundthrflag and LIBS=$foundthrlib" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX threads usability" >&5
5822 $as_echo_n "checking POSIX threads usability... " >&6; }
5823 if test "$cross_compiling" = yes; then :
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't test because we are cross-compiling" >&5
5825 $as_echo "can't test because we are cross-compiling" >&6; }
5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5829 `cat config/pthread.c`
5831 if ac_fn_c_try_run "$LINENO"; then :
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5833 $as_echo "yes" >&6; }
5835 as_fn_error $? "it fails. We probably guessed the wrong CFLAGS." "$LINENO" 5
5837 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5838 conftest.$ac_objext conftest.beam conftest.$ac_ext
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to enable promiscuous mode by default" >&5
5844 $as_echo_n "checking if we need to enable promiscuous mode by default... " >&6; }
5846 enable_default_promiscuous="no"
5849 solaris*) enable_default_promiscuous="yes" ;;
5852 # Check whether --enable-default-promiscuous was given.
5853 if test "${enable_default_promiscuous+set}" = set; then :
5854 enableval=$enable_default_promiscuous;
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_default_promiscuous" >&5
5859 $as_echo "$enable_default_promiscuous" >&6; }
5861 if test x"$enable_default_promiscuous" = x"yes"; then
5863 $as_echo "#define NEED_PROMISCUOUS_FOR_OUTGOING 1" >>confdefs.h
5870 ac_config_files="$ac_config_files Makefile config/Makefile"
5872 cat >confcache <<\_ACEOF
5873 # This file is a shell script that caches the results of configure
5874 # tests run on this system so they can be shared between configure
5875 # scripts and configure runs, see configure's option --config-cache.
5876 # It is not useful on other systems. If it contains results you don't
5877 # want to keep, you may remove or edit it.
5879 # config.status only pays attention to the cache file if you give it
5880 # the --recheck option to rerun configure.
5882 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5883 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5888 # The following way of writing the cache mishandles newlines in values,
5889 # but we know of no workaround that is simple, portable, and efficient.
5890 # So, we kill variables containing newlines.
5891 # Ultrix sh set writes to stderr and can't be redirected directly,
5892 # and sets the high bit in the cache file unless we assign to the vars.
5894 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5895 eval ac_val=\$$ac_var
5899 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5900 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5903 _ | IFS | as_nl) ;; #(
5904 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5905 *) { eval $ac_var=; unset $ac_var;} ;;
5911 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5912 *${as_nl}ac_space=\ *)
5913 # `set' does not quote correctly, so add quotes: double-quote
5914 # substitution turns \\\\ into \\, and sed turns \\ into \.
5917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5920 # `set' quotes correctly as required by POSIX, so do not add quotes.
5921 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5930 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5932 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5934 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5935 if test -w "$cache_file"; then
5936 if test "x$cache_file" != "x/dev/null"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5938 $as_echo "$as_me: updating cache $cache_file" >&6;}
5939 if test ! -f "$cache_file" || test -h "$cache_file"; then
5940 cat confcache >"$cache_file"
5942 case $cache_file in #(
5944 mv -f confcache "$cache_file"$$ &&
5945 mv -f "$cache_file"$$ "$cache_file" ;; #(
5947 mv -f confcache "$cache_file" ;;
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5953 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5958 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5959 # Let make expand exec_prefix.
5960 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5962 DEFS=-DHAVE_CONFIG_H
5967 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5968 # 1. Remove the extension, and $U if already installed.
5969 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5970 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5971 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5972 # will be set to the directory where LIBOBJS objects are built.
5973 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5974 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5978 LTLIBOBJS=$ac_ltlibobjs
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5982 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5983 if test -n "$am_sleep_pid"; then
5984 # Hide warnings about reused PIDs.
5985 wait $am_sleep_pid 2>/dev/null
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5988 $as_echo "done" >&6; }
5989 if test -n "$EXEEXT"; then
5991 am__EXEEXT_FALSE='#'
5997 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5998 as_fn_error $? "conditional \"AMDEP\" was never defined.
5999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6001 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6002 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6006 : "${CONFIG_STATUS=./config.status}"
6008 ac_clean_files_save=$ac_clean_files
6009 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6011 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6013 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6015 # Generated by $as_me.
6016 # Run this file to recreate the current configuration.
6017 # Compiler output produced by configure, useful for debugging
6018 # configure, is in config.log if it exists.
6024 SHELL=\${CONFIG_SHELL-$SHELL}
6027 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6028 ## -------------------- ##
6029 ## M4sh Initialization. ##
6030 ## -------------------- ##
6032 # Be more Bourne compatible
6033 DUALCASE=1; export DUALCASE # for MKS sh
6034 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6037 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6038 # is contrary to our usage. Disable this feature.
6039 alias -g '${1+"$@"}'='"$@"'
6040 setopt NO_GLOB_SUBST
6042 case `(set -o) 2>/dev/null` in #(
6054 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6055 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6056 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6057 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6058 # Prefer a ksh shell builtin over an external printf program on Solaris,
6059 # but without wasting forks for bash or zsh.
6060 if test -z "$BASH_VERSION$ZSH_VERSION" \
6061 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6062 as_echo='print -r --'
6063 as_echo_n='print -rn --'
6064 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6065 as_echo='printf %s\n'
6066 as_echo_n='printf %s'
6068 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6069 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6070 as_echo_n='/usr/ucb/echo -n'
6072 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6073 as_echo_n_body='eval
6077 expr "X$arg" : "X\\(.*\\)$as_nl";
6078 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6080 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6082 export as_echo_n_body
6083 as_echo_n='sh -c $as_echo_n_body as_echo'
6086 as_echo='sh -c $as_echo_body as_echo'
6089 # The user is always right.
6090 if test "${PATH_SEPARATOR+set}" != set; then
6092 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6093 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6100 # We need space, tab and new line, in precisely that order. Quoting is
6101 # there to prevent editors from complaining about space-tab.
6102 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6103 # splitting by setting IFS to empty value.)
6106 # Find who we are. Look in the path if we contain no directory separator.
6109 *[\\/]* ) as_myself=$0 ;;
6110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 test -z "$as_dir" && as_dir=.
6115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6121 # We did not find ourselves, most probably we were run as `sh COMMAND'
6122 # in which case we are not to be found in the path.
6123 if test "x$as_myself" = x; then
6126 if test ! -f "$as_myself"; then
6127 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6131 # Unset variables that we do not need and which cause bugs (e.g. in
6132 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6133 # suppresses any "Segmentation fault" message there. '((' could
6134 # trigger a bug in pdksh 5.2.14.
6135 for as_var in BASH_ENV ENV MAIL MAILPATH
6136 do eval test x\${$as_var+set} = xset \
6137 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6150 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6153 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6154 # ----------------------------------------
6155 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6156 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6157 # script with STATUS, using 1 if that was 0.
6160 as_status=$1; test $as_status -eq 0 && as_status=1
6162 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6163 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6165 $as_echo "$as_me: error: $2" >&2
6166 as_fn_exit $as_status
6170 # as_fn_set_status STATUS
6171 # -----------------------
6172 # Set $? to STATUS, without forking.
6176 } # as_fn_set_status
6180 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6190 # Portably unset VAR.
6193 { eval $1=; unset $1;}
6195 as_unset=as_fn_unset
6196 # as_fn_append VAR VALUE
6197 # ----------------------
6198 # Append the text in VALUE to the end of the definition contained in VAR. Take
6199 # advantage of any shell optimizations that allow amortized linear growth over
6200 # repeated appends, instead of the typical quadratic growth present in naive
6202 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6203 eval 'as_fn_append ()
6214 # as_fn_arith ARG...
6215 # ------------------
6216 # Perform arithmetic evaluation on the ARGs, and store the result in the
6217 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6218 # must be portable across $(()) and expr.
6219 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6220 eval 'as_fn_arith ()
6227 as_val=`expr "$@" || test $? -eq 1`
6232 if expr a : '\(a\)' >/dev/null 2>&1 &&
6233 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6239 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6240 as_basename=basename
6245 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6251 as_me=`$as_basename -- "$0" ||
6252 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6253 X"$0" : 'X\(//\)$' \| \
6254 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6256 sed '/^.*\/\([^/][^/]*\)\/*$/{
6270 # Avoid depending upon Character Ranges.
6271 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6272 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6273 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6274 as_cr_digits='0123456789'
6275 as_cr_alnum=$as_cr_Letters$as_cr_digits
6277 ECHO_C= ECHO_N= ECHO_T=
6278 case `echo -n x` in #(((((
6280 case `echo 'xy\c'` in
6281 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6283 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6290 rm -f conf$$ conf$$.exe conf$$.file
6291 if test -d conf$$.dir; then
6292 rm -f conf$$.dir/conf$$.file
6295 mkdir conf$$.dir 2>/dev/null
6297 if (echo >conf$$.file) 2>/dev/null; then
6298 if ln -s conf$$.file conf$$ 2>/dev/null; then
6300 # ... but there are two gotchas:
6301 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6302 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6303 # In both cases, we have to default to `cp -pR'.
6304 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6306 elif ln conf$$.file conf$$ 2>/dev/null; then
6314 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6315 rmdir conf$$.dir 2>/dev/null
6320 # Create "$as_dir" as a directory, including parents if necessary.
6325 -*) as_dir=./$as_dir;;
6327 test -d "$as_dir" || eval $as_mkdir_p || {
6331 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6332 *) as_qdir=$as_dir;;
6334 as_dirs="'$as_qdir' $as_dirs"
6335 as_dir=`$as_dirname -- "$as_dir" ||
6336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6337 X"$as_dir" : 'X\(//\)[^/]' \| \
6338 X"$as_dir" : 'X\(//\)$' \| \
6339 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6340 $as_echo X"$as_dir" |
6341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6358 test -d "$as_dir" && break
6360 test -z "$as_dirs" || eval "mkdir $as_dirs"
6361 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6365 if mkdir -p . 2>/dev/null; then
6366 as_mkdir_p='mkdir -p "$as_dir"'
6368 test -d ./-p && rmdir ./-p
6373 # as_fn_executable_p FILE
6374 # -----------------------
6375 # Test if FILE is an executable regular file.
6376 as_fn_executable_p ()
6378 test -f "$1" && test -x "$1"
6379 } # as_fn_executable_p
6381 as_executable_p=as_fn_executable_p
6383 # Sed expression to map a string onto a valid CPP name.
6384 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6386 # Sed expression to map a string onto a valid variable name.
6387 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6391 ## ----------------------------------- ##
6392 ## Main body of $CONFIG_STATUS script. ##
6393 ## ----------------------------------- ##
6395 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6398 # Save the log message, to keep $0 and so on meaningful, and to
6399 # report actual input values of CONFIG_FILES etc. instead of their
6400 # values after options handling.
6402 This file was extended by iftop $as_me 1.0pre4, which was
6403 generated by GNU Autoconf 2.69. Invocation command line was
6405 CONFIG_FILES = $CONFIG_FILES
6406 CONFIG_HEADERS = $CONFIG_HEADERS
6407 CONFIG_LINKS = $CONFIG_LINKS
6408 CONFIG_COMMANDS = $CONFIG_COMMANDS
6411 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6416 case $ac_config_files in *"
6417 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6420 case $ac_config_headers in *"
6421 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6426 # Files that config.status was made for.
6427 config_files="$ac_config_files"
6428 config_headers="$ac_config_headers"
6429 config_commands="$ac_config_commands"
6433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6435 \`$as_me' instantiates files and other configuration actions
6436 from templates according to the current configuration. Unless the files
6437 and actions are specified as TAGs, all are instantiated by default.
6439 Usage: $0 [OPTION]... [TAG]...
6441 -h, --help print this help, then exit
6442 -V, --version print version number and configuration settings, then exit
6443 --config print configuration, then exit
6444 -q, --quiet, --silent
6445 do not print progress messages
6446 -d, --debug don't remove temporary files
6447 --recheck update $as_me by reconfiguring in the same conditions
6448 --file=FILE[:TEMPLATE]
6449 instantiate the configuration file FILE
6450 --header=FILE[:TEMPLATE]
6451 instantiate the configuration header FILE
6453 Configuration files:
6456 Configuration headers:
6459 Configuration commands:
6462 Report bugs to <pdw@ex-parrot.com>.
6463 iftop home page: <http://www.ex-parrot.com/pdw/iftop/>."
6466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6467 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6469 iftop config.status 1.0pre4
6470 configured by $0, generated by GNU Autoconf 2.69,
6471 with options \\"\$ac_cs_config\\"
6473 Copyright (C) 2012 Free Software Foundation, Inc.
6474 This config.status script is free software; the Free Software Foundation
6475 gives unlimited permission to copy, distribute and modify it."
6482 test -n "\$AWK" || AWK=awk
6485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6486 # The default lists apply if the user does not specify any file.
6492 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6493 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6497 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6509 # Handling of the options.
6510 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6512 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6513 $as_echo "$ac_cs_version"; exit ;;
6514 --config | --confi | --conf | --con | --co | --c )
6515 $as_echo "$ac_cs_config"; exit ;;
6516 --debug | --debu | --deb | --de | --d | -d )
6518 --file | --fil | --fi | --f )
6521 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6522 '') as_fn_error $? "missing file argument" ;;
6524 as_fn_append CONFIG_FILES " '$ac_optarg'"
6525 ac_need_defaults=false;;
6526 --header | --heade | --head | --hea )
6529 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6531 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6532 ac_need_defaults=false;;
6534 # Conflict between --help and --header
6535 as_fn_error $? "ambiguous option: \`$1'
6536 Try \`$0 --help' for more information.";;
6537 --help | --hel | -h )
6538 $as_echo "$ac_cs_usage"; exit ;;
6539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6540 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6544 -*) as_fn_error $? "unrecognized option: \`$1'
6545 Try \`$0 --help' for more information." ;;
6547 *) as_fn_append ac_config_targets " $1"
6548 ac_need_defaults=false ;;
6554 ac_configure_extra_args=
6556 if $ac_cs_silent; then
6558 ac_configure_extra_args="$ac_configure_extra_args --silent"
6562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6563 if \$ac_cs_recheck; then
6564 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6566 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6567 CONFIG_SHELL='$SHELL'
6573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6577 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6578 ## Running $as_me. ##
6584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6588 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6594 # Handling of arguments.
6595 for ac_config_target in $ac_config_targets
6597 case $ac_config_target in
6598 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6599 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6600 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6601 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
6603 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6608 # If the user did not use the arguments to specify the items to instantiate,
6609 # then the envvar interface is used. Set only those that are not.
6610 # We use the long form for the default assignment because of an extremely
6611 # bizarre bug on SunOS 4.1.3.
6612 if $ac_need_defaults; then
6613 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6614 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6615 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6618 # Have a temporary directory for convenience. Make it in the build tree
6619 # simply because there is no reason against having it here, and in addition,
6620 # creating and moving files from /tmp can sometimes cause problems.
6621 # Hook for its removal unless debugging.
6622 # Note that there is a small window in which the directory will not be cleaned:
6623 # after its creation but before its name has been assigned to `$tmp'.
6627 trap 'exit_status=$?
6629 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6631 trap 'as_fn_exit 1' 1 2 13 15
6633 # Create a (secure) tmp directory for tmp files.
6636 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6640 tmp=./conf$$-$RANDOM
6641 (umask 077 && mkdir "$tmp")
6642 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6645 # Set up the scripts for CONFIG_FILES section.
6646 # No need to generate them if there are no CONFIG_FILES.
6647 # This happens for instance with `./config.status config.h'.
6648 if test -n "$CONFIG_FILES"; then
6651 ac_cr=`echo X | tr X '\015'`
6652 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6653 # But we know of no other shell where ac_cr would be empty at this
6654 # point, so we can use a bashism as a fallback.
6655 if test "x$ac_cr" = x; then
6656 eval ac_cr=\$\'\\r\'
6658 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6659 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6665 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6670 echo "cat >conf$$subs.awk <<_ACEOF" &&
6671 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6674 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6675 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6677 for ac_last_try in false false false false false :; do
6678 . ./conf$$subs.sh ||
6679 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6681 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6682 if test $ac_delim_n = $ac_delim_num; then
6684 elif $ac_last_try; then
6685 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6687 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6693 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6697 s/^/S["/; s/!.*/"]=/
6707 s/\(.\{148\}\)..*/\1/
6709 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6714 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6721 s/\(.\{148\}\)..*/\1/
6723 s/["\\]/\\&/g; s/^/"/; s/$/"/
6727 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6732 ' <conf$$subs.awk | sed '
6737 ' >>$CONFIG_STATUS || ac_write_fail=1
6738 rm -f conf$$subs.awk
6739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6741 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6742 for (key in S) S_is_set[key] = 1
6748 nfields = split(line, field, "@")
6750 len = length(field[1])
6751 for (i = 2; i < nfields; i++) {
6753 keylen = length(key)
6754 if (S_is_set[key]) {
6756 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6757 len += length(value) + length(field[++i])
6768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6769 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6770 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6773 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6774 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6777 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6778 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6779 # trailing colons and then remove the whole line if VPATH becomes empty
6780 # (actually we leave an empty line to preserve line numbers).
6781 if test "x$srcdir" = x.; then
6782 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6801 fi # test -n "$CONFIG_FILES"
6803 # Set up the scripts for CONFIG_HEADERS section.
6804 # No need to generate them if there are no CONFIG_HEADERS.
6805 # This happens for instance with `./config.status Makefile'.
6806 if test -n "$CONFIG_HEADERS"; then
6807 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6811 # Transform confdefs.h into an awk script `defines.awk', embedded as
6812 # here-document in config.status, that substitutes the proper values into
6813 # config.h.in to produce config.h.
6815 # Create a delimiter string that does not exist in confdefs.h, to ease
6816 # handling of long lines.
6818 for ac_last_try in false false :; do
6819 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6820 if test -z "$ac_tt"; then
6822 elif $ac_last_try; then
6823 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6825 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6829 # For the awk script, D is an array of macro values keyed by name,
6830 # likewise P contains macro parameters if any. Preserve backslash
6831 # newline sequences.
6833 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6835 s/.\{148\}/&'"$ac_delim"'/g
6838 s/^[ ]*#[ ]*define[ ][ ]*/ /
6845 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6847 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6851 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6852 D["\1"]=" \3\\\\\\n"\\/p
6854 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6859 s/.\{148\}/&'"$ac_delim"'/g
6864 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6867 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6869 ' <confdefs.h | sed '
6870 s/'"$ac_delim"'/"\\\
6871 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6874 for (key in D) D_is_set[key] = 1
6877 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6879 split(line, arg, " ")
6880 if (arg[1] == "#") {
6884 defundef = substr(arg[1], 2)
6887 split(mac1, mac2, "(") #)
6889 prefix = substr(line, 1, index(line, defundef) - 1)
6890 if (D_is_set[macro]) {
6891 # Preserve the white space surrounding the "#".
6892 print prefix "define", macro P[macro] D[macro]
6895 # Replace #undef with comments. This is necessary, for example,
6896 # in the case of _POSIX_SOURCE, which is predefined and required
6897 # on some systems where configure will not decide to define it.
6898 if (defundef == "undef") {
6899 print "/*", prefix defundef, macro, "*/"
6907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6908 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6909 fi # test -n "$CONFIG_HEADERS"
6912 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6917 :[FHLC]) ac_mode=$ac_tag; continue;;
6919 case $ac_mode$ac_tag in
6921 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6922 :[FH]-) ac_tag=-:-;;
6923 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6940 -) ac_f="$ac_tmp/stdin";;
6941 *) # Look for the file first in the build tree, then in the source tree
6942 # (if the path is not absolute). The absolute path cannot be DOS-style,
6943 # because $ac_f cannot contain `:'.
6947 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6949 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6951 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6952 as_fn_append ac_file_inputs " '$ac_f'"
6955 # Let's still pretend it is `configure' which instantiates (i.e., don't
6956 # use $as_me), people would be surprised to read:
6957 # /* config.h. Generated by config.status. */
6958 configure_input='Generated from '`
6959 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6961 if test x"$ac_file" != x-; then
6962 configure_input="$ac_file. $configure_input"
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6964 $as_echo "$as_me: creating $ac_file" >&6;}
6966 # Neutralize special characters interpreted by sed in replacement strings.
6967 case $configure_input in #(
6968 *\&* | *\|* | *\\* )
6969 ac_sed_conf_input=`$as_echo "$configure_input" |
6970 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6971 *) ac_sed_conf_input=$configure_input;;
6975 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6976 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6981 ac_dir=`$as_dirname -- "$ac_file" ||
6982 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6983 X"$ac_file" : 'X\(//\)[^/]' \| \
6984 X"$ac_file" : 'X\(//\)$' \| \
6985 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6986 $as_echo X"$ac_file" |
6987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7004 as_dir="$ac_dir"; as_fn_mkdir_p
7008 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7010 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7011 # A ".." for each directory in $ac_dir_suffix.
7012 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7013 case $ac_top_builddir_sub in
7014 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7015 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7018 ac_abs_top_builddir=$ac_pwd
7019 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7020 # for backward compatibility:
7021 ac_top_builddir=$ac_top_build_prefix
7024 .) # We are building in place.
7026 ac_top_srcdir=$ac_top_builddir_sub
7027 ac_abs_top_srcdir=$ac_pwd ;;
7028 [\\/]* | ?:[\\/]* ) # Absolute name.
7029 ac_srcdir=$srcdir$ac_dir_suffix;
7030 ac_top_srcdir=$srcdir
7031 ac_abs_top_srcdir=$srcdir ;;
7033 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7034 ac_top_srcdir=$ac_top_build_prefix$srcdir
7035 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7037 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7047 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7048 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7052 [\\/$]* | ?:[\\/]* ) ;;
7053 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7058 # If the template does not know about datarootdir, expand it.
7059 # FIXME: This hack should be removed a few years after 2.60.
7060 ac_datarootdir_hack=; ac_datarootdir_seen=
7071 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7072 *datarootdir*) ac_datarootdir_seen=yes;;
7073 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7075 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7078 ac_datarootdir_hack='
7079 s&@datadir@&$datadir&g
7080 s&@docdir@&$docdir&g
7081 s&@infodir@&$infodir&g
7082 s&@localedir@&$localedir&g
7083 s&@mandir@&$mandir&g
7084 s&\\\${datarootdir}&$datarootdir&g' ;;
7088 # Neutralize VPATH when `$srcdir' = `.'.
7089 # Shell code in configure.ac might set extrasub.
7090 # FIXME: do we really want to maintain this feature?
7091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7092 ac_sed_extra="$ac_vpsub
7095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7097 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7098 s|@configure_input@|$ac_sed_conf_input|;t t
7099 s&@top_builddir@&$ac_top_builddir_sub&;t t
7100 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7101 s&@srcdir@&$ac_srcdir&;t t
7102 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7103 s&@top_srcdir@&$ac_top_srcdir&;t t
7104 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7105 s&@builddir@&$ac_builddir&;t t
7106 s&@abs_builddir@&$ac_abs_builddir&;t t
7107 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7108 s&@INSTALL@&$ac_INSTALL&;t t
7109 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7110 $ac_datarootdir_hack
7112 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7113 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7115 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7116 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7117 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7118 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7120 which seems to be undefined. Please make sure it is defined" >&5
7121 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7122 which seems to be undefined. Please make sure it is defined" >&2;}
7124 rm -f "$ac_tmp/stdin"
7126 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7127 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7129 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7135 if test x"$ac_file" != x-; then
7137 $as_echo "/* $configure_input */" \
7138 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7139 } >"$ac_tmp/config.h" \
7140 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7141 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7143 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7146 mv "$ac_tmp/config.h" "$ac_file" \
7147 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7150 $as_echo "/* $configure_input */" \
7151 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7152 || as_fn_error $? "could not create -" "$LINENO" 5
7154 # Compute "$ac_file"'s index in $config_headers.
7157 for _am_header in $config_headers :; do
7159 $_am_arg | $_am_arg:* )
7162 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7165 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7166 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7167 X"$_am_arg" : 'X\(//\)[^/]' \| \
7168 X"$_am_arg" : 'X\(//\)$' \| \
7169 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7170 $as_echo X"$_am_arg" |
7171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7187 s/.*/./; q'`/stamp-h$_am_stamp_count
7190 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7191 $as_echo "$as_me: executing $ac_file commands" >&6;}
7196 case $ac_file$ac_mode in
7197 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7198 # Older Autoconf quotes --file arguments for eval, but not when files
7199 # are listed without --file. Let's play safe and only enable the eval
7200 # if we detect the quoting.
7201 case $CONFIG_FILES in
7202 *\'*) eval set x "$CONFIG_FILES" ;;
7203 *) set x $CONFIG_FILES ;;
7208 # Strip MF so we end up with the name of the file.
7209 mf=`echo "$mf" | sed -e 's/:.*$//'`
7210 # Check whether this is an Automake generated Makefile or not.
7211 # We used to match only the files named 'Makefile.in', but
7212 # some people rename them; so instead we look at the file content.
7213 # Grep'ing the first line is not enough: some people post-process
7214 # each Makefile.in and add a new line on top of each file to say so.
7215 # Grep'ing the whole file is not good either: AIX grep has a line
7216 # limit of 2048, but all sed's we know have understand at least 4000.
7217 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7218 dirpart=`$as_dirname -- "$mf" ||
7219 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7220 X"$mf" : 'X\(//\)[^/]' \| \
7221 X"$mf" : 'X\(//\)$' \| \
7222 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7244 # Extract the definition of DEPDIR, am__include, and am__quote
7245 # from the Makefile without running 'make'.
7246 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7247 test -z "$DEPDIR" && continue
7248 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7249 test -z "$am__include" && continue
7250 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7251 # Find all dependency output files, they are included files with
7252 # $(DEPDIR) in their names. We invoke sed twice because it is the
7253 # simplest approach to changing $(DEPDIR) to its actual value in the
7255 for file in `sed -n "
7256 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7257 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7258 # Make sure the directory exists.
7259 test -f "$dirpart/$file" && continue
7260 fdir=`$as_dirname -- "$file" ||
7261 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7262 X"$file" : 'X\(//\)[^/]' \| \
7263 X"$file" : 'X\(//\)$' \| \
7264 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7283 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7284 # echo "creating $dirpart/$file"
7285 echo '# dummy' > "$dirpart/$file"
7297 ac_clean_files=$ac_clean_files_save
7299 test $ac_write_fail = 0 ||
7300 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7303 # configure is writing to config.log, and then calls config.status.
7304 # config.status does its own redirection, appending to config.log.
7305 # Unfortunately, on DOS this fails, as config.log is still kept open
7306 # by configure, so config.status won't be able to write to it; its
7307 # output is simply discarded. So we exec the FD to /dev/null,
7308 # effectively closing config.log, so it can be properly (re)opened and
7309 # appended to by config.status. When coming back to configure, we
7310 # need to make the FD available again.
7311 if test "$no_create" != yes; then
7313 ac_config_status_args=
7314 test "$silent" = yes &&
7315 ac_config_status_args="$ac_config_status_args --quiet"
7317 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7319 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7320 # would make configure fail if this is the last instruction.
7321 $ac_cs_success || as_fn_exit 1
7323 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7325 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7329 if echo $PACKAGE_VERSION | grep 'pre' > /dev/null ; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7331 ******************************************************************************
7333 This is a pre-release version. Pre-releases are subject to limited
7334 announcements, and therefore limited circulation, as a means of testing
7335 the more widely circulated final releases.
7337 Please do not be surprised if this release is broken, and if it is broken, do
7338 not assume that someone else has spotted it. Instead, please drop a note on
7339 the mailing list, or a brief email to me on pdw@ex-parrot.com
7341 Thank you for taking the time to be the testing phase of this development
7346 ******************************************************************************
7348 $as_echo "$as_me: WARNING:
7349 ******************************************************************************
7351 This is a pre-release version. Pre-releases are subject to limited
7352 announcements, and therefore limited circulation, as a means of testing
7353 the more widely circulated final releases.
7355 Please do not be surprised if this release is broken, and if it is broken, do
7356 not assume that someone else has spotted it. Instead, please drop a note on
7357 the mailing list, or a brief email to me on pdw@ex-parrot.com
7359 Thank you for taking the time to be the testing phase of this development
7364 ******************************************************************************