2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
557 ac_unique_file="iftop.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars='LTLIBOBJS
623 INSTALL_STRIP_PROGRAM
676 program_transform_name
689 enable_option_checking
690 enable_dependency_tracking
693 enable_default_promiscuous
695 ac_precious_vars='build_alias
706 # Initialize some variables set by options.
708 ac_init_version=false
709 ac_unrecognized_opts=
711 # The variables have the same names as the options, with
712 # dashes changed to underlines.
720 program_transform_name=s,x,x,
728 # Installation directory options.
729 # These are left unexpanded so users can "make install exec_prefix=/foo"
730 # and all the variables that are supposed to be based on exec_prefix
731 # by default will actually change.
732 # Use braces instead of parens because sh, perl, etc. also accept them.
733 # (The list follows the same order as the GNU Coding Standards.)
734 bindir='${exec_prefix}/bin'
735 sbindir='${exec_prefix}/sbin'
736 libexecdir='${exec_prefix}/libexec'
737 datarootdir='${prefix}/share'
738 datadir='${datarootdir}'
739 sysconfdir='${prefix}/etc'
740 sharedstatedir='${prefix}/com'
741 localstatedir='${prefix}/var'
742 includedir='${prefix}/include'
743 oldincludedir='/usr/include'
744 docdir='${datarootdir}/doc/${PACKAGE}'
745 infodir='${datarootdir}/info'
750 libdir='${exec_prefix}/lib'
751 localedir='${datarootdir}/locale'
752 mandir='${datarootdir}/man'
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\$ac_option
766 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
776 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
781 -build | --build | --buil | --bui | --bu)
782 ac_prev=build_alias ;;
783 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
784 build_alias=$ac_optarg ;;
786 -cache-file | --cache-file | --cache-fil | --cache-fi \
787 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788 ac_prev=cache_file ;;
789 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
790 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
791 cache_file=$ac_optarg ;;
794 cache_file=config.cache ;;
796 -datadir | --datadir | --datadi | --datad)
798 -datadir=* | --datadir=* | --datadi=* | --datad=*)
799 datadir=$ac_optarg ;;
801 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
802 | --dataroo | --dataro | --datar)
803 ac_prev=datarootdir ;;
804 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
805 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
806 datarootdir=$ac_optarg ;;
808 -disable-* | --disable-*)
809 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812 as_fn_error "invalid feature name: $ac_useropt"
813 ac_useropt_orig=$ac_useropt
814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep=', ';;
822 eval enable_$ac_useropt=no ;;
824 -docdir | --docdir | --docdi | --doc | --do)
826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
834 -enable-* | --enable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
848 eval enable_$ac_useropt=\$ac_optarg ;;
850 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
851 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
852 | --exec | --exe | --ex)
853 ac_prev=exec_prefix ;;
854 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
855 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
856 | --exec=* | --exe=* | --ex=*)
857 exec_prefix=$ac_optarg ;;
859 -gas | --gas | --ga | --g)
860 # Obsolete; use --with-gas.
863 -help | --help | --hel | --he | -h)
865 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
866 ac_init_help=recursive ;;
867 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
868 ac_init_help=short ;;
870 -host | --host | --hos | --ho)
871 ac_prev=host_alias ;;
872 -host=* | --host=* | --hos=* | --ho=*)
873 host_alias=$ac_optarg ;;
875 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879 htmldir=$ac_optarg ;;
881 -includedir | --includedir | --includedi | --included | --include \
882 | --includ | --inclu | --incl | --inc)
883 ac_prev=includedir ;;
884 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
885 | --includ=* | --inclu=* | --incl=* | --inc=*)
886 includedir=$ac_optarg ;;
888 -infodir | --infodir | --infodi | --infod | --info | --inf)
890 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
891 infodir=$ac_optarg ;;
893 -libdir | --libdir | --libdi | --libd)
895 -libdir=* | --libdir=* | --libdi=* | --libd=*)
898 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
899 | --libexe | --libex | --libe)
900 ac_prev=libexecdir ;;
901 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
902 | --libexe=* | --libex=* | --libe=*)
903 libexecdir=$ac_optarg ;;
905 -localedir | --localedir | --localedi | --localed | --locale)
907 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
908 localedir=$ac_optarg ;;
910 -localstatedir | --localstatedir | --localstatedi | --localstated \
911 | --localstate | --localstat | --localsta | --localst | --locals)
912 ac_prev=localstatedir ;;
913 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
914 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
915 localstatedir=$ac_optarg ;;
917 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
923 # Obsolete; use --without-fp.
926 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
927 | --no-cr | --no-c | -n)
930 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
931 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
934 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
935 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
936 | --oldin | --oldi | --old | --ol | --o)
937 ac_prev=oldincludedir ;;
938 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
939 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
940 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
941 oldincludedir=$ac_optarg ;;
943 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
948 -program-prefix | --program-prefix | --program-prefi | --program-pref \
949 | --program-pre | --program-pr | --program-p)
950 ac_prev=program_prefix ;;
951 -program-prefix=* | --program-prefix=* | --program-prefi=* \
952 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
953 program_prefix=$ac_optarg ;;
955 -program-suffix | --program-suffix | --program-suffi | --program-suff \
956 | --program-suf | --program-su | --program-s)
957 ac_prev=program_suffix ;;
958 -program-suffix=* | --program-suffix=* | --program-suffi=* \
959 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
960 program_suffix=$ac_optarg ;;
962 -program-transform-name | --program-transform-name \
963 | --program-transform-nam | --program-transform-na \
964 | --program-transform-n | --program-transform- \
965 | --program-transform | --program-transfor \
966 | --program-transfo | --program-transf \
967 | --program-trans | --program-tran \
968 | --progr-tra | --program-tr | --program-t)
969 ac_prev=program_transform_name ;;
970 -program-transform-name=* | --program-transform-name=* \
971 | --program-transform-nam=* | --program-transform-na=* \
972 | --program-transform-n=* | --program-transform-=* \
973 | --program-transform=* | --program-transfor=* \
974 | --program-transfo=* | --program-transf=* \
975 | --program-trans=* | --program-tran=* \
976 | --progr-tra=* | --program-tr=* | --program-t=*)
977 program_transform_name=$ac_optarg ;;
979 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
984 -psdir | --psdir | --psdi | --psd | --ps)
986 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
993 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
995 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
997 sbindir=$ac_optarg ;;
999 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1000 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1001 | --sharedst | --shareds | --shared | --share | --shar \
1003 ac_prev=sharedstatedir ;;
1004 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1005 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1006 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1008 sharedstatedir=$ac_optarg ;;
1010 -site | --site | --sit)
1012 -site=* | --site=* | --sit=*)
1015 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1017 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1018 srcdir=$ac_optarg ;;
1020 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1021 | --syscon | --sysco | --sysc | --sys | --sy)
1022 ac_prev=sysconfdir ;;
1023 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1024 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1025 sysconfdir=$ac_optarg ;;
1027 -target | --target | --targe | --targ | --tar | --ta | --t)
1028 ac_prev=target_alias ;;
1029 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1030 target_alias=$ac_optarg ;;
1032 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1035 -version | --version | --versio | --versi | --vers | -V)
1036 ac_init_version=: ;;
1039 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error "invalid package name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1052 eval with_$ac_useropt=\$ac_optarg ;;
1054 -without-* | --without-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error "invalid package name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1068 eval with_$ac_useropt=no ;;
1071 # Obsolete; use --with-x.
1074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1075 | --x-incl | --x-inc | --x-in | --x-i)
1076 ac_prev=x_includes ;;
1077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1079 x_includes=$ac_optarg ;;
1081 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1083 ac_prev=x_libraries ;;
1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1086 x_libraries=$ac_optarg ;;
1088 -*) as_fn_error "unrecognized option: \`$ac_option'
1089 Try \`$0 --help' for more information."
1093 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1094 # Reject names that are not valid shell variable names.
1095 case $ac_envvar in #(
1096 '' | [0-9]* | *[!_$as_cr_alnum]* )
1097 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1099 eval $ac_envvar=\$ac_optarg
1100 export $ac_envvar ;;
1103 # FIXME: should be removed in autoconf 3.0.
1104 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1113 if test -n "$ac_prev"; then
1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1115 as_fn_error "missing argument to $ac_option"
1118 if test -n "$ac_unrecognized_opts"; then
1119 case $enable_option_checking in
1121 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1122 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1126 # Check all directory arguments for consistency.
1127 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128 datadir sysconfdir sharedstatedir localstatedir includedir \
1129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130 libdir localedir mandir
1132 eval ac_val=\$$ac_var
1133 # Remove trailing slashes.
1136 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1137 eval $ac_var=\$ac_val;;
1139 # Be sure to have absolute directory names.
1141 [\\/$]* | ?:[\\/]* ) continue;;
1142 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1144 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1147 # There might be people who depend on the old broken behavior: `$host'
1148 # used to hold the argument of --host etc.
1149 # FIXME: To remove some day.
1152 target=$target_alias
1154 # FIXME: To remove some day.
1155 if test "x$host_alias" != x; then
1156 if test "x$build_alias" = x; then
1157 cross_compiling=maybe
1158 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1159 If a cross compiler is detected then cross compile mode will be used." >&2
1160 elif test "x$build_alias" != "x$host_alias"; then
1166 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1168 test "$silent" = yes && exec 6>/dev/null
1171 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di=`ls -di .` &&
1173 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174 as_fn_error "working directory cannot be determined"
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176 as_fn_error "pwd does not report name of working directory"
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir=`$as_dirname -- "$as_myself" ||
1184 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$as_myself" : 'X\(//\)[^/]' \| \
1186 X"$as_myself" : 'X\(//\)$' \| \
1187 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188 $as_echo X"$as_myself" |
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1211 ac_srcdir_defaulted=no
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1217 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1219 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1229 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1231 for ac_var in $ac_precious_vars; do
1232 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_env_${ac_var}_value=\$${ac_var}
1234 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1239 # Report the --help message.
1241 if test "$ac_init_help" = "long"; then
1242 # Omit some internal or obsolete options to make the list less imposing.
1243 # This message is too long to be a string in the A/UX 3.1 sh.
1245 \`configure' configures this package to adapt to many kinds of systems.
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE. See below for descriptions of some of the useful variables.
1252 Defaults for the options are specified in brackets.
1255 -h, --help display this help and exit
1256 --help=short display options specific to this package
1257 --help=recursive display the short help of all the included packages
1258 -V, --version display version information and exit
1259 -q, --quiet, --silent do not print \`checking...' messages
1260 --cache-file=FILE cache test results in FILE [disabled]
1261 -C, --config-cache alias for \`--cache-file=config.cache'
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1265 Installation directories:
1266 --prefix=PREFIX install architecture-independent files in PREFIX
1267 [$ac_default_prefix]
1268 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1271 By default, \`make install' will install all the files in
1272 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1273 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274 for instance \`--prefix=\$HOME'.
1276 For better control, use the options below.
1278 Fine tuning of the installation directories:
1279 --bindir=DIR user executables [EPREFIX/bin]
1280 --sbindir=DIR system admin executables [EPREFIX/sbin]
1281 --libexecdir=DIR program executables [EPREFIX/libexec]
1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --libdir=DIR object code libraries [EPREFIX/lib]
1286 --includedir=DIR C header files [PREFIX/include]
1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1290 --infodir=DIR info documentation [DATAROOTDIR/info]
1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1292 --mandir=DIR man documentation [DATAROOTDIR/man]
1293 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1294 --htmldir=DIR html documentation [DOCDIR]
1295 --dvidir=DIR dvi documentation [DOCDIR]
1296 --pdfdir=DIR pdf documentation [DOCDIR]
1297 --psdir=DIR ps documentation [DOCDIR]
1303 --program-prefix=PREFIX prepend PREFIX to installed program names
1304 --program-suffix=SUFFIX append SUFFIX to installed program names
1305 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1308 --build=BUILD configure for building on BUILD [guessed]
1309 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1310 --target=TARGET configure for building compilers for TARGET [HOST]
1314 if test -n "$ac_init_help"; then
1319 --disable-option-checking ignore unrecognized --enable/--with options
1320 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1321 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1322 --disable-dependency-tracking speeds up one-time build
1323 --enable-dependency-tracking do not reject slow dependency extractors
1324 --enable-default-promiscuous If enabled, iftop will operate in promiscuous mode
1325 to capture outgoing packets
1328 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1329 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1330 --with-resolver=TYPE Technique iftop should use for name resolution.
1332 netdb use gethostbyaddr_r in multiple
1334 netdb_1thread use gethostbyaddr_r and
1335 assume it is not reentrant.
1336 ares use the MIT ARES asynchronous
1338 forking use the REALLY SUCKY forking resolver.
1339 guess run experiments to guess a
1340 reasonable value. Only works if you
1341 aren't cross-compiling. This
1342 is the default. guess will
1343 either select netdb or netdb_1thread.
1344 none don't do name resolution.
1345 --with-libpcap=WHERE Where the libpcap packet-capture library is found.
1346 The pcap library should be installed in WHERE/lib,
1347 and the header file in either WHERE/include or
1349 default=look in standard locations
1351 Some influential environment variables:
1352 CC C compiler command
1353 CFLAGS C compiler flags
1354 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1355 nonstandard directory <lib dir>
1356 LIBS libraries to pass to the linker, e.g. -l<library>
1357 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1358 you have headers in a nonstandard directory <include dir>
1361 Use these variables to override the choices made by `configure' or to help
1362 it to find libraries and programs with nonstandard names/locations.
1364 Report bugs to the package provider.
1369 if test "$ac_init_help" = "recursive"; then
1370 # If there are subdirs, report their specific --help.
1371 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1372 test -d "$ac_dir" ||
1373 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1381 # A ".." for each directory in $ac_dir_suffix.
1382 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1383 case $ac_top_builddir_sub in
1384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1388 ac_abs_top_builddir=$ac_pwd
1389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1390 # for backward compatibility:
1391 ac_top_builddir=$ac_top_build_prefix
1394 .) # We are building in place.
1396 ac_top_srcdir=$ac_top_builddir_sub
1397 ac_abs_top_srcdir=$ac_pwd ;;
1398 [\\/]* | ?:[\\/]* ) # Absolute name.
1399 ac_srcdir=$srcdir$ac_dir_suffix;
1400 ac_top_srcdir=$srcdir
1401 ac_abs_top_srcdir=$srcdir ;;
1403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1404 ac_top_srcdir=$ac_top_build_prefix$srcdir
1405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1409 cd "$ac_dir" || { ac_status=$?; continue; }
1410 # Check for guested configure.
1411 if test -f "$ac_srcdir/configure.gnu"; then
1413 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1414 elif test -f "$ac_srcdir/configure"; then
1416 $SHELL "$ac_srcdir/configure" --help=recursive
1418 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1420 cd "$ac_pwd" || { ac_status=$?; break; }
1424 test -n "$ac_init_help" && exit $ac_status
1425 if $ac_init_version; then
1428 generated by GNU Autoconf 2.65
1430 Copyright (C) 2009 Free Software Foundation, Inc.
1431 This configure script is free software; the Free Software Foundation
1432 gives unlimited permission to copy, distribute and modify it.
1437 ## ------------------------ ##
1438 ## Autoconf initialization. ##
1439 ## ------------------------ ##
1441 # ac_fn_c_try_compile LINENO
1442 # --------------------------
1443 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1444 ac_fn_c_try_compile ()
1446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1447 rm -f conftest.$ac_objext
1448 if { { ac_try="$ac_compile"
1450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1451 *) ac_try_echo=$ac_try;;
1453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1454 $as_echo "$ac_try_echo"; } >&5
1455 (eval "$ac_compile") 2>conftest.err
1457 if test -s conftest.err; then
1458 grep -v '^ *+' conftest.err >conftest.er1
1459 cat conftest.er1 >&5
1460 mv -f conftest.er1 conftest.err
1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463 test $ac_status = 0; } && {
1464 test -z "$ac_c_werror_flag" ||
1465 test ! -s conftest.err
1466 } && test -s conftest.$ac_objext; then :
1469 $as_echo "$as_me: failed program was:" >&5
1470 sed 's/^/| /' conftest.$ac_ext >&5
1474 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1475 as_fn_set_status $ac_retval
1477 } # ac_fn_c_try_compile
1479 # ac_fn_c_try_cpp LINENO
1480 # ----------------------
1481 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 if { { ac_try="$ac_cpp conftest.$ac_ext"
1487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1488 *) ac_try_echo=$ac_try;;
1490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1494 if test -s conftest.err; then
1495 grep -v '^ *+' conftest.err >conftest.er1
1496 cat conftest.er1 >&5
1497 mv -f conftest.er1 conftest.err
1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 test $ac_status = 0; } >/dev/null && {
1501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1502 test ! -s conftest.err
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1511 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1512 as_fn_set_status $ac_retval
1516 # ac_fn_c_try_run LINENO
1517 # ----------------------
1518 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1519 # that executables *can* be run.
1522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1523 if { { ac_try="$ac_link"
1525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1526 *) ac_try_echo=$ac_try;;
1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530 (eval "$ac_link") 2>&5
1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1534 { { case "(($ac_try" in
1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_try") 2>&5
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; }; }; then :
1546 $as_echo "$as_me: program exited with status $ac_status" >&5
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1550 ac_retval=$ac_status
1552 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1554 as_fn_set_status $ac_retval
1558 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1559 # -------------------------------------------------------
1560 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1561 # the include files in INCLUDES and setting the cache variable VAR
1563 ac_fn_c_check_header_mongrel ()
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1568 $as_echo_n "checking for $2... " >&6; }
1569 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1570 $as_echo_n "(cached) " >&6
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574 $as_echo "$ac_res" >&6; }
1576 # Is the header compilable?
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1578 $as_echo_n "checking $2 usability... " >&6; }
1579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1580 /* end confdefs.h. */
1584 if ac_fn_c_try_compile "$LINENO"; then :
1585 ac_header_compiler=yes
1587 ac_header_compiler=no
1589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1591 $as_echo "$ac_header_compiler" >&6; }
1593 # Is the header present?
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1595 $as_echo_n "checking $2 presence... " >&6; }
1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1597 /* end confdefs.h. */
1600 if ac_fn_c_try_cpp "$LINENO"; then :
1601 ac_header_preproc=yes
1603 ac_header_preproc=no
1605 rm -f conftest.err conftest.$ac_ext
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1607 $as_echo "$ac_header_preproc" >&6; }
1609 # So? What about this header?
1610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1613 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1615 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1619 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1621 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1623 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1625 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1627 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631 $as_echo_n "checking for $2... " >&6; }
1632 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1633 $as_echo_n "(cached) " >&6
1635 eval "$3=\$ac_header_compiler"
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1641 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1643 } # ac_fn_c_check_header_mongrel
1645 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1646 # -------------------------------------------------------
1647 # Tests whether HEADER exists and can be compiled using the include files in
1648 # INCLUDES, setting the cache variable VAR accordingly.
1649 ac_fn_c_check_header_compile ()
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1653 $as_echo_n "checking for $2... " >&6; }
1654 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1655 $as_echo_n "(cached) " >&6
1657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1662 if ac_fn_c_try_compile "$LINENO"; then :
1667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1674 } # ac_fn_c_check_header_compile
1676 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1677 # -------------------------------------------
1678 # Tests whether TYPE exists after having included INCLUDES, setting cache
1679 # variable VAR accordingly.
1680 ac_fn_c_check_type ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1686 $as_echo_n "(cached) " >&6
1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1701 if ac_fn_c_try_compile "$LINENO"; then :
1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h. */
1714 if ac_fn_c_try_compile "$LINENO"; then :
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725 $as_echo "$ac_res" >&6; }
1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 } # ac_fn_c_check_type
1730 # ac_fn_c_try_link LINENO
1731 # -----------------------
1732 # Try to link conftest.$ac_ext, and return whether this succeeded.
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 rm -f conftest.$ac_objext conftest$ac_exeext
1737 if { { ac_try="$ac_link"
1739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_link") 2>conftest.err
1746 if test -s conftest.err; then
1747 grep -v '^ *+' conftest.err >conftest.er1
1748 cat conftest.er1 >&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && {
1753 test -z "$ac_c_werror_flag" ||
1754 test ! -s conftest.err
1755 } && test -s conftest$ac_exeext && {
1756 test "$cross_compiling" = yes ||
1757 $as_test_x conftest$ac_exeext
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1766 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1767 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1768 # interfere with the next link command; also delete a directory that is
1769 # left behind by Apple's compiler. We do this before executing the actions.
1770 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1772 as_fn_set_status $ac_retval
1774 } # ac_fn_c_try_link
1776 # ac_fn_c_check_func LINENO FUNC VAR
1777 # ----------------------------------
1778 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1779 ac_fn_c_check_func ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1789 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1791 #define $2 innocuous_$2
1793 /* System header to define __stub macros and hopefully few prototypes,
1794 which can conflict with char $2 (); below.
1795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1796 <limits.h> exists even on freestanding compilers. */
1799 # include <limits.h>
1801 # include <assert.h>
1806 /* Override any GCC internal prototype to avoid an error.
1807 Use char because int might match the return type of a GCC
1808 builtin and then its argument prototype would still apply. */
1813 /* The GNU C library defines this for functions which it implements
1814 to always fail with ENOSYS. Some functions are actually named
1815 something starting with __ and the normal name is an alias. */
1816 #if defined __stub_$2 || defined __stub___$2
1828 if ac_fn_c_try_link "$LINENO"; then :
1833 rm -f core conftest.err conftest.$ac_objext \
1834 conftest$ac_exeext conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 } # ac_fn_c_check_func
1843 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1844 # --------------------------------------------
1845 # Tries to find the compile-time value of EXPR in a program that includes
1846 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1848 ac_fn_c_compute_int ()
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 if test "$cross_compiling" = yes; then
1852 # Depending upon the size, compute the lo and hi bounds.
1853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h. */
1859 static int test_array [1 - 2 * !(($2) >= 0)];
1866 if ac_fn_c_try_compile "$LINENO"; then :
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1875 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1882 if ac_fn_c_try_compile "$LINENO"; then :
1883 ac_hi=$ac_mid; break
1885 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1886 if test $ac_lo -le $ac_mid; then
1890 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1901 static int test_array [1 - 2 * !(($2) < 0)];
1908 if ac_fn_c_try_compile "$LINENO"; then :
1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1912 /* end confdefs.h. */
1917 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1924 if ac_fn_c_try_compile "$LINENO"; then :
1925 ac_lo=$ac_mid; break
1927 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1928 if test $ac_mid -le $ac_hi; then
1932 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1942 # Binary search between lo and hi bounds.
1943 while test "x$ac_lo" != "x$ac_hi"; do
1944 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1951 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1958 if ac_fn_c_try_compile "$LINENO"; then :
1961 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1966 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1973 static long int longval () { return $2; }
1974 static unsigned long int ulongval () { return $2; }
1981 FILE *f = fopen ("conftest.val", "w");
1986 long int i = longval ();
1989 fprintf (f, "%ld", i);
1993 unsigned long int i = ulongval ();
1996 fprintf (f, "%lu", i);
1998 /* Do not output a trailing newline, as this causes \r\n confusion
1999 on some platforms. */
2000 return ferror (f) || fclose (f) != 0;
2006 if ac_fn_c_try_run "$LINENO"; then :
2007 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2012 conftest.$ac_objext conftest.beam conftest.$ac_ext
2016 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2017 as_fn_set_status $ac_retval
2019 } # ac_fn_c_compute_int
2020 cat >config.log <<_ACEOF
2021 This file contains any messages produced by compilers while
2022 running configure, to aid debugging if configure makes a mistake.
2024 It was created by $as_me, which was
2025 generated by GNU Autoconf 2.65. Invocation command line was
2037 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2038 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2039 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2040 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2041 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2043 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2044 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2046 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2047 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2048 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2049 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2050 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2051 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2052 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir=.
2061 $as_echo "PATH: $as_dir"
2077 # Keep a trace of the command line.
2078 # Strip out --no-create and --no-recursion so they do not pile up.
2079 # Strip out --silent because we don't want to record it for future runs.
2080 # Also quote any args containing shell meta-characters.
2081 # Make two passes to allow for proper duplicate-argument suppression.
2085 ac_must_keep_next=false
2091 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2092 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2093 | -silent | --silent | --silen | --sile | --sil)
2096 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2099 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2101 as_fn_append ac_configure_args1 " '$ac_arg'"
2102 if test $ac_must_keep_next = true; then
2103 ac_must_keep_next=false # Got value, back to normal.
2106 *=* | --config-cache | -C | -disable-* | --disable-* \
2107 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2108 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2109 | -with-* | --with-* | -without-* | --without-* | --x)
2110 case "$ac_configure_args0 " in
2111 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2114 -* ) ac_must_keep_next=true ;;
2117 as_fn_append ac_configure_args " '$ac_arg'"
2122 { ac_configure_args0=; unset ac_configure_args0;}
2123 { ac_configure_args1=; unset ac_configure_args1;}
2125 # When interrupted or exit'd, cleanup temporary files, and complete
2126 # config.log. We remove comments because anyway the quotes in there
2127 # would cause problems or look ugly.
2128 # WARNING: Use '\'' to represent an apostrophe within the trap.
2129 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2130 trap 'exit_status=$?
2131 # Save into config.log some information that might help in debugging.
2136 ## ---------------- ##
2137 ## Cache variables. ##
2138 ## ---------------- ##
2141 # The following way of writing the cache mishandles newlines in values,
2143 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2144 eval ac_val=\$$ac_var
2148 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2149 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2152 _ | IFS | as_nl) ;; #(
2153 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2154 *) { eval $ac_var=; unset $ac_var;} ;;
2159 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2160 *${as_nl}ac_space=\ *)
2162 "s/'\''/'\''\\\\'\'''\''/g;
2163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2174 ## ----------------- ##
2175 ## Output variables. ##
2176 ## ----------------- ##
2179 for ac_var in $ac_subst_vars
2181 eval ac_val=\$$ac_var
2183 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2185 $as_echo "$ac_var='\''$ac_val'\''"
2189 if test -n "$ac_subst_files"; then
2191 ## ------------------- ##
2192 ## File substitutions. ##
2193 ## ------------------- ##
2196 for ac_var in $ac_subst_files
2198 eval ac_val=\$$ac_var
2200 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202 $as_echo "$ac_var='\''$ac_val'\''"
2207 if test -s confdefs.h; then
2217 test "$ac_signal" != 0 &&
2218 $as_echo "$as_me: caught signal $ac_signal"
2219 $as_echo "$as_me: exit $exit_status"
2221 rm -f core *.core core.conftest.* &&
2222 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2225 for ac_signal in 1 2 13 15; do
2226 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2230 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2231 rm -f -r conftest* confdefs.h
2233 $as_echo "/* confdefs.h */" > confdefs.h
2235 # Predefined preprocessor variables.
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_NAME "$PACKAGE_NAME"
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_STRING "$PACKAGE_STRING"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_URL "$PACKAGE_URL"
2262 # Let the site file select an alternate cache file if it wants to.
2263 # Prefer an explicitly selected file to automatically selected ones.
2266 if test -n "$CONFIG_SITE"; then
2267 ac_site_file1=$CONFIG_SITE
2268 elif test "x$prefix" != xNONE; then
2269 ac_site_file1=$prefix/share/config.site
2270 ac_site_file2=$prefix/etc/config.site
2272 ac_site_file1=$ac_default_prefix/share/config.site
2273 ac_site_file2=$ac_default_prefix/etc/config.site
2275 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2277 test "x$ac_site_file" = xNONE && continue
2278 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2280 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special files
2288 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2289 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2291 $as_echo "$as_me: loading cache $cache_file" >&6;}
2293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2294 *) . "./$cache_file";;
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2299 $as_echo "$as_me: creating cache $cache_file" >&6;}
2303 # Check that the precious variables saved in the cache have kept the same
2305 ac_cache_corrupted=false
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2308 eval ac_new_set=\$ac_env_${ac_var}_set
2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2310 eval ac_new_val=\$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2314 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2318 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 # differences in whitespace do not lead to failure.
2324 ac_old_val_w=`echo x $ac_old_val`
2325 ac_new_val_w=`echo x $ac_new_val`
2326 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2328 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2329 ac_cache_corrupted=:
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2332 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2333 eval $ac_var=\$ac_old_val
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2336 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2338 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2341 # Pass precious variables to config.status.
2342 if test "$ac_new_set" = set; then
2344 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2345 *) ac_arg=$ac_var=$ac_new_val ;;
2347 case " $ac_configure_args " in
2348 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2349 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2353 if $ac_cache_corrupted; then
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2357 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2358 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2360 ## -------------------- ##
2361 ## Main body of script. ##
2362 ## -------------------- ##
2365 ac_cpp='$CPP $CPPFLAGS'
2366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2373 for ac_dir in config "$srcdir"/config; do
2374 for ac_t in install-sh install.sh shtool; do
2375 if test -f "$ac_dir/$ac_t"; then
2377 ac_install_sh="$ac_aux_dir/$ac_t -c"
2382 if test -z "$ac_aux_dir"; then
2383 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2386 # These three variables are undocumented and unsupported,
2387 # and are intended to be withdrawn in a future Autoconf release.
2388 # They can cause serious problems if a builder's source tree is in a directory
2389 # whose full name contains unusual characters.
2390 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2391 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2392 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2396 # Make sure we can run config.sub.
2397 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2398 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2401 $as_echo_n "checking build system type... " >&6; }
2402 if test "${ac_cv_build+set}" = set; then :
2403 $as_echo_n "(cached) " >&6
2405 ac_build_alias=$build_alias
2406 test "x$ac_build_alias" = x &&
2407 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2408 test "x$ac_build_alias" = x &&
2409 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2410 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2411 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2415 $as_echo "$ac_cv_build" >&6; }
2416 case $ac_cv_build in
2418 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2421 ac_save_IFS=$IFS; IFS='-'
2427 # Remember, the first character of IFS is used to create $*,
2428 # except with old shells:
2431 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2435 $as_echo_n "checking host system type... " >&6; }
2436 if test "${ac_cv_host+set}" = set; then :
2437 $as_echo_n "(cached) " >&6
2439 if test "x$host_alias" = x; then
2440 ac_cv_host=$ac_cv_build
2442 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2443 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2448 $as_echo "$ac_cv_host" >&6; }
2451 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2454 ac_save_IFS=$IFS; IFS='-'
2460 # Remember, the first character of IFS is used to create $*,
2461 # except with old shells:
2464 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2468 $as_echo_n "checking target system type... " >&6; }
2469 if test "${ac_cv_target+set}" = set; then :
2470 $as_echo_n "(cached) " >&6
2472 if test "x$target_alias" = x; then
2473 ac_cv_target=$ac_cv_host
2475 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2476 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2481 $as_echo "$ac_cv_target" >&6; }
2482 case $ac_cv_target in
2484 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2486 target=$ac_cv_target
2487 ac_save_IFS=$IFS; IFS='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2500 # The aliases save the names the user supplied, while $host etc.
2501 # will get canonicalized.
2502 test -n "$target_alias" &&
2503 test "$program_prefix$program_suffix$program_transform_name" = \
2505 program_prefix=${target_alias}-
2508 ac_config_headers="$ac_config_headers config.h"
2510 am__api_version="1.9"
2511 # Find a good install program. We prefer a C program (faster),
2512 # so one script is as good as another. But avoid the broken or
2513 # incompatible versions:
2514 # SysV /etc/install, /usr/sbin/install
2515 # SunOS /usr/etc/install
2516 # IRIX /sbin/install
2518 # AmigaOS /C/install, which installs bootblocks on floppy discs
2519 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2520 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2521 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2522 # OS/2's system install, which has a completely different semantic
2523 # ./install, which can be erroneously created by make from ./install.sh.
2524 # Reject install programs that cannot install multiple files.
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2526 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2527 if test -z "$INSTALL"; then
2528 if test "${ac_cv_path_install+set}" = set; then :
2529 $as_echo_n "(cached) " >&6
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir=.
2536 # Account for people who put trailing slashes in PATH elements.
2537 case $as_dir/ in #((
2538 ./ | .// | /[cC]/* | \
2539 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2540 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2543 # OSF1 and SCO ODT 3.0 have their own names for install.
2544 # Don't use installbsd from OSF since it installs stuff as root
2546 for ac_prog in ginstall scoinst install; do
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2549 if test $ac_prog = install &&
2550 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2551 # AIX install. It has an incompatible calling convention.
2553 elif test $ac_prog = install &&
2554 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2555 # program-specific install script used by HP pwplus--don't use.
2558 rm -rf conftest.one conftest.two conftest.dir
2559 echo one > conftest.one
2560 echo two > conftest.two
2562 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2563 test -s conftest.one && test -s conftest.two &&
2564 test -s conftest.dir/conftest.one &&
2565 test -s conftest.dir/conftest.two
2567 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2580 rm -rf conftest.one conftest.two conftest.dir
2583 if test "${ac_cv_path_install+set}" = set; then
2584 INSTALL=$ac_cv_path_install
2586 # As a last resort, use the slow shell script. Don't cache a
2587 # value for INSTALL within a source directory, because that will
2588 # break other packages using the cache if that directory is
2589 # removed, or if the value is a relative name.
2590 INSTALL=$ac_install_sh
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2594 $as_echo "$INSTALL" >&6; }
2596 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2597 # It thinks the first close brace ends the variable substitution.
2598 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2600 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2602 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2605 $as_echo_n "checking whether build environment is sane... " >&6; }
2608 echo timestamp > conftest.file
2609 # Do `set' in a subshell so we don't clobber the current shell's
2610 # arguments. Must try -L first in case configure is actually a
2611 # symlink; some systems play weird games with the mod time of symlinks
2612 # (eg FreeBSD returns the mod time of the symlink's containing
2615 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2616 if test "$*" = "X"; then
2618 set X `ls -t $srcdir/configure conftest.file`
2621 if test "$*" != "X $srcdir/configure conftest.file" \
2622 && test "$*" != "X conftest.file $srcdir/configure"; then
2624 # If neither matched, then we have a broken ls. This can happen
2625 # if, for instance, CONFIG_SHELL is bash and it inherits a
2626 # broken ls alias from the environment. This has actually
2627 # happened. Such a system could not be considered "sane".
2628 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2629 alias in your environment" "$LINENO" 5
2632 test "$2" = conftest.file
2638 as_fn_error "newly created file is older than distributed files!
2639 Check your system clock" "$LINENO" 5
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2642 $as_echo "yes" >&6; }
2643 test "$program_prefix" != NONE &&
2644 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2645 # Use a double $ so make ignores it.
2646 test "$program_suffix" != NONE &&
2647 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2648 # Double any \ or $.
2649 # By default was `s,x,x', remove it if useless.
2650 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2651 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2653 # expand $ac_aux_dir to an absolute path
2654 am_aux_dir=`cd $ac_aux_dir && pwd`
2656 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2657 # Use eval to expand $SHELL
2658 if eval "$MISSING --run true"; then
2659 am_missing_run="$MISSING --run "
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2663 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2666 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2667 # We used to keeping the `.' as first argument, in order to
2668 # allow $(mkdir_p) to be used without argument. As in
2669 # $(mkdir_p) $(somedir)
2670 # where $(somedir) is conditionally defined. However this is wrong
2672 # 1. if the package is installed by a user who cannot write `.'
2673 # make install will fail,
2674 # 2. the above comment should most certainly read
2675 # $(mkdir_p) $(DESTDIR)$(somedir)
2676 # so it does not work when $(somedir) is undefined and
2677 # $(DESTDIR) is not.
2678 # To support the latter case, we have to write
2679 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2680 # so the `.' trick is pointless.
2681 mkdir_p='mkdir -p --'
2683 # On NextStep and OpenStep, the `mkdir' command does not
2684 # recognize any option. It will interpret all options as
2685 # directories to create, and then abort because `.' already
2687 for d in ./-p ./--version;
2689 test -d $d && rmdir $d
2691 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2692 if test -f "$ac_aux_dir/mkinstalldirs"; then
2693 mkdir_p='$(mkinstalldirs)'
2695 mkdir_p='$(install_sh) -d'
2699 for ac_prog in gawk mawk nawk awk
2701 # Extract the first word of "$ac_prog", so it can be a program name with args.
2702 set dummy $ac_prog; ac_word=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if test "${ac_cv_prog_AWK+set}" = set; then :
2706 $as_echo_n "(cached) " >&6
2708 if test -n "$AWK"; then
2709 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir=.
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718 ac_cv_prog_AWK="$ac_prog"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 if test -n "$AWK"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2731 $as_echo "$AWK" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2738 test -n "$AWK" && break
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2742 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2744 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2745 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2746 $as_echo_n "(cached) " >&6
2748 cat >conftest.make <<\_ACEOF
2751 @echo '@@@%%%=$(MAKE)=@@@%%%'
2753 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2754 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2756 eval ac_cv_prog_make_${ac_make}_set=yes;;
2758 eval ac_cv_prog_make_${ac_make}_set=no;;
2762 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2764 $as_echo "yes" >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2769 SET_MAKE="MAKE=${MAKE-make}"
2772 rm -rf .tst 2>/dev/null
2773 mkdir .tst 2>/dev/null
2774 if test -d .tst; then
2779 rmdir .tst 2>/dev/null
2781 # test to see if srcdir already configured
2782 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2783 test -f $srcdir/config.status; then
2784 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2787 # test whether we have cygpath
2788 if test -z "$CYGPATH_W"; then
2789 if (cygpath --version) >/dev/null 2>/dev/null; then
2790 CYGPATH_W='cygpath -w'
2797 # Define the identity of the package.
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE "$PACKAGE"
2807 cat >>confdefs.h <<_ACEOF
2808 #define VERSION "$VERSION"
2811 # Some tools Automake needs.
2813 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2816 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2819 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2822 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2825 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2827 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2829 # Installed binaries are usually stripped using `strip' when the user
2830 # run `make install-strip'. However `strip' might not be the right
2831 # tool to use in cross-compilation environments, therefore Automake
2832 # will honor the `STRIP' environment variable to overrule this program.
2833 if test "$cross_compiling" != no; then
2834 if test -n "$ac_tool_prefix"; then
2835 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2836 set dummy ${ac_tool_prefix}strip; ac_word=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if test "${ac_cv_prog_STRIP+set}" = set; then :
2840 $as_echo_n "(cached) " >&6
2842 if test -n "$STRIP"; then
2843 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir=.
2850 for ac_exec_ext in '' $ac_executable_extensions; do
2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 STRIP=$ac_cv_prog_STRIP
2863 if test -n "$STRIP"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2865 $as_echo "$STRIP" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2873 if test -z "$ac_cv_prog_STRIP"; then
2875 # Extract the first word of "strip", so it can be a program name with args.
2876 set dummy strip; ac_word=$2
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878 $as_echo_n "checking for $ac_word... " >&6; }
2879 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2880 $as_echo_n "(cached) " >&6
2882 if test -n "$ac_ct_STRIP"; then
2883 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir=.
2890 for ac_exec_ext in '' $ac_executable_extensions; do
2891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2892 ac_cv_prog_ac_ct_STRIP="strip"
2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2903 if test -n "$ac_ct_STRIP"; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2905 $as_echo "$ac_ct_STRIP" >&6; }
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908 $as_echo "no" >&6; }
2911 if test "x$ac_ct_STRIP" = x; then
2914 case $cross_compiling:$ac_tool_warned in
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2918 ac_tool_warned=yes ;;
2923 STRIP="$ac_cv_prog_STRIP"
2927 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2929 # We need awk for the "check" target. The system "awk" is bad on
2931 # Always define AMTAR for backward compatibility.
2933 AMTAR=${AMTAR-"${am_missing_run}tar"}
2935 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2943 cat >>confdefs.h <<_ACEOF
2944 #define IFTOP_VERSION "$VERSION"
2949 ac_cpp='$CPP $CPPFLAGS'
2950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2953 if test -n "$ac_tool_prefix"; then
2954 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2955 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if test "${ac_cv_prog_CC+set}" = set; then :
2959 $as_echo_n "(cached) " >&6
2961 if test -n "$CC"; then
2962 ac_cv_prog_CC="$CC" # Let the user override the test.
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 if test -n "$CC"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2984 $as_echo "$CC" >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2992 if test -z "$ac_cv_prog_CC"; then
2994 # Extract the first word of "gcc", so it can be a program name with args.
2995 set dummy gcc; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$ac_ct_CC"; then
3002 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011 ac_cv_prog_ac_ct_CC="gcc"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3022 if test -n "$ac_ct_CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3024 $as_echo "$ac_ct_CC" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3030 if test "x$ac_ct_CC" = x; then
3033 case $cross_compiling:$ac_tool_warned in
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3037 ac_tool_warned=yes ;;
3045 if test -z "$CC"; then
3046 if test -n "$ac_tool_prefix"; then
3047 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3048 set dummy ${ac_tool_prefix}cc; ac_word=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if test "${ac_cv_prog_CC+set}" = set; then :
3052 $as_echo_n "(cached) " >&6
3054 if test -n "$CC"; then
3055 ac_cv_prog_CC="$CC" # Let the user override the test.
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 ac_cv_prog_CC="${ac_tool_prefix}cc"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 if test -n "$CC"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3077 $as_echo "$CC" >&6; }
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3086 if test -z "$CC"; then
3087 # Extract the first word of "cc", so it can be a program name with args.
3088 set dummy cc; ac_word=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if test "${ac_cv_prog_CC+set}" = set; then :
3092 $as_echo_n "(cached) " >&6
3094 if test -n "$CC"; then
3095 ac_cv_prog_CC="$CC" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3106 ac_prog_rejected=yes
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117 if test $ac_prog_rejected = yes; then
3118 # We found a bogon in the path, so make sure we never use it.
3119 set dummy $ac_cv_prog_CC
3121 if test $# != 0; then
3122 # We chose a different compiler from the bogus one.
3123 # However, it has the same basename, so the bogon will be chosen
3124 # first if we set CC to just the basename; use the full file name.
3126 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3132 if test -n "$CC"; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3134 $as_echo "$CC" >&6; }
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3142 if test -z "$CC"; then
3143 if test -n "$ac_tool_prefix"; then
3144 for ac_prog in cl.exe
3146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if test "${ac_cv_prog_CC+set}" = set; then :
3151 $as_echo_n "(cached) " >&6
3153 if test -n "$CC"; then
3154 ac_cv_prog_CC="$CC" # Let the user override the test.
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3163 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174 if test -n "$CC"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3176 $as_echo "$CC" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3183 test -n "$CC" && break
3186 if test -z "$CC"; then
3188 for ac_prog in cl.exe
3190 # Extract the first word of "$ac_prog", so it can be a program name with args.
3191 set dummy $ac_prog; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3195 $as_echo_n "(cached) " >&6
3197 if test -n "$ac_ct_CC"; then
3198 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 test -z "$as_dir" && as_dir=.
3205 for ac_exec_ext in '' $ac_executable_extensions; do
3206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3207 ac_cv_prog_ac_ct_CC="$ac_prog"
3208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3218 if test -n "$ac_ct_CC"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3220 $as_echo "$ac_ct_CC" >&6; }
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3227 test -n "$ac_ct_CC" && break
3230 if test "x$ac_ct_CC" = x; then
3233 case $cross_compiling:$ac_tool_warned in
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3237 ac_tool_warned=yes ;;
3246 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error "no acceptable C compiler found in \$PATH
3249 See \`config.log' for more details." "$LINENO" 5; }
3251 # Provide some information about the compiler.
3252 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3255 for ac_option in --version -v -V -qversion; do
3256 { { ac_try="$ac_compiler $ac_option >&5"
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3265 if test -s conftest.err; then
3267 ... rest of stderr output deleted ...
3268 10q' conftest.err >conftest.er1
3269 cat conftest.er1 >&5
3271 rm -f conftest.er1 conftest.err
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3287 ac_clean_files_save=$ac_clean_files
3288 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3289 # Try to create an executable without -o first, disregard a.out.
3290 # It will help us diagnose broken compilers, and finding out an intuition
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3293 $as_echo_n "checking whether the C compiler works... " >&6; }
3294 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3296 # The possible output files:
3297 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3300 for ac_file in $ac_files
3303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3304 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3309 if { { ac_try="$ac_link_default"
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3315 $as_echo "$ac_try_echo"; } >&5
3316 (eval "$ac_link_default") 2>&5
3318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3319 test $ac_status = 0; }; then :
3320 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3321 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3322 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3323 # so that the user can short-circuit this test for compilers unknown to
3325 for ac_file in $ac_files ''
3327 test -f "$ac_file" || continue
3329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3332 # We found the default executable, but exeext='' is most
3336 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3338 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3340 # We set ac_cv_exeext here because the later test for it is not
3341 # safe: cross compilers may not add the suffix if given an `-o'
3342 # argument, so we may need to know it at that point already.
3343 # Even if this section looks crufty: it has the advantage of
3350 test "$ac_cv_exeext" = no && ac_cv_exeext=
3355 if test -z "$ac_file"; then :
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3358 $as_echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3363 { as_fn_set_status 77
3364 as_fn_error "C compiler cannot create executables
3365 See \`config.log' for more details." "$LINENO" 5; }; }
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3368 $as_echo "yes" >&6; }
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3371 $as_echo_n "checking for C compiler default output file name... " >&6; }
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3373 $as_echo "$ac_file" >&6; }
3374 ac_exeext=$ac_cv_exeext
3376 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3377 ac_clean_files=$ac_clean_files_save
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3379 $as_echo_n "checking for suffix of executables... " >&6; }
3380 if { { ac_try="$ac_link"
3382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383 *) ac_try_echo=$ac_try;;
3385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3386 $as_echo "$ac_try_echo"; } >&5
3387 (eval "$ac_link") 2>&5
3389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3390 test $ac_status = 0; }; then :
3391 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3392 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3393 # work properly (i.e., refer to `conftest.exe'), while it won't with
3395 for ac_file in conftest.exe conftest conftest.*; do
3396 test -f "$ac_file" || continue
3398 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3399 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3407 as_fn_error "cannot compute suffix of executables: cannot compile and link
3408 See \`config.log' for more details." "$LINENO" 5; }
3410 rm -f conftest conftest$ac_cv_exeext
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3412 $as_echo "$ac_cv_exeext" >&6; }
3414 rm -f conftest.$ac_ext
3415 EXEEXT=$ac_cv_exeext
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3423 FILE *f = fopen ("conftest.out", "w");
3424 return ferror (f) || fclose (f) != 0;
3430 ac_clean_files="$ac_clean_files conftest.out"
3431 # Check that the compiler produces executables we can run. If not, either
3432 # the compiler is broken, or we cross compile.
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3434 $as_echo_n "checking whether we are cross compiling... " >&6; }
3435 if test "$cross_compiling" != yes; then
3436 { { ac_try="$ac_link"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3442 $as_echo "$ac_try_echo"; } >&5
3443 (eval "$ac_link") 2>&5
3445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3446 test $ac_status = 0; }
3447 if { ac_try='./conftest$ac_cv_exeext'
3448 { { case "(($ac_try" in
3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450 *) ac_try_echo=$ac_try;;
3452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453 $as_echo "$ac_try_echo"; } >&5
3454 (eval "$ac_try") 2>&5
3456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3457 test $ac_status = 0; }; }; then
3460 if test "$cross_compiling" = maybe; then
3463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465 as_fn_error "cannot run C compiled programs.
3466 If you meant to cross compile, use \`--host'.
3467 See \`config.log' for more details." "$LINENO" 5; }
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3472 $as_echo "$cross_compiling" >&6; }
3474 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3475 ac_clean_files=$ac_clean_files_save
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3477 $as_echo_n "checking for suffix of object files... " >&6; }
3478 if test "${ac_cv_objext+set}" = set; then :
3479 $as_echo_n "(cached) " >&6
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3492 rm -f conftest.o conftest.obj
3493 if { { ac_try="$ac_compile"
3495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496 *) ac_try_echo=$ac_try;;
3498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3499 $as_echo "$ac_try_echo"; } >&5
3500 (eval "$ac_compile") 2>&5
3502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3503 test $ac_status = 0; }; then :
3504 for ac_file in conftest.o conftest.obj conftest.*; do
3505 test -f "$ac_file" || continue;
3507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3508 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3513 $as_echo "$as_me: failed program was:" >&5
3514 sed 's/^/| /' conftest.$ac_ext >&5
3516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3518 as_fn_error "cannot compute suffix of object files: cannot compile
3519 See \`config.log' for more details." "$LINENO" 5; }
3521 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3524 $as_echo "$ac_cv_objext" >&6; }
3525 OBJEXT=$ac_cv_objext
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3528 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3529 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3530 $as_echo_n "(cached) " >&6
3532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533 /* end confdefs.h. */
3546 if ac_fn_c_try_compile "$LINENO"; then :
3551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3552 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3556 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3557 if test $ac_compiler_gnu = yes; then
3562 ac_test_CFLAGS=${CFLAGS+set}
3563 ac_save_CFLAGS=$CFLAGS
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3565 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3566 if test "${ac_cv_prog_cc_g+set}" = set; then :
3567 $as_echo_n "(cached) " >&6
3569 ac_save_c_werror_flag=$ac_c_werror_flag
3570 ac_c_werror_flag=yes
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3584 if ac_fn_c_try_compile "$LINENO"; then :
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3599 if ac_fn_c_try_compile "$LINENO"; then :
3602 ac_c_werror_flag=$ac_save_c_werror_flag
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3615 if ac_fn_c_try_compile "$LINENO"; then :
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3623 ac_c_werror_flag=$ac_save_c_werror_flag
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3626 $as_echo "$ac_cv_prog_cc_g" >&6; }
3627 if test "$ac_test_CFLAGS" = set; then
3628 CFLAGS=$ac_save_CFLAGS
3629 elif test $ac_cv_prog_cc_g = yes; then
3630 if test "$GCC" = yes; then
3636 if test "$GCC" = yes; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3643 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3644 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3645 $as_echo_n "(cached) " >&6
3647 ac_cv_prog_cc_c89=no
3649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3650 /* end confdefs.h. */
3653 #include <sys/types.h>
3654 #include <sys/stat.h>
3655 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3656 struct buf { int x; };
3657 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3658 static char *e (p, i)
3664 static char *f (char * (*g) (char **, int), char **p, ...)
3669 s = g (p, va_arg (v,int));
3674 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3675 function prototypes and stuff, but not '\xHH' hex character constants.
3676 These don't provoke an error unfortunately, instead are silently treated
3677 as 'x'. The following induces an error, until -std is added to get
3678 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3679 array size at least. It's necessary to write '\x00'==0 to get something
3680 that's true only with -std. */
3681 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3683 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3684 inside strings and character constants. */
3686 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3688 int test (int i, double x);
3689 struct s1 {int (*f) (int a);};
3690 struct s2 {int (*f) (double a);};
3691 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3697 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3702 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3703 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3705 CC="$ac_save_CC $ac_arg"
3706 if ac_fn_c_try_compile "$LINENO"; then :
3707 ac_cv_prog_cc_c89=$ac_arg
3709 rm -f core conftest.err conftest.$ac_objext
3710 test "x$ac_cv_prog_cc_c89" != "xno" && break
3712 rm -f conftest.$ac_ext
3717 case "x$ac_cv_prog_cc_c89" in
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3720 $as_echo "none needed" >&6; } ;;
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3723 $as_echo "unsupported" >&6; } ;;
3725 CC="$CC $ac_cv_prog_cc_c89"
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3727 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3729 if test "x$ac_cv_prog_cc_c89" != xno; then :
3734 ac_cpp='$CPP $CPPFLAGS'
3735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3738 DEPDIR="${am__leading_dot}deps"
3740 ac_config_commands="$ac_config_commands depfiles"
3743 am_make=${MAKE-make}
3744 cat > confinc << 'END'
3749 # If we don't find an include directive, just comment out the code.
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3751 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3755 # First try GNU make style include.
3756 echo "include confinc" > confmf
3757 # We grep out `Entering directory' and `Leaving directory'
3758 # messages which can occur if `w' ends up in MAKEFLAGS.
3759 # In particular we don't look at `^make:' because GNU make might
3760 # be invoked under some other name (usually "gmake"), in which
3761 # case it prints its new name instead of `make'.
3762 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3767 # Now try BSD make style include.
3768 if test "$am__include" = "#"; then
3769 echo '.include "confinc"' > confmf
3770 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3771 am__include=.include
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3779 $as_echo "$_am_result" >&6; }
3780 rm -f confinc confmf
3782 # Check whether --enable-dependency-tracking was given.
3783 if test "${enable_dependency_tracking+set}" = set; then :
3784 enableval=$enable_dependency_tracking;
3787 if test "x$enable_dependency_tracking" != xno; then
3788 am_depcomp="$ac_aux_dir/depcomp"
3793 if test "x$enable_dependency_tracking" != xno; then
3804 depcc="$CC" am_compiler_list=
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3807 $as_echo_n "checking dependency style of $depcc... " >&6; }
3808 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3809 $as_echo_n "(cached) " >&6
3811 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3812 # We make a subdir and do the tests there. Otherwise we can end up
3813 # making bogus files that we don't know about and never remove. For
3814 # instance it was reported that on HP-UX the gcc test will end up
3815 # making a dummy file named `D' -- because `-MD' means `put the output
3818 # Copy depcomp to subdir because otherwise we won't find it if we're
3819 # using a relative directory.
3820 cp "$am_depcomp" conftest.dir
3822 # We will build objects and dependencies in a subdirectory because
3823 # it helps to detect inapplicable dependency modes. For instance
3824 # both Tru64's cc and ICC support -MD to output dependencies as a
3825 # side effect of compilation, but ICC will put the dependencies in
3826 # the current directory while Tru64 will put them in the object
3830 am_cv_CC_dependencies_compiler_type=none
3831 if test "$am_compiler_list" = ""; then
3832 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3834 for depmode in $am_compiler_list; do
3835 # Setup a source with many dependencies, because some compilers
3836 # like to wrap large dependency lists on column 80 (with \), and
3837 # we should not choose a depcomp mode which is confused by this.
3839 # We need to recreate these files for each test, as the compiler may
3840 # overwrite some of them when testing with obscure command lines.
3841 # This happens at least with the AIX C compiler.
3843 for i in 1 2 3 4 5 6; do
3844 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3845 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3846 # Solaris 8's {/usr,}/bin/sh.
3847 touch sub/conftst$i.h
3849 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3853 # after this tag, mechanisms are not by side-effect, so they'll
3854 # only be used when explicitly requested
3855 if test "x$enable_dependency_tracking" = xyes; then
3863 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3864 # mode. It turns out that the SunPro C++ compiler does not properly
3865 # handle `-M -o', and we need to detect this.
3866 if depmode=$depmode \
3867 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3868 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3869 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3870 >/dev/null 2>conftest.err &&
3871 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3872 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3873 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3874 # icc doesn't choke on unknown options, it will just issue warnings
3875 # or remarks (even with -Werror). So we grep stderr for any message
3876 # that says an option was ignored or not supported.
3877 # When given -MP, icc 7.0 and 7.1 complain thusly:
3878 # icc: Command line warning: ignoring option '-M'; no argument required
3879 # The diagnosis changed in icc 8.0:
3880 # icc: Command line remark: option '-MP' not supported
3881 if (grep 'ignoring option' conftest.err ||
3882 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3883 am_cv_CC_dependencies_compiler_type=$depmode
3892 am_cv_CC_dependencies_compiler_type=none
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3897 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3898 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3903 test "x$enable_dependency_tracking" != xno \
3904 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3906 am__fastdepCC_FALSE='#'
3908 am__fastdepCC_TRUE='#'
3909 am__fastdepCC_FALSE=
3915 ac_cpp='$CPP $CPPFLAGS'
3916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3920 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3921 # On Suns, sometimes $CPP names a directory.
3922 if test -n "$CPP" && test -d "$CPP"; then
3925 if test -z "$CPP"; then
3926 if test "${ac_cv_prog_CPP+set}" = set; then :
3927 $as_echo_n "(cached) " >&6
3929 # Double quotes because CPP needs to be expanded
3930 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3933 for ac_c_preproc_warn_flag in '' yes
3935 # Use a header file that comes with gcc, so configuring glibc
3936 # with a fresh cross-compiler works.
3937 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3938 # <limits.h> exists even on freestanding compilers.
3939 # On the NeXT, cc -E runs the code through the compiler's parser,
3940 # not just through cpp. "Syntax error" is here to catch this case.
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3944 # include <limits.h>
3946 # include <assert.h>
3950 if ac_fn_c_try_cpp "$LINENO"; then :
3953 # Broken: fails on valid input.
3956 rm -f conftest.err conftest.$ac_ext
3958 # OK, works on sane cases. Now check whether nonexistent headers
3959 # can be detected and how.
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3962 #include <ac_nonexistent.h>
3964 if ac_fn_c_try_cpp "$LINENO"; then :
3965 # Broken: success on invalid input.
3968 # Passes both tests.
3972 rm -f conftest.err conftest.$ac_ext
3975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976 rm -f conftest.err conftest.$ac_ext
3977 if $ac_preproc_ok; then :
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3990 $as_echo "$CPP" >&6; }
3992 for ac_c_preproc_warn_flag in '' yes
3994 # Use a header file that comes with gcc, so configuring glibc
3995 # with a fresh cross-compiler works.
3996 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3997 # <limits.h> exists even on freestanding compilers.
3998 # On the NeXT, cc -E runs the code through the compiler's parser,
3999 # not just through cpp. "Syntax error" is here to catch this case.
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4003 # include <limits.h>
4005 # include <assert.h>
4009 if ac_fn_c_try_cpp "$LINENO"; then :
4012 # Broken: fails on valid input.
4015 rm -f conftest.err conftest.$ac_ext
4017 # OK, works on sane cases. Now check whether nonexistent headers
4018 # can be detected and how.
4019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4021 #include <ac_nonexistent.h>
4023 if ac_fn_c_try_cpp "$LINENO"; then :
4024 # Broken: success on invalid input.
4027 # Passes both tests.
4031 rm -f conftest.err conftest.$ac_ext
4034 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4035 rm -f conftest.err conftest.$ac_ext
4036 if $ac_preproc_ok; then :
4039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4041 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4042 See \`config.log' for more details." "$LINENO" 5; }
4046 ac_cpp='$CPP $CPPFLAGS'
4047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4053 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4054 if test "${ac_cv_path_GREP+set}" = set; then :
4055 $as_echo_n "(cached) " >&6
4057 if test -z "$GREP"; then
4058 ac_path_GREP_found=false
4059 # Loop through the user's path and test for each of PROGNAME-LIST
4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4064 test -z "$as_dir" && as_dir=.
4065 for ac_prog in grep ggrep; do
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4068 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4069 # Check for GNU ac_path_GREP and select it if it is found.
4070 # Check for GNU $ac_path_GREP
4071 case `"$ac_path_GREP" --version 2>&1` in
4073 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4076 $as_echo_n 0123456789 >"conftest.in"
4079 cat "conftest.in" "conftest.in" >"conftest.tmp"
4080 mv "conftest.tmp" "conftest.in"
4081 cp "conftest.in" "conftest.nl"
4082 $as_echo 'GREP' >> "conftest.nl"
4083 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4084 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4085 as_fn_arith $ac_count + 1 && ac_count=$as_val
4086 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4087 # Best one so far, save it but keep looking for a better one
4088 ac_cv_path_GREP="$ac_path_GREP"
4089 ac_path_GREP_max=$ac_count
4091 # 10*(2^10) chars as input seems more than enough
4092 test $ac_count -gt 10 && break
4094 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4097 $ac_path_GREP_found && break 3
4102 if test -z "$ac_cv_path_GREP"; then
4103 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4106 ac_cv_path_GREP=$GREP
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4111 $as_echo "$ac_cv_path_GREP" >&6; }
4112 GREP="$ac_cv_path_GREP"
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4116 $as_echo_n "checking for egrep... " >&6; }
4117 if test "${ac_cv_path_EGREP+set}" = set; then :
4118 $as_echo_n "(cached) " >&6
4120 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4121 then ac_cv_path_EGREP="$GREP -E"
4123 if test -z "$EGREP"; then
4124 ac_path_EGREP_found=false
4125 # Loop through the user's path and test for each of PROGNAME-LIST
4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4130 test -z "$as_dir" && as_dir=.
4131 for ac_prog in egrep; do
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4134 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4135 # Check for GNU ac_path_EGREP and select it if it is found.
4136 # Check for GNU $ac_path_EGREP
4137 case `"$ac_path_EGREP" --version 2>&1` in
4139 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4142 $as_echo_n 0123456789 >"conftest.in"
4145 cat "conftest.in" "conftest.in" >"conftest.tmp"
4146 mv "conftest.tmp" "conftest.in"
4147 cp "conftest.in" "conftest.nl"
4148 $as_echo 'EGREP' >> "conftest.nl"
4149 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4150 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4151 as_fn_arith $ac_count + 1 && ac_count=$as_val
4152 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4153 # Best one so far, save it but keep looking for a better one
4154 ac_cv_path_EGREP="$ac_path_EGREP"
4155 ac_path_EGREP_max=$ac_count
4157 # 10*(2^10) chars as input seems more than enough
4158 test $ac_count -gt 10 && break
4160 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4163 $ac_path_EGREP_found && break 3
4168 if test -z "$ac_cv_path_EGREP"; then
4169 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4172 ac_cv_path_EGREP=$EGREP
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4178 $as_echo "$ac_cv_path_EGREP" >&6; }
4179 EGREP="$ac_cv_path_EGREP"
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4183 $as_echo_n "checking for ANSI C header files... " >&6; }
4184 if test "${ac_cv_header_stdc+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4202 if ac_fn_c_try_compile "$LINENO"; then :
4203 ac_cv_header_stdc=yes
4205 ac_cv_header_stdc=no
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 if test $ac_cv_header_stdc = yes; then
4210 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4217 $EGREP "memchr" >/dev/null 2>&1; then :
4220 ac_cv_header_stdc=no
4226 if test $ac_cv_header_stdc = yes; then
4227 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4234 $EGREP "free" >/dev/null 2>&1; then :
4237 ac_cv_header_stdc=no
4243 if test $ac_cv_header_stdc = yes; then
4244 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4245 if test "$cross_compiling" = yes; then :
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4252 #if ((' ' & 0x0FF) == 0x020)
4253 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4254 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4256 # define ISLOWER(c) \
4257 (('a' <= (c) && (c) <= 'i') \
4258 || ('j' <= (c) && (c) <= 'r') \
4259 || ('s' <= (c) && (c) <= 'z'))
4260 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4263 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4268 for (i = 0; i < 256; i++)
4269 if (XOR (islower (i), ISLOWER (i))
4270 || toupper (i) != TOUPPER (i))
4275 if ac_fn_c_try_run "$LINENO"; then :
4278 ac_cv_header_stdc=no
4280 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4281 conftest.$ac_objext conftest.beam conftest.$ac_ext
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4287 $as_echo "$ac_cv_header_stdc" >&6; }
4288 if test $ac_cv_header_stdc = yes; then
4290 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4297 # Check whether --with-resolver was given.
4298 if test "${with_resolver+set}" = set; then :
4299 withval=$with_resolver; resolver=$withval
4306 # Check whether --with-libpcap was given.
4307 if test "${with_libpcap+set}" = set; then :
4308 withval=$with_libpcap; libpcap_prefix=$withval
4315 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4316 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4317 inttypes.h stdint.h unistd.h
4319 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4320 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4322 eval as_val=\$$as_ac_Header
4323 if test "x$as_val" = x""yes; then :
4324 cat >>confdefs.h <<_ACEOF
4325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4333 for ac_header in sys/ioctl.h sys/time.h sys/sockio.h unistd.h
4335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4336 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4337 eval as_val=\$$as_ac_Header
4338 if test "x$as_val" = x""yes; then :
4339 cat >>confdefs.h <<_ACEOF
4340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4349 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4350 if test "${ac_cv_c_const+set}" = set; then :
4351 $as_echo_n "(cached) " >&6
4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4359 /* FIXME: Include the comments suggested by Paul. */
4361 /* Ultrix mips cc rejects this. */
4362 typedef int charset[2];
4364 /* SunOS 4.1.1 cc rejects this. */
4365 char const *const *pcpcc;
4367 /* NEC SVR4.0.2 mips cc rejects this. */
4368 struct point {int x, y;};
4369 static struct point const zero = {0,0};
4370 /* AIX XL C 1.02.0.0 rejects this.
4371 It does not let you subtract one const X* pointer from another in
4372 an arm of an if-expression whose if-part is not a constant
4374 const char *g = "string";
4375 pcpcc = &g + (g ? g-g : 0);
4376 /* HPUX 7.0 cc rejects these. */
4378 ppc = (char**) pcpcc;
4379 pcpcc = (char const *const *) ppc;
4380 { /* SCO 3.2v4 cc rejects this. */
4382 char const *s = 0 ? (char *) 0 : (char const *) 0;
4387 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4389 const int *foo = &x[0];
4392 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4393 typedef const int *iptr;
4397 { /* AIX XL C 1.02.0.0 rejects this saying
4398 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4399 struct s { int j; const int *ap[3]; };
4400 struct s *b; b->j = 5;
4402 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4406 return !cs[0] && !zero.x;
4413 if ac_fn_c_try_compile "$LINENO"; then :
4418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4421 $as_echo "$ac_cv_c_const" >&6; }
4422 if test $ac_cv_c_const = no; then
4424 $as_echo "#define const /**/" >>confdefs.h
4428 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4429 if test "x$ac_cv_type_size_t" = x""yes; then :
4433 cat >>confdefs.h <<_ACEOF
4434 #define size_t unsigned int
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4440 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4441 if test "${ac_cv_header_time+set}" = set; then :
4442 $as_echo_n "(cached) " >&6
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4446 #include <sys/types.h>
4447 #include <sys/time.h>
4453 if ((struct tm *) 0)
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460 ac_cv_header_time=yes
4462 ac_cv_header_time=no
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4467 $as_echo "$ac_cv_header_time" >&6; }
4468 if test $ac_cv_header_time = yes; then
4470 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4476 ac_fn_c_check_header_mongrel "$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
4477 if test "x$ac_cv_header_sys_dlpi_h" = x""yes; then :
4479 $as_echo "#define HAVE_DLPI 1" >>confdefs.h
4485 for ac_func in regcomp select strdup strerror strspn
4487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4489 eval as_val=\$$as_ac_var
4490 if test "x$as_val" = x""yes; then :
4491 cat >>confdefs.h <<_ACEOF
4492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
4500 $as_echo_n "checking for library containing socket... " >&6; }
4501 if test "${ac_cv_search_socket+set}" = set; then :
4502 $as_echo_n "(cached) " >&6
4504 ac_func_search_save_LIBS=$LIBS
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4508 /* Override any GCC internal prototype to avoid an error.
4509 Use char because int might match the return type of a GCC
4510 builtin and then its argument prototype would still apply. */
4523 for ac_lib in '' socket; do
4524 if test -z "$ac_lib"; then
4525 ac_res="none required"
4528 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4530 if ac_fn_c_try_link "$LINENO"; then :
4531 ac_cv_search_socket=$ac_res
4533 rm -f core conftest.err conftest.$ac_objext \
4535 if test "${ac_cv_search_socket+set}" = set; then :
4539 if test "${ac_cv_search_socket+set}" = set; then :
4542 ac_cv_search_socket=no
4545 LIBS=$ac_func_search_save_LIBS
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
4548 $as_echo "$ac_cv_search_socket" >&6; }
4549 ac_res=$ac_cv_search_socket
4550 if test "$ac_res" != no; then :
4551 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
4556 $as_echo_n "checking for library containing log... " >&6; }
4557 if test "${ac_cv_search_log+set}" = set; then :
4558 $as_echo_n "(cached) " >&6
4560 ac_func_search_save_LIBS=$LIBS
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4564 /* Override any GCC internal prototype to avoid an error.
4565 Use char because int might match the return type of a GCC
4566 builtin and then its argument prototype would still apply. */
4579 for ac_lib in '' m; do
4580 if test -z "$ac_lib"; then
4581 ac_res="none required"
4584 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4586 if ac_fn_c_try_link "$LINENO"; then :
4587 ac_cv_search_log=$ac_res
4589 rm -f core conftest.err conftest.$ac_objext \
4591 if test "${ac_cv_search_log+set}" = set; then :
4595 if test "${ac_cv_search_log+set}" = set; then :
4601 LIBS=$ac_func_search_save_LIBS
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
4604 $as_echo "$ac_cv_search_log" >&6; }
4605 ac_res=$ac_cv_search_log
4606 if test "$ac_res" != no; then :
4607 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4611 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
4612 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4616 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4617 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
4618 $as_echo_n "(cached) " >&6
4620 ac_check_lib_save_LIBS=$LIBS
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4625 /* Override any GCC internal prototype to avoid an error.
4626 Use char because int might match the return type of a GCC
4627 builtin and then its argument prototype would still apply. */
4631 char gethostbyname ();
4635 return gethostbyname ();
4640 if ac_fn_c_try_link "$LINENO"; then :
4641 ac_cv_lib_nsl_gethostbyname=yes
4643 ac_cv_lib_nsl_gethostbyname=no
4645 rm -f core conftest.err conftest.$ac_objext \
4646 conftest$ac_exeext conftest.$ac_ext
4647 LIBS=$ac_check_lib_save_LIBS
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4650 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4651 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
4652 cat >>confdefs.h <<_ACEOF
4653 #define HAVE_LIBNSL 1
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
4664 $as_echo_n "checking for library containing inet_aton... " >&6; }
4665 if test "${ac_cv_search_inet_aton+set}" = set; then :
4666 $as_echo_n "(cached) " >&6
4668 ac_func_search_save_LIBS=$LIBS
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4672 /* Override any GCC internal prototype to avoid an error.
4673 Use char because int might match the return type of a GCC
4674 builtin and then its argument prototype would still apply. */
4682 return inet_aton ();
4687 for ac_lib in '' socket nsl; do
4688 if test -z "$ac_lib"; then
4689 ac_res="none required"
4692 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4694 if ac_fn_c_try_link "$LINENO"; then :
4695 ac_cv_search_inet_aton=$ac_res
4697 rm -f core conftest.err conftest.$ac_objext \
4699 if test "${ac_cv_search_inet_aton+set}" = set; then :
4703 if test "${ac_cv_search_inet_aton+set}" = set; then :
4706 ac_cv_search_inet_aton=no
4709 LIBS=$ac_func_search_save_LIBS
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
4712 $as_echo "$ac_cv_search_inet_aton" >&6; }
4713 ac_res=$ac_cv_search_inet_aton
4714 if test "$ac_res" != no; then :
4715 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
4720 $as_echo_n "checking for library containing inet_pton... " >&6; }
4721 if test "${ac_cv_search_inet_pton+set}" = set; then :
4722 $as_echo_n "(cached) " >&6
4724 ac_func_search_save_LIBS=$LIBS
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4728 /* Override any GCC internal prototype to avoid an error.
4729 Use char because int might match the return type of a GCC
4730 builtin and then its argument prototype would still apply. */
4738 return inet_pton ();
4743 for ac_lib in '' socket nsl; do
4744 if test -z "$ac_lib"; then
4745 ac_res="none required"
4748 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4750 if ac_fn_c_try_link "$LINENO"; then :
4751 ac_cv_search_inet_pton=$ac_res
4753 rm -f core conftest.err conftest.$ac_objext \
4755 if test "${ac_cv_search_inet_pton+set}" = set; then :
4759 if test "${ac_cv_search_inet_pton+set}" = set; then :
4762 ac_cv_search_inet_pton=no
4765 LIBS=$ac_func_search_save_LIBS
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
4768 $as_echo "$ac_cv_search_inet_pton" >&6; }
4769 ac_res=$ac_cv_search_inet_pton
4770 if test "$ac_res" != no; then :
4771 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4775 for ac_func in inet_aton inet_pton
4777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4779 eval as_val=\$$as_ac_var
4780 if test "x$as_val" = x""yes; then :
4781 cat >>confdefs.h <<_ACEOF
4782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4790 for type in u_int8_t u_int16_t u_int32_t ; do
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of $type" >&5
4792 $as_echo_n "checking size of $type... " >&6; }
4793 if test "$cross_compiling" = yes; then :
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't determine when cross-compiling" >&5
4797 $as_echo "can't determine when cross-compiling" >&6; }
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4803 #include <sys/types.h>
4807 FILE *f=fopen("conftestval", "w");
4809 fprintf(f, "%d\n", sizeof($1));
4814 if ac_fn_c_try_run "$LINENO"; then :
4817 eval "size_$type=$x"
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $x" >&5
4819 $as_echo "$x" >&6; }
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown type" >&5
4825 $as_echo "unknown type" >&6; }
4828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4829 conftest.$ac_objext conftest.beam conftest.$ac_ext
4835 cat >>confdefs.h <<_ACEOF
4836 #define SIZEOF_U_INT8_T $size_u_int8_t
4840 cat >>confdefs.h <<_ACEOF
4841 #define SIZEOF_U_INT16_T $size_u_int16_t
4845 cat >>confdefs.h <<_ACEOF
4846 #define SIZEOF_U_INT32_T $size_u_int32_t
4851 if test $size_u_int8_t != 1 || test $size_u_int16_t != 2 || test $size_u_int32_t != 4 ; then
4853 for ac_header in stdint.h sys/inttypes.h
4855 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4856 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4857 eval as_val=\$$as_ac_Header
4858 if test "x$as_val" = x""yes; then :
4859 cat >>confdefs.h <<_ACEOF
4860 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4862 do_int_types=0; break
4868 if test $do_int_types = 1 ; then
4869 # The cast to long int works around a bug in the HP C Compiler
4870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4872 # This bug is HP SR number 8606223364.
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short int" >&5
4874 $as_echo_n "checking size of unsigned short int... " >&6; }
4875 if test "${ac_cv_sizeof_unsigned_short_int+set}" = set; then :
4876 $as_echo_n "(cached) " >&6
4878 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short int))" "ac_cv_sizeof_unsigned_short_int" "$ac_includes_default"; then :
4881 if test "$ac_cv_type_unsigned_short_int" = yes; then
4882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4884 { as_fn_set_status 77
4885 as_fn_error "cannot compute sizeof (unsigned short int)
4886 See \`config.log' for more details." "$LINENO" 5; }; }
4888 ac_cv_sizeof_unsigned_short_int=0
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short_int" >&5
4894 $as_echo "$ac_cv_sizeof_unsigned_short_int" >&6; }
4898 cat >>confdefs.h <<_ACEOF
4899 #define SIZEOF_UNSIGNED_SHORT_INT $ac_cv_sizeof_unsigned_short_int
4903 # The cast to long int works around a bug in the HP C Compiler
4904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4906 # This bug is HP SR number 8606223364.
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
4908 $as_echo_n "checking size of unsigned int... " >&6; }
4909 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then :
4910 $as_echo_n "(cached) " >&6
4912 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
4915 if test "$ac_cv_type_unsigned_int" = yes; then
4916 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4918 { as_fn_set_status 77
4919 as_fn_error "cannot compute sizeof (unsigned int)
4920 See \`config.log' for more details." "$LINENO" 5; }; }
4922 ac_cv_sizeof_unsigned_int=0
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
4928 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
4932 cat >>confdefs.h <<_ACEOF
4933 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
4937 # The cast to long int works around a bug in the HP C Compiler
4938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4940 # This bug is HP SR number 8606223364.
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long int" >&5
4942 $as_echo_n "checking size of unsigned long int... " >&6; }
4943 if test "${ac_cv_sizeof_unsigned_long_int+set}" = set; then :
4944 $as_echo_n "(cached) " >&6
4946 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long int))" "ac_cv_sizeof_unsigned_long_int" "$ac_includes_default"; then :
4949 if test "$ac_cv_type_unsigned_long_int" = yes; then
4950 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4952 { as_fn_set_status 77
4953 as_fn_error "cannot compute sizeof (unsigned long int)
4954 See \`config.log' for more details." "$LINENO" 5; }; }
4956 ac_cv_sizeof_unsigned_long_int=0
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_int" >&5
4962 $as_echo "$ac_cv_sizeof_unsigned_long_int" >&6; }
4966 cat >>confdefs.h <<_ACEOF
4967 #define SIZEOF_UNSIGNED_LONG_INT $ac_cv_sizeof_unsigned_long_int
4973 $as_echo "#define HAVE_C99_INTS 1" >>confdefs.h
4980 specified_resolver=$resolver
4981 if test x$specified_resolver = xguess ; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
4984 $as_echo_n "checking for library containing getnameinfo... " >&6; }
4985 if test "${ac_cv_search_getnameinfo+set}" = set; then :
4986 $as_echo_n "(cached) " >&6
4988 ac_func_search_save_LIBS=$LIBS
4989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4992 /* Override any GCC internal prototype to avoid an error.
4993 Use char because int might match the return type of a GCC
4994 builtin and then its argument prototype would still apply. */
4998 char getnameinfo ();
5002 return getnameinfo ();
5007 for ac_lib in '' nsl; do
5008 if test -z "$ac_lib"; then
5009 ac_res="none required"
5012 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5014 if ac_fn_c_try_link "$LINENO"; then :
5015 ac_cv_search_getnameinfo=$ac_res
5017 rm -f core conftest.err conftest.$ac_objext \
5019 if test "${ac_cv_search_getnameinfo+set}" = set; then :
5023 if test "${ac_cv_search_getnameinfo+set}" = set; then :
5026 ac_cv_search_getnameinfo=no
5029 LIBS=$ac_func_search_save_LIBS
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
5032 $as_echo "$ac_cv_search_getnameinfo" >&6; }
5033 ac_res=$ac_cv_search_getnameinfo
5034 if test "$ac_res" != no; then :
5035 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5042 if test $use_getnameinfo = 1 ; then
5044 $as_echo "#define USE_GETNAMEINFO 1" >>confdefs.h
5051 if test x$resolver = xnetdb ; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyaddr_r" >&5
5053 $as_echo_n "checking for library containing gethostbyaddr_r... " >&6; }
5054 if test "${ac_cv_search_gethostbyaddr_r+set}" = set; then :
5055 $as_echo_n "(cached) " >&6
5057 ac_func_search_save_LIBS=$LIBS
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5061 /* Override any GCC internal prototype to avoid an error.
5062 Use char because int might match the return type of a GCC
5063 builtin and then its argument prototype would still apply. */
5067 char gethostbyaddr_r ();
5071 return gethostbyaddr_r ();
5076 for ac_lib in '' nsl; do
5077 if test -z "$ac_lib"; then
5078 ac_res="none required"
5081 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5083 if ac_fn_c_try_link "$LINENO"; then :
5084 ac_cv_search_gethostbyaddr_r=$ac_res
5086 rm -f core conftest.err conftest.$ac_objext \
5088 if test "${ac_cv_search_gethostbyaddr_r+set}" = set; then :
5092 if test "${ac_cv_search_gethostbyaddr_r+set}" = set; then :
5095 ac_cv_search_gethostbyaddr_r=no
5098 LIBS=$ac_func_search_save_LIBS
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyaddr_r" >&5
5101 $as_echo "$ac_cv_search_gethostbyaddr_r" >&6; }
5102 ac_res=$ac_cv_search_gethostbyaddr_r
5103 if test "$ac_res" != no; then :
5104 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5110 if test x$resolver = xguess && test x$specified_resolver != xguess ; then
5111 as_fn_error "no library defines gethostbyaddr_r" "$LINENO" 5
5115 if test x$resolver = xnetdb ; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to call gethostbyaddr_r" >&5
5117 $as_echo_n "checking how to call gethostbyaddr_r... " >&6; }
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5120 `cat config/hostentp_ghba_r.c`
5122 if ac_fn_c_try_link "$LINENO"; then :
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7 args" >&5
5124 $as_echo "7 args" >&6; }
5127 $as_echo "#define GETHOSTBYADDR_R_RETURNS_HOSTENT_P 1" >>confdefs.h
5131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h. */
5133 `cat config/int_ghba_r.c`
5135 if ac_fn_c_try_link "$LINENO"; then :
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 args, int return" >&5
5137 $as_echo "8 args, int return" >&6; }
5140 $as_echo "#define GETHOSTBYADDR_R_RETURNS_INT 1" >>confdefs.h
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: don't know how" >&5
5145 $as_echo "don't know how" >&6; }
5148 rm -f core conftest.err conftest.$ac_objext \
5149 conftest$ac_exeext conftest.$ac_ext
5151 rm -f core conftest.err conftest.$ac_objext \
5152 conftest$ac_exeext conftest.$ac_ext
5153 if test x$resolver = xguess && test x$specified_resolver != xguess ; then
5154 as_fn_error "gethostbyaddr_r has no known calling convention" "$LINENO" 5
5158 if test x$resolver = xnetdb ; then
5159 if test x$ghba_args = x8 ; then
5162 testfile=hostentp_ghba_r
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyaddr_r usability" >&5
5165 $as_echo_n "checking gethostbyaddr_r usability... " >&6; }
5166 if test "$cross_compiling" = yes; then :
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't test because we are cross-compiling" >&5
5168 $as_echo "can't test because we are cross-compiling" >&6; }
5170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5171 /* end confdefs.h. */
5172 `cat config/$testfile.c`
5174 if ac_fn_c_try_run "$LINENO"; then :
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5176 $as_echo "yes" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5183 conftest.$ac_objext conftest.beam conftest.$ac_ext
5186 if test x$resolver = xguess ; then
5187 if test x$specified_resolver = xguess ; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gethostbyaddr_r doesn't work, so we'll try something else" >&5
5189 $as_echo "gethostbyaddr_r doesn't work, so we'll try something else" >&6; }
5191 as_fn_error "gethostbyaddr_r doesn't work" "$LINENO" 5
5196 if test x$resolver = xnetdb ; then
5198 $as_echo "#define USE_GETHOSTBYADDR_R 1" >>confdefs.h
5202 if test x$resolver = xares ; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ares_init" >&5
5204 $as_echo_n "checking for library containing ares_init... " >&6; }
5205 if test "${ac_cv_search_ares_init+set}" = set; then :
5206 $as_echo_n "(cached) " >&6
5208 ac_func_search_save_LIBS=$LIBS
5209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5210 /* end confdefs.h. */
5212 /* Override any GCC internal prototype to avoid an error.
5213 Use char because int might match the return type of a GCC
5214 builtin and then its argument prototype would still apply. */
5222 return ares_init ();
5227 for ac_lib in '' ares; do
5228 if test -z "$ac_lib"; then
5229 ac_res="none required"
5232 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5234 if ac_fn_c_try_link "$LINENO"; then :
5235 ac_cv_search_ares_init=$ac_res
5237 rm -f core conftest.err conftest.$ac_objext \
5239 if test "${ac_cv_search_ares_init+set}" = set; then :
5243 if test "${ac_cv_search_ares_init+set}" = set; then :
5246 ac_cv_search_ares_init=no
5249 LIBS=$ac_func_search_save_LIBS
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ares_init" >&5
5252 $as_echo "$ac_cv_search_ares_init" >&6; }
5253 ac_res=$ac_cv_search_ares_init
5254 if test "$ac_res" != no; then :
5255 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5258 $as_echo "#define USE_ARES 1" >>confdefs.h
5263 as_fn_error "can't find ARES. Re-run configure and ask for a different resolver." "$LINENO" 5
5268 if test x$resolver = xguess ; then
5269 resolver=netdb_1thread
5272 if test x$resolver = xnetdb_1thread || test x$resolver = xforking ; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyaddr" >&5
5274 $as_echo_n "checking for library containing gethostbyaddr... " >&6; }
5275 if test "${ac_cv_search_gethostbyaddr+set}" = set; then :
5276 $as_echo_n "(cached) " >&6
5278 ac_func_search_save_LIBS=$LIBS
5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5282 /* Override any GCC internal prototype to avoid an error.
5283 Use char because int might match the return type of a GCC
5284 builtin and then its argument prototype would still apply. */
5288 char gethostbyaddr ();
5292 return gethostbyaddr ();
5297 for ac_lib in '' nsl; do
5298 if test -z "$ac_lib"; then
5299 ac_res="none required"
5302 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5304 if ac_fn_c_try_link "$LINENO"; then :
5305 ac_cv_search_gethostbyaddr=$ac_res
5307 rm -f core conftest.err conftest.$ac_objext \
5309 if test "${ac_cv_search_gethostbyaddr+set}" = set; then :
5313 if test "${ac_cv_search_gethostbyaddr+set}" = set; then :
5316 ac_cv_search_gethostbyaddr=no
5319 LIBS=$ac_func_search_save_LIBS
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyaddr" >&5
5322 $as_echo "$ac_cv_search_gethostbyaddr" >&6; }
5323 ac_res=$ac_cv_search_gethostbyaddr
5324 if test "$ac_res" != no; then :
5325 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5329 as_fn_error "gethostbyaddr is not available. You will have to
5330 recompile with no name resolution at all." "$LINENO" 5
5334 if test x$resolver = xnetdb_1thread ; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using single-threaded resolver with gethostbyaddr
5336 Consider obtaining ARES or a machine with a working gethostbyaddr_r." >&5
5337 $as_echo "$as_me: WARNING: using single-threaded resolver with gethostbyaddr
5338 Consider obtaining ARES or a machine with a working gethostbyaddr_r." >&2;}
5340 $as_echo "#define USE_GETHOSTBYADDR 1" >>confdefs.h
5344 $as_echo "#define USE_FORKING_RESOLVER 1" >>confdefs.h
5351 if test x$libpcap_prefix = x ; then
5352 libpcap_prefix="/usr /usr/local /opt /software"
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find pcap.h" >&5
5356 $as_echo_n "checking where to find pcap.h... " >&6; }
5358 oldCPPFLAGS=$CPPFLAGS
5359 for test_prefix in "" $libpcap_prefix ; do
5360 for x in "" /pcap ; do
5361 if test x$test_prefix != x ; then
5362 CPPFLAGS="$oldCPPFLAGS -I$test_prefix/include$x"
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5370 if ac_fn_c_try_cpp "$LINENO"; then :
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $test_prefix/include$x" >&5
5373 $as_echo "$test_prefix/include$x" >&6; }
5378 rm -f conftest.err conftest.$ac_ext
5380 if test $foundpcaph = 1 ; then
5385 if test $foundpcaph = 0 ; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no idea" >&5
5387 $as_echo "no idea" >&6; }
5388 as_fn_error "can't find pcap.h
5389 You're not going to get very far without libpcap." "$LINENO" 5
5391 if test x$test_prefix != x ; then
5392 LDFLAGS="$LDFLAGS -L$test_prefix/lib"
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_open_live in -lpcap" >&5
5395 $as_echo_n "checking for pcap_open_live in -lpcap... " >&6; }
5396 if test "${ac_cv_lib_pcap_pcap_open_live+set}" = set; then :
5397 $as_echo_n "(cached) " >&6
5399 ac_check_lib_save_LIBS=$LIBS
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5404 /* Override any GCC internal prototype to avoid an error.
5405 Use char because int might match the return type of a GCC
5406 builtin and then its argument prototype would still apply. */
5410 char pcap_open_live ();
5414 return pcap_open_live ();
5419 if ac_fn_c_try_link "$LINENO"; then :
5420 ac_cv_lib_pcap_pcap_open_live=yes
5422 ac_cv_lib_pcap_pcap_open_live=no
5424 rm -f core conftest.err conftest.$ac_objext \
5425 conftest$ac_exeext conftest.$ac_ext
5426 LIBS=$ac_check_lib_save_LIBS
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_open_live" >&5
5429 $as_echo "$ac_cv_lib_pcap_pcap_open_live" >&6; }
5430 if test "x$ac_cv_lib_pcap_pcap_open_live" = x""yes; then :
5431 cat >>confdefs.h <<_ACEOF
5432 #define HAVE_LIBPCAP 1
5439 as_fn_error "can't find libpcap
5440 You're not going to get very far without libpcap." "$LINENO" 5
5447 for ac_header in pcap.h pcap/pcap.h
5449 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5450 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5451 eval as_val=\$$as_ac_Header
5452 if test "x$as_val" = x""yes; then :
5453 cat >>confdefs.h <<_ACEOF
5454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5465 if test $foundpcap = 0 ; then
5466 as_fn_error "can't find pcap.h
5467 You're not going to get very far without libpcap." "$LINENO" 5
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a curses library containing mvchgat" >&5
5472 $as_echo_n "checking for a curses library containing mvchgat... " >&6; }
5474 for curseslib in curses ncurses ; do
5475 LIBS="$oldLIBS -l$curseslib"
5476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5477 /* end confdefs.h. */
5485 mvchgat(0, 0, 1, A_REVERSE, 0, NULL)
5491 if ac_fn_c_try_link "$LINENO"; then :
5493 foundcurseslib=$curseslib
5497 rm -f core conftest.err conftest.$ac_objext \
5498 conftest$ac_exeext conftest.$ac_ext
5501 if test x$foundcurseslib = x ; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none found" >&5
5503 $as_echo "none found" >&6; }
5504 as_fn_error "Curses! Foiled again!
5505 (Can't find a curses library supporting mvchgat.)
5506 Consider installing ncurses." "$LINENO" 5
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -l$foundcurseslib" >&5
5509 $as_echo "-l$foundcurseslib" >&6; }
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX threads compilation" >&5
5515 $as_echo_n "checking POSIX threads compilation... " >&6; }
5519 for flag in "" -mt -pthread -thread ; do
5520 CFLAGS="$oldCFLAGS $flag"
5521 for lib in "" -lpthread "-lpthread -lposix4" ; do
5522 LIBS="$oldLIBS $lib"
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5525 `cat config/pthread.c`
5527 if ac_fn_c_try_link "$LINENO"; then :
5535 rm -f core conftest.err conftest.$ac_objext \
5536 conftest$ac_exeext conftest.$ac_ext
5538 if test $thrfail = 0 ; then
5543 if test $thrfail = 1 ; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no idea" >&5
5545 $as_echo "no idea" >&6; }
5546 as_fn_error "can't figure out how to compile with POSIX threads
5547 If your system actually supports POSIX threads, this means we've messed up." "$LINENO" 5
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: CFLAGS=$foundthrflag and LIBS=$foundthrlib" >&5
5551 $as_echo "CFLAGS=$foundthrflag and LIBS=$foundthrlib" >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX threads usability" >&5
5553 $as_echo_n "checking POSIX threads usability... " >&6; }
5554 if test "$cross_compiling" = yes; then :
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't test because we are cross-compiling" >&5
5556 $as_echo "can't test because we are cross-compiling" >&6; }
5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5560 `cat config/pthread.c`
5562 if ac_fn_c_try_run "$LINENO"; then :
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5564 $as_echo "yes" >&6; }
5566 as_fn_error "it fails. We probably guessed the wrong CFLAGS." "$LINENO" 5
5568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5569 conftest.$ac_objext conftest.beam conftest.$ac_ext
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to enable promiscuous mode by default" >&5
5575 $as_echo_n "checking if we need to enable promiscuous mode by default... " >&6; }
5577 enable_default_promiscuous="no"
5580 solaris*) enable_default_promiscuous="yes" ;;
5583 # Check whether --enable-default-promiscuous was given.
5584 if test "${enable_default_promiscuous+set}" = set; then :
5585 enableval=$enable_default_promiscuous;
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_default_promiscuous" >&5
5590 $as_echo "$enable_default_promiscuous" >&6; }
5592 if test x"$enable_default_promiscuous" = x"yes"; then
5594 $as_echo "#define NEED_PROMISCUOUS_FOR_OUTGOING 1" >>confdefs.h
5601 ac_config_files="$ac_config_files Makefile config/Makefile"
5603 cat >confcache <<\_ACEOF
5604 # This file is a shell script that caches the results of configure
5605 # tests run on this system so they can be shared between configure
5606 # scripts and configure runs, see configure's option --config-cache.
5607 # It is not useful on other systems. If it contains results you don't
5608 # want to keep, you may remove or edit it.
5610 # config.status only pays attention to the cache file if you give it
5611 # the --recheck option to rerun configure.
5613 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5614 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5619 # The following way of writing the cache mishandles newlines in values,
5620 # but we know of no workaround that is simple, portable, and efficient.
5621 # So, we kill variables containing newlines.
5622 # Ultrix sh set writes to stderr and can't be redirected directly,
5623 # and sets the high bit in the cache file unless we assign to the vars.
5625 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5626 eval ac_val=\$$ac_var
5630 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5631 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5634 _ | IFS | as_nl) ;; #(
5635 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5636 *) { eval $ac_var=; unset $ac_var;} ;;
5642 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5643 *${as_nl}ac_space=\ *)
5644 # `set' does not quote correctly, so add quotes: double-quote
5645 # substitution turns \\\\ into \\, and sed turns \\ into \.
5648 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5651 # `set' quotes correctly as required by POSIX, so do not add quotes.
5652 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5661 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5663 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5665 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5666 if test -w "$cache_file"; then
5667 test "x$cache_file" != "x/dev/null" &&
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5669 $as_echo "$as_me: updating cache $cache_file" >&6;}
5670 cat confcache >$cache_file
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5673 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5678 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5679 # Let make expand exec_prefix.
5680 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5682 DEFS=-DHAVE_CONFIG_H
5686 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5687 # 1. Remove the extension, and $U if already installed.
5688 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5689 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5690 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5691 # will be set to the directory where LIBOBJS objects are built.
5692 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5693 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5697 LTLIBOBJS=$ac_ltlibobjs
5700 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5701 as_fn_error "conditional \"AMDEP\" was never defined.
5702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5704 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5705 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5709 : ${CONFIG_STATUS=./config.status}
5711 ac_clean_files_save=$ac_clean_files
5712 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5714 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5716 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5718 # Generated by $as_me.
5719 # Run this file to recreate the current configuration.
5720 # Compiler output produced by configure, useful for debugging
5721 # configure, is in config.log if it exists.
5727 SHELL=\${CONFIG_SHELL-$SHELL}
5730 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5731 ## -------------------- ##
5732 ## M4sh Initialization. ##
5733 ## -------------------- ##
5735 # Be more Bourne compatible
5736 DUALCASE=1; export DUALCASE # for MKS sh
5737 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5740 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5741 # is contrary to our usage. Disable this feature.
5742 alias -g '${1+"$@"}'='"$@"'
5743 setopt NO_GLOB_SUBST
5745 case `(set -o) 2>/dev/null` in #(
5757 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5758 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5759 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5760 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5761 # Prefer a ksh shell builtin over an external printf program on Solaris,
5762 # but without wasting forks for bash or zsh.
5763 if test -z "$BASH_VERSION$ZSH_VERSION" \
5764 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5765 as_echo='print -r --'
5766 as_echo_n='print -rn --'
5767 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5768 as_echo='printf %s\n'
5769 as_echo_n='printf %s'
5771 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5772 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5773 as_echo_n='/usr/ucb/echo -n'
5775 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5776 as_echo_n_body='eval
5780 expr "X$arg" : "X\\(.*\\)$as_nl";
5781 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5783 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5785 export as_echo_n_body
5786 as_echo_n='sh -c $as_echo_n_body as_echo'
5789 as_echo='sh -c $as_echo_body as_echo'
5792 # The user is always right.
5793 if test "${PATH_SEPARATOR+set}" != set; then
5795 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5796 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5803 # We need space, tab and new line, in precisely that order. Quoting is
5804 # there to prevent editors from complaining about space-tab.
5805 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5806 # splitting by setting IFS to empty value.)
5809 # Find who we are. Look in the path if we contain no directory separator.
5811 *[\\/]* ) as_myself=$0 ;;
5812 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 test -z "$as_dir" && as_dir=.
5817 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5823 # We did not find ourselves, most probably we were run as `sh COMMAND'
5824 # in which case we are not to be found in the path.
5825 if test "x$as_myself" = x; then
5828 if test ! -f "$as_myself"; then
5829 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5833 # Unset variables that we do not need and which cause bugs (e.g. in
5834 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5835 # suppresses any "Segmentation fault" message there. '((' could
5836 # trigger a bug in pdksh 5.2.14.
5837 for as_var in BASH_ENV ENV MAIL MAILPATH
5838 do eval test x\${$as_var+set} = xset \
5839 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5852 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5855 # as_fn_error ERROR [LINENO LOG_FD]
5856 # ---------------------------------
5857 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5858 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5859 # script with status $?, using 1 if that was 0.
5862 as_status=$?; test $as_status -eq 0 && as_status=1
5864 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5865 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5867 $as_echo "$as_me: error: $1" >&2
5868 as_fn_exit $as_status
5872 # as_fn_set_status STATUS
5873 # -----------------------
5874 # Set $? to STATUS, without forking.
5878 } # as_fn_set_status
5882 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5892 # Portably unset VAR.
5895 { eval $1=; unset $1;}
5897 as_unset=as_fn_unset
5898 # as_fn_append VAR VALUE
5899 # ----------------------
5900 # Append the text in VALUE to the end of the definition contained in VAR. Take
5901 # advantage of any shell optimizations that allow amortized linear growth over
5902 # repeated appends, instead of the typical quadratic growth present in naive
5904 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5905 eval 'as_fn_append ()
5916 # as_fn_arith ARG...
5917 # ------------------
5918 # Perform arithmetic evaluation on the ARGs, and store the result in the
5919 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5920 # must be portable across $(()) and expr.
5921 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5922 eval 'as_fn_arith ()
5929 as_val=`expr "$@" || test $? -eq 1`
5934 if expr a : '\(a\)' >/dev/null 2>&1 &&
5935 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5941 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5942 as_basename=basename
5947 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5953 as_me=`$as_basename -- "$0" ||
5954 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5955 X"$0" : 'X\(//\)$' \| \
5956 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5958 sed '/^.*\/\([^/][^/]*\)\/*$/{
5972 # Avoid depending upon Character Ranges.
5973 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5974 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5975 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5976 as_cr_digits='0123456789'
5977 as_cr_alnum=$as_cr_Letters$as_cr_digits
5979 ECHO_C= ECHO_N= ECHO_T=
5980 case `echo -n x` in #(((((
5982 case `echo 'xy\c'` in
5983 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5985 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5992 rm -f conf$$ conf$$.exe conf$$.file
5993 if test -d conf$$.dir; then
5994 rm -f conf$$.dir/conf$$.file
5997 mkdir conf$$.dir 2>/dev/null
5999 if (echo >conf$$.file) 2>/dev/null; then
6000 if ln -s conf$$.file conf$$ 2>/dev/null; then
6002 # ... but there are two gotchas:
6003 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6004 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6005 # In both cases, we have to default to `cp -p'.
6006 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6008 elif ln conf$$.file conf$$ 2>/dev/null; then
6016 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6017 rmdir conf$$.dir 2>/dev/null
6022 # Create "$as_dir" as a directory, including parents if necessary.
6027 -*) as_dir=./$as_dir;;
6029 test -d "$as_dir" || eval $as_mkdir_p || {
6033 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6034 *) as_qdir=$as_dir;;
6036 as_dirs="'$as_qdir' $as_dirs"
6037 as_dir=`$as_dirname -- "$as_dir" ||
6038 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6039 X"$as_dir" : 'X\(//\)[^/]' \| \
6040 X"$as_dir" : 'X\(//\)$' \| \
6041 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6042 $as_echo X"$as_dir" |
6043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6060 test -d "$as_dir" && break
6062 test -z "$as_dirs" || eval "mkdir $as_dirs"
6063 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
6067 if mkdir -p . 2>/dev/null; then
6068 as_mkdir_p='mkdir -p "$as_dir"'
6070 test -d ./-p && rmdir ./-p
6074 if test -x / >/dev/null 2>&1; then
6077 if ls -dL / >/dev/null 2>&1; then
6084 if test -d "$1"; then
6090 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6091 ???[sx]*):;;*)false;;esac;fi
6095 as_executable_p=$as_test_x
6097 # Sed expression to map a string onto a valid CPP name.
6098 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6100 # Sed expression to map a string onto a valid variable name.
6101 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6105 ## ----------------------------------- ##
6106 ## Main body of $CONFIG_STATUS script. ##
6107 ## ----------------------------------- ##
6109 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6112 # Save the log message, to keep $0 and so on meaningful, and to
6113 # report actual input values of CONFIG_FILES etc. instead of their
6114 # values after options handling.
6116 This file was extended by $as_me, which was
6117 generated by GNU Autoconf 2.65. Invocation command line was
6119 CONFIG_FILES = $CONFIG_FILES
6120 CONFIG_HEADERS = $CONFIG_HEADERS
6121 CONFIG_LINKS = $CONFIG_LINKS
6122 CONFIG_COMMANDS = $CONFIG_COMMANDS
6125 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6130 case $ac_config_files in *"
6131 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6134 case $ac_config_headers in *"
6135 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6140 # Files that config.status was made for.
6141 config_files="$ac_config_files"
6142 config_headers="$ac_config_headers"
6143 config_commands="$ac_config_commands"
6147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6149 \`$as_me' instantiates files and other configuration actions
6150 from templates according to the current configuration. Unless the files
6151 and actions are specified as TAGs, all are instantiated by default.
6153 Usage: $0 [OPTION]... [TAG]...
6155 -h, --help print this help, then exit
6156 -V, --version print version number and configuration settings, then exit
6157 --config print configuration, then exit
6158 -q, --quiet, --silent
6159 do not print progress messages
6160 -d, --debug don't remove temporary files
6161 --recheck update $as_me by reconfiguring in the same conditions
6162 --file=FILE[:TEMPLATE]
6163 instantiate the configuration file FILE
6164 --header=FILE[:TEMPLATE]
6165 instantiate the configuration header FILE
6167 Configuration files:
6170 Configuration headers:
6173 Configuration commands:
6176 Report bugs to the package provider."
6179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6180 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6183 configured by $0, generated by GNU Autoconf 2.65,
6184 with options \\"\$ac_cs_config\\"
6186 Copyright (C) 2009 Free Software Foundation, Inc.
6187 This config.status script is free software; the Free Software Foundation
6188 gives unlimited permission to copy, distribute and modify it."
6194 test -n "\$AWK" || AWK=awk
6197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6198 # The default lists apply if the user does not specify any file.
6204 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6205 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6216 # Handling of the options.
6217 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6219 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6220 $as_echo "$ac_cs_version"; exit ;;
6221 --config | --confi | --conf | --con | --co | --c )
6222 $as_echo "$ac_cs_config"; exit ;;
6223 --debug | --debu | --deb | --de | --d | -d )
6225 --file | --fil | --fi | --f )
6228 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6230 as_fn_append CONFIG_FILES " '$ac_optarg'"
6231 ac_need_defaults=false;;
6232 --header | --heade | --head | --hea )
6235 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6237 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6238 ac_need_defaults=false;;
6240 # Conflict between --help and --header
6241 as_fn_error "ambiguous option: \`$1'
6242 Try \`$0 --help' for more information.";;
6243 --help | --hel | -h )
6244 $as_echo "$ac_cs_usage"; exit ;;
6245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6246 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6250 -*) as_fn_error "unrecognized option: \`$1'
6251 Try \`$0 --help' for more information." ;;
6253 *) as_fn_append ac_config_targets " $1"
6254 ac_need_defaults=false ;;
6260 ac_configure_extra_args=
6262 if $ac_cs_silent; then
6264 ac_configure_extra_args="$ac_configure_extra_args --silent"
6268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6269 if \$ac_cs_recheck; then
6270 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6272 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6273 CONFIG_SHELL='$SHELL'
6279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6283 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6284 ## Running $as_me. ##
6290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6294 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6300 # Handling of arguments.
6301 for ac_config_target in $ac_config_targets
6303 case $ac_config_target in
6304 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6305 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6306 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6307 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
6309 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6314 # If the user did not use the arguments to specify the items to instantiate,
6315 # then the envvar interface is used. Set only those that are not.
6316 # We use the long form for the default assignment because of an extremely
6317 # bizarre bug on SunOS 4.1.3.
6318 if $ac_need_defaults; then
6319 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6320 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6321 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6324 # Have a temporary directory for convenience. Make it in the build tree
6325 # simply because there is no reason against having it here, and in addition,
6326 # creating and moving files from /tmp can sometimes cause problems.
6327 # Hook for its removal unless debugging.
6328 # Note that there is a small window in which the directory will not be cleaned:
6329 # after its creation but before its name has been assigned to `$tmp'.
6333 trap 'exit_status=$?
6334 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6336 trap 'as_fn_exit 1' 1 2 13 15
6338 # Create a (secure) tmp directory for tmp files.
6341 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6342 test -n "$tmp" && test -d "$tmp"
6345 tmp=./conf$$-$RANDOM
6346 (umask 077 && mkdir "$tmp")
6347 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6349 # Set up the scripts for CONFIG_FILES section.
6350 # No need to generate them if there are no CONFIG_FILES.
6351 # This happens for instance with `./config.status config.h'.
6352 if test -n "$CONFIG_FILES"; then
6355 ac_cr=`echo X | tr X '\015'`
6356 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6357 # But we know of no other shell where ac_cr would be empty at this
6358 # point, so we can use a bashism as a fallback.
6359 if test "x$ac_cr" = x; then
6360 eval ac_cr=\$\'\\r\'
6362 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6363 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6369 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6374 echo "cat >conf$$subs.awk <<_ACEOF" &&
6375 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6378 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6379 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6381 for ac_last_try in false false false false false :; do
6382 . ./conf$$subs.sh ||
6383 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6385 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6386 if test $ac_delim_n = $ac_delim_num; then
6388 elif $ac_last_try; then
6389 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6397 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6401 s/^/S["/; s/!.*/"]=/
6411 s/\(.\{148\}\)..*/\1/
6413 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6418 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6425 s/\(.\{148\}\)..*/\1/
6427 s/["\\]/\\&/g; s/^/"/; s/$/"/
6431 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6436 ' <conf$$subs.awk | sed '
6441 ' >>$CONFIG_STATUS || ac_write_fail=1
6442 rm -f conf$$subs.awk
6443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6445 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6446 for (key in S) S_is_set[key] = 1
6452 nfields = split(line, field, "@")
6454 len = length(field[1])
6455 for (i = 2; i < nfields; i++) {
6457 keylen = length(key)
6458 if (S_is_set[key]) {
6460 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6461 len += length(value) + length(field[++i])
6472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6473 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6474 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6477 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6478 || as_fn_error "could not setup config files machinery" "$LINENO" 5
6481 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6482 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6483 # trailing colons and then remove the whole line if VPATH becomes empty
6484 # (actually we leave an empty line to preserve line numbers).
6485 if test "x$srcdir" = x.; then
6486 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6490 s/^\([^=]*=[ ]*\):*/\1/
6496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6497 fi # test -n "$CONFIG_FILES"
6499 # Set up the scripts for CONFIG_HEADERS section.
6500 # No need to generate them if there are no CONFIG_HEADERS.
6501 # This happens for instance with `./config.status Makefile'.
6502 if test -n "$CONFIG_HEADERS"; then
6503 cat >"$tmp/defines.awk" <<\_ACAWK ||
6507 # Transform confdefs.h into an awk script `defines.awk', embedded as
6508 # here-document in config.status, that substitutes the proper values into
6509 # config.h.in to produce config.h.
6511 # Create a delimiter string that does not exist in confdefs.h, to ease
6512 # handling of long lines.
6514 for ac_last_try in false false :; do
6515 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6516 if test -z "$ac_t"; then
6518 elif $ac_last_try; then
6519 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6521 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6525 # For the awk script, D is an array of macro values keyed by name,
6526 # likewise P contains macro parameters if any. Preserve backslash
6527 # newline sequences.
6529 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6531 s/.\{148\}/&'"$ac_delim"'/g
6534 s/^[ ]*#[ ]*define[ ][ ]*/ /
6541 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6543 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6547 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6548 D["\1"]=" \3\\\\\\n"\\/p
6550 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6555 s/.\{148\}/&'"$ac_delim"'/g
6560 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6563 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6565 ' <confdefs.h | sed '
6566 s/'"$ac_delim"'/"\\\
6567 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6570 for (key in D) D_is_set[key] = 1
6573 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6575 split(line, arg, " ")
6576 if (arg[1] == "#") {
6580 defundef = substr(arg[1], 2)
6583 split(mac1, mac2, "(") #)
6585 prefix = substr(line, 1, index(line, defundef) - 1)
6586 if (D_is_set[macro]) {
6587 # Preserve the white space surrounding the "#".
6588 print prefix "define", macro P[macro] D[macro]
6591 # Replace #undef with comments. This is necessary, for example,
6592 # in the case of _POSIX_SOURCE, which is predefined and required
6593 # on some systems where configure will not decide to define it.
6594 if (defundef == "undef") {
6595 print "/*", prefix defundef, macro, "*/"
6603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6604 as_fn_error "could not setup config headers machinery" "$LINENO" 5
6605 fi # test -n "$CONFIG_HEADERS"
6608 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6613 :[FHLC]) ac_mode=$ac_tag; continue;;
6615 case $ac_mode$ac_tag in
6617 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6618 :[FH]-) ac_tag=-:-;;
6619 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6636 -) ac_f="$tmp/stdin";;
6637 *) # Look for the file first in the build tree, then in the source tree
6638 # (if the path is not absolute). The absolute path cannot be DOS-style,
6639 # because $ac_f cannot contain `:'.
6643 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6645 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6647 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6648 as_fn_append ac_file_inputs " '$ac_f'"
6651 # Let's still pretend it is `configure' which instantiates (i.e., don't
6652 # use $as_me), people would be surprised to read:
6653 # /* config.h. Generated by config.status. */
6654 configure_input='Generated from '`
6655 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6657 if test x"$ac_file" != x-; then
6658 configure_input="$ac_file. $configure_input"
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6660 $as_echo "$as_me: creating $ac_file" >&6;}
6662 # Neutralize special characters interpreted by sed in replacement strings.
6663 case $configure_input in #(
6664 *\&* | *\|* | *\\* )
6665 ac_sed_conf_input=`$as_echo "$configure_input" |
6666 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6667 *) ac_sed_conf_input=$configure_input;;
6671 *:-:* | *:-) cat >"$tmp/stdin" \
6672 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6677 ac_dir=`$as_dirname -- "$ac_file" ||
6678 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6679 X"$ac_file" : 'X\(//\)[^/]' \| \
6680 X"$ac_file" : 'X\(//\)$' \| \
6681 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6682 $as_echo X"$ac_file" |
6683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6700 as_dir="$ac_dir"; as_fn_mkdir_p
6704 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6706 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6707 # A ".." for each directory in $ac_dir_suffix.
6708 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6709 case $ac_top_builddir_sub in
6710 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6711 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6714 ac_abs_top_builddir=$ac_pwd
6715 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6716 # for backward compatibility:
6717 ac_top_builddir=$ac_top_build_prefix
6720 .) # We are building in place.
6722 ac_top_srcdir=$ac_top_builddir_sub
6723 ac_abs_top_srcdir=$ac_pwd ;;
6724 [\\/]* | ?:[\\/]* ) # Absolute name.
6725 ac_srcdir=$srcdir$ac_dir_suffix;
6726 ac_top_srcdir=$srcdir
6727 ac_abs_top_srcdir=$srcdir ;;
6729 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6730 ac_top_srcdir=$ac_top_build_prefix$srcdir
6731 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6733 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6743 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6744 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6749 # If the template does not know about datarootdir, expand it.
6750 # FIXME: This hack should be removed a few years after 2.60.
6751 ac_datarootdir_hack=; ac_datarootdir_seen=
6762 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6763 *datarootdir*) ac_datarootdir_seen=yes;;
6764 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6766 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6769 ac_datarootdir_hack='
6770 s&@datadir@&$datadir&g
6771 s&@docdir@&$docdir&g
6772 s&@infodir@&$infodir&g
6773 s&@localedir@&$localedir&g
6774 s&@mandir@&$mandir&g
6775 s&\\\${datarootdir}&$datarootdir&g' ;;
6779 # Neutralize VPATH when `$srcdir' = `.'.
6780 # Shell code in configure.ac might set extrasub.
6781 # FIXME: do we really want to maintain this feature?
6782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6783 ac_sed_extra="$ac_vpsub
6786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6788 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6789 s|@configure_input@|$ac_sed_conf_input|;t t
6790 s&@top_builddir@&$ac_top_builddir_sub&;t t
6791 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6792 s&@srcdir@&$ac_srcdir&;t t
6793 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6794 s&@top_srcdir@&$ac_top_srcdir&;t t
6795 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6796 s&@builddir@&$ac_builddir&;t t
6797 s&@abs_builddir@&$ac_abs_builddir&;t t
6798 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6799 s&@INSTALL@&$ac_INSTALL&;t t
6800 $ac_datarootdir_hack
6802 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6803 || as_fn_error "could not create $ac_file" "$LINENO" 5
6805 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6806 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6807 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6809 which seems to be undefined. Please make sure it is defined." >&5
6810 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6811 which seems to be undefined. Please make sure it is defined." >&2;}
6815 -) cat "$tmp/out" && rm -f "$tmp/out";;
6816 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6818 || as_fn_error "could not create $ac_file" "$LINENO" 5
6824 if test x"$ac_file" != x-; then
6826 $as_echo "/* $configure_input */" \
6827 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6828 } >"$tmp/config.h" \
6829 || as_fn_error "could not create $ac_file" "$LINENO" 5
6830 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6832 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6835 mv "$tmp/config.h" "$ac_file" \
6836 || as_fn_error "could not create $ac_file" "$LINENO" 5
6839 $as_echo "/* $configure_input */" \
6840 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6841 || as_fn_error "could not create -" "$LINENO" 5
6843 # Compute "$ac_file"'s index in $config_headers.
6845 for _am_header in $config_headers :; do
6847 "$ac_file" | "$ac_file":* )
6850 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6853 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
6854 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6855 X"$ac_file" : 'X\(//\)[^/]' \| \
6856 X"$ac_file" : 'X\(//\)$' \| \
6857 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6858 $as_echo X"$ac_file" |
6859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6875 s/.*/./; q'`/stamp-h$_am_stamp_count
6878 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6879 $as_echo "$as_me: executing $ac_file commands" >&6;}
6884 case $ac_file$ac_mode in
6885 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6886 # Strip MF so we end up with the name of the file.
6887 mf=`echo "$mf" | sed -e 's/:.*$//'`
6888 # Check whether this is an Automake generated Makefile or not.
6889 # We used to match only the files named `Makefile.in', but
6890 # some people rename them; so instead we look at the file content.
6891 # Grep'ing the first line is not enough: some people post-process
6892 # each Makefile.in and add a new line on top of each file to say so.
6893 # So let's grep whole file.
6894 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6895 dirpart=`$as_dirname -- "$mf" ||
6896 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6897 X"$mf" : 'X\(//\)[^/]' \| \
6898 X"$mf" : 'X\(//\)$' \| \
6899 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6921 # Extract the definition of DEPDIR, am__include, and am__quote
6922 # from the Makefile without running `make'.
6923 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6924 test -z "$DEPDIR" && continue
6925 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6926 test -z "am__include" && continue
6927 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6928 # When using ansi2knr, U may be empty or an underscore; expand it
6929 U=`sed -n 's/^U = //p' < "$mf"`
6930 # Find all dependency output files, they are included files with
6931 # $(DEPDIR) in their names. We invoke sed twice because it is the
6932 # simplest approach to changing $(DEPDIR) to its actual value in the
6934 for file in `sed -n "
6935 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6936 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6937 # Make sure the directory exists.
6938 test -f "$dirpart/$file" && continue
6939 fdir=`$as_dirname -- "$file" ||
6940 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6941 X"$file" : 'X\(//\)[^/]' \| \
6942 X"$file" : 'X\(//\)$' \| \
6943 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6962 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6963 # echo "creating $dirpart/$file"
6964 echo '# dummy' > "$dirpart/$file"
6975 ac_clean_files=$ac_clean_files_save
6977 test $ac_write_fail = 0 ||
6978 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6981 # configure is writing to config.log, and then calls config.status.
6982 # config.status does its own redirection, appending to config.log.
6983 # Unfortunately, on DOS this fails, as config.log is still kept open
6984 # by configure, so config.status won't be able to write to it; its
6985 # output is simply discarded. So we exec the FD to /dev/null,
6986 # effectively closing config.log, so it can be properly (re)opened and
6987 # appended to by config.status. When coming back to configure, we
6988 # need to make the FD available again.
6989 if test "$no_create" != yes; then
6991 ac_config_status_args=
6992 test "$silent" = yes &&
6993 ac_config_status_args="$ac_config_status_args --quiet"
6995 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6997 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6998 # would make configure fail if this is the last instruction.
6999 $ac_cs_success || as_fn_exit $?
7001 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7003 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7007 if echo $VERSION | grep 'pre' ; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7009 ******************************************************************************
7011 This is a pre-release version. Pre-releases are subject to limited
7012 announcements, and therefore limited circulation, as a means of testing
7013 the more widely circulated final releases.
7015 Please do not be surprised if this release is broken, and if it is broken, do
7016 not assume that someone else has spotted it. Instead, please drop a note on
7017 the mailing list, or a brief email to me on pdw@ex-parrot.com
7019 Thank you for taking the time to be the testing phase of this development
7024 ******************************************************************************
7026 $as_echo "$as_me: WARNING:
7027 ******************************************************************************
7029 This is a pre-release version. Pre-releases are subject to limited
7030 announcements, and therefore limited circulation, as a means of testing
7031 the more widely circulated final releases.
7033 Please do not be surprised if this release is broken, and if it is broken, do
7034 not assume that someone else has spotted it. Instead, please drop a note on
7035 the mailing list, or a brief email to me on pdw@ex-parrot.com
7037 Thank you for taking the time to be the testing phase of this development
7042 ******************************************************************************