Lines Matching +full:gas +full:- +full:preprocessor
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for pcap 1.9.0-PRE-GIT.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 ## -------------------- ##
13 ## -------------------- ##
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
27 set -o posix ;; #(
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # there to prevent editors from complaining about space-tab.
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 if test ! -f "$as_myself"; then
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
136 # into an infinite loop, continuously re-executing ourselves.
142 # Preserve -v and -x to the replacement shell.
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
171 set -o posix ;; #(
194 test -x / || exit 1"
213 test -z "$as_dir" && as_dir=.
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
243 # Preserve -v and -x to the replacement shell.
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 SHELL=${CONFIG_SHELL-/bin/sh}
282 ## --------------------- ##
284 ## --------------------- ##
286 # ---------------
295 # -----------------------
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # -------------
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
329 as_dir=`$as_dirname -- "$as_dir" ||
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 # -----------------------
365 test -f "$1" && test -x "$1"
368 # ----------------------
386 # ------------------
398 as_val=`expr "$@" || test $? -eq 1`
404 # ----------------------------------------
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
475 s/[$]LINENO.*/&-/
483 s/-\n.*//
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 case `echo -n x` in #(((((
502 -n*)
510 ECHO_N='-n';;
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
517 rm -f conf$$.dir
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
532 as_ln_s='cp -pR'
535 as_ln_s='cp -pR'
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
547 as_test_x='test -x'
557 test -n "$DJDIR" || exec 7<&0 </dev/null
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580 PACKAGE_VERSION='1.9.0-PRE-GIT'
581 PACKAGE_STRING='pcap 1.9.0-PRE-GIT'
834 if test -n "$ac_prev"; then
849 --)
852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
857 -build | --build | --buil | --bui | --bu)
859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
862 -cache-file | --cache-file | --cache-fil | --cache-fi \
863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
869 --config-cache | -C)
872 -datadir | --datadir | --datadi | --datad)
874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
878 | --dataroo | --dataro | --datar)
880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
884 -disable-* | --disable-*)
885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
900 -docdir | --docdir | --docdi | --doc | --do)
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910 -enable-* | --enable-*)
911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
939 -help | --help | --hel | --he | -h)
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
946 -host | --host | --hos | --ho)
948 -host=* | --host=* | --hos=* | --ho=*)
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
969 -libdir | --libdir | --libdi | --libd)
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
981 -localedir | --localedir | --localedi | --localed | --locale)
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1060 -psdir | --psdir | --psdi | --psd | --ps)
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1086 -site | --site | --sit)
1088 -site=* | --site=* | --sit=*)
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1111 -version | --version | --versio | --versi | --vers | -V)
1114 -with-* | --with-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1130 -without-* | --without-*)
1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1146 --x)
1147 # Obsolete; use --with-x.
1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151 | --x-incl | --x-inc | --x-in | --x-i)
1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1164 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information"
1172 '' | [0-9]* | *[!_$as_cr_alnum]* )
1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1189 if test -n "$ac_prev"; then
1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1194 if test -n "$ac_unrecognized_opts"; then
1220 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1224 # used to hold the argument of --host etc.
1240 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1245 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di=`ls -di .` &&
1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1254 if test -z "$srcdir"; then
1257 ac_confdir=`$as_dirname -- "$as_myself" ||
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1301 # mess up M-x gdb in Emacs.
1313 # Report the --help message.
1319 \`configure' configures pcap 1.9.0-PRE-GIT to adapt to many kinds of systems.
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking ...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root [DATAROOTDIR/doc/pcap]
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1377 --build=BUILD configure for building on BUILD [guessed]
1378 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1379 --target=TARGET configure for building compilers for TARGET [HOST]
1383 if test -n "$ac_init_help"; then
1385 short | recursive ) echo "Configuration of pcap 1.9.0-PRE-GIT:";;
1390 --disable-option-checking ignore unrecognized --enable/--with options
1391 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1392 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1393 --disable-largefile omit support for large files
1394 --disable-protochain disable \"protochain\" insn
1395 --enable-packet-ring enable packet ring support on Linux [default=yes]
1396 --enable-ipv6 build IPv6-capable version [default=yes]
1397 --enable-remote enable remote packet capture [default=no]
1398 --disable-remote disable remote packet capture
1399 --enable-optimizer-dbg build optimizer debugging code
1400 --enable-yydebug build parser debugging code
1401 --disable-universal don't build universal on macOS
1402 --enable-shared build shared libraries [default=yes, if support
1404 --enable-usb enable USB capture support [default=yes, if support
1406 --enable-netmap enable netmap support [default=yes, if support
1408 --enable-bluetooth enable Bluetooth support [default=yes, if support
1410 --enable-dbus enable D-Bus capture support [default=yes, if
1412 --enable-rdma enable RDMA capture support [default=yes, if support
1416 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1417 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1418 --without-gcc don't use gcc
1419 --with-sita include SITA support
1420 --with-pcap=TYPE use packet capture TYPE
1421 --without-libnl disable libnl support [default=yes, on Linux, if
1423 --with-dag[=DIR] include Endace DAG support (located in directory
1425 --with-dag-includes=IDIR
1427 --with-dag-libraries=LDIR
1429 --with-septel[=DIR] include Septel support (located in directory DIR, if
1431 --with-snf[=DIR] include Myricom SNF support (located in directory
1433 --with-snf-includes=IDIR
1435 --with-snf-libraries=LDIR
1437 --with-turbocap[=DIR] include Riverbed TurboCap support (located in
1444 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1446 LIBS libraries to pass to the linker, e.g. -l<library>
1447 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1449 CPP C preprocessor
1451 Defaults to the first program found out of: `bison -y', `byacc',
1455 default value of `-d' given by some make applications.
1466 # If there are subdirs, report their specific --help.
1468 test -d "$ac_dir" ||
1469 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1507 if test -f "$ac_srcdir/configure.gnu"; then
1509 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1510 elif test -f "$ac_srcdir/configure"; then
1512 $SHELL "$ac_srcdir/configure" --help=recursive
1520 test -n "$ac_init_help" && exit $ac_status
1523 pcap configure 1.9.0-PRE-GIT
1533 ## ------------------------ ##
1535 ## ------------------------ ##
1538 # --------------------------
1542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1543 rm -f conftest.$ac_objext
1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1553 if test -s conftest.err; then
1554 grep -v '^ *+' conftest.err >conftest.er1
1556 mv -f conftest.er1 conftest.err
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test -z "$ac_c_werror_flag" ||
1561 test ! -s conftest.err
1562 } && test -s conftest.$ac_objext; then :
1576 # -----------------------
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 rm -f conftest.$ac_objext conftest$ac_exeext
1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 if test -s conftest.err; then
1592 grep -v '^ *+' conftest.err >conftest.er1
1594 mv -f conftest.er1 conftest.err
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test -z "$ac_c_werror_flag" ||
1599 test ! -s conftest.err
1600 } && test -s conftest$ac_exeext && {
1602 test -x conftest$ac_exeext
1615 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1622 # ----------------------
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1639 mv -f conftest.er1 conftest.err
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1659 # -------------------------------------------------------
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 rm -f conftest.err conftest.i conftest.$ac_ext
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1712 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the pr…
1713 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1720 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?"…
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1724 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled…
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1746 # ----------------------
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1788 # -------------------------------------------------------
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 # ----------------------------------
1823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1875 rm -f core conftest.err conftest.$ac_objext \
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 # ---------------------------------------------
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 # -------------------------------------------
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 # ----------------------------------------------------
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2045 It was created by pcap $as_me 1.9.0-PRE-GIT, which was
2054 ## --------- ##
2056 ## --------- ##
2058 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2059 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2060 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2061 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2062 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2064 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2065 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2068 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2081 test -z "$as_dir" && as_dir=.
2091 ## ----------- ##
2093 ## ----------- ##
2099 # Strip out --no-create and --no-recursion so they do not pile up.
2100 # Strip out --silent because we don't want to record it for future runs.
2101 # Also quote any args containing shell meta-characters.
2102 # Make two passes to allow for proper duplicate-argument suppression.
2112 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2114 | -silent | --silent | --silen | --sile | --sil)
2127 *=* | --config-cache | -C | -disable-* | --disable-* \
2128 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2129 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2130 | -with-* | --with-* | -without-* | --without-* | --x)
2135 -* ) ac_must_keep_next=true ;;
2156 $as_echo "## ---------------- ##
2158 ## ---------------- ##"
2162 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2167 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
2180 sed -n \
2185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2192 $as_echo "## ----------------- ##
2194 ## ----------------- ##"
2206 if test -n "$ac_subst_files"; then
2207 $as_echo "## ------------------- ##
2209 ## ------------------- ##"
2222 if test -s confdefs.h; then
2223 $as_echo "## ----------- ##
2225 ## ----------- ##"
2234 rm -f core *.core core.conftest.* &&
2235 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2244 rm -f -r conftest* confdefs.h
2248 # Predefined preprocessor variables.
2279 if test -n "$CONFIG_SITE"; then
2282 -*) ac_site_file1=./$CONFIG_SITE;;
2296 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2301 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2308 if test -r "$cache_file"; then
2311 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2335 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previo…
2339 … { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2349 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2353 …{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since …
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2378 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the buil…
2382 ## -------------------- ##
2384 ## -------------------- ##
2388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2398 if test -f "$ac_dir/install-sh"; then
2400 ac_install_sh="$ac_aux_dir/install-sh -c"
2402 elif test -f "$ac_dir/install.sh"; then
2404 ac_install_sh="$ac_aux_dir/install.sh -c"
2406 elif test -f "$ac_dir/shtool"; then
2408 ac_install_sh="$ac_aux_dir/shtool install -c"
2412 if test -z "$ac_aux_dir"; then
2413 …as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$src…
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2446 *-*-*) ;;
2450 ac_save_IFS=$IFS; IFS='-'
2460 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2479 *-*-*) ;;
2483 ac_save_IFS=$IFS; IFS='-'
2493 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2512 *-*-*) ;;
2516 ac_save_IFS=$IFS; IFS='-'
2526 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2531 test -n "$target_alias" &&
2534 program_prefix=${target_alias}-
2543 # Check whether --with-gcc was given.
2550 V_CCOPT="-I\$(srcdir)"
2555 if test -z "$CC" ; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 if test -n "$SHLICC2"; then
2573 test -z "$as_dir" && as_dir=.
2577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2="no"
2588 if test -n "$SHLICC2"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLICC2" >&5
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 if test -z "$CC" -a "$with_gcc" = no ; then
2611 # At minimum, we want C++/C99-style // comments.
2615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 if test -n "$ac_tool_prefix"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626 if test -n "$CC"; then
2633 test -z "$as_dir" && as_dir=.
2637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 if test -n "$CC"; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2657 if test -z "$ac_cv_prog_CC"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2666 if test -n "$ac_ct_CC"; then
2673 test -z "$as_dir" && as_dir=.
2677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 if test -n "$ac_ct_CC"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
2710 if test -z "$CC"; then
2711 if test -n "$ac_tool_prefix"; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 if test -n "$CC"; then
2726 test -z "$as_dir" && as_dir=.
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740 if test -n "$CC"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 if test -z "$CC"; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759 if test -n "$CC"; then
2767 test -z "$as_dir" && as_dir=.
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 if test -n "$CC"; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 if test -z "$CC"; then
2808 if test -n "$ac_tool_prefix"; then
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 if test -n "$CC"; then
2825 test -z "$as_dir" && as_dir=.
2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 if test -n "$CC"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848 test -n "$CC" && break
2851 if test -z "$CC"; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 if test -n "$ac_ct_CC"; then
2869 test -z "$as_dir" && as_dir=.
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 if test -n "$ac_ct_CC"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 test -n "$ac_ct_CC" && break
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
2911 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2917 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2920 for ac_option in --version -v -V -qversion; do
2926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2930 if test -s conftest.err; then
2936 rm -f conftest.er1 conftest.err
2937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954 # Try to create an executable without -o first, disregard a.out.
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2959 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2972 rm -f $ac_rmfiles
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2988 # so that the user can short-circuit this test for compilers unknown to
2992 test -f "$ac_file" || continue
3006 # safe: cross compilers may not add the suffix if given an `-o'
3020 if test -z "$ac_file"; then :
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test -f "$ac_file" || continue
3069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3074 rm -f conftest conftest$ac_cv_exeext
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3078 rm -f conftest.$ac_ext
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3130 If you meant to cross compile, use \`--host'.
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3138 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 rm -f conftest.o conftest.obj
3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3169 test -f "$ac_file" || continue;
3180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3229 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3236 CFLAGS="-g"
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 CFLAGS="-g"
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3295 CFLAGS="-g -O2"
3297 CFLAGS="-g"
3301 CFLAGS="-O2"
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3340 as 'x'. The following induces an error, until -std is added to get
3343 that's true only with -std. */
3344 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3346 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3349 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3365 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3366 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3372 rm -f core conftest.err conftest.$ac_objext
3375 rm -f conftest.$ac_ext
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 your preprocessor is broken;
3441 your preprocessor is broken;
3443 static long long int bignum = -9223372036854775807LL;
3463 // See if C++-style comments work.
3524 ia->datasize = 10;
3525 for (int i = 0; i < ia->datasize; ++i)
3526 ia->data[i] = i * 1.234;
3538 dynamic_array[ni.number - 1] = 543;
3542 || dynamic_array[ni.number - 1] != 543);
3548 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3554 rm -f core conftest.err conftest.$ac_objext
3557 rm -f conftest.$ac_ext
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3586 # -Werror forces warnings to be errors.
3588 ac_lbl_cc_force_warning_errors=-Werror
3596 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -fvisibility=h…
3597 $as_echo_n "checking whether the compiler supports the -fvisibility=hidden option... " >&6; }
3599 if expr "x-fvisibility=hidden" : "x-W.*" >/dev/null
3601 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -fvisibility=hidden"
3602 elif expr "x-fvisibility=hidden" : "x-f.*" >/dev/null
3604 CFLAGS="$CFLAGS -Werror -fvisibility=hidden"
3605 elif expr "x-fvisibility=hidden" : "x-m.*" >/dev/null
3607 CFLAGS="$CFLAGS -Werror -fvisibility=hidden"
3609 CFLAGS="$CFLAGS -fvisibility=hidden"
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fvisibility=hidden " >&5
3637 $as_echo_n "checking whether -fvisibility=hidden ... " >&6; }
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 V_CCOPT="$V_CCOPT -fvisibility=hidden"
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3678 V_INCLS="$V_INCLS -I/usr/local/include"
3679 LDFLAGS="$LDFLAGS -L/usr/local/lib"
3686 # of which use -Werror to force warnings to be errors.
3688 ac_lbl_cc_force_warning_errors=-Werror
3696 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -fvisibility=h…
3697 $as_echo_n "checking whether the compiler supports the -fvisibility=hidden option... " >&6; }
3699 if expr "x-fvisibility=hidden" : "x-W.*" >/dev/null
3701 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -fvisibility=hidden"
3702 elif expr "x-fvisibility=hidden" : "x-f.*" >/dev/null
3704 CFLAGS="$CFLAGS -Werror -fvisibility=hidden"
3705 elif expr "x-fvisibility=hidden" : "x-m.*" >/dev/null
3707 CFLAGS="$CFLAGS -Werror -fvisibility=hidden"
3709 CFLAGS="$CFLAGS -fvisibility=hidden"
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fvisibility=hidden " >&5
3737 $as_echo_n "checking whether -fvisibility=hidden ... " >&6; }
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765 V_CCOPT="$V_CCOPT -fvisibility=hidden"
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3782 # exit with a non-zero exit status if we hand it an
3783 # invalid -W flag, can't be forced to do so even with
3784 # +We, and doesn't handle GCC-style -W flags, so we
3785 # don't want to try using GCC-style -W flags.
3793 # necessarily exit with a non-zero exit status if we
3794 # hand it an invalid -W flag, can't be forced to do
3795 # so, and doesn't handle GCC-style -W flags, so we
3796 # don't want to try using GCC-style -W flags.
3806 # -xansi is normally the default, but the
3807 # configure script was setting it; perhaps -cckr
3814 # -g is equivalent to -g2, which turns off
3815 # optimization; we choose -g3, which generates
3820 V_CCOPT="$V_CCOPT -xansi -signed -g3"
3829 # using, doesn't exit with a non-zero exit status if we
3830 # hand it an invalid -W flag, can't be forced to do
3831 # so, and doesn't handle GCC-style -W flags, so we
3832 # don't want to try using GCC-style -W flags.
3836 # -g is equivalent to -g2, which turns off
3837 # optimization; we choose -g3, which generates
3842 V_CCOPT="$V_CCOPT -g3"
3847 # Assumed to be Sun C, which requires -errwarn to force
3850 ac_lbl_cc_force_warning_errors=-errwarn
3858 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -xldscope=hidd…
3859 $as_echo_n "checking whether the compiler supports the -xldscope=hidden option... " >&6; }
3861 if expr "x-xldscope=hidden" : "x-W.*" >/dev/null
3863 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -xldscope=hidden"
3864 elif expr "x-xldscope=hidden" : "x-f.*" >/dev/null
3866 CFLAGS="$CFLAGS -Werror -xldscope=hidden"
3867 elif expr "x-xldscope=hidden" : "x-m.*" >/dev/null
3869 CFLAGS="$CFLAGS -Werror -xldscope=hidden"
3871 CFLAGS="$CFLAGS -xldscope=hidden"
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -xldscope=hidden " >&5
3899 $as_echo_n "checking whether -xldscope=hidden ... " >&6; }
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 V_CCOPT="$V_CCOPT -xldscope=hidden"
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3942 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking that Ultrix $CC hacks const in prototypes" >&5
3947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_cc_const_proto" >&5
3976 V_CCOPT="$V_CCOPT -O"
3984 # add options to generate position-independent code,
3991 # add to the run-time search path, if that's necessary.
3994 V_SHLIB_OPT="-shared"
4003 # or accepts command-line arguments like
4006 # Some instruction sets require -fPIC on some
4011 PIC_OPT=-fpic
4018 PIC_OPT=-fPIC
4024 V_SONAME_OPT="-Wl,-soname,"
4025 V_RPATH_OPT="-Wl,-rpath,"
4029 V_SHLIB_CCOPT="$V_SHLIB_CCOPT -fpic"
4031 # XXX - this assumes GCC is using the HP linker,
4033 # option is used on all HP-UX platforms, both .sl
4036 V_SONAME_OPT="-Wl,+h,"
4038 # By default, directories specifed with -L
4039 # are added to the run-time search path, so
4040 # we don't add them in pcap-config.
4045 V_SHLIB_CCOPT="$V_SHLIB_CCOPT -fpic"
4047 # XXX - this assumes GCC is using the Sun linker,
4050 V_SONAME_OPT="-Wl,-h,"
4051 V_RPATH_OPT="-Wl,-R,"
4059 # add options to generate position-independent code,
4066 # add to the run-time search path, if that's necessary.
4069 # some platforms the soname is passed with a GCC-like
4070 # "-Wl,-soname,{soname}" option, with the soname part
4079 V_SHLIB_OPT="-G -bnoentry -bexpall"
4086 V_SHLIB_CCOPT="$V_SHLIB_CCOPT -fpic"
4088 V_SHLIB_OPT="-shared"
4089 V_SONAME_OPT="-Wl,-soname,"
4090 V_RPATH_OPT="-Wl,-rpath,"
4096 V_SHLIB_OPT="-b"
4099 # By default, directories specifed with -L
4100 # are added to the run-time search path, so
4101 # we don't add them in pcap-config.
4111 V_SHLIB_OPT="-shared"
4112 V_SONAME_OPT="-soname "
4113 V_RPATH_OPT="-rpath "
4117 V_SHLIB_CCOPT="$V_SHLIB_CCOPT -Kpic"
4119 V_SHLIB_OPT="-G"
4120 V_SONAME_OPT="-h "
4121 V_RPATH_OPT="-R"
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 if test ! -z "$ac_cv_lbl_inline" ; then
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_inline" >&5
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4192 # Check whether --enable-largefile was given.
4199 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large …
4209 # so use the C compiler's -n32 option if that helps.
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* Check that off_t can represent 2**63 - 1 correctly.
4217 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4220 ? 1 : -1];
4232 rm -f core conftest.err conftest.$ac_objext
4233 CC="$CC -n32"
4235 ac_cv_sys_largefile_CC=' -n32'; break
4237 rm -f core conftest.err conftest.$ac_objext
4241 rm -f conftest.$ac_ext
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4250 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large fil…
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* Check that off_t can represent 2**63 - 1 correctly.
4263 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4266 ? 1 : -1];
4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* Check that off_t can represent 2**63 - 1 correctly.
4287 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4290 ? 1 : -1];
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4317 rm -rf conftest*
4319 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >…
4325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* Check that off_t can represent 2**63 - 1 correctly.
4332 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4335 ? 1 : -1];
4347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* Check that off_t can represent 2**63 - 1 correctly.
4356 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4359 ? 1 : -1];
4371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4386 rm -rf conftest*
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large file…
4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 rm -f core conftest.err conftest.$ac_objext \
4416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 rm -f core conftest.err conftest.$ac_objext \
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
4449 rm -rf conftest*
4463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4467 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4469 if test -n "$CPP" && test -d "$CPP"; then
4472 if test -z "$CPP"; then
4477 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4483 # with a fresh cross-compiler works.
4486 # On the NeXT, cc -E runs the code through the compiler's parser,
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 rm -f conftest.err conftest.i conftest.$ac_ext
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 rm -f conftest.err conftest.i conftest.$ac_ext
4523 rm -f conftest.i conftest.err conftest.$ac_ext
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4542 # with a fresh cross-compiler works.
4545 # On the NeXT, cc -E runs the code through the compiler's parser,
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 rm -f conftest.err conftest.i conftest.$ac_ext
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 rm -f conftest.err conftest.i conftest.$ac_ext
4582 rm -f conftest.i conftest.err conftest.$ac_ext
4586 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4588 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4600 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4604 if test -z "$GREP"; then
4606 # Loop through the user's path and test for each of PROGNAME-LIST
4611 test -z "$as_dir" && as_dir=.
4618 case `"$ac_path_GREP" --version 2>&1` in
4630 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
4633 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4639 test $ac_count -gt 10 && break
4641 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4649 if test -z "$ac_cv_path_GREP"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4667 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4668 then ac_cv_path_EGREP="$GREP -E"
4670 if test -z "$EGREP"; then
4672 # Loop through the user's path and test for each of PROGNAME-LIST
4677 test -z "$as_dir" && as_dir=.
4684 case `"$ac_path_EGREP" --version 2>&1` in
4699 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4705 test $ac_count -gt 10 && break
4707 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4715 if test -z "$ac_cv_path_EGREP"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 rm -f conftest*
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4786 rm -f conftest*
4791 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4902 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether net/pfvar.h defines PF_NAT through PF_NO…
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI ioctl definitions" >&5
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_gcc_fixincludes" >&5
5098 # "getaddrinfo()-ish function".
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lsocket" >&5
5115 $as_echo_n "checking for getaddrinfo in -lsocket... " >&6; }
5120 LIBS="-lsocket -lnsl $LIBS"
5121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5144 rm -f core conftest.err conftest.$ac_objext \
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_getaddrinfo" >&5
5155 LIBS="-lsocket -lnsl $LIBS"
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recvmsg in -lxnet" >&5
5172 $as_echo_n "checking for recvmsg in -lxnet... " >&6; }
5177 LIBS="-lxnet -lsocket -lnsl $LIBS"
5178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5201 rm -f core conftest.err conftest.$ac_objext \
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_recvmsg" >&5
5210 # Yes - link with it as well.
5212 LIBS="-lxnet $LIBS"
5219 # DLPI needs putmsg under HPUX so test for -lstr while we're at it
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing putmsg" >&5
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 if test -z "$ac_lib"; then
5248 ac_res=-l$ac_lib
5249 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5254 rm -f core conftest.err conftest.$ac_objext \
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_putmsg" >&5
5282 # thread-specific data on many platforms, but doesn't use it on
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Linux getnetbyname_r()" >&5
5297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris/IRIX getnetbyname_r()" >&5
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AIX getnetbyname_r()" >&5
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 rm -f core conftest.err conftest.$ac_objext \
5395 rm -f core conftest.err conftest.$ac_objext \
5399 rm -f core conftest.err conftest.$ac_objext \
5409 # thread-specific data on many platforms, but doesn't use it on
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Linux getprotobyname_r()" >&5
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris/IRIX getprotobyname_r()" >&5
5456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AIX getprotobyname_r()" >&5
5487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 rm -f core conftest.err conftest.$ac_objext \
5521 rm -f core conftest.err conftest.$ac_objext \
5525 rm -f core conftest.err conftest.$ac_objext \
5754 # No - do we have it in -lpthreads?
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5
5757 $as_echo_n "checking for pthread_create in -lpthreads... " >&6; }
5762 LIBS="-lpthreads $LIBS"
5763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5786 rm -f core conftest.err conftest.$ac_objext \
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create" >&5
5795 # Yes - add -lpthreads.
5798 PTHREAD_LIBS="$PTHREAD_LIBS -lpthreads"
5803 # No - do we have it in -lpthread?
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
5806 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
5811 LIBS="-lpthread $LIBS"
5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5835 rm -f core conftest.err conftest.$ac_objext \
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
5844 # Yes - add -lpthread.
5847 PTHREAD_LIBS="$PTHREAD_LIBS -lpthread"
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --disable-protochain option is specified" >&5
5878 $as_echo_n "checking if --disable-protochain option is specified... " >&6; }
5879 # Check whether --enable-protochain was given.
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_protochain}" >&5
5907 # "--with-sita" selects SITA support.
5910 # Check whether --with-sita was given.
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling SITA ACN support" >&5
5925 # Check whether --with-pcap was given.
5930 if test ! -z "$with_pcap" ; then
5952 # I.e., is it a header for an LBL/BSD-style capture
5962 # requires that various BSD-style integer types
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if net/bpf.h defines BIOCSETIF" >&5
5983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_bpf_h_defines_biocsetif" >&5
6080 # XXX - this won't work with older kernels that have
6101 # Pre-SunOS 4.x non-STREAMS NIT.
6111 # DLPI on pre-Solaris 11 SunOS 5, HP-UX, possibly others.
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine packet capture interface" >&5
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: (see the INSTALL doc for more info)" >&5
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking packet capture type" >&5
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $V_PCAP" >&5
6132 # Do capture-mechanism-dependent tests.
6137 # Needed for common functions used by pcap-[dlpi,libdlpi].c
6163 # Due to a gcc bug, the default search path for 32-bit libraries does
6167 # libdlpi will have to add "-L/lib" option to "configure".
6170 LDFLAGS="$LIBS -L/lib"
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlpi_walk in -ldlpi" >&5
6172 $as_echo_n "checking for dlpi_walk in -ldlpi... " >&6; }
6177 LIBS="-ldlpi $LIBS"
6178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6201 rm -f core conftest.err conftest.$ac_objext \
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dlpi_dlpi_walk" >&5
6209 LIBS="-ldlpi $LIBS"
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/dlpi.h> is usable" >&5
6230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_dlpi_usable" >&5
6256 …as_fn_error $? "<sys/dlpi.h> is not usable on this system; it probably has a non-standard DLPI" "$…
6307 # Check whether --with-libnl was given.
6318 incdir=-I/usr/include/libnl3
6326 if test -d $withval; then
6327 libnldir=-L${withval}/lib/.libs
6328 incdir=-I${withval}/include
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_socket_alloc in -lnl-3" >&5
6337 $as_echo_n "checking for nl_socket_alloc in -lnl-3... " >&6; }
6342 LIBS="-lnl-3 ${incdir} ${libnldir} -lnl-genl-3 -lnl-3 $LIBS"
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 rm -f core conftest.err conftest.$ac_objext \
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nl_3_nl_socket_alloc" >&5
6377 LIBS="${libnldir} -lnl-genl-3 -lnl-3 $LIBS"
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_socket_alloc in -lnl" >&5
6401 $as_echo_n "checking for nl_socket_alloc in -lnl... " >&6; }
6406 LIBS="-lnl $LIBS"
6407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6430 rm -f core conftest.err conftest.$ac_objext \
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nl_nl_socket_alloc" >&5
6441 LIBS="${libnldir} -lnl-genl -lnl $LIBS"
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_handle_alloc in -lnl" >&5
6465 $as_echo_n "checking for nl_handle_alloc in -lnl... " >&6; }
6470 LIBS="-lnl $LIBS"
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 rm -f core conftest.err conftest.$ac_objext \
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nl_nl_handle_alloc" >&5
6505 LIBS="${libnldir} -lnl $LIBS"
6544 # <linux/if_packet.h>. If so, then pcap-linux.c can use this
6547 # -Scott Barron
6589 # Check whether we have the *BSD-style ioctls.
6629 # --with-pcap=dag is the only way to get here, and it means
6632 V_DEFS="$V_DEFS -DDAG_ONLY"
6638 # --with-pcap=septel is the only way to get here, and it means
6641 V_DEFS="$V_DEFS -DSEPTEL_ONLY"
6647 # --with-pcap=snf is the only way to get here, and it means
6650 V_DEFS="$V_DEFS -DSNF_ONLY"
6678 V_FINDALLDEVS=fad-getad.c
6683 # We don't have the header - give up.
6684 # XXX - we could also fall back on some other
6705 # getifaddrs(), but in -lsocket, not in -lxnet, so we
6706 # won't find it if we link with -lxnet, which we want
6714 # avoids a not-all-that-useful middleman.)
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have SIOCGLIFCONF" >&5
6721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_have_siocglifconf" >&5
6747 V_FINDALLDEVS=fad-glifc.c
6749 V_FINDALLDEVS=fad-gifc.c
6775 …{ $as_echo "$as_me:${as_lineno-$LINENO}: no hardware timestamp support implemented for $host_os" >…
6780 # Check whether --enable-packet-ring was given.
6813 # Check whether --enable-ipv6 was given.
6832 # Check whether --with-dag was given.
6852 # User requested DAG-only libpcap, so we'd better have
6856 # User requested something-else-only pcap, so they don't
6870 # Check whether --with-dag-includes was given.
6881 # Check whether --with-dag-libraries was given.
6894 if test -z "$dag_root"; then
6898 if test -z "$dag_include_dir"; then
6902 if test -z "$dag_lib_dir"; then
6906 V_INCLS="$V_INCLS -I$dag_include_dir"
6924 SSRC="$SSRC pcap-dag.c"
6928 # Don't need to save and restore LIBS to prevent -ldag being
6929 # included if there's a found-action (arg 3).
6931 LDFLAGS="-L$dag_lib_dir"
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dag_attach_stream in -ldag" >&5
6933 $as_echo_n "checking for dag_attach_stream in -ldag... " >&6; }
6938 LIBS="-ldag $LIBS"
6939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 rm -f core conftest.err conftest.$ac_objext \
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dag_dag_attach_stream" >&5
6973 LIBS="-ldag $LIBS"
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dag_attach_stream64 in -ldag" >&5
6980 $as_echo_n "checking for dag_attach_stream64 in -ldag... " >&6; }
6985 LIBS="-ldag $LIBS"
6986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7009 rm -f core conftest.err conftest.$ac_objext \
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dag_dag_attach_stream64" >&5
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dag_get_erf_types in -ldag" >&5
7022 $as_echo_n "checking for dag_get_erf_types in -ldag... " >&6; }
7027 LIBS="-ldag $LIBS"
7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7051 rm -f core conftest.err conftest.$ac_objext \
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dag_dag_get_erf_types" >&5
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dag_get_stream_erf_types in -ldag" >&5
7065 $as_echo_n "checking for dag_get_stream_erf_types in -ldag... " >&6; }
7070 LIBS="-ldag $LIBS"
7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7094 rm -f core conftest.err conftest.$ac_objext \
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dag_dag_get_stream_erf_types" >&5
7115 LIBS="$LIBS -ldag -ldagconf"
7116 LDFLAGS="$LDFLAGS -L$dag_lib_dir"
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vdag_set_device_info in -lvdag" >&5
7123 $as_echo_n "checking for vdag_set_device_info in -lvdag... " >&6; }
7128 LIBS="-lvdag $LIBS"
7129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7152 rm -f core conftest.err conftest.$ac_objext \
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vdag_vdag_set_device_info" >&5
7183 …as_fn_error $? "DAG support requested with --with-pcap=dag, but the DAG headers weren't found at $…
7188 …as_fn_error $? "DAG support requested with --with-dag, but the DAG headers weren't found at $dag_i…
7194 # Check whether --with-septel was given.
7212 # User requested Septel-only libpcap, so we'd better have
7216 # User requested something-else-only pcap, so they don't
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have Septel API headers" >&5
7236 if test -z "$septel_root"; then
7243 if test -r "$septel_include_dir/msg.h"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($septel_include_dir)" >&5
7251 V_INCLS="$V_INCLS -I$septel_include_dir"
7256 SSRC="$SSRC pcap-septel.c"
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 …as_fn_error $? "Septel support requested with --with-pcap=septel, but the Septel headers weren't f…
7274 …as_fn_error $? "Septel support requested with --with-septel, but the Septel headers weren't found …
7281 # Check whether --with-snf was given.
7301 # User requested Sniffer-only libpcap, so we'd better have
7305 # User requested something-else-only pcap, so they don't
7319 # Check whether --with-snf-includes was given.
7330 # Check whether --with-snf-libraries was given.
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have Myricom Sniffer API" >&5
7347 if test -z "$snf_root"; then
7351 if test -z "$snf_include_dir"; then
7355 if test -z "$snf_lib_dir"; then
7359 if test -f "$snf_include_dir/snf.h"; then
7362 LDFLAGS="$LDFLAGS -L$snf_lib_dir"
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snf_init in -lsnf" >&5
7364 $as_echo_n "checking for snf_init in -lsnf... " >&6; }
7369 LIBS="-lsnf $LIBS"
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7393 rm -f core conftest.err conftest.$ac_objext \
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_snf_snf_init" >&5
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($snf_root)" >&5
7413 V_INCLS="$V_INCLS -I$snf_include_dir"
7414 LIBS="$LIBS -lsnf"
7415 LDFLAGS="$LDFLAGS -L$snf_lib_dir"
7418 SSRC="$SSRC pcap-snf.c"
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 …as_fn_error $? "Myricom Sniffer support requested with --with-pcap=snf, but the Sniffer headers we…
7435 …as_fn_error $? "Myricom Sniffer support requested with --with-snf, but the Sniffer headers weren't…
7442 # Check whether --with-turbocap was given.
7462 # User requested something-else-only pcap, so they don't
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TurboCap is supported" >&5
7483 if test ! -z "$turbocap_root"; then
7484 TURBOCAP_CFLAGS="-I$turbocap_root/include"
7485 TURBOCAP_LIBS="-L$turbocap_root/lib"
7489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7516 SSRC="$SSRC pcap-tc.c"
7518 LIBS="$LIBS $TURBOCAP_LIBS -lTcApi -lpthread -lstdc++"
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7529 …as_fn_error $? "TurboCap support requested with --with-turbocap, but the TurboCap headers weren't …
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable remote packet capture" >&5
7536 # Check whether --enable-remote was given.
7544 yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7546 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Remote packet capture may expose libpcap-based a…
7547 $as_echo "$as_me: WARNING: Remote packet capture may expose libpcap-based applications" >&2;}
7548 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to attacks by malicious remote capture servers!"…
7566 # No. Do we have it in -lcrypt?
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
7569 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
7574 LIBS="-lcrypt $LIBS"
7575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 rm -f core conftest.err conftest.$ac_objext \
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
7607 # Yes; add -lcrypt to the libraries for rpcapd.
7609 RPCAPD_LIBS="$RPCAPD_LIBS -lcrypt"
7671 SSRC="$SSRC pcap-new.c pcap-rpcap.c rpcap-protocol.c sockutils.c"
7672 BUILD_RPCAPD=build-rpcapd
7673 INSTALL_RPCAPD=install-rpcapd
7675 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build optimizer debugging code" >&5
7682 # Check whether --enable-optimizer-dbg was given.
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_optimizer_dbg-no}" >&5
7693 $as_echo "${enable_optimizer_dbg-no}" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build parser debugging code" >&5
7697 # Check whether --enable-yydebug was given.
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_yydebug-no}" >&5
7708 $as_echo "${enable_yydebug-no}" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7722 if test -n "$LEX"; then
7729 test -z "$as_dir" && as_dir=.
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7743 if test -n "$LEX"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7752 test -n "$LEX" && break
7754 test -n "$LEX" || LEX=":"
7782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
7794 if test -f lex.yy.c; then
7796 elif test -f lexyy.c; then
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
7806 if test -z "${LEXLIB+set}"; then
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
7815 for ac_lib in '' -lfl -ll; do
7817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824 rm -f core conftest.err conftest.$ac_objext \
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
7843 # default is implementation-dependent. Figure out which it is, since
7848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7857 rm -f core conftest.err conftest.$ac_objext \
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
7869 rm -f conftest.l $LEX_OUTPUT_ROOT.c
7877 # Make sure {f}lex supports the -P, --header-file, and --nounput flags
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capable lex" >&5
7885 if $LEX -P pcap_ --header-file=/dev/null --nounput -t $srcdir/scanner.l > /dev/null 2>&1; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcpdump_cv_capable_lex" >&5
7901 for ac_prog in 'bison -y' byacc
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7910 if test -n "$YACC"; then
7917 test -z "$as_dir" && as_dir=.
7921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 if test -n "$YACC"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7940 test -n "$YACC" && break
7942 test -n "$YACC" || YACC="yacc"
7946 # Make sure it supports the -p flag and supports processing our
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capable yacc/bison" >&5
7954 if $YACC -p pcap_ -o /dev/null $srcdir/grammar.y >/dev/null 2>&1; then
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcpdump_cv_capable_yacc" >&5
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $pseexe" >&5
8010 if test -f $pseexe ; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8013 LIBS="-I:$pseexe"
8019 # If we're using BPF, we need "-lodm" and "-lcfg", as
8022 LIBS="-lodm -lcfg"
8029 V_CCOPT="$V_CCOPT -fno-common"
8030 # Check whether --enable-universal was given.
8038 darwin0-7.*)
8040 # Pre-Tiger. Build only for 32-bit PowerPC; no
8047 # Tiger, prior to Intel support. Build for 32-bit
8048 # PowerPC and 64-bit PowerPC, with 32-bit PowerPC
8051 V_CCOPT="$V_CCOPT -arch ppc -arch ppc64"
8052 LDFLAGS="$LDFLAGS -arch ppc -arch ppc64"
8058 # x86-64 support. Build for 32-bit PowerPC, 64-bit
8059 # PowerPC, and x86, with 32-bit PowerPC first.
8062 V_CCOPT="$V_CCOPT -arch ppc -arch ppc64 -arch i386"
8063 LDFLAGS="$LDFLAGS -arch ppc -arch ppc64 -arch i386"
8068 # All other Tiger, so subsequent to x86-64
8069 # support. Build for 32-bit PowerPC, 64-bit
8070 # PowerPC, x86, and x86-64, and with 32-bit PowerPC
8073 V_CCOPT="$V_CCOPT -arch ppc -arch ppc64 -arch i386 -arch x86_64"
8074 LDFLAGS="$LDFLAGS -arch ppc -arch ppc64 -arch i386 -arch x86_64"
8079 # Leopard. Build for 32-bit PowerPC, 64-bit
8080 # PowerPC, x86, and x86-64, with 32-bit PowerPC
8083 V_CCOPT="$V_CCOPT -arch ppc -arch ppc64 -arch i386 -arch x86_64"
8084 LDFLAGS="$LDFLAGS -arch ppc -arch ppc64 -arch i386 -arch x86_64"
8089 # Snow Leopard. Build for x86-64, x86, and
8090 # 32-bit PowerPC, with x86-64 first. (That's
8097 V_CCOPT="$V_CCOPT -arch x86_64 -arch i386 -arch ppc"
8098 LDFLAGS="$LDFLAGS -arch x86_64 -arch i386 -arch ppc"
8103 # Post-Snow Leopard. Build for x86-64 and
8104 # x86, with x86-64 first. (That's probably what
8106 # XXX - update if and when Apple drops support
8107 # for 32-bit x86 code.
8109 V_CCOPT="$V_CCOPT -arch x86_64 -arch i386"
8110 LDFLAGS="$LDFLAGS -arch x86_64 -arch i386"
8153 if test "`uname -m`" = "ia64"; then
8160 # "-b" builds a shared library; "+h" sets the soname.
8162 SHLIB_OPT="-b"
8186 # Compiler assumed to be GCC; run-time linker may require a -R
8190 V_RFLAGS=-Wl,-R$libdir
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SINIX compiler defines sinix" >&5
8213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_sinix_defined" >&5
8249 # Make sure errno is thread-safe, in case we're called in
8254 # is thread-safe (it wasn't thread-safe in some older versions).
8256 V_CCOPT="$V_CCOPT -D_TS_ERRNO"
8258 case "`uname -r`" in
8274 # Check whether --enable-shared was given.
8281 if test -n "$ac_tool_prefix"; then
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8289 if test -n "$RANLIB"; then
8296 test -z "$as_dir" && as_dir=.
8300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310 if test -n "$RANLIB"; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8320 if test -z "$ac_cv_prog_RANLIB"; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8329 if test -n "$ac_ct_RANLIB"; then
8336 test -z "$as_dir" && as_dir=.
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8350 if test -n "$ac_ct_RANLIB"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8373 if test -n "$ac_tool_prefix"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8381 if test -n "$AR"; then
8388 test -z "$as_dir" && as_dir=.
8392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402 if test -n "$AR"; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412 if test -z "$ac_cv_prog_AR"; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8421 if test -n "$ac_ct_AR"; then
8428 test -z "$as_dir" && as_dir=.
8432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8442 if test -n "$ac_ct_AR"; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8467 $as_echo_n "checking whether ln -s works... " >&6; }
8469 if test "$LN_S" = "ln -s"; then
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8479 rm -f os-proto.h
8483 if test -f .devel ; then
8489 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler fails when given an unknown…
8492 CFLAGS="$CFLAGS -Wxyzzy-this-will-never-succeed-xyzzy"
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 # -Werror=unknown-warning-option is the appropriate
8513 ac_lbl_unknown_warning_option_error="-Werror=unknown-warning-option"
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8525 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wall option" …
8526 $as_echo_n "checking whether the compiler supports the -Wall option... " >&6; }
8528 if expr "x-Wall" : "x-W.*" >/dev/null
8530 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wall"
8531 elif expr "x-Wall" : "x-f.*" >/dev/null
8533 CFLAGS="$CFLAGS -Werror -Wall"
8534 elif expr "x-Wall" : "x-m.*" >/dev/null
8536 CFLAGS="$CFLAGS -Werror -Wall"
8538 CFLAGS="$CFLAGS -Wall"
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wall " >&5
8566 $as_echo_n "checking whether -Wall ... " >&6; }
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8594 V_CCOPT="$V_CCOPT -Wall"
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8607 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wsign-compare…
8608 $as_echo_n "checking whether the compiler supports the -Wsign-compare option... " >&6; }
8610 if expr "x-Wsign-compare" : "x-W.*" >/dev/null
8612 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wsign-compare"
8613 elif expr "x-Wsign-compare" : "x-f.*" >/dev/null
8615 CFLAGS="$CFLAGS -Werror -Wsign-compare"
8616 elif expr "x-Wsign-compare" : "x-m.*" >/dev/null
8618 CFLAGS="$CFLAGS -Werror -Wsign-compare"
8620 CFLAGS="$CFLAGS -Wsign-compare"
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wsign-compare " >&5
8648 $as_echo_n "checking whether -Wsign-compare ... " >&6; }
8649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8676 V_CCOPT="$V_CCOPT -Wsign-compare"
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8689 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wmissing-prot…
8690 $as_echo_n "checking whether the compiler supports the -Wmissing-prototypes option... " >&6; }
8692 if expr "x-Wmissing-prototypes" : "x-W.*" >/dev/null
8694 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wmissing-prototypes"
8695 elif expr "x-Wmissing-prototypes" : "x-f.*" >/dev/null
8697 CFLAGS="$CFLAGS -Werror -Wmissing-prototypes"
8698 elif expr "x-Wmissing-prototypes" : "x-m.*" >/dev/null
8700 CFLAGS="$CFLAGS -Werror -Wmissing-prototypes"
8702 CFLAGS="$CFLAGS -Wmissing-prototypes"
8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wmissing-prototypes " >&5
8730 $as_echo_n "checking whether -Wmissing-prototypes ... " >&6; }
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8758 V_CCOPT="$V_CCOPT -Wmissing-prototypes"
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8771 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wstrict-proto…
8772 $as_echo_n "checking whether the compiler supports the -Wstrict-prototypes option... " >&6; }
8774 if expr "x-Wstrict-prototypes" : "x-W.*" >/dev/null
8776 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wstrict-prototypes"
8777 elif expr "x-Wstrict-prototypes" : "x-f.*" >/dev/null
8779 CFLAGS="$CFLAGS -Werror -Wstrict-prototypes"
8780 elif expr "x-Wstrict-prototypes" : "x-m.*" >/dev/null
8782 CFLAGS="$CFLAGS -Werror -Wstrict-prototypes"
8784 CFLAGS="$CFLAGS -Wstrict-prototypes"
8786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wstrict-prototypes " >&5
8812 $as_echo_n "checking whether -Wstrict-prototypes ... " >&6; }
8813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8840 V_CCOPT="$V_CCOPT -Wstrict-prototypes"
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8853 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wshadow optio…
8854 $as_echo_n "checking whether the compiler supports the -Wshadow option... " >&6; }
8856 if expr "x-Wshadow" : "x-W.*" >/dev/null
8858 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wshadow"
8859 elif expr "x-Wshadow" : "x-f.*" >/dev/null
8861 CFLAGS="$CFLAGS -Werror -Wshadow"
8862 elif expr "x-Wshadow" : "x-m.*" >/dev/null
8864 CFLAGS="$CFLAGS -Werror -Wshadow"
8866 CFLAGS="$CFLAGS -Wshadow"
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wshadow " >&5
8894 $as_echo_n "checking whether -Wshadow ... " >&6; }
8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8922 V_CCOPT="$V_CCOPT -Wshadow"
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8935 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wdeclaration-…
8936 $as_echo_n "checking whether the compiler supports the -Wdeclaration-after-statement option... " >&…
8938 if expr "x-Wdeclaration-after-statement" : "x-W.*" >/dev/null
8940 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wdeclaration-after-statement"
8941 elif expr "x-Wdeclaration-after-statement" : "x-f.*" >/dev/null
8943 CFLAGS="$CFLAGS -Werror -Wdeclaration-after-statement"
8944 elif expr "x-Wdeclaration-after-statement" : "x-m.*" >/dev/null
8946 CFLAGS="$CFLAGS -Werror -Wdeclaration-after-statement"
8948 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
8950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wdeclaration-after-statement " >&5
8976 $as_echo_n "checking whether -Wdeclaration-after-statement ... " >&6; }
8977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9004 V_CCOPT="$V_CCOPT -Wdeclaration-after-statement"
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9017 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wused-but-mar…
9018 $as_echo_n "checking whether the compiler supports the -Wused-but-marked-unused option... " >&6; }
9020 if expr "x-Wused-but-marked-unused" : "x-W.*" >/dev/null
9022 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wused-but-marked-unused"
9023 elif expr "x-Wused-but-marked-unused" : "x-f.*" >/dev/null
9025 CFLAGS="$CFLAGS -Werror -Wused-but-marked-unused"
9026 elif expr "x-Wused-but-marked-unused" : "x-m.*" >/dev/null
9028 CFLAGS="$CFLAGS -Werror -Wused-but-marked-unused"
9030 CFLAGS="$CFLAGS -Wused-but-marked-unused"
9032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wused-but-marked-unused " >&5
9058 $as_echo_n "checking whether -Wused-but-marked-unused ... " >&6; }
9059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9086 V_CCOPT="$V_CCOPT -Wused-but-marked-unused"
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9099 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wdocumentatio…
9100 $as_echo_n "checking whether the compiler supports the -Wdocumentation option... " >&6; }
9102 if expr "x-Wdocumentation" : "x-W.*" >/dev/null
9104 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wdocumentation"
9105 elif expr "x-Wdocumentation" : "x-f.*" >/dev/null
9107 CFLAGS="$CFLAGS -Werror -Wdocumentation"
9108 elif expr "x-Wdocumentation" : "x-m.*" >/dev/null
9110 CFLAGS="$CFLAGS -Werror -Wdocumentation"
9112 CFLAGS="$CFLAGS -Wdocumentation"
9114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wdocumentation " >&5
9140 $as_echo_n "checking whether -Wdocumentation ... " >&6; }
9141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9168 V_CCOPT="$V_CCOPT -Wdocumentation"
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9181 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wcomma option…
9182 $as_echo_n "checking whether the compiler supports the -Wcomma option... " >&6; }
9184 if expr "x-Wcomma" : "x-W.*" >/dev/null
9186 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wcomma"
9187 elif expr "x-Wcomma" : "x-f.*" >/dev/null
9189 CFLAGS="$CFLAGS -Werror -Wcomma"
9190 elif expr "x-Wcomma" : "x-m.*" >/dev/null
9192 CFLAGS="$CFLAGS -Werror -Wcomma"
9194 CFLAGS="$CFLAGS -Wcomma"
9196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wcomma " >&5
9222 $as_echo_n "checking whether -Wcomma ... " >&6; }
9223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9250 V_CCOPT="$V_CCOPT -Wcomma"
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9263 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wmissing-nore…
9264 $as_echo_n "checking whether the compiler supports the -Wmissing-noreturn option... " >&6; }
9266 if expr "x-Wmissing-noreturn" : "x-W.*" >/dev/null
9268 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wmissing-noreturn"
9269 elif expr "x-Wmissing-noreturn" : "x-f.*" >/dev/null
9271 CFLAGS="$CFLAGS -Werror -Wmissing-noreturn"
9272 elif expr "x-Wmissing-noreturn" : "x-m.*" >/dev/null
9274 CFLAGS="$CFLAGS -Werror -Wmissing-noreturn"
9276 CFLAGS="$CFLAGS -Wmissing-noreturn"
9278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wmissing-noreturn " >&5
9304 $as_echo_n "checking whether -Wmissing-noreturn ... " >&6; }
9305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9332 V_CCOPT="$V_CCOPT -Wmissing-noreturn"
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9346 # AC_LBL_CHECK_COMPILER_OPT(V_CCOPT, -Wcovered-switch-default)
9348 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wmissing-vari…
9349 $as_echo_n "checking whether the compiler supports the -Wmissing-variable-declarations option... " …
9351 if expr "x-Wmissing-variable-declarations" : "x-W.*" >/dev/null
9353 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wmissing-variable-declarations"
9354 elif expr "x-Wmissing-variable-declarations" : "x-f.*" >/dev/null
9356 CFLAGS="$CFLAGS -Werror -Wmissing-variable-declarations"
9357 elif expr "x-Wmissing-variable-declarations" : "x-m.*" >/dev/null
9359 CFLAGS="$CFLAGS -Werror -Wmissing-variable-declarations"
9361 CFLAGS="$CFLAGS -Wmissing-variable-declarations"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9388 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wmissing-variable-declarations " >&5
9389 $as_echo_n "checking whether -Wmissing-variable-declarations ... " >&6; }
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9417 V_CCOPT="$V_CCOPT -Wmissing-variable-declarations"
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9430 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wunused-param…
9431 $as_echo_n "checking whether the compiler supports the -Wunused-parameter option... " >&6; }
9433 if expr "x-Wunused-parameter" : "x-W.*" >/dev/null
9435 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wunused-parameter"
9436 elif expr "x-Wunused-parameter" : "x-f.*" >/dev/null
9438 CFLAGS="$CFLAGS -Werror -Wunused-parameter"
9439 elif expr "x-Wunused-parameter" : "x-m.*" >/dev/null
9441 CFLAGS="$CFLAGS -Werror -Wunused-parameter"
9443 CFLAGS="$CFLAGS -Wunused-parameter"
9445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wunused-parameter " >&5
9471 $as_echo_n "checking whether -Wunused-parameter ... " >&6; }
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9499 V_CCOPT="$V_CCOPT -Wunused-parameter"
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9512 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wformat-nonli…
9513 $as_echo_n "checking whether the compiler supports the -Wformat-nonliteral option... " >&6; }
9515 if expr "x-Wformat-nonliteral" : "x-W.*" >/dev/null
9517 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wformat-nonliteral"
9518 elif expr "x-Wformat-nonliteral" : "x-f.*" >/dev/null
9520 CFLAGS="$CFLAGS -Werror -Wformat-nonliteral"
9521 elif expr "x-Wformat-nonliteral" : "x-m.*" >/dev/null
9523 CFLAGS="$CFLAGS -Werror -Wformat-nonliteral"
9525 CFLAGS="$CFLAGS -Wformat-nonliteral"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wformat-nonliteral " >&5
9553 $as_echo_n "checking whether -Wformat-nonliteral ... " >&6; }
9554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9581 V_CCOPT="$V_CCOPT -Wformat-nonliteral"
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9598 # the byte-swapping involves a conditional
9600 # swapped is a compile-time constant or not,
9602 # on whether it is, does a compile-time swap or
9603 # a run-time swap; perhaps the compiler always
9618 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wunreachable-…
9619 $as_echo_n "checking whether the compiler supports the -Wunreachable-code option... " >&6; }
9621 if expr "x-Wunreachable-code" : "x-W.*" >/dev/null
9623 CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wunreachable-code"
9624 elif expr "x-Wunreachable-code" : "x-f.*" >/dev/null
9626 CFLAGS="$CFLAGS -Werror -Wunreachable-code"
9627 elif expr "x-Wunreachable-code" : "x-m.*" >/dev/null
9629 CFLAGS="$CFLAGS -Werror -Wunreachable-code"
9631 CFLAGS="$CFLAGS -Wunreachable-code"
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9658 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wunreachable-code generates warnings fr…
9659 $as_echo_n "checking whether -Wunreachable-code generates warnings from ntohs()... " >&6; }
9660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9694 V_CCOPT="$V_CCOPT -Wunreachable-code"
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9708 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports generating depende…
9714 # would be -M.
9716 ac_lbl_dependency_flag="-M"
9729 # MIPS C for IRIX, DEC C, and clang all use -M.
9731 ac_lbl_dependency_flag="-M"
9736 # Sun C uses -xM.
9738 ac_lbl_dependency_flag="-xM"
9768 # an unknown non-warning error, even if you pass it
9769 # -Werror=unknown-warning-option. However, it always supports
9770 # -M, so the fact that this test always succeeds with clang
9773 if test ! -z "$ac_lbl_dependency_flag"; then
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 …if { { $as_echo "$as_me:${as_lineno-$LINENO}: eval \"\$CC \$ac_lbl_dependency_flag conftest.c >/de…
9781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with $ac_lbl_dependency_flag" >&5
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9796 rm -rf conftest*
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9810 # We used to set -n32 for IRIX 6 when not using GCC (presumed
9812 # the "new" faster 32-bit ABI, introduced in IRIX 6.2. I'm
9817 os=`echo $host_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'`
9818 name="lbl/os-$os.h"
9819 if test -f $name ; then
9820 ln -s $name os-proto.h
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find $name" >&5
9867 # Check to see if the dl_hp_ppa_info_t struct has the HP-UX 11.00
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if unaligned accesses fail" >&5
9905 # the unaligned access (e.g., Alpha/{Digital,Tru64} UNIX) -
9917 # CPUs - I don't know what the problem is; the problem
9919 # but that's what the test program is *supposed* to do -
9924 # This run-time test won't work if you're cross-compiling, so
9925 # in order to support cross-compiling for a particular CPU,
9963 ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS \
9965 if test ! -x conftest ; then
9969 if test ! -s conftest.out ; then
9975 rm -f -r conftest* core core.conftest
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_unaligned_fail" >&5
10013 # Check whether --enable-usb was given.
10022 # User requested something-else-only pcap, so they don't
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for USB sniffing support" >&5
10035 USB_SRC=pcap-usb-linux.c
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10038 ac_usb_dev_name=`udevinfo -q name -p /sys/class/usb_device/usbmon 2>/dev/null`
10039 if test $? -ne 0 ; then
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: Device for USB sniffing is /dev/$ac_usb_dev_name" >&5
10067 # Yes - include it when testing for <linux/usbdevice_fs.h>.
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, in FreeBSD 8.4 and later" >&5
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10141 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the platform could support netfilter sni…
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10155 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can compile the netfilter support" >&5
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_netfilter_can_compile" >&5
10195 NETFILTER_SRC=pcap-netfilter-linux.c
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10207 # Check whether --enable-netmap was given.
10219 # is defined, for example, as it includes a non-existent malloc.h
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can compile the netmap support" >&5
10227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_net_netmap_user_can_compile" >&5
10255 NETMAP_SRC=pcap-netmap.c
10262 # Check whether --enable-bluetooth was given.
10271 # User requested something-else-only pcap, so they don't
10289 BT_SRC=pcap-bt-linux.c
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: Bluetooth sniffing is supported" >&5
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if HCI_CHANNEL_MONITOR is defined" >&5
10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10341 BT_MONITOR_SRC=pcap-bt-monitor-linux.c
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10363 …as_fn_error $? "Bluetooth sniffing is not supported; install bluez-lib devel to enable it" "$LINEN…
10365 …{ $as_echo "$as_me:${as_lineno-$LINENO}: Bluetooth sniffing is not supported; install bluez-lib de…
10366 $as_echo "$as_me: Bluetooth sniffing is not supported; install bluez-lib devel to enable it" >&6;}
10377 …{ $as_echo "$as_me:${as_lineno-$LINENO}: no Bluetooth sniffing support implemented for $host_os" >…
10387 # Check whether --enable-dbus was given.
10396 # User requested something-else-only pcap, so they don't
10397 # want D-Bus support.
10407 # We don't support D-Bus sniffing on macOS; see
10413 …as_fn_error $? "Due to freedesktop.org bug 74029, D-Bus capture support is not available on macOS"…
10420 # We don't support D-Bus sniffing on macOS; see
10434 # Extract the first word of "pkg-config", so it can be a program name with args.
10435 set dummy pkg-config; ac_word=$2
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10441 if test -n "$PKGCONFIG"; then
10448 test -z "$as_dir" && as_dir=.
10451 ac_cv_prog_PKGCONFIG="pkg-config"
10452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10459 test -z "$ac_cv_prog_PKGCONFIG" && ac_cv_prog_PKGCONFIG="no"
10463 if test -n "$PKGCONFIG"; then
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus" >&5
10474 $as_echo_n "checking for D-Bus... " >&6; }
10475 if "$PKGCONFIG" dbus-1; then
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10478 DBUS_CFLAGS=`"$PKGCONFIG" --cflags dbus-1`
10479 DBUS_LIBS=`"$PKGCONFIG" --libs dbus-1`
10484 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the D-Bus library defines dbus_connectio…
10485 $as_echo_n "checking whether the D-Bus library defines dbus_connection_read_write... " >&6; }
10486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10509 DBUS_SRC=pcap-dbus.c
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 …as_fn_error $? "--enable-dbus was given, but the D-Bus library doesn't define dbus_connection_read…
10522 rm -f core conftest.err conftest.$ac_objext \
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10529 as_fn_error $? "--enable-dbus was given, but the dbus-1 package is not installed" "$LINENO" 5
10537 # Check whether --enable-rdma was given.
10546 # User requested something-else-only pcap, so they don't
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ibv_get_device_list in -libverbs" >&5
10553 $as_echo_n "checking for ibv_get_device_list in -libverbs... " >&6; }
10558 LIBS="-libverbs $LIBS"
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10582 rm -f core conftest.err conftest.$ac_objext \
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibverbs_ibv_get_device_list" >&5
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libibverbs defines ibv_create_flow" >&5
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10629 RDMA_SRC=pcap-rdmasniff.c
10630 LIBS="-libverbs $LIBS"
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10639 rm -f core conftest.err conftest.$ac_objext \
10660 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
10667 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10668 if test -z "$INSTALL"; then
10676 test -z "$as_dir" && as_dir=.
10696 # program-specific install script used by HP pwplus--don't use.
10699 rm -rf conftest.one conftest.two conftest.dir
10703 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
10704 test -s conftest.one && test -s conftest.two &&
10705 test -s conftest.dir/conftest.one &&
10706 test -s conftest.dir/conftest.two
10708 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
10721 rm -rf conftest.one conftest.two conftest.dir
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
10737 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10739 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
10741 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
10743 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
10749 ac_config_commands="$ac_config_commands default-1"
10751 …_config_files="$ac_config_files Makefile pcap-filter.manmisc pcap-linktype.manmisc pcap-tstamp.man…
10756 # scripts and configure runs, see configure's option --config-cache.
10761 # the --recheck option to rerun configure.
10775 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10780 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
10794 # `set' does not quote correctly, so add quotes: double-quote
10796 sed -n \
10802 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10816 if test -w "$cache_file"; then
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10820 if test ! -f "$cache_file" || test -h "$cache_file"; then
10825 mv -f confcache "$cache_file"$$ &&
10826 mv -f "$cache_file"$$ "$cache_file" ;; #(
10828 mv -f confcache "$cache_file" ;;
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10837 rm -f confcache
10843 DEFS=-DHAVE_CONFIG_H
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10881 SHELL=\${CONFIG_SHELL-$SHELL}
10885 ## -------------------- ##
10887 ## -------------------- ##
10891 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
10894 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10896 alias -g '${1+"$@"}'='"$@"'
10899 case `(set -o) 2>/dev/null` in #(
10901 set -o posix ;; #(
10917 if test -z "$BASH_VERSION$ZSH_VERSION" \
10918 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
10919 as_echo='print -r --'
10920 as_echo_n='print -rn --'
10925 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10926 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
10927 as_echo_n='/usr/ucb/echo -n'
10937 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
10940 as_echo_n='sh -c $as_echo_n_body as_echo'
10943 as_echo='sh -c $as_echo_body as_echo'
10949 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10950 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10958 # there to prevent editors from complaining about space-tab.
10971 test -z "$as_dir" && as_dir=.
10972 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10983 if test ! -f "$as_myself"; then
10989 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11011 # ----------------------------------------
11017 as_status=$1; test $as_status -eq 0 && as_status=1
11019 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11020 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11028 # -----------------------
11036 # -----------------
11037 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11046 # ---------------
11054 # ----------------------
11072 # ------------------
11084 as_val=`expr "$@" || test $? -eq 1`
11096 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11102 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11108 as_me=`$as_basename -- "$0" ||
11135 case `echo -n x` in #(((((
11136 -n*)
11144 ECHO_N='-n';;
11147 rm -f conf$$ conf$$.exe conf$$.file
11148 if test -d conf$$.dir; then
11149 rm -f conf$$.dir/conf$$.file
11151 rm -f conf$$.dir
11155 if ln -s conf$$.file conf$$ 2>/dev/null; then
11156 as_ln_s='ln -s'
11158 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11159 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11160 # In both cases, we have to default to `cp -pR'.
11161 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11162 as_ln_s='cp -pR'
11166 as_ln_s='cp -pR'
11169 as_ln_s='cp -pR'
11171 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11176 # -------------
11182 -*) as_dir=./$as_dir;;
11184 test -d "$as_dir" || eval $as_mkdir_p || {
11192 as_dir=`$as_dirname -- "$as_dir" ||
11215 test -d "$as_dir" && break
11217 test -z "$as_dirs" || eval "mkdir $as_dirs"
11218 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11222 if mkdir -p . 2>/dev/null; then
11223 as_mkdir_p='mkdir -p "$as_dir"'
11225 test -d ./-p && rmdir ./-p
11231 # -----------------------
11235 test -f "$1" && test -x "$1"
11237 as_test_x='test -x'
11248 ## ----------------------------------- ##
11250 ## ----------------------------------- ##
11259 This file was extended by pcap $as_me 1.9.0-PRE-GIT, which was
11268 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11298 -h, --help print this help, then exit
11299 -V, --version print version number and configuration settings, then exit
11300 --config print configuration, then exit
11301 -q, --quiet, --silent
11303 -d, --debug don't remove temporary files
11304 --recheck update $as_me by reconfiguring in the same conditions
11305 --file=FILE[:TEMPLATE]
11307 --header=FILE[:TEMPLATE]
11325 pcap config.status 1.9.0-PRE-GIT
11336 test -n "\$AWK" || AWK=awk
11345 --*=?*)
11350 --*=)
11364 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11366 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11368 --config | --confi | --conf | --con | --co | --c )
11370 --debug | --debu | --deb | --de | --d | -d )
11372 --file | --fil | --fi | --f )
11380 --header | --heade | --head | --hea )
11387 --he | --h)
11388 # Conflict between --help and --header
11390 Try \`$0 --help' for more information.";;
11391 --help | --hel | -h )
11393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11394 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11398 -*) as_fn_error $? "unrecognized option: \`$1'
11399 Try \`$0 --help' for more information." ;;
11412 ac_configure_extra_args="$ac_configure_extra_args --silent"
11418 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11431 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11440 # INIT-COMMANDS
11453 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11455 "pcap-filter.manmisc") CONFIG_FILES="$CONFIG_FILES pcap-filter.manmisc" ;;
11456 "pcap-linktype.manmisc") CONFIG_FILES="$CONFIG_FILES pcap-linktype.manmisc" ;;
11457 "pcap-tstamp.manmisc") CONFIG_FILES="$CONFIG_FILES pcap-tstamp.manmisc" ;;
11458 "pcap-savefile.manfile") CONFIG_FILES="$CONFIG_FILES pcap-savefile.manfile" ;;
11500 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
11507 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11508 test -d "$tmp"
11511 tmp=./conf$$-$RANDOM
11519 if test -n "$CONFIG_FILES"; then
11546 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11552 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11561 rm -f conf$$subs.sh
11566 sed -n '
11609 rm -f conf$$subs.awk
11672 fi # test -n "$CONFIG_FILES"
11677 if test -n "$CONFIG_HEADERS"; then
11683 # here-document in config.status, that substitutes the proper values into
11690 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
11691 if test -z "$ac_tt"; then
11705 sed -n '
11760 prefix = substr(line, 1, index(line, defundef) - 1)
11780 fi # test -n "$CONFIG_HEADERS"
11793 :[FH]-) ac_tag=-:-;;
11811 -) ac_f="$ac_tmp/stdin";;
11813 # (if the path is not absolute). The absolute path cannot be DOS-style,
11815 test -f "$ac_f" ||
11818 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11832 if test x"$ac_file" != x-; then
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11846 *:-:* | *:-) cat >"$ac_tmp/stdin" \
11852 ac_dir=`$as_dirname -- "$ac_file" ||
11937 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11940 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdi…
11941 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11977 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
11980 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11981 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
11982 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
11983 "$ac_tmp/out"`; test -z "$ac_out"; } &&
11984 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`…
11989 rm -f "$ac_tmp/stdin"
11991 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
11992 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12000 if test x"$ac_file" != x-; then
12003 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12010 rm -f "$ac_file"
12016 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
12017 || as_fn_error $? "could not create -" "$LINENO" 5
12021 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12028 "default-1":C) if test -f .devel; then
12029 echo timestamp > stamp-h
12030 cat $srcdir/Makefile-devel-adds >> Makefile
12058 ac_config_status_args="$ac_config_status_args --quiet"
12066 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5