• Home
  • Raw
  • Download

Lines Matching +full:print +full:- +full:flags +full:. +full:pcap

2 # From configure.in Revision: 1.120.2.13 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
34 # Avoid depending upon Character Ranges.
41 # The user is always right.
43 echo "#! /bin/sh" >conf$$.sh
44 echo "exit 0" >>conf$$.sh
45 chmod +x conf$$.sh
46 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51 rm -f conf$$.sh
54 # Support unset when possible.
63 # We need space, tab and new line, in precisely that order. Quoting is
64 # there to prevent editors from complaining about space-tab.
66 # splitting by setting IFS to empty value.)
71 # Find who we are. Look in the path if we contain no directory separator.
78 test -z "$as_dir" && as_dir=.
79 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # in which case we are not to be found in the path.
90 if test ! -f "$as_myself"; then
95 # Work around bugs in pre-3.0 UWIN ksh.
103 # NLS nuisances.
109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
116 # Required to use basename.
118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
131 # Name of the executable.
132 as_me=`$as_basename -- "$0" ||
133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 sed '/^.*\/\([^/][^/]*\)\/*$/{
145 /^X\/\(\/\).*/{
149 s/.*/./; q'`
151 # CDPATH.
184 echo as_func_success failed.
189 echo as_func_failure succeeded.
196 echo as_func_ret_success failed.
201 echo as_func_ret_failure succeeded.
208 echo positional parameters were not saved.
226 test -z "$as_dir" && as_dir=.
238 # Try only shells that exist, to save several forks.
239 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245 # is contrary to our usage. Disable this feature.
246 alias -g '${1+"$@"}'='"$@"'
249 case `(set -o) 2>/dev/null` in
250 *posix*) set -o posix ;;
262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix*) set -o posix ;;
299 echo as_func_success failed.
304 echo as_func_failure succeeded.
311 echo as_func_ret_success failed.
316 echo as_func_ret_failure succeeded.
323 echo positional parameters were not saved.
354 echo shells that I found on your system. Please install a
356 echo shell if you do have one.
388 echo as_func_success failed.
393 echo as_func_failure succeeded.
400 echo as_func_ret_success failed.
405 echo as_func_ret_failure succeeded.
412 echo positional parameters were not saved.
416 echo No shell found that supports shell functions.
417 echo Please tell autoconf@gnu.org about your system,
429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
430 # uniformly replaced by the line number. The first 'sed' inserts a
431 # line-number line after each line using $LINENO; the second 'sed'
432 # does the real work. The second script uses 'N' to pair each
433 # line-number line with the line containing $LINENO, and appends
434 # trailing '-' during substitution so that $LINENO is not a special
435 # case at line end.
437 # scripts with optimization help from Paolo Bonzini. Blame Lee
438 # E. McMahon (1931-1989) for sed's syntax. :-)
439 sed -n '
444 s/[$]LINENO.*/&-/
450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 s/-\n.*//
453 ' >$as_me.lineno &&
454 chmod +x "$as_me.lineno" ||
455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
460 # original and so on. Autoconf is especially sensitive to this).
461 . "./$as_me.lineno"
462 # Exit status is that of the last command.
467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 case `echo -n x` in
475 -n*)
477 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
481 ECHO_N='-n';;
485 test "X`expr 00001 : '.*\(...\)'`" = X001; then
491 rm -f conf$$ conf$$.exe conf$$.file
492 if test -d conf$$.dir; then
493 rm -f conf$$.dir/conf$$.file
495 rm -f conf$$.dir
496 mkdir conf$$.dir
498 echo >conf$$.file
499 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 as_ln_s='ln -s'
501 # ... but there are two gotchas:
502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504 # In both cases, we have to default to `cp -p'.
505 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 as_ln_s='cp -p'
507 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s='cp -p'
512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
513 rmdir conf$$.dir 2>/dev/null
515 if mkdir -p . 2>/dev/null; then
518 test -d ./-p && rmdir ./-p
522 if test -x / >/dev/null 2>&1; then
523 as_test_x='test -x'
525 if ls -dL / >/dev/null 2>&1; then
531 eval sh -c '\''
532 if test -d "$1"; then
533 test -d "$1/.";
536 -*)set "./$1";;
538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
545 # Sed expression to map a string onto a valid CPP name.
548 # Sed expression to map a string onto a valid variable name.
555 # Name of the host.
556 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557 # so uname gets run too.
558 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 # Initializations.
565 ac_config_libobj_dir=.
571 SHELL=${CONFIG_SHELL-/bin/sh}
573 # Identity of this package.
580 ac_unique_file="pcap.c"
581 # Factoring default headers for most tests.
583 #include <stdio.h>
585 # include <sys/types.h>
588 # include <sys/stat.h>
591 # include <stdlib.h>
592 # include <stddef.h>
595 # include <stdlib.h>
600 # include <memory.h>
602 # include <string.h>
605 # include <strings.h>
608 # include <inttypes.h>
611 # include <stdint.h>
614 # include <unistd.h>
707 # Initialize some variables set by options.
711 # dashes changed to underlines.
727 # Installation directory options.
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
765 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
769 # Accept the important Cygnus configure options, so we can diagnose typos.
772 --)
775 -bindir | --bindir | --bindi | --bind | --bin | --bi)
777 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
780 -build | --build | --buil | --bui | --bu)
782 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
785 -cache-file | --cache-file | --cache-fil | --cache-fi \
786 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
789 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
792 --config-cache | -C)
793 cache_file=config.cache ;;
795 -datadir | --datadir | --datadi | --datad)
797 -datadir=* | --datadir=* | --datadi=* | --datad=*)
800 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
801 | --dataroo | --dataro | --datar)
803 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
804 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
807 -disable-* | --disable-*)
808 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
809 # Reject names that are not valid shell variable names.
810 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
813 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
816 -docdir | --docdir | --docdi | --doc | --do)
818 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
821 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
823 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
826 -enable-* | --enable-*)
827 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
837 | --exec | --exe | --ex)
839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
841 | --exec=* | --exe=* | --ex=*)
844 -gas | --gas | --ga | --g)
845 # Obsolete; use --with-gas.
848 -help | --help | --hel | --he | -h)
850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
855 -host | --host | --hos | --ho)
857 -host=* | --host=* | --hos=* | --ho=*)
860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
863 | --ht=*)
866 -includedir | --includedir | --includedi | --included | --include \
867 | --includ | --inclu | --incl | --inc)
869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
870 | --includ=* | --inclu=* | --incl=* | --inc=*)
873 -infodir | --infodir | --infodi | --infod | --info | --inf)
875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
878 -libdir | --libdir | --libdi | --libd)
880 -libdir=* | --libdir=* | --libdi=* | --libd=*)
883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
884 | --libexe | --libex | --libe)
886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
887 | --libexe=* | --libex=* | --libe=*)
890 -localedir | --localedir | --localedi | --localed | --locale)
892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
895 -localstatedir | --localstatedir | --localstatedi | --localstated \
896 | --localstate | --localstat | --localsta | --localst | --locals)
898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
907 -nfp | --nfp | --nf)
908 # Obsolete; use --without-fp.
911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912 | --no-cr | --no-c | -n)
915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
921 | --oldin | --oldi | --old | --ol | --o)
923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
933 -program-prefix | --program-prefix | --program-prefi | --program-pref \
934 | --program-pre | --program-pr | --program-p)
936 -program-prefix=* | --program-prefix=* | --program-prefi=* \
937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
940 -program-suffix | --program-suffix | --program-suffi | --program-suff \
941 | --program-suf | --program-su | --program-s)
943 -program-suffix=* | --program-suffix=* | --program-suffi=* \
944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
947 -program-transform-name | --program-transform-name \
948 | --program-transform-nam | --program-transform-na \
949 | --program-transform-n | --program-transform- \
950 | --program-transform | --program-transfor \
951 | --program-transfo | --program-transf \
952 | --program-trans | --program-tran \
953 | --progr-tra | --program-tr | --program-t)
955 -program-transform-name=* | --program-transform-name=* \
956 | --program-transform-nam=* | --program-transform-na=* \
957 | --program-transform-n=* | --program-transform-=* \
958 | --program-transform=* | --program-transfor=* \
959 | --program-transfo=* | --program-transf=* \
960 | --program-trans=* | --program-tran=* \
961 | --progr-tra=* | --program-tr=* | --program-t=*)
964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
969 -psdir | --psdir | --psdi | --psd | --ps)
971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975 | -silent | --silent | --silen | --sile | --sil)
978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
981 | --sbi=* | --sb=*)
984 -sharedstatedir | --sharedstatedir | --sharedstatedi \
985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986 | --sharedst | --shareds | --shared | --share | --shar \
987 | --sha | --sh)
989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
992 | --sha=* | --sh=*)
995 -site | --site | --sit)
997 -site=* | --site=* | --sit=*)
1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006 | --syscon | --sysco | --sysc | --sys | --sy)
1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1012 -target | --target | --targe | --targ | --tar | --ta | --t)
1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1017 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1020 -version | --version | --versio | --versi | --vers | -V)
1023 -with-* | --with-*)
1024 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1029 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1032 -without-* | --without-*)
1033 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1038 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1041 --x)
1042 # Obsolete; use --with-x.
1045 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1046 | --x-incl | --x-inc | --x-in | --x-i)
1048 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1049 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1052 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1053 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1055 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1056 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1059 -*) { echo "$as_me: error: unrecognized option: $ac_option
1060 Try \`$0 --help' for more information." >&2
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1074 # FIXME: should be removed in autoconf 3.0.
1075 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1076 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1084 if test -n "$ac_prev"; then
1085 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1090 # Be sure to have absolute directory names.
1101 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1106 # used to hold the argument of --host etc.
1107 # FIXME: To remove some day.
1112 # FIXME: To remove some day.
1116 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1117 If a cross compiler is detected then cross compile mode will be used." >&2
1124 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1129 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1130 ac_ls_di=`ls -di .` &&
1131 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1139 # Find the source files, if location was not specified.
1140 if test -z "$srcdir"; then
1142 # Try the directory containing this script, then the parent directory.
1143 ac_confdir=`$as_dirname -- "$0" ||
1144 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1147 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1153 /^X\(\/\/\)[^/].*/{
1161 /^X\(\/\).*/{
1165 s/.*/./; q'`
1167 if test ! -r "$srcdir/$ac_unique_file"; then
1168 srcdir=..
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1174 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1183 # When building in place, set srcdir=.
1185 srcdir=.
1187 # Remove unnecessary trailing slashes from srcdir.
1189 # mess up M-x gdb in Emacs.
1191 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1201 # Report the --help message.
1204 # Omit some internal or obsolete options to make the list less imposing.
1205 # This message is too long to be a string in the A/UX 3.1 sh.
1207 \`configure' configures this package to adapt to many kinds of systems.
1209 Usage: $0 [OPTION]... [VAR=VALUE]...
1211 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1212 VAR=VALUE. See below for descriptions of some of the useful variables.
1214 Defaults for the options are specified in brackets.
1217 -h, --help display this help and exit
1218 --help=short display options specific to this package
1219 --help=recursive display the short help of all the included packages
1220 -V, --version display version information and exit
1221 -q, --quiet, --silent do not print \`checking...' messages
1222 --cache-file=FILE cache test results in FILE [disabled]
1223 -C, --config-cache alias for \`--cache-file=config.cache'
1224 -n, --no-create do not create output files
1225 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1228 --prefix=PREFIX install architecture-independent files in PREFIX
1230 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1234 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1235 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1236 for instance \`--prefix=\$HOME'.
1238 For better control, use the options below.
1241 --bindir=DIR user executables [EPREFIX/bin]
1242 --sbindir=DIR system admin executables [EPREFIX/sbin]
1243 --libexecdir=DIR program executables [EPREFIX/libexec]
1244 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1245 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1246 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1247 --libdir=DIR object code libraries [EPREFIX/lib]
1248 --includedir=DIR C header files [PREFIX/include]
1249 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1250 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1251 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1252 --infodir=DIR info documentation [DATAROOTDIR/info]
1253 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1254 --mandir=DIR man documentation [DATAROOTDIR/man]
1255 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1256 --htmldir=DIR html documentation [DOCDIR]
1257 --dvidir=DIR dvi documentation [DOCDIR]
1258 --pdfdir=DIR pdf documentation [DOCDIR]
1259 --psdir=DIR ps documentation [DOCDIR]
1265 --build=BUILD configure for building on BUILD [guessed]
1266 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1267 --target=TARGET configure for building compilers for TARGET [HOST]
1271 if test -n "$ac_init_help"; then
1276 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1277 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1278 --disable-protochain disable \"protochain\" insn
1279 --enable-ipv6 build IPv6-capable version
1280 --enable-optimizer-dbg build optimizer debugging code
1281 --enable-yydebug build parser debugging code
1284 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1285 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1286 --without-gcc don't use gcc
1287 --with-pcap=TYPE use packet capture TYPE
1288--with-dag[=DIR] include Endace DAG support ("yes", "no" or DIR; default="yes" on BSD and L…
1289 --with-dag-includes=DIR Endace DAG include directory
1290 --with-dag-libraries=DIR Endace DAG library directory
1291--with-septel[=DIR] include Septel support (located in directory DIR, if supplied). default=y…
1292 --without-flex don't use flex
1293 --without-bison don't use bison
1297 CFLAGS C compiler flags
1298 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1300 LIBS libraries to pass to the linker, e.g. -l<library>
1301 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1306 it to find libraries and programs with nonstandard names/locations.
1313 # If there are subdirs, report their specific --help.
1315 test -d "$ac_dir" || continue
1316 ac_builddir=.
1319 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1322 # A ".." for each directory in $ac_dir_suffix.
1323 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1325 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 .) # We are building in place.
1336 ac_srcdir=.
1339 [\\/]* | ?:[\\/]* ) # Absolute name.
1343 *) # Relative name.
1351 # Check for guested configure.
1352 if test -f "$ac_srcdir/configure.gnu"; then
1354 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1355 elif test -f "$ac_srcdir/configure"; then
1357 $SHELL "$ac_srcdir/configure" --help=recursive
1365 test -n "$ac_init_help" && exit $ac_status
1372 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1374 gives unlimited permission to copy, distribute and modify it.
1378 cat >config.log <<_ACEOF
1380 running configure, to aid debugging if configure makes a mistake.
1383 generated by GNU Autoconf 2.61. Invocation command line was
1388 exec 5>>config.log
1391 ## --------- ##
1392 ## Platform. ##
1393 ## --------- ##
1395 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1396 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1397 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1398 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1399 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1401 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1402 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1405 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1418 test -z "$as_dir" && as_dir=.
1428 ## ----------- ##
1429 ## Core tests. ##
1430 ## ----------- ##
1435 # Keep a trace of the command line.
1436 # Strip out --no-create and --no-recursion so they do not pile up.
1437 # Strip out --silent because we don't want to record it for future runs.
1438 # Also quote any args containing shell meta-characters.
1439 # Make two passes to allow for proper duplicate-argument suppression.
1449 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1450 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1451 | -silent | --silent | --silen | --sile | --sil)
1461 ac_must_keep_next=false # Got value, back to normal.
1464 *=* | --config-cache | -C | -disable-* | --disable-* \
1465 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1466 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1467 | -with-* | --with-* | -without-* | --without-* | --x)
1472 -* ) ac_must_keep_next=true ;;
1484 # config.log. We remove comments because anyway the quotes in there
1485 # would cause problems or look ugly.
1486 # WARNING: Use '\'' to represent an apostrophe within the trap.
1487 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1489 # Save into config.log some information that might help in debugging.
1494 ## ---------------- ##
1495 ## Cache variables. ##
1496 ## ---------------- ##
1501 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1506 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1507 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1518 sed -n \
1520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1523 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1531 ## ----------------- ##
1532 ## Output variables. ##
1533 ## ----------------- ##
1546 if test -n "$ac_subst_files"; then
1548 ## ------------------- ##
1549 ## File substitutions. ##
1550 ## ------------------- ##
1564 if test -s confdefs.h; then
1566 ## ----------- ##
1567 ## confdefs.h. ##
1568 ## ----------- ##
1571 cat confdefs.h
1578 rm -f core *.core core.conftest.* &&
1579 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1587 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1588 rm -f -r conftest* confdefs.h
1590 # Predefined preprocessor variables.
1592 cat >>confdefs.h <<_ACEOF
1597 cat >>confdefs.h <<_ACEOF
1602 cat >>confdefs.h <<_ACEOF
1607 cat >>confdefs.h <<_ACEOF
1612 cat >>confdefs.h <<_ACEOF
1617 # Let the site file select an alternate cache file if it wants to.
1618 # Prefer explicitly selected file to automatically selected ones.
1619 if test -n "$CONFIG_SITE"; then
1622 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1624 set x "$ac_default_prefix/share/config.site" \
1625 "$ac_default_prefix/etc/config.site"
1630 if test -r "$ac_site_file"; then
1634 . "$ac_site_file"
1638 if test -r "$cache_file"; then
1640 # files actually), so we avoid doing that.
1641 if test -f "$cache_file"; then
1645 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1646 *) . "./$cache_file";;
1656 # value.
1684 # Pass precious variables to config.status.
1691 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1729 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1730 if test -f "$ac_dir/install-sh"; then
1732 ac_install_sh="$ac_aux_dir/install-sh -c"
1734 elif test -f "$ac_dir/install.sh"; then
1736 ac_install_sh="$ac_aux_dir/install.sh -c"
1738 elif test -f "$ac_dir/shtool"; then
1740 ac_install_sh="$ac_aux_dir/shtool install -c"
1744 if test -z "$ac_aux_dir"; then
1745 …o "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$sr…
1746 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/.…
1751 # and are intended to be withdrawn in a future Autoconf release.
1753 # whose full name contains unusual characters.
1754 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1755 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1756 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1759 # Make sure we can run config.sub.
1760 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1761 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1762 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1766 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1772 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1777 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1778 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1779 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1786 *-*-*) ;;
1792 ac_save_IFS=$IFS; IFS='-'
1802 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1806 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1813 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1814 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1815 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1823 *-*-*) ;;
1829 ac_save_IFS=$IFS; IFS='-'
1839 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1843 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1850 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1851 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1852 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1860 *-*-*) ;;
1866 ac_save_IFS=$IFS; IFS='-'
1876 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1879 # The aliases save the names the user supplied, while $host etc.
1880 # will get canonicalized.
1881 test -n "$target_alias" &&
1884 program_prefix=${target_alias}-
1891 # Check whether --with-gcc was given.
1896 V_CCOPT="-O"
1898 if test "${srcdir}" != "." ; then
1899 V_INCLS="-I\$(srcdir)"
1904 if test -z "$CC" ; then
1908 # Extract the first word of "shlicc2", so it can be a program name with args.
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1915 if test -n "$SHLICC2"; then
1916 ac_cv_prog_SHLICC2="$SHLICC2" # Let the user override the test.
1922 test -z "$as_dir" && as_dir=.
1924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1933 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2="no"
1937 if test -n "$SHLICC2"; then
1953 if test -z "$CC" -a "$with_gcc" = no ; then
1959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1962 if test -n "$ac_tool_prefix"; then
1963 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1970 if test -n "$CC"; then
1971 ac_cv_prog_CC="$CC" # Let the user override the test.
1977 test -z "$as_dir" && as_dir=.
1979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1991 if test -n "$CC"; then
2001 if test -z "$ac_cv_prog_CC"; then
2003 # Extract the first word of "gcc", so it can be a program name with args.
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2010 if test -n "$ac_ct_CC"; then
2011 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2017 test -z "$as_dir" && as_dir=.
2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2031 if test -n "$ac_ct_CC"; then
2044 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2045 whose name does not start with the host triplet. If you think this
2046 configuration is useful to you, please write to autoconf@gnu.org." >&5
2047 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2048 whose name does not start with the host triplet. If you think this
2049 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2058 if test -z "$CC"; then
2059 if test -n "$ac_tool_prefix"; then
2060 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2067 if test -n "$CC"; then
2068 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 test -z "$as_dir" && as_dir=.
2076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2088 if test -n "$CC"; then
2099 if test -z "$CC"; then
2100 # Extract the first word of "cc", so it can be a program name with args.
2103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2107 if test -n "$CC"; then
2108 ac_cv_prog_CC="$CC" # Let the user override the test.
2115 test -z "$as_dir" && as_dir=.
2117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2131 # We found a bogon in the path, so make sure we never use it.
2135 # We chose a different compiler from the bogus one.
2137 # first if we set CC to just the basename; use the full file name.
2145 if test -n "$CC"; then
2155 if test -z "$CC"; then
2156 if test -n "$ac_tool_prefix"; then
2157 for ac_prog in cl.exe
2159 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test -n "$CC"; then
2167 ac_cv_prog_CC="$CC" # Let the user override the test.
2173 test -z "$as_dir" && as_dir=.
2175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2187 if test -n "$CC"; then
2196 test -n "$CC" && break
2199 if test -z "$CC"; then
2201 for ac_prog in cl.exe
2203 # Extract the first word of "$ac_prog", so it can be a program name with args.
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2210 if test -n "$ac_ct_CC"; then
2211 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2217 test -z "$as_dir" && as_dir=.
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231 if test -n "$ac_ct_CC"; then
2240 test -n "$ac_ct_CC" && break
2248 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2249 whose name does not start with the host triplet. If you think this
2250 configuration is useful to you, please write to autoconf@gnu.org." >&5
2251 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2252 whose name does not start with the host triplet. If you think this
2253 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2263 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2264 See \`config.log' for more details." >&5
2266 See \`config.log' for more details." >&2;}
2269 # Provide some information about the compiler.
2272 { (ac_try="$ac_compiler --version >&5"
2278 (eval "$ac_compiler --version >&5") 2>&5
2282 { (ac_try="$ac_compiler -v >&5"
2288 (eval "$ac_compiler -v >&5") 2>&5
2292 { (ac_try="$ac_compiler -V >&5"
2298 (eval "$ac_compiler -V >&5") 2>&5
2303 cat >conftest.$ac_ext <<_ACEOF
2304 /* confdefs.h. */
2306 cat confdefs.h >>conftest.$ac_ext
2307 cat >>conftest.$ac_ext <<_ACEOF
2308 /* end confdefs.h. */
2319 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2320 # Try to create an executable without -o first, disregard a.out.
2322 # of exeext.
2324 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2325 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2327 # List of possible output files, starting from the most likely.
2328 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2329 # only as a last resort. b.out is created by i960 compilers.
2330 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2333 # executable, retaining their permissions. Remove them first so a
2334 # subsequent execution test works.
2339 …*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) …
2343 rm -f $ac_rmfiles
2355 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2357 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2358 # so that the user can short-circuit this test for compilers unknown to
2359 # Autoconf.
2362 test -f "$ac_file" || continue
2364 … *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2366 [ab].out )
2368 # certainly right.
2370 *.* )
2373 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2376 # safe: cross compilers may not add the suffix if given an `-o'
2377 # argument, so we may need to know it at that point already.
2379 # actually working.
2393 if test -z "$ac_file"; then
2395 sed 's/^/| /' conftest.$ac_ext >&5
2398 See \`config.log' for more details." >&5
2400 See \`config.log' for more details." >&2;}
2406 # Check that the compiler produces executables we can run. If not, either
2407 # the compiler is broken, or we cross compile.
2409 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2411 # If not cross compiling, check that we can run a simple program.
2413 if { ac_try='./$ac_file'
2428 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2429 If you meant to cross compile, use \`--host'.
2430 See \`config.log' for more details." >&5
2431 echo "$as_me: error: cannot run C compiled programs.
2432 If you meant to cross compile, use \`--host'.
2433 See \`config.log' for more details." >&2;}
2441 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2443 # Check that the compiler produces executables we can run. If not, either
2444 # the compiler is broken, or we cross compile.
2446 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2451 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2462 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2463 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2464 # work properly (i.e., refer to `conftest.exe'), while it won't with
2465 # `rm'.
2466 for ac_file in conftest.exe conftest conftest.*; do
2467 test -f "$ac_file" || continue
2469 …*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) …
2470 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 See \`config.log' for more details." >&5
2479 See \`config.log' for more details." >&2;}
2483 rm -f conftest$ac_cv_exeext
2487 rm -f conftest.$ac_ext
2491 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2495 cat >conftest.$ac_ext <<_ACEOF
2496 /* confdefs.h. */
2498 cat confdefs.h >>conftest.$ac_ext
2499 cat >>conftest.$ac_ext <<_ACEOF
2500 /* end confdefs.h. */
2510 rm -f conftest.o conftest.obj
2521 for ac_file in conftest.o conftest.obj conftest.*; do
2522 test -f "$ac_file" || continue;
2524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2525 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2531 sed 's/^/| /' conftest.$ac_ext >&5
2534 See \`config.log' for more details." >&5
2536 See \`config.log' for more details." >&2;}
2540 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2547 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2551 cat >conftest.$ac_ext <<_ACEOF
2552 /* confdefs.h. */
2554 cat confdefs.h >>conftest.$ac_ext
2555 cat >>conftest.$ac_ext <<_ACEOF
2556 /* end confdefs.h. */
2569 rm -f conftest.$ac_objext
2576 (eval "$ac_compile") 2>conftest.er1
2578 grep -v '^ *+' conftest.er1 >conftest.err
2579 rm -f conftest.er1
2580 cat conftest.err >&5
2583 test -z "$ac_c_werror_flag" ||
2584 test ! -s conftest.err
2585 } && test -s conftest.$ac_objext; then
2589 sed 's/^/| /' conftest.$ac_ext >&5
2594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2603 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2604 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2611 CFLAGS="-g"
2612 cat >conftest.$ac_ext <<_ACEOF
2613 /* confdefs.h. */
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2627 rm -f conftest.$ac_objext
2634 (eval "$ac_compile") 2>conftest.er1
2636 grep -v '^ *+' conftest.er1 >conftest.err
2637 rm -f conftest.er1
2638 cat conftest.err >&5
2641 test -z "$ac_c_werror_flag" ||
2642 test ! -s conftest.err
2643 } && test -s conftest.$ac_objext; then
2647 sed 's/^/| /' conftest.$ac_ext >&5
2650 cat >conftest.$ac_ext <<_ACEOF
2651 /* confdefs.h. */
2653 cat confdefs.h >>conftest.$ac_ext
2654 cat >>conftest.$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2665 rm -f conftest.$ac_objext
2672 (eval "$ac_compile") 2>conftest.er1
2674 grep -v '^ *+' conftest.er1 >conftest.err
2675 rm -f conftest.er1
2676 cat conftest.err >&5
2679 test -z "$ac_c_werror_flag" ||
2680 test ! -s conftest.err
2681 } && test -s conftest.$ac_objext; then
2685 sed 's/^/| /' conftest.$ac_ext >&5
2688 CFLAGS="-g"
2689 cat >conftest.$ac_ext <<_ACEOF
2690 /* confdefs.h. */
2692 cat confdefs.h >>conftest.$ac_ext
2693 cat >>conftest.$ac_ext <<_ACEOF
2694 /* end confdefs.h. */
2704 rm -f conftest.$ac_objext
2711 (eval "$ac_compile") 2>conftest.er1
2713 grep -v '^ *+' conftest.er1 >conftest.err
2714 rm -f conftest.er1
2715 cat conftest.err >&5
2718 test -z "$ac_c_werror_flag" ||
2719 test ! -s conftest.err
2720 } && test -s conftest.$ac_objext; then
2724 sed 's/^/| /' conftest.$ac_ext >&5
2729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2744 CFLAGS="-g -O2"
2746 CFLAGS="-g"
2750 CFLAGS="-O2"
2756 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2762 cat >conftest.$ac_ext <<_ACEOF
2763 /* confdefs.h. */
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2768 #include <stdarg.h>
2769 #include <stdio.h>
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2791 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2792 function prototypes and stuff, but not '\xHH' hex character constants.
2794 as 'x'. The following induces an error, until -std is added to get
2795 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2796 array size at least. It's necessary to write '\x00'==0 to get something
2797 that's true only with -std. */
2798 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2800 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2801 inside strings and character constants. */
2803 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2819 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2820 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2823 rm -f conftest.$ac_objext
2830 (eval "$ac_compile") 2>conftest.er1
2832 grep -v '^ *+' conftest.er1 >conftest.err
2833 rm -f conftest.er1
2834 cat conftest.err >&5
2837 test -z "$ac_c_werror_flag" ||
2838 test ! -s conftest.err
2839 } && test -s conftest.$ac_objext; then
2843 sed 's/^/| /' conftest.$ac_ext >&5
2848 rm -f core conftest.err conftest.$ac_objext
2851 rm -f conftest.$ac_ext
2872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2879 V_CCOPT="-O2"
2882 echo $ECHO_N "checking gcc version... $ECHO_C" >&6; }
2886 ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \
2887 sed -e '/^gcc version /!d' \
2888 -e 's/^gcc version //' \
2889 -e 's/ .*//' -e 's/^[^0-9]*//' \
2890 -e 's/\..*//'`
2895 if test $ac_cv_lbl_gcc_vers -gt 1 ; then
2896 V_CCOPT="-O2"
2901 echo $ECHO_N "checking that $CC handles ansi prototypes... $ECHO_C" >&6; }
2906 cat >conftest.$ac_ext <<_ACEOF
2907 /* confdefs.h. */
2909 cat confdefs.h >>conftest.$ac_ext
2910 cat >>conftest.$ac_ext <<_ACEOF
2911 /* end confdefs.h. */
2912 #include <sys/types.h>
2921 rm -f conftest.$ac_objext
2928 (eval "$ac_compile") 2>conftest.er1
2930 grep -v '^ *+' conftest.er1 >conftest.err
2931 rm -f conftest.er1
2932 cat conftest.err >&5
2935 test -z "$ac_c_werror_flag" ||
2936 test ! -s conftest.err
2937 } && test -s conftest.$ac_objext; then
2941 sed 's/^/| /' conftest.$ac_ext >&5
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 { echo "$as_me:$LINENO: checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)" >&5
2956 echo $ECHO_N "checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)... $ECHO_C" >&6; }
2958 CFLAGS="-Aa -D_HPUX_SOURCE $CFLAGS"
2962 cat >conftest.$ac_ext <<_ACEOF
2963 /* confdefs.h. */
2965 cat confdefs.h >>conftest.$ac_ext
2966 cat >>conftest.$ac_ext <<_ACEOF
2967 /* end confdefs.h. */
2968 #include <sys/types.h>
2977 rm -f conftest.$ac_objext
2984 (eval "$ac_compile") 2>conftest.er1
2986 grep -v '^ *+' conftest.er1 >conftest.err
2987 rm -f conftest.er1
2988 cat conftest.err >&5
2991 test -z "$ac_c_werror_flag" ||
2992 test ! -s conftest.err
2993 } && test -s conftest.$ac_objext; then
2997 sed 's/^/| /' conftest.$ac_ext >&5
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 V_CCOPT="-Aa $V_CCOPT"
3015 cat >>confdefs.h <<\_ACEOF
3028 V_INCLS="$V_INCLS -I/usr/local/include"
3029 LDFLAGS="$LDFLAGS -L/usr/local/lib"
3034 V_CCOPT="$V_CCOPT -xansi -signed -g3"
3038 V_CCOPT="$V_CCOPT -std1 -g3"
3043 echo $ECHO_N "checking that Ultrix $CC hacks const in prototypes... $ECHO_C" >&6; }
3047 cat >conftest.$ac_ext <<_ACEOF
3048 /* confdefs.h. */
3050 cat confdefs.h >>conftest.$ac_ext
3051 cat >>conftest.$ac_ext <<_ACEOF
3052 /* end confdefs.h. */
3053 #include <sys/types.h>
3063 rm -f conftest.$ac_objext
3070 (eval "$ac_compile") 2>conftest.er1
3072 grep -v '^ *+' conftest.er1 >conftest.err
3073 rm -f conftest.er1
3074 cat conftest.err >&5
3077 test -z "$ac_c_werror_flag" ||
3078 test ! -s conftest.err
3079 } && test -s conftest.$ac_objext; then
3083 sed 's/^/| /' conftest.$ac_ext >&5
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094 cat >>confdefs.h <<\_ACEOF
3104 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3115 cat >conftest.$ac_ext <<_ACEOF
3116 /* confdefs.h. */
3118 cat confdefs.h >>conftest.$ac_ext
3119 cat >>conftest.$ac_ext <<_ACEOF
3120 /* end confdefs.h. */
3143 rm -f conftest.$ac_objext
3150 (eval "$ac_compile") 2>conftest.er1
3152 grep -v '^ *+' conftest.er1 >conftest.err
3153 rm -f conftest.er1
3154 cat conftest.err >&5
3157 test -z "$ac_c_werror_flag" ||
3158 test ! -s conftest.err
3159 } && test -s conftest.$ac_objext; then
3163 sed 's/^/| /' conftest.$ac_ext >&5
3168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3179 if test ! -z "$ac_cv_lbl_inline" ; then
3187 cat >>confdefs.h <<_ACEOF
3193 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6; }
3198 cat >conftest.$ac_ext <<_ACEOF
3199 /* confdefs.h. */
3201 cat confdefs.h >>conftest.$ac_ext
3202 cat >>conftest.$ac_ext <<_ACEOF
3203 /* end confdefs.h. */
3205 #include <stdlib.h>
3222 rm -f conftest.$ac_objext
3229 (eval "$ac_compile") 2>conftest.er1
3231 grep -v '^ *+' conftest.er1 >conftest.err
3232 rm -f conftest.er1
3233 cat conftest.err >&5
3236 test -z "$ac_c_werror_flag" ||
3237 test ! -s conftest.err
3238 } && test -s conftest.$ac_objext; then
3242 sed 's/^/| /' conftest.$ac_ext >&5
3247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3252 cat >>confdefs.h <<\_ACEOF
3256 V_DEFS="$V_DEFS -D_U_=\"__attribute__((unused))\""
3258 V_DEFS="$V_DEFS -D_U_=\"\""
3265 echo $ECHO_N "checking for u_int8_t using $CC... $ECHO_C" >&6; }
3269 cat >conftest.$ac_ext <<_ACEOF
3270 /* confdefs.h. */
3272 cat confdefs.h >>conftest.$ac_ext
3273 cat >>conftest.$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3276 # include "confdefs.h"
3277 # include <sys/types.h>
3279 # include <stdlib.h>
3280 # include <stddef.h>
3290 rm -f conftest.$ac_objext
3297 (eval "$ac_compile") 2>conftest.er1
3299 grep -v '^ *+' conftest.er1 >conftest.err
3300 rm -f conftest.er1
3301 cat conftest.err >&5
3304 test -z "$ac_c_werror_flag" ||
3305 test ! -s conftest.err
3306 } && test -s conftest.$ac_objext; then
3310 sed 's/^/| /' conftest.$ac_ext >&5
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 cat >>confdefs.h <<\_ACEOF
3328 echo $ECHO_N "checking for u_int16_t using $CC... $ECHO_C" >&6; }
3332 cat >conftest.$ac_ext <<_ACEOF
3333 /* confdefs.h. */
3335 cat confdefs.h >>conftest.$ac_ext
3336 cat >>conftest.$ac_ext <<_ACEOF
3337 /* end confdefs.h. */
3339 # include "confdefs.h"
3340 # include <sys/types.h>
3342 # include <stdlib.h>
3343 # include <stddef.h>
3353 rm -f conftest.$ac_objext
3360 (eval "$ac_compile") 2>conftest.er1
3362 grep -v '^ *+' conftest.er1 >conftest.err
3363 rm -f conftest.er1
3364 cat conftest.err >&5
3367 test -z "$ac_c_werror_flag" ||
3368 test ! -s conftest.err
3369 } && test -s conftest.$ac_objext; then
3373 sed 's/^/| /' conftest.$ac_ext >&5
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 cat >>confdefs.h <<\_ACEOF
3391 echo $ECHO_N "checking for u_int32_t using $CC... $ECHO_C" >&6; }
3395 cat >conftest.$ac_ext <<_ACEOF
3396 /* confdefs.h. */
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3402 # include "confdefs.h"
3403 # include <sys/types.h>
3405 # include <stdlib.h>
3406 # include <stddef.h>
3416 rm -f conftest.$ac_objext
3423 (eval "$ac_compile") 2>conftest.er1
3425 grep -v '^ *+' conftest.er1 >conftest.err
3426 rm -f conftest.er1
3427 cat conftest.err >&5
3430 test -z "$ac_c_werror_flag" ||
3431 test ! -s conftest.err
3432 } && test -s conftest.$ac_objext; then
3436 sed 's/^/| /' conftest.$ac_ext >&5
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 cat >>confdefs.h <<\_ACEOF
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3460 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3461 # On Suns, sometimes $CPP names a directory.
3462 if test -n "$CPP" && test -d "$CPP"; then
3465 if test -z "$CPP"; then
3470 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3476 # with a fresh cross-compiler works.
3477 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3478 # <limits.h> exists even on freestanding compilers.
3479 # On the NeXT, cc -E runs the code through the compiler's parser,
3480 # not just through cpp. "Syntax error" is here to catch this case.
3481 cat >conftest.$ac_ext <<_ACEOF
3482 /* confdefs.h. */
3484 cat confdefs.h >>conftest.$ac_ext
3485 cat >>conftest.$ac_ext <<_ACEOF
3486 /* end confdefs.h. */
3488 # include <limits.h>
3490 # include <assert.h>
3494 if { (ac_try="$ac_cpp conftest.$ac_ext"
3500 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3502 grep -v '^ *+' conftest.er1 >conftest.err
3503 rm -f conftest.er1
3504 cat conftest.err >&5
3507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3508 test ! -s conftest.err
3513 sed 's/^/| /' conftest.$ac_ext >&5
3515 # Broken: fails on valid input.
3519 rm -f conftest.err conftest.$ac_ext
3521 # OK, works on sane cases. Now check whether nonexistent headers
3522 # can be detected and how.
3523 cat >conftest.$ac_ext <<_ACEOF
3524 /* confdefs.h. */
3526 cat confdefs.h >>conftest.$ac_ext
3527 cat >>conftest.$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3529 #include <ac_nonexistent.h>
3531 if { (ac_try="$ac_cpp conftest.$ac_ext"
3537 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3539 grep -v '^ *+' conftest.er1 >conftest.err
3540 rm -f conftest.er1
3541 cat conftest.err >&5
3544 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3545 test ! -s conftest.err
3547 # Broken: success on invalid input.
3551 sed 's/^/| /' conftest.$ac_ext >&5
3553 # Passes both tests.
3558 rm -f conftest.err conftest.$ac_ext
3561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3562 rm -f conftest.err conftest.$ac_ext
3581 # with a fresh cross-compiler works.
3582 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3583 # <limits.h> exists even on freestanding compilers.
3584 # On the NeXT, cc -E runs the code through the compiler's parser,
3585 # not just through cpp. "Syntax error" is here to catch this case.
3586 cat >conftest.$ac_ext <<_ACEOF
3587 /* confdefs.h. */
3589 cat confdefs.h >>conftest.$ac_ext
3590 cat >>conftest.$ac_ext <<_ACEOF
3591 /* end confdefs.h. */
3593 # include <limits.h>
3595 # include <assert.h>
3599 if { (ac_try="$ac_cpp conftest.$ac_ext"
3605 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3607 grep -v '^ *+' conftest.er1 >conftest.err
3608 rm -f conftest.er1
3609 cat conftest.err >&5
3612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3613 test ! -s conftest.err
3618 sed 's/^/| /' conftest.$ac_ext >&5
3620 # Broken: fails on valid input.
3624 rm -f conftest.err conftest.$ac_ext
3626 # OK, works on sane cases. Now check whether nonexistent headers
3627 # can be detected and how.
3628 cat >conftest.$ac_ext <<_ACEOF
3629 /* confdefs.h. */
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3634 #include <ac_nonexistent.h>
3636 if { (ac_try="$ac_cpp conftest.$ac_ext"
3642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3644 grep -v '^ *+' conftest.er1 >conftest.err
3645 rm -f conftest.er1
3646 cat conftest.err >&5
3649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3650 test ! -s conftest.err
3652 # Broken: success on invalid input.
3656 sed 's/^/| /' conftest.$ac_ext >&5
3658 # Passes both tests.
3663 rm -f conftest.err conftest.$ac_ext
3666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3667 rm -f conftest.err conftest.$ac_ext
3672 See \`config.log' for more details." >&5
3674 See \`config.log' for more details." >&2;}
3680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3686 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3691 if test -z "$GREP"; then
3697 # Loop through the user's path and test for each of PROGNAME-LIST
3702 test -z "$as_dir" && as_dir=.
3706 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3707 # Check for GNU ac_path_GREP and select it if it is found.
3709 case `"$ac_path_GREP" --version 2>&1` in
3714 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3717 cat "conftest.in" "conftest.in" >"conftest.tmp"
3718 mv "conftest.tmp" "conftest.in"
3719 cp "conftest.in" "conftest.nl"
3720 echo 'GREP' >> "conftest.nl"
3721 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
3722 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3724 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3730 test $ac_count -gt 10 && break
3732 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3747 if test -z "$GREP"; then
3765 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3769 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3770 then ac_cv_path_EGREP="$GREP -E"
3773 if test -z "$EGREP"; then
3779 # Loop through the user's path and test for each of PROGNAME-LIST
3784 test -z "$as_dir" && as_dir=.
3788 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3789 # Check for GNU ac_path_EGREP and select it if it is found.
3791 case `"$ac_path_EGREP" --version 2>&1` in
3796 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3799 cat "conftest.in" "conftest.in" >"conftest.tmp"
3800 mv "conftest.tmp" "conftest.in"
3801 cp "conftest.in" "conftest.nl"
3802 echo 'EGREP' >> "conftest.nl"
3803 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3804 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3806 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3812 test $ac_count -gt 10 && break
3814 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3829 if test -z "$EGREP"; then
3848 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3852 cat >conftest.$ac_ext <<_ACEOF
3853 /* confdefs.h. */
3855 cat confdefs.h >>conftest.$ac_ext
3856 cat >>conftest.$ac_ext <<_ACEOF
3857 /* end confdefs.h. */
3858 #include <stdlib.h>
3859 #include <stdarg.h>
3860 #include <string.h>
3861 #include <float.h>
3871 rm -f conftest.$ac_objext
3878 (eval "$ac_compile") 2>conftest.er1
3880 grep -v '^ *+' conftest.er1 >conftest.err
3881 rm -f conftest.er1
3882 cat conftest.err >&5
3885 test -z "$ac_c_werror_flag" ||
3886 test ! -s conftest.err
3887 } && test -s conftest.$ac_objext; then
3891 sed 's/^/| /' conftest.$ac_ext >&5
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3899 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3900 cat >conftest.$ac_ext <<_ACEOF
3901 /* confdefs.h. */
3903 cat confdefs.h >>conftest.$ac_ext
3904 cat >>conftest.$ac_ext <<_ACEOF
3905 /* end confdefs.h. */
3906 #include <string.h>
3909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3915 rm -f conftest*
3920 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3921 cat >conftest.$ac_ext <<_ACEOF
3922 /* confdefs.h. */
3924 cat confdefs.h >>conftest.$ac_ext
3925 cat >>conftest.$ac_ext <<_ACEOF
3926 /* end confdefs.h. */
3927 #include <stdlib.h>
3930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3936 rm -f conftest*
3941 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3945 cat >conftest.$ac_ext <<_ACEOF
3946 /* confdefs.h. */
3948 cat confdefs.h >>conftest.$ac_ext
3949 cat >>conftest.$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3951 #include <ctype.h>
3952 #include <stdlib.h>
3955 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3976 rm -f conftest$ac_exeext
3986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4000 sed 's/^/| /' conftest.$ac_ext >&5
4005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$…
4015 cat >>confdefs.h <<\_ACEOF
4021 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4031 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4032 inttypes.h stdint.h unistd.h
4036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4040 cat >conftest.$ac_ext <<_ACEOF
4041 /* confdefs.h. */
4043 cat confdefs.h >>conftest.$ac_ext
4044 cat >>conftest.$ac_ext <<_ACEOF
4045 /* end confdefs.h. */
4050 rm -f conftest.$ac_objext
4057 (eval "$ac_compile") 2>conftest.er1
4059 grep -v '^ *+' conftest.er1 >conftest.err
4060 rm -f conftest.er1
4061 cat conftest.err >&5
4064 test -z "$ac_c_werror_flag" ||
4065 test ! -s conftest.err
4066 } && test -s conftest.$ac_objext; then
4070 sed 's/^/| /' conftest.$ac_ext >&5
4075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081 cat >>confdefs.h <<_ACEOF
4094 for ac_header in sys/ioccom.h sys/sockio.h limits.h paths.h
4099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4110 cat >conftest.$ac_ext <<_ACEOF
4111 /* confdefs.h. */
4113 cat confdefs.h >>conftest.$ac_ext
4114 cat >>conftest.$ac_ext <<_ACEOF
4115 /* end confdefs.h. */
4119 rm -f conftest.$ac_objext
4126 (eval "$ac_compile") 2>conftest.er1
4128 grep -v '^ *+' conftest.er1 >conftest.err
4129 rm -f conftest.er1
4130 cat conftest.err >&5
4133 test -z "$ac_c_werror_flag" ||
4134 test ! -s conftest.err
4135 } && test -s conftest.$ac_objext; then
4139 sed 's/^/| /' conftest.$ac_ext >&5
4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4151 cat >conftest.$ac_ext <<_ACEOF
4152 /* confdefs.h. */
4154 cat confdefs.h >>conftest.$ac_ext
4155 cat >>conftest.$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4159 if { (ac_try="$ac_cpp conftest.$ac_ext"
4165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4167 grep -v '^ *+' conftest.er1 >conftest.err
4168 rm -f conftest.er1
4169 cat conftest.err >&5
4172 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4173 test ! -s conftest.err
4178 sed 's/^/| /' conftest.$ac_ext >&5
4183 rm -f conftest.err conftest.$ac_ext
4213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4225 cat >>confdefs.h <<_ACEOF
4234 for ac_header in net/pfvar.h
4238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4242 cat >conftest.$ac_ext <<_ACEOF
4243 /* confdefs.h. */
4245 cat confdefs.h >>conftest.$ac_ext
4246 cat >>conftest.$ac_ext <<_ACEOF
4247 /* end confdefs.h. */
4248 #include <sys/types.h>
4249 #include <sys/socket.h>
4250 #include <net/if.h>
4254 rm -f conftest.$ac_objext
4261 (eval "$ac_compile") 2>conftest.er1
4263 grep -v '^ *+' conftest.er1 >conftest.err
4264 rm -f conftest.er1
4265 cat conftest.err >&5
4268 test -z "$ac_c_werror_flag" ||
4269 test ! -s conftest.err
4270 } && test -s conftest.$ac_objext; then
4274 sed 's/^/| /' conftest.$ac_ext >&5
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285 cat >>confdefs.h <<_ACEOF
4294 for ac_header in netinet/if_ether.h
4298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4302 cat >conftest.$ac_ext <<_ACEOF
4303 /* confdefs.h. */
4305 cat confdefs.h >>conftest.$ac_ext
4306 cat >>conftest.$ac_ext <<_ACEOF
4307 /* end confdefs.h. */
4308 #include <sys/types.h>
4309 #include <sys/socket.h>
4313 rm -f conftest.$ac_objext
4320 (eval "$ac_compile") 2>conftest.er1
4322 grep -v '^ *+' conftest.er1 >conftest.err
4323 rm -f conftest.er1
4324 cat conftest.err >&5
4327 test -z "$ac_c_werror_flag" ||
4328 test ! -s conftest.err
4329 } && test -s conftest.$ac_objext; then
4333 sed 's/^/| /' conftest.$ac_ext >&5
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4344 cat >>confdefs.h <<_ACEOF
4354 # The simple test didn't work.
4355 # Do we need to include <net/if.h> first?
4358 # suppress the next test.
4364 for ac_header in netinet/if_ether.h
4368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4372 cat >conftest.$ac_ext <<_ACEOF
4373 /* confdefs.h. */
4375 cat confdefs.h >>conftest.$ac_ext
4376 cat >>conftest.$ac_ext <<_ACEOF
4377 /* end confdefs.h. */
4378 #include <sys/types.h>
4379 #include <sys/socket.h>
4380 #include <netinet/in.h>
4383 #include <net/if.h>
4387 rm -f conftest.$ac_objext
4394 (eval "$ac_compile") 2>conftest.er1
4396 grep -v '^ *+' conftest.er1 >conftest.err
4397 rm -f conftest.er1
4398 cat conftest.err >&5
4401 test -z "$ac_c_werror_flag" ||
4402 test ! -s conftest.err
4403 } && test -s conftest.$ac_objext; then
4407 sed 's/^/| /' conftest.$ac_ext >&5
4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4418 cat >>confdefs.h <<_ACEOF
4430 echo $ECHO_N "checking for ANSI ioctl definitions... $ECHO_C" >&6; }
4434 cat >conftest.$ac_ext <<_ACEOF
4435 /* confdefs.h. */
4437 cat confdefs.h >>conftest.$ac_ext
4438 cat >>conftest.$ac_ext <<_ACEOF
4439 /* end confdefs.h. */
4442 * has not be run.
4444 # include <sys/types.h>
4445 # include <sys/time.h>
4446 # include <sys/ioctl.h>
4448 # include <sys/ioccom.h>
4461 rm -f conftest.$ac_objext
4468 (eval "$ac_compile") 2>conftest.er1
4470 grep -v '^ *+' conftest.er1 >conftest.err
4471 rm -f conftest.er1
4472 cat conftest.err >&5
4475 test -z "$ac_c_werror_flag" ||
4476 test ! -s conftest.err
4477 } && test -s conftest.$ac_objext; then
4481 sed 's/^/| /' conftest.$ac_ext >&5
4486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4510 cat >conftest.$ac_ext <<_ACEOF
4511 /* confdefs.h. */
4513 cat confdefs.h >>conftest.$ac_ext
4514 cat >>conftest.$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4521 which can conflict with char $ac_func (); below.
4522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4523 <limits.h> exists even on freestanding compilers. */
4526 # include <limits.h>
4528 # include <assert.h>
4533 /* Override any GCC internal prototype to avoid an error.
4535 builtin and then its argument prototype would still apply. */
4541 to always fail with ENOSYS. Some functions are actually named
4542 something starting with __ and the normal name is an alias. */
4555 rm -f conftest.$ac_objext conftest$ac_exeext
4562 (eval "$ac_link") 2>conftest.er1
4564 grep -v '^ *+' conftest.er1 >conftest.err
4565 rm -f conftest.er1
4566 cat conftest.err >&5
4569 test -z "$ac_c_werror_flag" ||
4570 test ! -s conftest.err
4571 } && test -s conftest$ac_exeext &&
4576 sed 's/^/| /' conftest.$ac_ext >&5
4581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4582 conftest$ac_exeext conftest.$ac_ext
4588 cat >>confdefs.h <<_ACEOF
4603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4607 cat >conftest.$ac_ext <<_ACEOF
4608 /* confdefs.h. */
4610 cat confdefs.h >>conftest.$ac_ext
4611 cat >>conftest.$ac_ext <<_ACEOF
4612 /* end confdefs.h. */
4613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4618 which can conflict with char $ac_func (); below.
4619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4620 <limits.h> exists even on freestanding compilers. */
4623 # include <limits.h>
4625 # include <assert.h>
4630 /* Override any GCC internal prototype to avoid an error.
4632 builtin and then its argument prototype would still apply. */
4638 to always fail with ENOSYS. Some functions are actually named
4639 something starting with __ and the normal name is an alias. */
4652 rm -f conftest.$ac_objext conftest$ac_exeext
4659 (eval "$ac_link") 2>conftest.er1
4661 grep -v '^ *+' conftest.er1 >conftest.err
4662 rm -f conftest.er1
4663 cat conftest.err >&5
4666 test -z "$ac_c_werror_flag" ||
4667 test ! -s conftest.err
4668 } && test -s conftest$ac_exeext &&
4673 sed 's/^/| /' conftest.$ac_ext >&5
4678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4679 conftest$ac_exeext conftest.$ac_ext
4685 cat >>confdefs.h <<_ACEOF
4696 *" snprintf.$ac_objext "* ) ;;
4697 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
4705 # "gethostbyname() -ish function".
4709 # libraries (i.e. libc):
4710 # Some OSes (eg. Solaris) place it in libnsl
4713 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
4718 cat >conftest.$ac_ext <<_ACEOF
4719 /* confdefs.h. */
4721 cat confdefs.h >>conftest.$ac_ext
4722 cat >>conftest.$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4725 /* Override any GCC internal prototype to avoid an error.
4727 builtin and then its argument prototype would still apply. */
4741 if test -z "$ac_lib"; then
4744 ac_res=-l$ac_lib
4745 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4747 rm -f conftest.$ac_objext conftest$ac_exeext
4754 (eval "$ac_link") 2>conftest.er1
4756 grep -v '^ *+' conftest.er1 >conftest.err
4757 rm -f conftest.er1
4758 cat conftest.err >&5
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest$ac_exeext &&
4768 sed 's/^/| /' conftest.$ac_ext >&5
4773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4784 rm conftest.$ac_ext
4796 # AC_SEARCH_LIBS isn't up to the task of handling dependencies like this.
4799 { echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
4800 echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6; }
4805 LIBS="-lsocket -lnsl $LIBS"
4806 cat >conftest.$ac_ext <<_ACEOF
4807 /* confdefs.h. */
4809 cat confdefs.h >>conftest.$ac_ext
4810 cat >>conftest.$ac_ext <<_ACEOF
4811 /* end confdefs.h. */
4813 /* Override any GCC internal prototype to avoid an error.
4815 builtin and then its argument prototype would still apply. */
4828 rm -f conftest.$ac_objext conftest$ac_exeext
4835 (eval "$ac_link") 2>conftest.er1
4837 grep -v '^ *+' conftest.er1 >conftest.err
4838 rm -f conftest.er1
4839 cat conftest.err >&5
4842 test -z "$ac_c_werror_flag" ||
4843 test ! -s conftest.err
4844 } && test -s conftest$ac_exeext &&
4849 sed 's/^/| /' conftest.$ac_ext >&5
4854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4855 conftest$ac_exeext conftest.$ac_ext
4861 LIBS="-lsocket -lnsl $LIBS"
4866 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
4871 cat >conftest.$ac_ext <<_ACEOF
4872 /* confdefs.h. */
4874 cat confdefs.h >>conftest.$ac_ext
4875 cat >>conftest.$ac_ext <<_ACEOF
4876 /* end confdefs.h. */
4878 /* Override any GCC internal prototype to avoid an error.
4880 builtin and then its argument prototype would still apply. */
4894 if test -z "$ac_lib"; then
4897 ac_res=-l$ac_lib
4898 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4900 rm -f conftest.$ac_objext conftest$ac_exeext
4907 (eval "$ac_link") 2>conftest.er1
4909 grep -v '^ *+' conftest.er1 >conftest.err
4910 rm -f conftest.er1
4911 cat conftest.err >&5
4914 test -z "$ac_c_werror_flag" ||
4915 test ! -s conftest.err
4916 } && test -s conftest$ac_exeext &&
4921 sed 's/^/| /' conftest.$ac_ext >&5
4926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4937 rm conftest.$ac_ext
4947 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4948 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
4953 LIBS="-lsocket -lnsl $LIBS"
4954 cat >conftest.$ac_ext <<_ACEOF
4955 /* confdefs.h. */
4957 cat confdefs.h >>conftest.$ac_ext
4958 cat >>conftest.$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4961 /* Override any GCC internal prototype to avoid an error.
4963 builtin and then its argument prototype would still apply. */
4976 rm -f conftest.$ac_objext conftest$ac_exeext
4983 (eval "$ac_link") 2>conftest.er1
4985 grep -v '^ *+' conftest.er1 >conftest.err
4986 rm -f conftest.er1
4987 cat conftest.err >&5
4990 test -z "$ac_c_werror_flag" ||
4991 test ! -s conftest.err
4992 } && test -s conftest$ac_exeext &&
4997 sed 's/^/| /' conftest.$ac_ext >&5
5002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5003 conftest$ac_exeext conftest.$ac_ext
5009 LIBS="-lsocket -lnsl $LIBS"
5014 # DLPI needs putmsg under HPUX so test for -lstr while we're at it
5016 echo $ECHO_N "checking for library containing putmsg... $ECHO_C" >&6; }
5021 cat >conftest.$ac_ext <<_ACEOF
5022 /* confdefs.h. */
5024 cat confdefs.h >>conftest.$ac_ext
5025 cat >>conftest.$ac_ext <<_ACEOF
5026 /* end confdefs.h. */
5028 /* Override any GCC internal prototype to avoid an error.
5030 builtin and then its argument prototype would still apply. */
5044 if test -z "$ac_lib"; then
5047 ac_res=-l$ac_lib
5048 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5050 rm -f conftest.$ac_objext conftest$ac_exeext
5057 (eval "$ac_link") 2>conftest.er1
5059 grep -v '^ *+' conftest.er1 >conftest.err
5060 rm -f conftest.er1
5061 cat conftest.err >&5
5064 test -z "$ac_c_werror_flag" ||
5065 test ! -s conftest.err
5066 } && test -s conftest$ac_exeext &&
5071 sed 's/^/| /' conftest.$ac_ext >&5
5076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5087 rm conftest.$ac_ext
5101 # You are in a twisty little maze of UN*Xes, all different.
5102 # Some might not have ether_hostton().
5103 # Some might have it, but not declare it in any header file.
5104 # Some might have it, but declare it in <netinet/if_ether.h>.
5105 # Some might have it, but declare it in <netinet/ether.h>
5107 # <netinet/ethernet.h>, although <netinet/if_ether.h> appears to work.)
5109 # Before you is a C compiler.
5116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5120 cat >conftest.$ac_ext <<_ACEOF
5121 /* confdefs.h. */
5123 cat confdefs.h >>conftest.$ac_ext
5124 cat >>conftest.$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5131 which can conflict with char $ac_func (); below.
5132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5133 <limits.h> exists even on freestanding compilers. */
5136 # include <limits.h>
5138 # include <assert.h>
5143 /* Override any GCC internal prototype to avoid an error.
5145 builtin and then its argument prototype would still apply. */
5151 to always fail with ENOSYS. Some functions are actually named
5152 something starting with __ and the normal name is an alias. */
5165 rm -f conftest.$ac_objext conftest$ac_exeext
5172 (eval "$ac_link") 2>conftest.er1
5174 grep -v '^ *+' conftest.er1 >conftest.err
5175 rm -f conftest.er1
5176 cat conftest.err >&5
5179 test -z "$ac_c_werror_flag" ||
5180 test ! -s conftest.err
5181 } && test -s conftest$ac_exeext &&
5186 sed 's/^/| /' conftest.$ac_ext >&5
5191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5192 conftest$ac_exeext conftest.$ac_ext
5198 cat >>confdefs.h <<_ACEOF
5207 # OK, we have ether_hostton(). Do we have <netinet/if_ether.h>?
5211 # Yes. Does it declare ether_hostton()?
5214 echo $ECHO_N "checking whether ether_hostton is declared... $ECHO_C" >&6; }
5218 cat >conftest.$ac_ext <<_ACEOF
5219 /* confdefs.h. */
5221 cat confdefs.h >>conftest.$ac_ext
5222 cat >>conftest.$ac_ext <<_ACEOF
5223 /* end confdefs.h. */
5225 #include <sys/types.h>
5226 #include <sys/socket.h>
5227 #include <netinet/in.h>
5228 #include <arpa/inet.h>
5231 #include <net/if.h>
5232 #include <netinet/if_ether.h>
5246 rm -f conftest.$ac_objext
5253 (eval "$ac_compile") 2>conftest.er1
5255 grep -v '^ *+' conftest.er1 >conftest.err
5256 rm -f conftest.er1
5257 cat conftest.err >&5
5260 test -z "$ac_c_werror_flag" ||
5261 test ! -s conftest.err
5262 } && test -s conftest.$ac_objext; then
5266 sed 's/^/| /' conftest.$ac_ext >&5
5271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278 cat >>confdefs.h <<\_ACEOF
5291 # No, how about <netinet/ether.h>, as on Linux?
5294 for ac_header in netinet/ether.h
5299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5310 cat >conftest.$ac_ext <<_ACEOF
5311 /* confdefs.h. */
5313 cat confdefs.h >>conftest.$ac_ext
5314 cat >>conftest.$ac_ext <<_ACEOF
5315 /* end confdefs.h. */
5319 rm -f conftest.$ac_objext
5326 (eval "$ac_compile") 2>conftest.er1
5328 grep -v '^ *+' conftest.er1 >conftest.err
5329 rm -f conftest.er1
5330 cat conftest.err >&5
5333 test -z "$ac_c_werror_flag" ||
5334 test ! -s conftest.err
5335 } && test -s conftest.$ac_objext; then
5339 sed 's/^/| /' conftest.$ac_ext >&5
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5351 cat >conftest.$ac_ext <<_ACEOF
5352 /* confdefs.h. */
5354 cat confdefs.h >>conftest.$ac_ext
5355 cat >>conftest.$ac_ext <<_ACEOF
5356 /* end confdefs.h. */
5359 if { (ac_try="$ac_cpp conftest.$ac_ext"
5365 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5367 grep -v '^ *+' conftest.er1 >conftest.err
5368 rm -f conftest.er1
5369 cat conftest.err >&5
5372 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5373 test ! -s conftest.err
5378 sed 's/^/| /' conftest.$ac_ext >&5
5383 rm -f conftest.err conftest.$ac_ext
5413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5425 cat >>confdefs.h <<_ACEOF
5435 # We have it - does it declare ether_hostton()?
5438 # suppress the next test.
5442 echo $ECHO_N "checking whether ether_hostton is declared... $ECHO_C" >&6; }
5446 cat >conftest.$ac_ext <<_ACEOF
5447 /* confdefs.h. */
5449 cat confdefs.h >>conftest.$ac_ext
5450 cat >>conftest.$ac_ext <<_ACEOF
5451 /* end confdefs.h. */
5453 #include <netinet/ether.h>
5467 rm -f conftest.$ac_objext
5474 (eval "$ac_compile") 2>conftest.er1
5476 grep -v '^ *+' conftest.er1 >conftest.err
5477 rm -f conftest.er1
5478 cat conftest.err >&5
5481 test -z "$ac_c_werror_flag" ||
5482 test ! -s conftest.err
5483 } && test -s conftest.$ac_objext; then
5487 sed 's/^/| /' conftest.$ac_ext >&5
5492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5499 cat >>confdefs.h <<\_ACEOF
5513 # No, we'll have to declare it ourselves.
5517 echo $ECHO_N "checking for struct ether_addr... $ECHO_C" >&6; }
5521 cat >conftest.$ac_ext <<_ACEOF
5522 /* confdefs.h. */
5524 cat confdefs.h >>conftest.$ac_ext
5525 cat >>conftest.$ac_ext <<_ACEOF
5526 /* end confdefs.h. */
5528 #include <sys/types.h>
5529 #include <sys/socket.h>
5530 #include <netinet/in.h>
5531 #include <arpa/inet.h>
5534 #include <net/if.h>
5535 #include <netinet/if_ether.h>
5550 rm -f conftest.$ac_objext
5557 (eval "$ac_compile") 2>conftest.er1
5559 grep -v '^ *+' conftest.er1 >conftest.err
5560 rm -f conftest.er1
5561 cat conftest.err >&5
5564 test -z "$ac_c_werror_flag" ||
5565 test ! -s conftest.err
5566 } && test -s conftest.$ac_objext; then
5570 sed 's/^/| /' conftest.$ac_ext >&5
5575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5581 cat >>confdefs.h <<_ACEOF
5589 cat >>confdefs.h <<\_ACEOF
5595 cat >>confdefs.h <<\_ACEOF
5602 { echo "$as_me:$LINENO: checking if --disable-protochain option is specified" >&5
5603 echo $ECHO_N "checking if --disable-protochain option is specified... $ECHO_C" >&6; }
5604 # Check whether --enable-protochain was given.
5617 cat >>confdefs.h <<\_ACEOF
5625 if test -z "$with_pcap" && test "$cross_compiling" = yes; then
5626 …{ { echo "$as_me:$LINENO: error: pcap type not determined when cross-compiling; use --with-pcap=..…
5627 echo "$as_me: error: pcap type not determined when cross-compiling; use --with-pcap=..." >&2;}
5631 # Check whether --with-pcap was given.
5637 echo $ECHO_N "checking packet capture type... $ECHO_C" >&6; }
5638 if test ! -z "$with_pcap" ; then
5640 elif test -r /dev/bpf ; then
5642 # Cloning BPF device.
5646 cat >>confdefs.h <<\_ACEOF
5650 elif test -r /dev/bpf0 ; then
5652 elif test -r /usr/include/net/pfilt.h ; then
5654 elif test -r /dev/enet ; then
5656 elif test -r /dev/nit ; then
5658 elif test -r /usr/include/sys/net/nit.h ; then
5660 elif test -r /usr/include/linux/socket.h ; then
5662 elif test -r /usr/include/net/raw.h ; then
5664 elif test -r /usr/include/odmi.h ; then
5666 # On AIX, the BPF devices might not yet be present - they're
5667 # created the first time libpcap runs after booting.
5668 # We check for odmi.h instead.
5671 elif test -r /usr/include/sys/dlpi.h ; then
5673 elif test -c /dev/bpf0 ; then # check again in case not readable
5675 elif test -c /dev/enet ; then # check again in case not readable
5677 elif test -c /dev/nit ; then # check again in case not readable
5689 # devices, so we won't return any interfaces.
5694 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; }
5698 cat >conftest.$ac_ext <<_ACEOF
5699 /* confdefs.h. */
5701 cat confdefs.h >>conftest.$ac_ext
5702 cat >>conftest.$ac_ext <<_ACEOF
5703 /* end confdefs.h. */
5704 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs.
5705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5709 which can conflict with char getifaddrs (); below.
5710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5711 <limits.h> exists even on freestanding compilers. */
5714 # include <limits.h>
5716 # include <assert.h>
5721 /* Override any GCC internal prototype to avoid an error.
5723 builtin and then its argument prototype would still apply. */
5729 to always fail with ENOSYS. Some functions are actually named
5730 something starting with __ and the normal name is an alias. */
5743 rm -f conftest.$ac_objext conftest$ac_exeext
5750 (eval "$ac_link") 2>conftest.er1
5752 grep -v '^ *+' conftest.er1 >conftest.err
5753 rm -f conftest.er1
5754 cat conftest.err >&5
5757 test -z "$ac_c_werror_flag" ||
5758 test ! -s conftest.err
5759 } && test -s conftest$ac_exeext &&
5764 sed 's/^/| /' conftest.$ac_ext >&5
5769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5770 conftest$ac_exeext conftest.$ac_ext
5777 # We have "getifaddrs()"; make sure we have <ifaddrs.h>
5778 # as well, just in case some platform is really weird.
5781 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5
5782 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; }
5790 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5
5791 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; }
5792 cat >conftest.$ac_ext <<_ACEOF
5793 /* confdefs.h. */
5795 cat confdefs.h >>conftest.$ac_ext
5796 cat >>conftest.$ac_ext <<_ACEOF
5797 /* end confdefs.h. */
5799 #include <ifaddrs.h>
5801 rm -f conftest.$ac_objext
5808 (eval "$ac_compile") 2>conftest.er1
5810 grep -v '^ *+' conftest.er1 >conftest.err
5811 rm -f conftest.er1
5812 cat conftest.err >&5
5815 test -z "$ac_c_werror_flag" ||
5816 test ! -s conftest.err
5817 } && test -s conftest.$ac_objext; then
5821 sed 's/^/| /' conftest.$ac_ext >&5
5826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5831 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5
5832 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; }
5833 cat >conftest.$ac_ext <<_ACEOF
5834 /* confdefs.h. */
5836 cat confdefs.h >>conftest.$ac_ext
5837 cat >>conftest.$ac_ext <<_ACEOF
5838 /* end confdefs.h. */
5839 #include <ifaddrs.h>
5841 if { (ac_try="$ac_cpp conftest.$ac_ext"
5847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5849 grep -v '^ *+' conftest.er1 >conftest.err
5850 rm -f conftest.er1
5851 cat conftest.err >&5
5854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5855 test ! -s conftest.err
5860 sed 's/^/| /' conftest.$ac_ext >&5
5865 rm -f conftest.err conftest.$ac_ext
5872 …{ echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor…
5873 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5874 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5
5875 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;}
5879 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5
5880 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;}
5881 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&5
5882 echo "$as_me: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&2;}
5883 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5
5884 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;}
5885 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&5
5886 echo "$as_me: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&2;}
5887 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5
5888 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;}
5889 … { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5
5890 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;}
5894 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5
5895 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; }
5909 # get the list of interfaces.
5916 # We don't have the header - give up.
5917 # XXX - we could also fall back on some other
5921 # but without "ifaddrs.h", if there is something
5922 # we can do on those systems.
5924 …ho "$as_me:$LINENO: error: Your system has getifaddrs() but doesn't have a usable <ifaddrs.h>." >&5
5925 echo "$as_me: error: Your system has getifaddrs() but doesn't have a usable <ifaddrs.h>." >&2;}
5936 # some other mechanism; determine what that mechanism is.
5939 # which is somewhat of a proxy for the OS we're using.
5948 # just SIOCGIFCONF.
5951 echo $ECHO_N "checking whether we have SIOCGLIFCONF... $ECHO_C" >&6; }
5955 cat >conftest.$ac_ext <<_ACEOF
5956 /* confdefs.h. */
5958 cat confdefs.h >>conftest.$ac_ext
5959 cat >>conftest.$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5961 #include <sys/param.h>
5962 #include <sys/file.h>
5963 #include <sys/ioctl.h>
5964 #include <sys/socket.h>
5965 #include <sys/sockio.h>
5974 rm -f conftest.$ac_objext
5981 (eval "$ac_compile") 2>conftest.er1
5983 grep -v '^ *+' conftest.er1 >conftest.err
5984 rm -f conftest.er1
5985 cat conftest.err >&5
5988 test -z "$ac_c_werror_flag" ||
5989 test ! -s conftest.err
5990 } && test -s conftest.$ac_objext; then
5994 sed 's/^/| /' conftest.$ac_ext >&5
5999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6013 # Assume we just have SIOCGIFCONF.
6014 # (XXX - on at least later Linux kernels, there's
6016 # instead.)
6025 { echo "$as_me:$LINENO: checking if --enable-ipv6 option is specified" >&5
6026 echo $ECHO_N "checking if --enable-ipv6 option is specified... $ECHO_C" >&6; }
6027 # Check whether --enable-ipv6 was given.
6034 cat >>confdefs.h <<\_ACEOF
6039 { echo "$as_me:$LINENO: result: ${enable_ipv6-no}" >&5
6040 echo "${ECHO_T}${enable_ipv6-no}" >&6; }
6043 echo $ECHO_N "checking whether to build optimizer debugging code... $ECHO_C" >&6; }
6044 # Check whether --enable-optimizer-dbg was given.
6051 cat >>confdefs.h <<\_ACEOF
6056 { echo "$as_me:$LINENO: result: ${enable_optimizer_dbg-no}" >&5
6057 echo "${ECHO_T}${enable_optimizer_dbg-no}" >&6; }
6060 echo $ECHO_N "checking whether to build parser debugging code... $ECHO_C" >&6; }
6061 # Check whether --enable-yydebug was given.
6068 cat >>confdefs.h <<\_ACEOF
6073 { echo "$as_me:$LINENO: result: ${enable_yydebug-no}" >&5
6074 echo "${ECHO_T}${enable_yydebug-no}" >&6; }
6081 for ac_header in sys/bufmod.h sys/dlpi_ext.h
6086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6097 cat >conftest.$ac_ext <<_ACEOF
6098 /* confdefs.h. */
6100 cat confdefs.h >>conftest.$ac_ext
6101 cat >>conftest.$ac_ext <<_ACEOF
6102 /* end confdefs.h. */
6106 rm -f conftest.$ac_objext
6113 (eval "$ac_compile") 2>conftest.er1
6115 grep -v '^ *+' conftest.er1 >conftest.err
6116 rm -f conftest.er1
6117 cat conftest.err >&5
6120 test -z "$ac_c_werror_flag" ||
6121 test ! -s conftest.err
6122 } && test -s conftest.$ac_objext; then
6126 sed 's/^/| /' conftest.$ac_ext >&5
6131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6138 cat >conftest.$ac_ext <<_ACEOF
6139 /* confdefs.h. */
6141 cat confdefs.h >>conftest.$ac_ext
6142 cat >>conftest.$ac_ext <<_ACEOF
6143 /* end confdefs.h. */
6146 if { (ac_try="$ac_cpp conftest.$ac_ext"
6152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6154 grep -v '^ *+' conftest.er1 >conftest.err
6155 rm -f conftest.er1
6156 cat conftest.err >&5
6159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6160 test ! -s conftest.err
6165 sed 's/^/| /' conftest.$ac_ext >&5
6170 rm -f conftest.err conftest.$ac_ext
6200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6212 cat >>confdefs.h <<_ACEOF
6221 echo $ECHO_N "checking for /dev/dlpi device... $ECHO_C" >&6; }
6222 if test -c /dev/dlpi ; then
6226 cat >>confdefs.h <<\_ACEOF
6235 echo $ECHO_N "checking for $dir directory... $ECHO_C" >&6; }
6236 if test -d $dir ; then
6240 cat >>confdefs.h <<_ACEOF
6253 echo $ECHO_N "checking Linux kernel version... $ECHO_C" >&6; }
6265 ac_cv_linux_vers=`uname -r 2>&1 | \
6266 sed -n -e '$s/.* //' -e '$s/\..*//p'`
6273 { { echo "$as_me:$LINENO: error: cannot determine linux version when cross-compiling" >&5
6274 echo "$as_me: error: cannot determine linux version when cross-compiling" >&2;}
6277 if test $ac_cv_linux_vers -lt 2 ; then
6282 { echo "$as_me:$LINENO: checking if if_packet.h has tpacket_stats defined" >&5
6283 echo $ECHO_N "checking if if_packet.h has tpacket_stats defined... $ECHO_C" >&6; }
6287 cat >conftest.$ac_ext <<_ACEOF
6288 /* confdefs.h. */
6290 cat confdefs.h >>conftest.$ac_ext
6291 cat >>conftest.$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6294 # include <linux/if_packet.h>
6303 rm -f conftest.$ac_objext
6310 (eval "$ac_compile") 2>conftest.er1
6312 grep -v '^ *+' conftest.er1 >conftest.err
6313 rm -f conftest.er1
6314 cat conftest.err >&5
6317 test -z "$ac_c_werror_flag" ||
6318 test ! -s conftest.err
6319 } && test -s conftest.$ac_objext; then
6323 sed 's/^/| /' conftest.$ac_ext >&5
6328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6335 cat >>confdefs.h <<\_ACEOF
6343 V_DEFS="$V_DEFS -DDAG_ONLY"
6347 V_DEFS="$V_DEFS -DSEPTEL_ONLY"
6360 echo $ECHO_N "checking whether we have /proc/net/dev... $ECHO_C" >&6; }
6361 if test -r /proc/net/dev ; then
6368 cat >>confdefs.h <<\_ACEOF
6376 # Check for Endace DAG card support.
6378 # Check whether --with-dag was given.
6383 # User doesn't want DAG support.
6387 # User wants DAG support but hasn't specified a directory.
6390 # User wants DAG support and has specified a directory, so use the provided value.
6406 # Check whether --with-dag-includes was given.
6409 # User wants DAG support and has specified a header directory, so use the provided value.
6417 # Check whether --with-dag-libraries was given.
6420 # User wants DAG support and has specified a library directory, so use the provided value.
6431 # building a DAG-only libpcap.
6437 # supported.
6439 # If they expressed no preference, don't include it.
6455 echo $ECHO_N "checking whether we have DAG API headers... $ECHO_C" >&6; }
6457 # If necessary, set default paths for DAG API headers and libraries.
6458 if test -z "$dag_root"; then
6462 if test -z "$dag_include_dir"; then
6466 if test -z "$dag_lib_dir"; then
6470 if test -z "$dag_tools_dir"; then
6474 if test -r $dag_include_dir/dagapi.h; then
6483 { echo "$as_me:$LINENO: checking dagapi.o" >&5
6484 echo $ECHO_N "checking dagapi.o... $ECHO_C" >&6; }
6486 if test -r $dag_tools_dir/dagapi.o; then
6487 # 2.4.x.
6488 dagapi_obj=$dag_tools_dir/dagapi.o
6489 elif test -r $dag_lib_dir/dagapi.o; then
6490 # 2.5.x.
6491 dagapi_obj=$dag_lib_dir/dagapi.o
6492 elif test -r $dag_lib_dir/libdag.a; then
6493 # 2.5.x.
6494 ar x $dag_lib_dir/libdag.a dagapi.o
6495 if test -r ./dagapi.o; then
6496 dagapi_obj=./dagapi.o
6498 ar x $dag_lib_dir/libdag.a libdag_la-dagapi.o
6499 if test -r ./libdag_la-dagapi.o; then
6500 dagapi_obj=./libdag_la-dagapi.o
6506 …{ echo "$as_me:$LINENO: result: no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" …
6507 echo "${ECHO_T}no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" >&6; }
6517 { echo "$as_me:$LINENO: checking dagopts.o" >&5
6518 echo $ECHO_N "checking dagopts.o... $ECHO_C" >&6; }
6520 if test -r $dag_tools_dir/dagopts.o; then
6521 # 2.4.x.
6522 dagopts_obj=$dag_tools_dir/dagopts.o
6523 elif test -r $dag_lib_dir/dagopts.o; then
6524 # 2.5.x.
6525 dagopts_obj=$dag_lib_dir/dagopts.o
6526 elif test -r $dag_lib_dir/libdag.a; then
6527 # 2.5.x.
6528 ar x $dag_lib_dir/libdag.a dagopts.o
6529 if test -r ./dagopts.o; then
6530 dagopts_obj=./dagopts.o
6532 ar x $dag_lib_dir/libdag.a libdag_la-dagopts.o
6533 if test -r ./libdag_la-dagopts.o; then
6534 dagopts_obj=./libdag_la-dagopts.o
6540 …{ echo "$as_me:$LINENO: result: no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" …
6541 echo "${ECHO_T}no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" >&6; }
6550 # Under 2.5.x only we need to add dagreg.o.
6551 if test -r $dag_include_dir/dagreg.h; then
6552 { echo "$as_me:$LINENO: checking dagreg.o" >&5
6553 echo $ECHO_N "checking dagreg.o... $ECHO_C" >&6; }
6555 if test -r $dag_lib_dir/dagreg.o; then
6556 # Object file is ready and waiting.
6557 dagreg_obj=$dag_lib_dir/dagreg.o
6558 elif test -r $dag_lib_dir/libdag.a; then
6559 # Extract from libdag.a.
6560 ar x $dag_lib_dir/libdag.a dagreg.o
6561 if test -r ./dagreg.o; then
6562 dagreg_obj=./dagreg.o
6564 ar x $dag_lib_dir/libdag.a libdag_la-dagreg.o
6565 if test -r ./libdag_la-dagreg.o; then
6566 dagreg_obj=./libdag_la-dagreg.o
6572 { echo "$as_me:$LINENO: result: no (checked $dag_lib_dir $dag_lib_dir/libdag.a)" >&5
6573 echo "${ECHO_T}no (checked $dag_lib_dir $dag_lib_dir/libdag.a)" >&6; }
6583 V_INCLS="$V_INCLS -I$dag_include_dir"
6586 SSRC="pcap-dag.c"
6589 # See if we can find a general version string.
6590 # Don't need to save and restore LIBS to prevent -ldag being
6591 # included if there's a found-action (arg 3).
6593 LDFLAGS="-L$dag_lib_dir"
6594 { echo "$as_me:$LINENO: checking for dag_attach_stream in -ldag" >&5
6595 echo $ECHO_N "checking for dag_attach_stream in -ldag... $ECHO_C" >&6; }
6600 LIBS="-ldag $LIBS"
6601 cat >conftest.$ac_ext <<_ACEOF
6602 /* confdefs.h. */
6604 cat confdefs.h >>conftest.$ac_ext
6605 cat >>conftest.$ac_ext <<_ACEOF
6606 /* end confdefs.h. */
6608 /* Override any GCC internal prototype to avoid an error.
6610 builtin and then its argument prototype would still apply. */
6623 rm -f conftest.$ac_objext conftest$ac_exeext
6630 (eval "$ac_link") 2>conftest.er1
6632 grep -v '^ *+' conftest.er1 >conftest.err
6633 rm -f conftest.er1
6634 cat conftest.err >&5
6637 test -z "$ac_c_werror_flag" ||
6638 test ! -s conftest.err
6639 } && test -s conftest$ac_exeext &&
6644 sed 's/^/| /' conftest.$ac_ext >&5
6649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6650 conftest$ac_exeext conftest.$ac_ext
6656 dag_version="2.5.x"
6658 dag_version="2.4.x"
6661 { echo "$as_me:$LINENO: checking for dag_get_erf_types in -ldag" >&5
6662 echo $ECHO_N "checking for dag_get_erf_types in -ldag... $ECHO_C" >&6; }
6667 LIBS="-ldag $LIBS"
6668 cat >conftest.$ac_ext <<_ACEOF
6669 /* confdefs.h. */
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6675 /* Override any GCC internal prototype to avoid an error.
6677 builtin and then its argument prototype would still apply. */
6690 rm -f conftest.$ac_objext conftest$ac_exeext
6697 (eval "$ac_link") 2>conftest.er1
6699 grep -v '^ *+' conftest.er1 >conftest.err
6700 rm -f conftest.er1
6701 cat conftest.err >&5
6704 test -z "$ac_c_werror_flag" ||
6705 test ! -s conftest.err
6706 } && test -s conftest$ac_exeext &&
6711 sed 's/^/| /' conftest.$ac_ext >&5
6716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6717 conftest$ac_exeext conftest.$ac_ext
6725 cat >>confdefs.h <<\_ACEOF
6734 if test "$dag_version" = 2.5.x; then
6736 cat >>confdefs.h <<\_ACEOF
6740 DAGLIBS="-ldag"
6743 # See if we can find a specific version string.
6745 echo $ECHO_N "checking the DAG API version... $ECHO_C" >&6; }
6746 if test -r "$dag_root/VERSION"; then
6752 cat >>confdefs.h <<\_ACEOF
6760 # User wanted DAG support but we couldn't find it.
6761 …{ { echo "$as_me:$LINENO: error: DAG API requested, but not found at $dag_root: use --without-dag"…
6762 echo "$as_me: error: DAG API requested, but not found at $dag_root: use --without-dag" >&2;}
6768 # found.
6769 …AG API to be present; use the --with-dag options to specify the location. (Try \"./configure --hel…
6770 …AG API to be present; use the --with-dag options to specify the location. (Try \"./configure --hel…
6776 # Check whether --with-septel was given.
6797 septel_root=./../septel
6806 # a Septel-only libpcap.
6812 # supported.
6814 # If they expressed no preference, don't include it.
6828 echo $ECHO_N "checking whether we have Septel API... $ECHO_C" >&6; }
6830 if test -z "$septel_root"; then
6831 septel_root=$srcdir/../septel
6837 DEF="-DHAVE_SEPTEL_API"
6840 if test -r "$septel_include_dir/msg.h"; then
6841 V_INCLS="$V_INCLS -I$septel_include_dir"
6843.o $septel_tools_dir/bit2byte.o $septel_tools_dir/confirm.o $septel_tools_dir/fmtmsg.o $septel_too…
6846 SSRC="pcap-septel.c"
6856 …$as_me:$LINENO: error: Septel API not found under directory $septel_root; use --without-septel" >&5
6857 echo "$as_me: error: Septel API not found under directory $septel_root; use --without-septel" >&2;}
6862 cat >>confdefs.h <<\_ACEOF
6869 if test "$V_PCAP" = septel -a "$ac_cv_lbl_septel_api" = no; then
6870 …ying the capture type as 'septel' requires the Septel API to be present; use --with-septel=DIR" >&5
6871 …ng the capture type as 'septel' requires the Septel API to be present; use --with-septel=DIR" >&2;}
6877 # Check whether --with-flex was given.
6883 # Check whether --with-bison was given.
6893 # Extract the first word of "$ac_prog", so it can be a program name with args.
6896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6900 if test -n "$V_LEX"; then
6901 ac_cv_prog_V_LEX="$V_LEX" # Let the user override the test.
6907 test -z "$as_dir" && as_dir=.
6909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6921 if test -n "$V_LEX"; then
6930 test -n "$V_LEX" && break
6932 test -n "$V_LEX" || V_LEX="lex"
6936 # The -V flag was added in 2.4
6938 echo $ECHO_N "checking for flex 2.4 or higher... $ECHO_C" >&6; }
6942 if flex -V >/dev/null 2>&1; then
6963 # Extract the first word of "$ac_prog", so it can be a program name with args.
6966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6970 if test -n "$V_YACC"; then
6971 ac_cv_prog_V_YACC="$V_YACC" # Let the user override the test.
6977 test -z "$as_dir" && as_dir=.
6979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6991 if test -n "$V_YACC"; then
7000 test -n "$V_YACC" && break
7002 test -n "$V_YACC" || V_YACC="yacc"
7006 V_YACC="$V_YACC -y"
7008 if test "$V_LEX" != lex -a "$V_YACC" = yacc -o "$V_LEX" = lex -a "$V_YACC" != yacc ; then
7014 if test "$V_LEX" = flex -a -n "pcap_" ; then
7015 V_LEX="$V_LEX -Ppcap_"
7016 V_YACC="$V_YACC -p pcap_"
7019 # Some versions of lex can't handle the definitions section of scanner.l .
7020 # Try lexing it and complain if it can't deal.
7022 echo $ECHO_N "checking for capable lex... $ECHO_C" >&6; }
7026 if lex -t scanner.l > /dev/null 2>&1; then
7036 libpcap. flex is a lex replacement that has many advantages, including
7037 being able to compile libpcap. For more information, see
7038 http://www.gnu.org/software/flex/flex.html ." >&5
7040 libpcap. flex is a lex replacement that has many advantages, including
7041 being able to compile libpcap. For more information, see
7042 http://www.gnu.org/software/flex/flex.html ." >&2;}
7052 cat >>confdefs.h <<\_ACEOF
7060 cat >>confdefs.h <<\_ACEOF
7066 hpux10.0*)
7069 hpux10.1*)
7074 cat >>confdefs.h <<\_ACEOF
7082 echo $ECHO_N "checking if SINIX compiler defines sinix... $ECHO_C" >&6; }
7086 cat >conftest.$ac_ext <<_ACEOF
7087 /* confdefs.h. */
7089 cat confdefs.h >>conftest.$ac_ext
7090 cat >>conftest.$ac_ext <<_ACEOF
7091 /* end confdefs.h. */
7101 rm -f conftest.$ac_objext
7108 (eval "$ac_compile") 2>conftest.er1
7110 grep -v '^ *+' conftest.er1 >conftest.err
7111 rm -f conftest.er1
7112 cat conftest.err >&5
7115 test -z "$ac_c_werror_flag" ||
7116 test ! -s conftest.err
7117 } && test -s conftest.$ac_objext; then
7121 sed 's/^/| /' conftest.$ac_ext >&5
7126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7133 cat >>confdefs.h <<\_ACEOF
7142 cat >>confdefs.h <<\_ACEOF
7150 V_CCOPT="$V_CCOPT -fno-common"
7154 V_CCOPT="$V_CCOPT -fPIC"
7159 if test -n "$ac_tool_prefix"; then
7160 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7167 if test -n "$RANLIB"; then
7168 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7174 test -z "$as_dir" && as_dir=.
7176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7188 if test -n "$RANLIB"; then
7198 if test -z "$ac_cv_prog_RANLIB"; then
7200 # Extract the first word of "ranlib", so it can be a program name with args.
7203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7207 if test -n "$ac_ct_RANLIB"; then
7208 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7214 test -z "$as_dir" && as_dir=.
7216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7228 if test -n "$ac_ct_RANLIB"; then
7241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7242 whose name does not start with the host triplet. If you think this
7243 configuration is useful to you, please write to autoconf@gnu.org." >&5
7244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7245 whose name does not start with the host triplet. If you think this
7246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7256 rm -f os-proto.h
7260 if test -f .devel ; then
7264 V_CCOPT="-g $V_CCOPT"
7266 V_CCOPT="$V_CCOPT -Wall"
7267 if test $ac_cv_lbl_gcc_vers -gt 1 ; then
7268 V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes"
7275 V_CCOPT="$V_CCOPT -n32"
7282 os=`echo $target_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'`
7283 name="lbl/os-$os.h"
7284 if test -f $name ; then
7285 ln -s $name os-proto.h
7287 cat >>confdefs.h <<\_ACEOF
7298 echo $ECHO_N "checking if sockaddr struct has sa_len member... $ECHO_C" >&6; }
7302 cat >conftest.$ac_ext <<_ACEOF
7303 /* confdefs.h. */
7305 cat confdefs.h >>conftest.$ac_ext
7306 cat >>conftest.$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7309 # include <sys/types.h>
7310 # include <sys/socket.h>
7314 u_int i = sizeof(((struct sockaddr *)0)->sa_len)
7319 rm -f conftest.$ac_objext
7326 (eval "$ac_compile") 2>conftest.er1
7328 grep -v '^ *+' conftest.er1 >conftest.err
7329 rm -f conftest.er1
7330 cat conftest.err >&5
7333 test -z "$ac_c_werror_flag" ||
7334 test ! -s conftest.err
7335 } && test -s conftest.$ac_objext; then
7339 sed 's/^/| /' conftest.$ac_ext >&5
7344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7351 cat >>confdefs.h <<\_ACEOF
7358 echo $ECHO_N "checking if sockaddr_storage struct exists... $ECHO_C" >&6; }
7362 cat >conftest.$ac_ext <<_ACEOF
7363 /* confdefs.h. */
7365 cat confdefs.h >>conftest.$ac_ext
7366 cat >>conftest.$ac_ext <<_ACEOF
7367 /* end confdefs.h. */
7369 # include <sys/types.h>
7370 # include <sys/socket.h>
7379 rm -f conftest.$ac_objext
7386 (eval "$ac_compile") 2>conftest.er1
7388 grep -v '^ *+' conftest.er1 >conftest.err
7389 rm -f conftest.er1
7390 cat conftest.err >&5
7393 test -z "$ac_c_werror_flag" ||
7394 test ! -s conftest.err
7395 } && test -s conftest.$ac_objext; then
7399 sed 's/^/| /' conftest.$ac_ext >&5
7404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7411 cat >>confdefs.h <<\_ACEOF
7418 echo $ECHO_N "checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... $ECHO_C" >&6; }
7422 cat >conftest.$ac_ext <<_ACEOF
7423 /* confdefs.h. */
7425 cat confdefs.h >>conftest.$ac_ext
7426 cat >>conftest.$ac_ext <<_ACEOF
7427 /* end confdefs.h. */
7429 # include <sys/types.h>
7430 # include <sys/dlpi.h>
7431 # include <sys/dlpi_ext.h>
7435 u_int i = sizeof(((dl_hp_ppa_info_t *)0)->dl_module_id_1)
7440 rm -f conftest.$ac_objext
7447 (eval "$ac_compile") 2>conftest.er1
7449 grep -v '^ *+' conftest.er1 >conftest.err
7450 rm -f conftest.er1
7451 cat conftest.err >&5
7454 test -z "$ac_c_werror_flag" ||
7455 test ! -s conftest.err
7456 } && test -s conftest.$ac_objext; then
7460 sed 's/^/| /' conftest.$ac_ext >&5
7465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7472 cat >>confdefs.h <<\_ACEOF
7479 echo $ECHO_N "checking if unaligned accesses fail... $ECHO_C" >&6; }
7490 # the unaligned access (e.g., Alpha/{Digital,Tru64} UNIX) -
7498 # do a normal unaligned fetch, either (e.g., presumably, ARM);
7502 # CPUs - I don't know what the problem is; the problem
7504 # but that's what the test program is *supposed* to do -
7507 # file and conclude that unaligned accesses don't work).
7509 # This run-time test won't work if you're cross-compiling, so
7510 # in order to support cross-compiling for a particular CPU,
7515 # cpu types and update it when such a failure occurs.
7522 cat >conftest.c <<EOF
7523 # include <sys/types.h>
7524 # include <sys/wait.h>
7525 # include <stdio.h>
7548 ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS \
7549 conftest.c $LIBS >/dev/null 2>&1
7550 if test ! -x conftest ; then
7553 ./conftest >conftest.out
7554 if test ! -s conftest.out ; then
7560 rm -f conftest* core core.conftest
7569 cat >>confdefs.h <<\_ACEOF
7576 # Makefile.in includes rules to generate version.h, so we assume
7577 # that it will be generated if autoconf is used.
7580 cat >>confdefs.h <<\_ACEOF
7585 rm -f net
7586 ln -s ${srcdir}/bpf/net net
7601 # Find a good install program. We prefer a C program (faster),
7602 # so one script is as good as another. But avoid the broken or
7609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7613 # ./install, which can be erroneously created by make from ./install.sh.
7614 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7615 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7616 if test -z "$INSTALL"; then
7624 test -z "$as_dir" && as_dir=.
7625 # Account for people who put trailing slashes in PATH elements.
7627 ./ | .// | /cC/* | \
7632 # OSF1 and SCO ODT 3.0 have their own names for install.
7634 # by default.
7637 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
7640 # AIX install. It has an incompatible calling convention.
7644 # program-specific install script used by HP pwplus--don't use.
7647 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7663 # As a last resort, use the slow shell script. Don't cache a
7666 # removed, or if the value is a relative name.
7673 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7674 # It thinks the first close brace ends the variable substitution.
7675 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
7677 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
7679 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7682 ac_config_headers="$ac_config_headers config.h"
7690 # scripts and configure runs, see configure's option --config-cache.
7691 # It is not useful on other systems. If it contains results you don't
7692 # want to keep, you may remove or edit it.
7694 # config.status only pays attention to the cache file if you give it
7695 # the --recheck option to rerun configure.
7699 # following values.
7704 # but we know of no workaround that is simple, portable, and efficient.
7705 # So, we kill variables containing newlines.
7707 # and sets the high bit in the cache file unless we assign to the vars.
7709 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7714 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7715 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7727 # `set' does not quote correctly, so add quotes (double-quote
7728 # substitution turns \\\\ into \\, and sed turns \\ into \).
7729 sed -n \
7731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7734 # `set' quotes correctly as required by POSIX, so do not add quotes.
7735 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7744 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7746 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7749 if test -w "$cache_file"; then
7759 rm -f confcache
7762 # Let make expand exec_prefix.
7765 DEFS=-DHAVE_CONFIG_H
7770 # 1. Remove the extension, and $U if already installed.
7771 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7773 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7774 # will be set to the directory where LIBOBJS objects are built.
7775 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7776 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7784 : ${CONFIG_STATUS=./config.status}
7791 # Generated by $as_me.
7792 # Run this file to recreate the current configuration.
7794 # configure, is in config.log if it exists.
7799 SHELL=\${CONFIG_SHELL-$SHELL}
7803 ## --------------------- ##
7804 ## M4sh Initialization. ##
7805 ## --------------------- ##
7809 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7812 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7813 # is contrary to our usage. Disable this feature.
7814 alias -g '${1+"$@"}'='"$@"'
7817 case `(set -o) 2>/dev/null` in
7818 *posix*) set -o posix ;;
7827 # Avoid depending upon Character Ranges.
7834 # The user is always right.
7836 echo "#! /bin/sh" >conf$$.sh
7837 echo "exit 0" >>conf$$.sh
7838 chmod +x conf$$.sh
7839 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7844 rm -f conf$$.sh
7847 # Support unset when possible.
7856 # We need space, tab and new line, in precisely that order. Quoting is
7857 # there to prevent editors from complaining about space-tab.
7859 # splitting by setting IFS to empty value.)
7864 # Find who we are. Look in the path if we contain no directory separator.
7871 test -z "$as_dir" && as_dir=.
7872 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7879 # in which case we are not to be found in the path.
7883 if test ! -f "$as_myself"; then
7888 # Work around bugs in pre-3.0 UWIN ksh.
7896 # NLS nuisances.
7902 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7909 # Required to use basename.
7911 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7917 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7924 # Name of the executable.
7925 as_me=`$as_basename -- "$0" ||
7926 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7928 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7930 sed '/^.*\/\([^/][^/]*\)\/*$/{
7938 /^X\/\(\/\).*/{
7942 s/.*/./; q'`
7944 # CDPATH.
7954 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7955 # uniformly replaced by the line number. The first 'sed' inserts a
7956 # line-number line after each line using $LINENO; the second 'sed'
7957 # does the real work. The second script uses 'N' to pair each
7958 # line-number line with the line containing $LINENO, and appends
7959 # trailing '-' during substitution so that $LINENO is not a special
7960 # case at line end.
7962 # scripts with optimization help from Paolo Bonzini. Blame Lee
7963 # E. McMahon (1931-1989) for sed's syntax. :-)
7964 sed -n '
7969 s/[$]LINENO.*/&-/
7975 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7977 s/-\n.*//
7978 ' >$as_me.lineno &&
7979 chmod +x "$as_me.lineno" ||
7980 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7985 # original and so on. Autoconf is especially sensitive to this).
7986 . "./$as_me.lineno"
7987 # Exit status is that of the last command.
7992 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7999 case `echo -n x` in
8000 -n*)
8002 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8006 ECHO_N='-n';;
8010 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8016 rm -f conf$$ conf$$.exe conf$$.file
8017 if test -d conf$$.dir; then
8018 rm -f conf$$.dir/conf$$.file
8020 rm -f conf$$.dir
8021 mkdir conf$$.dir
8023 echo >conf$$.file
8024 if ln -s conf$$.file conf$$ 2>/dev/null; then
8025 as_ln_s='ln -s'
8026 # ... but there are two gotchas:
8027 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8028 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8029 # In both cases, we have to default to `cp -p'.
8030 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8031 as_ln_s='cp -p'
8032 elif ln conf$$.file conf$$ 2>/dev/null; then
8035 as_ln_s='cp -p'
8037 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8038 rmdir conf$$.dir 2>/dev/null
8040 if mkdir -p . 2>/dev/null; then
8043 test -d ./-p && rmdir ./-p
8047 if test -x / >/dev/null 2>&1; then
8048 as_test_x='test -x'
8050 if ls -dL / >/dev/null 2>&1; then
8056 eval sh -c '\''
8057 if test -d "$1"; then
8058 test -d "$1/.";
8061 -*)set "./$1";;
8063 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8070 # Sed expression to map a string onto a valid CPP name.
8073 # Sed expression to map a string onto a valid variable name.
8080 # report actual input values of CONFIG_FILES etc. instead of their
8081 # values after options handling.
8084 generated by GNU Autoconf 2.61. Invocation command line was
8092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8098 # Files that config.status was made for.
8107 current configuration.
8109 Usage: $0 [OPTIONS] [FILE]...
8111 -h, --help print this help, then exit
8112 -V, --version print version number and configuration settings, then exit
8113 -q, --quiet do not print progress messages
8114 -d, --debug don't remove temporary files
8115 --recheck update $as_me by reconfiguring in the same conditions
8116 --file=FILE[:TEMPLATE]
8118 --header=FILE[:TEMPLATE]
8127 Report bugs to <bug-autoconf@gnu.org>."
8132 config.status
8136 Copyright (C) 2006 Free Software Foundation, Inc.
8137 This config.status script is free software; the Free Software Foundation
8138 gives unlimited permission to copy, distribute and modify it."
8147 # value. By we need to know if files were specified by the user.
8152 --*=*)
8154 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8165 # Handling of the options.
8166 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8168 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8170 --debug | --debu | --deb | --de | --d | -d )
8172 --file | --fil | --fi | --f )
8176 --header | --heade | --head | --hea )
8180 --he | --h)
8181 # Conflict between --help and --header
8183 Try \`$0 --help' for more information." >&2
8185 --help | --hel | -h )
8187 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8188 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8191 # This is an error.
8192 -*) { echo "$as_me: error: unrecognized option: $1
8193 Try \`$0 --help' for more information." >&2
8207 ac_configure_extra_args="$ac_configure_extra_args --silent"
8213 …LL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8216 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8221 exec 5>>config.log
8224 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8225 ## Running $as_me. ##
8236 # Handling of arguments.
8240 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8251 # then the envvar interface is used. Set only those that are not.
8253 # bizarre bug on SunOS 4.1.3.
8259 # Have a temporary directory for convenience. Make it in the build tree
8261 # creating and moving files from /tmp can sometimes cause problems.
8262 # Hook for its removal unless debugging.
8264 # after its creation but before its name has been assigned to `$tmp'.
8269 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8273 # Create a (secure) tmp directory for tmp files.
8276 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8277 test -n "$tmp" && test -d "$tmp"
8280 tmp=./conf$$-$RANDOM
8284 echo "$me: cannot create a temporary directory in ." >&2
8289 # Set up the sed scripts for CONFIG_FILES section.
8292 # No need to generate the scripts if there are no CONFIG_FILES.
8293 # This happens for instance when ./config.status config.h
8294 if test -n "$CONFIG_FILES"; then
8302 cat >conf$$subs.sed <<_ACEOF
8383 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
8394 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8395 if test -n "$ac_eof"; then
8396 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8401 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8411 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8412 ' >>$CONFIG_STATUS <conf$$subs.sed
8413 rm -f conf$$subs.sed
8422 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8424 # (actually we leave an empty line to preserve line numbers).
8425 if test "x$srcdir" = x.; then
8437 fi # test -n "$CONFIG_FILES"
8447 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8448 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8450 :[FH]-) ac_tag=-:-;;
8451 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8468 -) ac_f="$tmp/stdin";;
8470 # (if the path is not absolute). The absolute path cannot be DOS-style,
8471 # because $ac_f cannot contain `:'.
8472 test -f "$ac_f" ||
8475 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8484 # Let's still pretend it is `configure' which instantiates (i.e., don't
8486 # /* config.h. Generated by config.status. */
8488 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8489 if test x"$ac_file" != x-; then
8490 configure_input="$ac_file. $configure_input"
8496 *:-:* | *:-) cat >"$tmp/stdin";;
8501 ac_dir=`$as_dirname -- "$ac_file" ||
8502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8505 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8511 /^X\(\/\/\)[^/].*/{
8519 /^X\(\/\).*/{
8523 s/.*/./; q'`
8526 -*) as_dir=./$as_dir;;
8528 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8536 as_dir=`$as_dirname -- "$as_dir" ||
8537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8540 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8546 /^X\(\/\/\)[^/].*/{
8554 /^X\(\/\).*/{
8558 s/.*/./; q'`
8559 test -d "$as_dir" && break
8561 test -z "$as_dirs" || eval "mkdir $as_dirs"
8562 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8565 ac_builddir=.
8568 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8570 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8571 # A ".." for each directory in $ac_dir_suffix.
8572 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8574 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8584 .) # We are building in place.
8585 ac_srcdir=.
8588 [\\/]* | ?:[\\/]* ) # Absolute name.
8592 *) # Relative name.
8613 # If the template does not know about datarootdir, expand it.
8614 # FIXME: This hack should be removed a few years after 2.60.
8617 case `sed -n '/datarootdir/ {
8629 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8630 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8643 # Neutralize VPATH when `$srcdir' = `.'.
8644 # Shell code in configure.ac might set extrasub.
8652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8664 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
8666 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8667 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8668 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8670 which seems to be undefined. Please make sure it is defined." >&5
8672 which seems to be undefined. Please make sure it is defined." >&2;}
8674 rm -f "$tmp/stdin"
8676 -) cat "$tmp/out"; rm -f "$tmp/out";;
8677 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8686 # Transform confdefs.h into a sed script `conftest.defines', that
8687 # substitutes the proper values into config.h.in to produce config.h.
8688 rm -f conftest.defines conftest.tail
8689 # First, append a space to every undef/define line, to ease matching.
8690 echo 's/$/ /' >conftest.defines
8692 # an unquoted here document, in config.status. If some macros were
8694 # symbol, which is useless. But do not sort them, since the last
8695 # AC_DEFINE must be honored.
8698 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8699 # PARAMS is the parameter list in the macro definition--in most cases, it's
8700 # just an empty string.
8702 ac_dB='\\)[ (].*,\\1define\\2'
8706 uniq confdefs.h |
8707 sed -n '
8715 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8716 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8717 ' >>conftest.defines
8719 # Remove the space that was appended to ease matching.
8720 # Then replace #undef with comments. This is necessary, for
8722 # on some systems where configure will not decide to define it.
8723 # (The regexp can be short, since the line contains either #define or #undef.)
8725 s,^[ #]*u.*,/* & */,' >>conftest.defines
8727 # Break up conftest.defines:
8730 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8731 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8732 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8733 # et cetera.
8743 cat >"\$tmp/defines.sed" <<\\CEOF
8749 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8751 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8753 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
8754 grep . conftest.tail >/dev/null || break
8755 rm -f conftest.defines
8756 mv conftest.tail conftest.defines
8758 rm -f conftest.defines conftest.tail
8762 if test x"$ac_file" != x-; then
8763 echo "/* $configure_input */" >"$tmp/config.h"
8764 cat "$ac_result" >>"$tmp/config.h"
8765 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8769 rm -f $ac_file
8770 mv "$tmp/config.h" $ac_file
8776 rm -f "$tmp/out12"
8791 # configure is writing to config.log, and then calls config.status.
8792 # config.status does its own redirection, appending to config.log.
8793 # Unfortunately, on DOS this fails, as config.log is still kept open
8794 # by configure, so config.status won't be able to write to it; its
8795 # output is simply discarded. So we exec the FD to /dev/null,
8796 # effectively closing config.log, so it can be properly (re)opened and
8797 # appended to by config.status. When coming back to configure, we
8798 # need to make the FD available again.
8803 ac_config_status_args="$ac_config_status_args --quiet"
8806 exec 5>>config.log
8808 # would make configure fail if this is the last instruction.
8813 if test -f .devel ; then