Lines Matching +full:pse +full:- +full:supply
2 # Guess values for system-dependent variables and create Makefiles.
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 ## -------------------- ##
14 ## -------------------- ##
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
30 set -o posix ;; #(
44 # Quoting is to prevent editors from complaining about space-tab.
54 # Ensure predictable behavior from utilities with locale-dependent output.
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
109 if test ! -f "$as_myself"; then
116 # into an infinite loop, continuously re-executing ourselves.
122 # Preserve -v and -x to the replacement shell.
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 case \`(set -o) 2>/dev/null\` in #(
153 set -o posix ;; #(
179 test -x / || exit 1"
211 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
212 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
229 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
230 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
268 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
277 SHELL=${CONFIG_SHELL-/bin/sh}
283 ## --------------------- ##
285 ## --------------------- ##
287 # ---------------
297 # -----------------------
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # ---------
323 # -------------
329 -*) as_dir=./$as_dir;;
331 test -d "$as_dir" || eval $as_mkdir_p || {
339 as_dir=`$as_dirname -- "$as_dir" ||
362 test -d "$as_dir" && break
364 test -z "$as_dirs" || eval "mkdir $as_dirs"
365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # -----------------------
375 test -f "$1" && test -x "$1"
378 # ----------------------
397 # ------------------
410 as_val=`expr "$@" || test $? -eq 1`
415 # ---------
424 # ----------------------------------------
430 as_status=$1; test $as_status -eq 0 && as_status=1
432 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
446 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
458 as_me=`$as_basename -- "$0" ||
489 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
490 sed -n '
495 s/[$]LINENO.*/&-/
503 s/-\n.*//
508 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
525 case `echo -n x` in #(((((
526 -n*)
534 ECHO_N='-n';;
537 # For backward compatibility with old third-party macros, we provide
544 rm -f conf$$ conf$$.exe conf$$.file
545 if test -d conf$$.dir; then
546 rm -f conf$$.dir/conf$$.file
548 rm -f conf$$.dir
552 if ln -s conf$$.file conf$$ 2>/dev/null; then
553 as_ln_s='ln -s'
555 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
556 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
557 # In both cases, we have to default to `cp -pR'.
558 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
559 as_ln_s='cp -pR'
563 as_ln_s='cp -pR'
566 as_ln_s='cp -pR'
568 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 if mkdir -p . 2>/dev/null; then
572 as_mkdir_p='mkdir -p "$as_dir"'
574 test -d ./-p && rmdir ./-p
578 as_test_x='test -x'
588 test -n "$DJDIR" || exec 7<&0 </dev/null
594 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
891 if test -n "$ac_prev"; then
904 --)
907 -bindir | --bindir | --bindi | --bind | --bin | --bi)
909 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
912 -build | --build | --buil | --bui | --bu)
914 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
917 -cache-file | --cache-file | --cache-fil | --cache-fi \
918 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
921 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
924 --config-cache | -C)
927 -datadir | --datadir | --datadi | --datad)
929 -datadir=* | --datadir=* | --datadi=* | --datad=*)
932 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
933 | --dataroo | --dataro | --datar)
935 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
936 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
939 -disable-* | --disable-*)
940 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
945 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
955 -docdir | --docdir | --docdi | --doc | --do)
957 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
960 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
962 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
965 -enable-* | --enable-*)
966 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
971 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
976 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
981 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
982 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
983 | --exec | --exe | --ex)
985 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
986 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
987 | --exec=* | --exe=* | --ex=*)
990 -gas | --gas | --ga | --g)
991 # Obsolete; use --with-gas.
994 -help | --help | --hel | --he | -h)
996 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1001 -host | --host | --hos | --ho)
1003 -host=* | --host=* | --hos=* | --ho=*)
1006 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1008 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1009 | --ht=*)
1012 -includedir | --includedir | --includedi | --included | --include \
1013 | --includ | --inclu | --incl | --inc)
1015 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1016 | --includ=* | --inclu=* | --incl=* | --inc=*)
1019 -infodir | --infodir | --infodi | --infod | --info | --inf)
1021 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1024 -libdir | --libdir | --libdi | --libd)
1026 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1029 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1030 | --libexe | --libex | --libe)
1032 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1033 | --libexe=* | --libex=* | --libe=*)
1036 -localedir | --localedir | --localedi | --localed | --locale)
1038 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1041 -localstatedir | --localstatedir | --localstatedi | --localstated \
1042 | --localstate | --localstat | --localsta | --localst | --locals)
1044 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1045 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1048 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1050 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1053 -nfp | --nfp | --nf)
1054 # Obsolete; use --without-fp.
1057 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1058 | --no-cr | --no-c | -n)
1061 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1062 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1065 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1066 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1067 | --oldin | --oldi | --old | --ol | --o)
1069 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1070 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1071 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1074 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1076 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1079 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1080 | --program-pre | --program-pr | --program-p)
1082 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1083 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1086 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1087 | --program-suf | --program-su | --program-s)
1089 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1090 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1093 -program-transform-name | --program-transform-name \
1094 | --program-transform-nam | --program-transform-na \
1095 | --program-transform-n | --program-transform- \
1096 | --program-transform | --program-transfor \
1097 | --program-transfo | --program-transf \
1098 | --program-trans | --program-tran \
1099 | --progr-tra | --program-tr | --program-t)
1101 -program-transform-name=* | --program-transform-name=* \
1102 | --program-transform-nam=* | --program-transform-na=* \
1103 | --program-transform-n=* | --program-transform-=* \
1104 | --program-transform=* | --program-transfor=* \
1105 | --program-transfo=* | --program-transf=* \
1106 | --program-trans=* | --program-tran=* \
1107 | --progr-tra=* | --program-tr=* | --program-t=*)
1110 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1112 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1115 -psdir | --psdir | --psdi | --psd | --ps)
1117 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1121 | -silent | --silent | --silen | --sile | --sil)
1124 -runstatedir | --runstatedir | --runstatedi | --runstated \
1125 | --runstate | --runstat | --runsta | --runst | --runs \
1126 | --run | --ru | --r)
1128 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1129 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1130 | --run=* | --ru=* | --r=*)
1133 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1135 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1136 | --sbi=* | --sb=*)
1139 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1140 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1141 | --sharedst | --shareds | --shared | --share | --shar \
1142 | --sha | --sh)
1144 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1145 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1146 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1147 | --sha=* | --sh=*)
1150 -site | --site | --sit)
1152 -site=* | --site=* | --sit=*)
1155 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1157 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1160 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1161 | --syscon | --sysco | --sysc | --sys | --sy)
1163 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1164 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1167 -target | --target | --targe | --targ | --tar | --ta | --t)
1169 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1172 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1175 -version | --version | --versio | --versi | --vers | -V)
1178 -with-* | --with-*)
1179 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1194 -without-* | --without-*)
1195 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1210 --x)
1211 # Obsolete; use --with-x.
1214 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1215 | --x-incl | --x-inc | --x-in | --x-i)
1217 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1218 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1221 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1222 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1224 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1225 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1228 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1229 Try \`$0 --help' for more information"
1236 '' | [0-9]* | *[!_$as_cr_alnum]* )
1244 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1245 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1253 if test -n "$ac_prev"; then
1254 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1258 if test -n "$ac_unrecognized_opts"; then
1284 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1288 # used to hold the argument of --host etc.
1304 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1309 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di=`ls -di .` &&
1311 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1318 if test -z "$srcdir"; then
1321 ac_confdir=`$as_dirname -- "$as_myself" ||
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1365 # mess up M-x gdb in Emacs.
1377 # Report the --help message.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking ...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1424 --libdir=DIR object code libraries [EPREFIX/lib]
1425 --includedir=DIR C header files [PREFIX/include]
1426 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1427 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1428 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1429 --infodir=DIR info documentation [DATAROOTDIR/info]
1430 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1431 --mandir=DIR man documentation [DATAROOTDIR/man]
1432 --docdir=DIR documentation root [DATAROOTDIR/doc/pcap]
1433 --htmldir=DIR html documentation [DOCDIR]
1434 --dvidir=DIR dvi documentation [DOCDIR]
1435 --pdfdir=DIR pdf documentation [DOCDIR]
1436 --psdir=DIR ps documentation [DOCDIR]
1442 --build=BUILD configure for building on BUILD [guessed]
1443 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1444 --target=TARGET configure for building compilers for TARGET [HOST]
1448 if test -n "$ac_init_help"; then
1455 --disable-option-checking ignore unrecognized --enable/--with options
1456 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1457 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1458 --disable-largefile omit support for large files
1459 --enable-instrument-functions
1461 --disable-protochain disable \"protochain\" insn
1462 --enable-ipv6 build IPv6-capable version [default=yes]
1463 --enable-remote enable remote packet capture [default=no]
1464 --enable-optimizer-dbg build optimizer debugging code
1465 --enable-yydebug build parser debugging code
1466 --disable-universal don't build universal on macOS
1467 --enable-shared build shared libraries [default=yes, if support
1469 --enable-usb enable Linux usbmon USB capture support
1471 --enable-netmap enable netmap support [default=yes, if support
1473 --enable-bluetooth enable Bluetooth support [default=yes, if support
1475 --enable-dbus enable D-Bus capture support [default=yes, if
1477 --enable-rdma enable RDMA capture support [default=yes, if support
1481 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1482 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1483 --without-gcc don't use gcc
1484 --with-pcap=TYPE use packet capture TYPE
1485 --without-libnl disable libnl support [default=yes, on Linux, if
1487 --with-dag[=DIR] include Endace DAG support (located in directory
1489 --with-dag-includes=IDIR
1491 --with-dag-libraries=LDIR
1493 --with-septel[=DIR] include Septel support (located in directory DIR, if
1495 --with-snf[=DIR] include Myricom SNF support (located in directory
1497 --with-snf-includes=IDIR
1499 --with-snf-libraries=LDIR
1501 --with-turbocap[=DIR] include Riverbed TurboCap support (located in
1504 --with-dpdk[=DIR] include DPDK support (located in directory DIR, if
1510 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1512 LIBS libraries to pass to the linker, e.g. -l<library>
1513 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1515 PKG_CONFIG path to pkg-config utility
1517 directories to add to pkg-config's search path
1519 path overriding pkg-config's built-in search path
1521 C compiler flags for libnl-genl-3.0, overriding pkg-config
1522 LIBNL_LIBS linker flags for libnl-genl-3.0, overriding pkg-config
1524 static-link linker flags for libnl-genl-3.0, overriding
1525 pkg-config
1527 C compiler flags for openssl, overriding pkg-config
1529 linker flags for openssl, overriding pkg-config
1531 static-link linker flags for openssl, overriding pkg-config
1532 DPDK_CFLAGS C compiler flags for libdpdk, overriding pkg-config
1533 DPDK_LIBS linker flags for libdpdk, overriding pkg-config
1535 static-link linker flags for libdpdk, overriding pkg-config
1536 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1537 DBUS_LIBS linker flags for dbus-1, overriding pkg-config
1539 static-link linker flags for dbus-1, overriding pkg-config
1541 C compiler flags for libibverbs, overriding pkg-config
1543 linker flags for libibverbs, overriding pkg-config
1545 static-link linker flags for libibverbs, overriding pkg-config
1556 # If there are subdirs, report their specific --help.
1558 test -d "$ac_dir" ||
1559 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1597 # Metaconfig's "Configure" on case-insensitive file systems.
1598 if test -f "$ac_srcdir/configure.gnu"; then
1600 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1601 elif test -f "$ac_srcdir/configure"; then
1603 $SHELL "$ac_srcdir/configure" --help=recursive
1611 test -n "$ac_init_help" && exit $ac_status
1624 ## ------------------------ ##
1626 ## ------------------------ ##
1629 # --------------------------
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 rm -f conftest.$ac_objext conftest.beam
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 if test -s conftest.err; then
1645 grep -v '^ *+' conftest.err >conftest.er1
1647 mv -f conftest.er1 conftest.err
1649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test -z "$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1653 } && test -s conftest.$ac_objext
1668 # ----------------------
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1711 # --------------------------------------------
1712 # Tries to find the compile-time value of EXPR in a program that includes
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1726 static int test_array [1 - 2 * !(($2) >= 0)];
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1757 if test $ac_lo -le $ac_mid; then
1763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1772 static int test_array [1 - 2 * !(($2) < 0)];
1782 ac_hi=-1 ac_mid=-1
1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1802 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1803 if test $ac_mid -le $ac_hi; then
1809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1819 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1891 rm -f conftest.val
1900 # -------------------------------------------------------
1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 # ----------------------------------
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1995 # ------------------------------------------------------------------
1997 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2008 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 # -------------------------------------------
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104 # ----------------------------------------------------
2109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2195 ## --------- ##
2197 ## --------- ##
2199 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2200 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2201 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2202 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2203 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2205 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2206 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2209 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2236 ## ----------- ##
2238 ## ----------- ##
2244 # Strip out --no-create and --no-recursion so they do not pile up.
2245 # Strip out --silent because we don't want to record it for future runs.
2246 # Also quote any args containing shell meta-characters.
2247 # Make two passes to allow for proper duplicate-argument suppression.
2257 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2258 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2259 | -silent | --silent | --silen | --sile | --sil)
2272 *=* | --config-cache | -C | -disable-* | --disable-* \
2273 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2274 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2275 | -with-* | --with-* | -without-* | --without-* | --x)
2280 -* ) ac_must_keep_next=true ;;
2303 printf "%s\n" "## ---------------- ##
2305 ## ---------------- ##"
2309 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2314 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2327 sed -n \
2332 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2339 printf "%s\n" "## ----------------- ##
2341 ## ----------------- ##"
2353 if test -n "$ac_subst_files"; then
2354 printf "%s\n" "## ------------------- ##
2356 ## ------------------- ##"
2369 if test -s confdefs.h; then
2370 printf "%s\n" "## ----------- ##
2372 ## ----------- ##"
2381 rm -f core *.core core.conftest.* &&
2382 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2391 rm -f -r conftest* confdefs.h
2412 if test -n "$CONFIG_SITE"; then
2428 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2433 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 if test -r "$cache_file"; then
2443 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2488 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2491 as an "x". The following induces an error, until -std is added to get
2494 that is true only with -std. */
2495 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2497 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2500 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2554 static long long int bignum = -9223372036854775807LL;
2574 // See if C++-style comments work.
2637 ia->datasize = 10;
2638 for (int i = 0; i < ia->datasize; ++i)
2639 ia->data[i] = i * 1.234;
2652 dynamic_array[ni.number - 1] = 543;
2656 || dynamic_array[ni.number - 1] != 543);
2679 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2693 // Check UTF-8 literals.
2702 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2776 ac_aux_files="install-sh config.guess config.sub"
2782 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2806 # As a special case, if "install-sh" is required, that requirement
2807 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2809 if test x"$ac_aux" = x"install-sh"
2811 if test -f "${as_dir}install-sh"; then
2812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2813 ac_install_sh="${as_dir}install-sh -c"
2814 elif test -f "${as_dir}install.sh"; then
2815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2816 ac_install_sh="${as_dir}install.sh -c"
2817 elif test -f "${as_dir}shtool"; then
2818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2819 ac_install_sh="${as_dir}shtool install -c"
2823 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2829 if test -f "${as_dir}${ac_aux}"; then
2830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2862 if test -f "${ac_aux_dir}config.guess"; then
2865 if test -f "${ac_aux_dir}config.sub"; then
2868 if test -f "$ac_aux_dir/configure"; then
2882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2927 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2930 ## -------------------- ##
2932 ## -------------------- ##
2936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2945 # These are the variables that are used in Makefile, pcap-config, and
2963 # pcap-config, so that "pcap-config --libs --static" will report them.
2966 # REQUIRES_PRIVATE: pkg-config package names for additional libraries
2969 # so that "pkg-config --libs --static" will report them, and so that
2973 # V_CCOPT: additional compiler flags other than -I and -D flags
2977 # V_DEFS: additional -D compiler flags needed when compiling
2980 # V_INCLS: additional -I compiler flags needed when compiling
2984 # library needs to be linked. Used in Makefile; not used in pcap-config
2987 # that dynamic library doesn't have to link with those libraries -
2993 # in pcap-config, so that "pcap-config --libs --static" will report
2996 # REQUIRES_PRIVATE: pkg-config package names for additional libraries
2999 # so that "pkg-config --libs --static" will report them, and so that
3003 # LIBS_PRIVATE: pkg-config package names for additional libraries with
3006 # so that "pkg-config --libs --static" will report them (those libraries
3029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3047 *-*-*) ;;
3051 ac_save_IFS=$IFS; IFS='-'
3061 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3081 *-*-*) ;;
3085 ac_save_IFS=$IFS; IFS='-'
3095 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3115 *-*-*) ;;
3119 ac_save_IFS=$IFS; IFS='-'
3129 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3134 test -n "$target_alias" &&
3137 program_prefix=${target_alias}-
3146 # Check whether --with-gcc was given.
3154 V_CCOPT="-I\$(srcdir)"
3159 if test -z "$CC" ; then
3165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171 if test -n "$SHLICC2"; then
3186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3193 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2="no"
3197 if test -n "$SHLICC2"; then
3198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SHLICC2" >&5
3201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 if test -z "$CC" -a "$with_gcc" = no ; then
3234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3237 if test -n "$ac_tool_prefix"; then
3240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 if test -n "$CC"; then
3261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3271 if test -n "$CC"; then
3272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 if test -z "$ac_cv_prog_CC"; then
3285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 if test -n "$ac_ct_CC"; then
3306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3316 if test -n "$ac_ct_CC"; then
3317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3339 if test -z "$CC"; then
3340 if test -n "$ac_tool_prefix"; then
3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3349 if test -n "$CC"; then
3364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3374 if test -n "$CC"; then
3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 if test -z "$CC"; then
3388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 if test -n "$CC"; then
3414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3436 if test -n "$CC"; then
3437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446 if test -z "$CC"; then
3447 if test -n "$ac_tool_prefix"; then
3452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 if test -n "$CC"; then
3473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3483 if test -n "$CC"; then
3484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3492 test -n "$CC" && break
3495 if test -z "$CC"; then
3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3507 if test -n "$ac_ct_CC"; then
3522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3532 if test -n "$ac_ct_CC"; then
3533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 test -n "$ac_ct_CC" && break
3549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3558 if test -z "$CC"; then
3559 if test -n "$ac_tool_prefix"; then
3562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 if test -n "$CC"; then
3583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3593 if test -n "$CC"; then
3594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 if test -z "$ac_cv_prog_CC"; then
3607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 if test -n "$ac_ct_CC"; then
3628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3638 if test -n "$ac_ct_CC"; then
3639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3664 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3673 for ac_option in --version -v -V -qversion -version; do
3679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3683 if test -s conftest.err; then
3689 rm -f conftest.er1 conftest.err
3690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 # Try to create an executable without -o first, disregard a.out.
3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3712 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3725 rm -f $ac_rmfiles
3732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3739 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3742 # so that the user can short-circuit this test for compilers unknown to
3746 test -f "$ac_file" || continue
3760 # safe: cross compilers may not add the suffix if given an `-o'
3774 if test -z "$ac_file"
3776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3795 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3816 test -f "$ac_file" || continue
3825 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 rm -f conftest conftest$ac_cv_exeext
3831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3834 rm -f conftest.$ac_ext
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886 If you meant to cross compile, use \`--host'.
3891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3894 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913 rm -f conftest.o conftest.obj
3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3927 test -f "$ac_file" || continue;
3938 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3991 printf %s "checking whether $CC accepts -g... " >&6; }
3999 CFLAGS="-g"
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 CFLAGS="-g"
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4061 CFLAGS="-g -O2"
4063 CFLAGS="-g"
4067 CFLAGS="-O2"
4075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087 for ac_arg in '' -std=gnu11
4094 rm -f core conftest.err conftest.$ac_objext conftest.beam
4097 rm -f conftest.$ac_ext
4103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4140 rm -f core conftest.err conftest.$ac_objext conftest.beam
4143 rm -f conftest.$ac_ext
4149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4186 rm -f core conftest.err conftest.$ac_objext conftest.beam
4189 rm -f conftest.$ac_ext
4195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4224 # Get the size of a void *, to determine whether this is a 32-bit
4225 # or 64-bit build.
4258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4272 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4293 # Get the size of a time_t, to know whether it's 32-bit or 64-bit.
4296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
4311 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
4336 # -Werror forces warnings to be errors.
4338 ac_lbl_cc_force_warning_errors=-Werror
4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -fvisibility=hidden option" >&5
4347 printf %s "checking whether the compiler supports the -fvisibility=hidden option... " >&6; }
4349 CFLAGS="$CFLAGS -fvisibility=hidden"
4351 # XXX - yes, this depends on the way AC_LANG_WERROR works,
4354 # testing compiler options - 15 years after somebody asked
4357 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
4365 # as it will generate a warning with -Wold-style-definition, meaning
4370 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
4371 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -fvisibility=hidden " >&5
4396 printf %s "checking whether -fvisibility=hidden ... " >&6; }
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4425 V_CCOPT="$V_CCOPT -fvisibility=hidden"
4430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4439 V_INCLS="$V_INCLS -I/usr/local/include"
4440 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4447 # of which use -Werror to force warnings to be errors.
4449 ac_lbl_cc_force_warning_errors=-Werror
4457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -fvisibility=hidden option" >&5
4458 printf %s "checking whether the compiler supports the -fvisibility=hidden option... " >&6; }
4460 CFLAGS="$CFLAGS -fvisibility=hidden"
4462 # XXX - yes, this depends on the way AC_LANG_WERROR works,
4465 # testing compiler options - 15 years after somebody asked
4468 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
4476 # as it will generate a warning with -Wold-style-definition, meaning
4481 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
4482 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -fvisibility=hidden " >&5
4507 printf %s "checking whether -fvisibility=hidden ... " >&6; }
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4536 V_CCOPT="$V_CCOPT -fvisibility=hidden"
4541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4554 # exit with a non-zero exit status if we hand it an
4555 # invalid -W flag, can't be forced to do so even with
4556 # +We, and doesn't handle GCC-style -W flags, so we
4557 # don't want to try using GCC-style -W flags.
4565 # necessarily exit with a non-zero exit status if we
4566 # hand it an invalid -W flag, can't be forced to do
4567 # so, and doesn't handle GCC-style -W flags, so we
4568 # don't want to try using GCC-style -W flags.
4578 # -xansi is normally the default, but the
4579 # configure script was setting it; perhaps -cckr
4586 # -g is equivalent to -g2, which turns off
4587 # optimization; we choose -g3, which generates
4592 V_CCOPT="$V_CCOPT -xansi -signed -g3"
4601 # using, doesn't exit with a non-zero exit status if we
4602 # hand it an invalid -W flag, can't be forced to do
4603 # so, and doesn't handle GCC-style -W flags, so we
4604 # don't want to try using GCC-style -W flags.
4608 # -g is equivalent to -g2, which turns off
4609 # optimization; we choose -g3, which generates
4614 V_CCOPT="$V_CCOPT -g3"
4619 # Assumed to be Sun C, which requires -errwarn to force
4622 ac_lbl_cc_force_warning_errors=-errwarn
4630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -xldscope=hidden option" >&5
4631 printf %s "checking whether the compiler supports the -xldscope=hidden option... " >&6; }
4633 CFLAGS="$CFLAGS -xldscope=hidden"
4635 # XXX - yes, this depends on the way AC_LANG_WERROR works,
4638 # testing compiler options - 15 years after somebody asked
4641 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
4649 # as it will generate a warning with -Wold-style-definition, meaning
4654 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
4655 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -xldscope=hidden " >&5
4680 printf %s "checking whether -xldscope=hidden ... " >&6; }
4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4709 V_CCOPT="$V_CCOPT -xldscope=hidden"
4714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that Ultrix $CC hacks const in prototypes" >&5
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_cc_const_proto" >&5
4761 V_CCOPT="$V_CCOPT -O"
4769 # add options to generate position-independent code,
4776 # add to the run-time search path, if that's necessary.
4779 V_SHLIB_OPT="-shared"
4788 # compatible command-line arguments, and the linker
4789 # is the GNU linker or accepts compatible command-line
4792 # Some instruction sets require -fPIC on some
4797 PIC_OPT=-fpic
4804 PIC_OPT=-fPIC
4810 V_SONAME_OPT="-Wl,-soname,"
4814 V_SHLIB_CCOPT="$V_SHLIB_CCOPT -fpic"
4816 # XXX - this assumes GCC is using the HP linker,
4818 # option is used on all HP-UX platforms, both .sl
4821 V_SONAME_OPT="-Wl,+h,"
4823 # By default, directories specified with -L
4824 # are added to the run-time search path, so
4825 # we don't add them in pcap-config.
4830 V_SHLIB_CCOPT="$V_SHLIB_CCOPT -fpic"
4832 # Sun/Oracle's C compiler, GCC, and GCC-compatible
4833 # compilers support -Wl,{comma-separated list of options},
4837 V_SONAME_OPT="-Wl,-h,"
4845 # add options to generate position-independent code,
4852 # add to the run-time search path, if that's necessary.
4855 # some platforms the soname is passed with a GCC-like
4856 # "-Wl,-soname,{soname}" option, with the soname part
4865 V_SHLIB_OPT="-G -bnoentry -bexpall"
4871 # compatible command-line arguments, and the linker
4872 # is the GNU linker or accepts compatible command-line
4875 # XXX - does 64-bit SPARC require -fPIC?
4877 V_SHLIB_CCOPT="$V_SHLIB_CCOPT -fpic"
4879 V_SHLIB_OPT="-shared"
4880 V_SONAME_OPT="-Wl,-soname,"
4886 V_SHLIB_OPT="-b"
4889 # By default, directories specified with -L
4890 # are added to the run-time search path, so
4891 # we don't add them in pcap-config.
4901 V_SHLIB_OPT="-shared"
4902 V_SONAME_OPT="-soname "
4906 V_SHLIB_CCOPT="$V_SHLIB_CCOPT -Kpic"
4908 V_SHLIB_OPT="-G"
4910 # Sun/Oracle's C compiler, GCC, and GCC-compatible
4911 # compilers support -Wl,{comma-separated list of options},
4915 V_SONAME_OPT="-Wl,-h,"
4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4972 if test ! -z "$ac_cv_lbl_inline" ; then
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_inline" >&5
4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __atomic_load_n" >&5
4991 # -----------------------
4995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4996 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
5002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5006 if test -s conftest.err; then
5007 grep -v '^ *+' conftest.err >conftest.er1
5009 mv -f conftest.er1 conftest.err
5011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5013 test -z "$ac_c_werror_flag" ||
5014 test ! -s conftest.err
5015 } && test -s conftest$ac_exeext && {
5017 test -x conftest$ac_exeext
5031 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_have___atomic_load_n" >&5
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __atomic_store_n" >&5
5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_have___atomic_store_n" >&5
5110 # Check whether --enable-largefile was given.
5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5129 # so use the C compiler's -n32 option if that helps.
5130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* Check that off_t can represent 2**63 - 1 correctly.
5137 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
5140 ? 1 : -1];
5153 rm -f core conftest.err conftest.$ac_objext conftest.beam
5154 CC="$CC -n32"
5157 ac_cv_sys_largefile_CC=' -n32'; break
5159 rm -f core conftest.err conftest.$ac_objext conftest.beam
5163 rm -f conftest.$ac_ext
5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5182 /* Check that off_t can represent 2**63 - 1 correctly.
5186 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
5189 ? 1 : -1];
5202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* Check that off_t can represent 2**63 - 1 correctly.
5211 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
5214 ? 1 : -1];
5227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5240 rm -rf conftest*
5242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5252 /* Check that off_t can represent 2**63 - 1 correctly.
5256 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
5259 ? 1 : -1];
5272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5277 /* Check that off_t can represent 2**63 - 1 correctly.
5281 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
5284 ? 1 : -1];
5297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5310 rm -rf conftest*
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
5372 rm -rf conftest*
5416 CFLAGS="$CFLAGS -D_BSD_SOURCE"
5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpass in -lbsd" >&5
5421 printf %s "checking for getpass in -lbsd... " >&6; }
5427 LIBS="-lbsd $LIBS"
5428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getpass" >&5
5459 LIBS="-lbsd $LIBS"
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ANSI ioctl definitions" >&5
5478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_gcc_fixincludes" >&5
5530 # POSIX-compliant strerror_r() or a GNU strerror_r()?
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r is GNU-style" >&5
5533 printf %s "checking whether strerror_r is GNU-style... " >&6; }
5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5540 /* Define it GNU-style; that will cause an error if it's not GNU-style */
5554 # GNU-style
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
5739 for ac_arg in '' -fno-builtin; do
5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5760 # declaration. Include always-available headers on the
5762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
5801 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5827 # "getaddrinfo()-ish function".
5851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lsocket" >&5
5852 printf %s "checking for getaddrinfo in -lsocket... " >&6; }
5858 LIBS="-lsocket -lnsl $LIBS"
5859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_getaddrinfo" >&5
5892 LIBS="-lsocket -lnsl $LIBS"
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lnetwork" >&5
5904 printf %s "checking for getaddrinfo in -lnetwork... " >&6; }
5910 LIBS="-lnetwork $LIBS"
5911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_getaddrinfo" >&5
5944 LIBS="-lnetwork $LIBS"
5978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recvmsg in -lxnet" >&5
5979 printf %s "checking for recvmsg in -lxnet... " >&6; }
5985 LIBS="-lxnet -lsocket -lnsl $LIBS"
5986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_recvmsg" >&5
6019 LIBS="-lxnet $LIBS"
6028 # DLPI needs putmsg under HP-UX, so test for -lstr while we're at it.
6030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing putmsg" >&5
6037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6054 if test -z "$ac_lib"; then
6057 ac_res=-l$ac_lib
6058 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_putmsg" >&5
6095 # thread-specific data on many platforms, but doesn't use it on
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Linux getnetbyname_r()" >&5
6111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Solaris/IRIX getnetbyname_r()" >&5
6145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AIX getnetbyname_r()" >&5
6177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6225 # thread-specific data on many platforms, but doesn't use it on
6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Linux getprotobyname_r()" >&5
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Solaris/IRIX getprotobyname_r()" >&5
6274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AIX getprotobyname_r()" >&5
6306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6570 # No - do we have it in -lpthreads?
6572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5
6573 printf %s "checking for pthread_create in -lpthreads... " >&6; }
6579 LIBS="-lpthreads $LIBS"
6580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create" >&5
6611 # Yes - add -lpthreads.
6614 PTHREAD_LIBS="$PTHREAD_LIBS -lpthreads"
6619 # No - do we have it in -lpthread?
6621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
6622 printf %s "checking for pthread_create in -lpthread... " >&6; }
6628 LIBS="-lpthread $LIBS"
6629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
6660 # Yes - add -lpthread.
6663 PTHREAD_LIBS="$PTHREAD_LIBS -lpthread"
6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the instrument functions code" >&5
6694 # Check whether --enable-instrument-functions was given.
6703 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6708 # Add '-finstrument-functions' instrumentation option to generate
6710 # Use '--enable-instrument-functions' also with tcpdump (or tcpslice)
6712 CFLAGS="$CFLAGS -O0 -ggdb -finstrument-functions"
6714 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if --disable-protochain option is specified" >&5
6720 printf %s "checking if --disable-protochain option is specified... " >&6; }
6721 # Check whether --enable-protochain was given.
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${enable_protochain}" >&5
6749 # Check whether --with-pcap was given.
6755 if test ! -z "$with_pcap" ; then
6772 # I.e., is it a header for an LBL/BSD-style capture
6782 # requires that various BSD-style integer types
6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if net/bpf.h defines BIOCSETIF" >&5
6808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_bpf_h_defines_biocsetif" >&5
6936 # Pre-SunOS 4.x non-STREAMS NIT.
6946 # DLPI on pre-Solaris 11 SunOS 5, HP-UX, possibly others.
6958 # --with-pcap=null if they want a libpcap that can't
6960 # nobody gets surprised by getting a no-capture
6967 pcap and pcapng files, run configure with --with-pcap=null." "$LINENO" 5
6970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking packet capture type" >&5
6972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $V_PCAP" >&5
6977 # Do we have pkg-config?
6987 if test -n "$ac_tool_prefix"; then
6988 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6989 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7024 if test -n "$PKG_CONFIG"; then
7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 if test -z "$ac_cv_path_PKG_CONFIG"; then
7036 # Extract the first word of "pkg-config", so it can be a program name with args.
7037 set dummy pkg-config; ac_word=$2
7038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7072 if test -n "$ac_pt_PKG_CONFIG"; then
7073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7096 if test -n "$PKG_CONFIG"; then
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7099 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7100 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7149 if test -n "$BREW"; then
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BREW" >&5
7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7160 # Solaris pkg-config is annoying. For at least one package (D-Bus, I'm
7161 # looking at *you*!), there are separate include files for 32-bit and
7162 # 64-bit builds (I guess using "unsigned long long" as a 64-bit integer
7163 # type on a 64-bit build is like crossing the beams or something), and
7164 # there are two separate .pc files, so if we're doing a 32-bit build we
7166 # we're doing a 64-bit build we should make sure we look in
7172 if test "$ac_cv_sizeof_void_p" -eq 8; then
7174 # 64-bit build. If the path is empty, set it to
7180 if test -z "$PKG_CONFIG_PATH"; then
7186 elif test ! -z `echo "$PKG_CONFIG_PATH" | grep "/usr/lib/pkgconfig"`; then
7200 elif test "$ac_cv_sizeof_void_p" -eq 4; then
7202 # 32-bit build. If /usr/amd64/lib/pkgconfig appears
7205 if test ! -z `echo "$PKG_CONFIG_PATH" | grep "/usr/lib/amd64/pkgconfig"`; then
7243 # Due to a gcc bug, the default search path for 32-bit libraries does
7247 # libdlpi will have to add "-L/lib" option to "configure".
7250 LDFLAGS="$LIBS -L/lib"
7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlpi_walk in -ldlpi" >&5
7252 printf %s "checking for dlpi_walk in -ldlpi... " >&6; }
7258 LIBS="-ldlpi $LIBS"
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dlpi_dlpi_walk" >&5
7289 LIBS="-ldlpi $LIBS"
7290 LIBS_STATIC="-ldlpi $LIBS_STATIC"
7291 LIBS_PRIVATE="-ldlpi $LIBS_PRIVATE"
7296 # common functions used by pcap-[dlpi,libdlpi].c
7298 PLATFORM_C_SRC="pcap-libdlpi.c dlpisubs.c"
7309 # common functions used by pcap-[dlpi,libdlpi].c
7311 PLATFORM_C_SRC="pcap-dlpi.c dlpisubs.c"
7321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether <sys/dlpi.h> is usable" >&5
7327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_dlpi_usable" >&5
7354 as_fn_error $? "<sys/dlpi.h> is not usable on this system; it probably has a non-standard DLPI" "$LINENO" 5
7382 PLATFORM_C_SRC="pcap-enet.c"
7389 PLATFORM_C_SRC="pcap-haiku.c"
7419 PLATFORM_C_SRC="pcap-linux.c"
7440 # short-lived, and version 1 is source and binary
7447 # Check whether --with-libnl was given.
7458 # Check for libnl-genl-3.0 with pkg-config.
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnl-genl-3.0 with pkg-config" >&5
7462 printf %s "checking for libnl-genl-3.0 with pkg-config... " >&6; }
7463 if test -n "$PKG_CONFIG"; then
7465 if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnl-genl-3.0\""; } >&5
7466 ($PKG_CONFIG --exists --print-errors "libnl-genl-3.0") 2>&5
7468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
7476 if test ! -n "$LIBNL_CFLAGS"; then
7477 LIBNL_CFLAGS=`$PKG_CONFIG --cflags "libnl-genl-3.0" 2>/dev/null`
7480 # That failed - report an error.
7481 # Re-run the command, telling pkg-config to print an error
7487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7493 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --cflags "libnl-genl-3.0" 2>&1`
7495 _pkg_error_string=`$PKG_CONFIG --print-errors --cflags "libnl-genl-3.0" 2>&1`
7497 as_fn_error $? "$PKG_CONFIG --cflags \"libnl-genl-3.0\" failed: $_pkg_error_string" "$LINENO" 5
7500 if test ! -n "$LIBNL_LIBS"; then
7501 LIBNL_LIBS=`$PKG_CONFIG --libs "libnl-genl-3.0" 2>/dev/null`
7504 # That failed - report an error.
7505 # Re-run the command, telling pkg-config to print an error
7511 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7517 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs "libnl-genl-3.0" 2>&1`
7519 _pkg_error_string=`$PKG_CONFIG --print-errors --libs "libnl-genl-3.0" 2>&1`
7521 as_fn_error $? "$PKG_CONFIG --libs \"libnl-genl-3.0\" failed: $_pkg_error_string" "$LINENO" 5
7524 if test ! -n "$LIBNL_LIBS_STATIC"; then
7525 LIBNL_LIBS_STATIC=`$PKG_CONFIG --libs --static "libnl-genl-3.0" 2>/dev/null`
7528 # That failed - report an error.
7529 # Re-run the command, telling pkg-config to print an error
7535 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7541 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs --static "libnl-genl-3.0" 2>&1`
7543 _pkg_error_string=`$PKG_CONFIG --print-errors --libs --static "libnl-genl-3.0" 2>&1`
7545 as_fn_error $? "$PKG_CONFIG --libs --static \"libnl-genl-3.0\" failed: $_pkg_error_string" "$LINENO" 5
7553 REQUIRES_PRIVATE="libnl-genl-3.0 $REQUIRES_PRIVATE"
7559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7564 # No pkg-config, so obviously not found with pkg-config.
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: pkg-config not found" >&5
7566 printf "%s\n" "pkg-config not found" >&6; }
7573 # OK, either we don't have pkg-config or there
7579 incdir=-I/usr/include/libnl3
7584 if test -d $withval; then
7585 libnldir=-L${withval}/lib
7586 incdir=-I${withval}/include
7591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nl_socket_alloc in -lnl-3" >&5
7592 printf %s "checking for nl_socket_alloc in -lnl-3... " >&6; }
7598 LIBS="-lnl-3 ${incdir} ${libnldir} -lnl-genl-3 -lnl-3 $LIBS"
7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nl_3_nl_socket_alloc" >&5
7632 ADDITIONAL_LIBS="${libnldir} -lnl-genl-3 -lnl-3 $ADDITIONAL_LIBS"
7633 ADDITIONAL_LIBS_STATIC="${libnldir} -lnl-genl-3 -lnl-3 $ADDITIONAL_LIBS_STATIC"
7634 LIBS_PRIVATE="${libnldir} -lnl-genl-3 -lnl-3 $LIBS_PRIVATE"
7683 PLATFORM_C_SRC="pcap-bpf.c"
7686 # Check whether we have the *BSD-style ioctls.
7719 # if so, whether it defines IPNET_ANY_LINK - if so,
7727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the Solaris \"any\" device is supported" >&5
7729 if test -e /usr/include/inet/ipnet.h &&
7730 grep -q IPNET_ANY_LINK /usr/include/inet/ipnet.h; then
7731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746 PLATFORM_C_SRC="pcap-pf.c"
7753 PLATFORM_C_SRC="pcap-snit.c"
7760 PLATFORM_C_SRC="pcap-snoop.c"
7765 # --with-pcap=dag is the only way to get here, and it means
7768 V_DEFS="$V_DEFS -DDAG_ONLY"
7769 PLATFORM_C_SRC="pcap-dag.c"
7775 # --with-pcap=dpdk is the only way to get here, and it means
7778 V_DEFS="$V_DEFS -DDPDK_ONLY"
7779 PLATFORM_C_SRC="pcap-dpdk.c"
7785 # --with-pcap=septel is the only way to get here, and it means
7788 V_DEFS="$V_DEFS -DSEPTEL_ONLY"
7789 PLATFORM_C_SRC="pcap-septel.c"
7795 # --with-pcap=snf is the only way to get here, and it means
7798 V_DEFS="$V_DEFS -DSNF_ONLY"
7799 PLATFORM_C_SRC="pcap-snf.c"
7807 PLATFORM_C_SRC="pcap-null.c"
7833 PLATFORM_C_SRC="$PLATFORM_C_SRC fad-getad.c"
7838 # We don't have the header - give up.
7839 # XXX - we could also fall back on some other
7859 # getifaddrs(), but in -lsocket, not in -lxnet, so we
7860 # won't find it if we link with -lxnet, which we want
7868 # avoids a not-all-that-useful middleman.)
7870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have SIOCGLIFCONF" >&5
7876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_have_siocglifconf" >&5
7903 PLATFORM_C_SRC="$PLATFORM_C_SRC fad-glifc.c"
7905 PLATFORM_C_SRC="$PLATFORM_C_SRC fad-gifc.c"
7923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: no hardware timestamp support implemented for $host_os" >&5
7945 # Check whether --enable-ipv6 was given.
7965 # Check whether --with-dag was given.
7986 # User requested DAG-only libpcap, so we'd better have
7990 # User requested something-else-only pcap, so they don't
8004 # Check whether --with-dag-includes was given.
8016 # Check whether --with-dag-libraries was given.
8030 if test -z "$dag_root"; then
8034 if test -z "$dag_include_dir"; then
8038 if test -z "$dag_lib_dir"; then
8043 if test -d "$dag_lib_dir/$host"
8054 CFLAGS="$CFLAGS -I$dag_include_dir"
8070 V_INCLS="$V_INCLS -I$dag_include_dir"
8073 MODULE_C_SRC="$MODULE_C_SRC pcap-dag.c"
8077 # Don't need to save and restore LIBS to prevent -ldag being
8078 # included if there's a found-action (arg 3).
8084 LDFLAGS="-L$dag_lib_dir"
8085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dag_attach_stream in -ldag" >&5
8086 printf %s "checking for dag_attach_stream in -ldag... " >&6; }
8092 LIBS="-ldag $LIBS"
8093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dag_dag_attach_stream" >&5
8128 ADDITIONAL_LIBS="-L$dag_lib_dir $ADDITIONAL_LIBS -ldag -ldagconf"
8129 ADDITIONAL_LIBS_STATIC="-L$dag_lib_dir $ADDITIONAL_LIBS_STATIC -ldag -ldagconf"
8130 LIBS_PRIVATE="-L$dag_lib_dir $LIBS_PRIVATE -ldag -ldagconf"
8136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dag_attach_stream64 in -ldag" >&5
8137 printf %s "checking for dag_attach_stream64 in -ldag... " >&6; }
8143 LIBS="-ldag $LIBS"
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dag_dag_attach_stream64" >&5
8178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dag_get_erf_types in -ldag" >&5
8179 printf %s "checking for dag_get_erf_types in -ldag... " >&6; }
8185 LIBS="-ldag $LIBS"
8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dag_dag_get_erf_types" >&5
8221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dag_get_stream_erf_types in -ldag" >&5
8222 printf %s "checking for dag_get_stream_erf_types in -ldag... " >&6; }
8228 LIBS="-ldag $LIBS"
8229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dag_dag_get_stream_erf_types" >&5
8284 LIBS="$LIBS -ldag -ldagconf"
8285 LDFLAGS="$LDFLAGS -L$dag_lib_dir"
8286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vdag_set_device_info in -lvdag" >&5
8287 printf %s "checking for vdag_set_device_info in -lvdag... " >&6; }
8293 LIBS="-lvdag $LIBS"
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vdag_vdag_set_device_info" >&5
8353 as_fn_error $? "DAG support requested with --with-pcap=dag, but the DAG headers weren't found at $dag_include_dir: make sure the DAG support is installed, specify a different path or paths if necessary, or don't request DAG support" "$LINENO" 5
8358 as_fn_error $? "DAG support requested with --with-dag, but the DAG headers weren't found at $dag_include_dir: make sure the DAG support is installed, specify a different path or paths if necessary, or don't request DAG support" "$LINENO" 5
8365 # Check whether --with-septel was given.
8384 # User requested Septel-only libpcap, so we'd better have
8388 # User requested something-else-only pcap, so they don't
8404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have Septel API headers" >&5
8408 if test -z "$septel_root"; then
8415 if test -r "$septel_include_dir/msg.h"; then
8420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($septel_include_dir)" >&5
8423 V_INCLS="$V_INCLS -I$septel_include_dir"
8428 MODULE_C_SRC="$MODULE_C_SRC pcap-septel.c"
8435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8441 as_fn_error $? "Septel support requested with --with-pcap=septel, but the Septel headers weren't found at $septel_include_dir: make sure the Septel support is installed, specify a different path or paths if necessary, or don't request Septel support" "$LINENO" 5
8446 as_fn_error $? "Septel support requested with --with-septel, but the Septel headers weren't found at $septel_include_dir: make sure the Septel support is installed, specify a different path or paths if necessary, or don't request Septel support" "$LINENO" 5
8453 # Check whether --with-snf was given.
8474 # User requested Sniffer-only libpcap, so we'd better have
8478 # User requested something-else-only pcap, so they don't
8492 # Check whether --with-snf-includes was given.
8504 # Check whether --with-snf-libraries was given.
8518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have Myricom Sniffer API" >&5
8522 if test -z "$snf_root"; then
8526 if test -z "$snf_include_dir"; then
8530 if test -z "$snf_lib_dir"; then
8535 if test -d "$snf_lib_dir/$host"
8541 if test -f "$snf_include_dir/snf.h"; then
8548 LDFLAGS="$LDFLAGS -L$snf_lib_dir"
8549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snf_init in -lsnf" >&5
8550 printf %s "checking for snf_init in -lsnf... " >&6; }
8556 LIBS="-lsnf $LIBS"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_snf_snf_init" >&5
8600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($snf_root)" >&5
8603 V_INCLS="$V_INCLS -I$snf_include_dir"
8604 ADDITIONAL_LIBS="$ADDITIONAL_LIBS -L$snf_lib_dir -lsnf"
8605 ADDITIONAL_LIBS_STATIC="$ADDITIONAL_LIBS_STATIC -L$snf_lib_dir -lsnf"
8606 LIBS_PRIVATE="$LIBS_PRIVATE -L$snf_lib_dir -lsnf"
8609 MODULE_C_SRC="$MODULE_C_SRC pcap-snf.c"
8616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8622 as_fn_error $? "Myricom Sniffer support requested with --with-pcap=snf, but the Sniffer headers weren't found at $snf_include_dir: make sure the Sniffer support is installed, specify a different path or paths if necessary, or don't request Sniffer support" "$LINENO" 5
8626 as_fn_error $? "Myricom Sniffer support requested with --with-snf, but the Sniffer headers weren't found at $snf_include_dir: make sure the Sniffer support is installed, specify a different path or paths if necessary, or don't request Sniffer support" "$LINENO" 5
8633 # Check whether --with-turbocap was given.
8654 # User requested something-else-only pcap, so they don't
8670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether TurboCap is supported" >&5
8678 if test ! -z "$turbocap_root"; then
8679 TURBOCAP_CFLAGS="-I$turbocap_root/include"
8680 TURBOCAP_LDFLAGS="-L$turbocap_root/lib"
8685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8717 MODULE_C_SRC="$MODULE_C_SRC pcap-tc.c"
8719 ADDITIONAL_LIBS="$ADDITIONAL_LIBS $TURBOCAP_LDFLAGS -lTcApi -lpthread -lstdc++"
8720 ADDITIONAL_LIBS_STATIC="$ADDITIONAL_LIBS_STATIC $TURBOCAP_LDFLAGS -lTcApi -lpthread -lstdc++"
8721 LIBS_PRIVATE="$LIBS_PRIVATE $TURBOCAP_LDFLAGS -lTcApi -lpthread -lstdc++"
8727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8732 as_fn_error $? "TurboCap support requested with --with-turbocap, but the TurboCap headers weren't found: make sure the TurboCap support is installed or don't request TurboCap support" "$LINENO" 5
8737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable remote packet capture" >&5
8739 # Check whether --enable-remote was given.
8748 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Remote packet capture may expose libpcap-based applications" >&5
8751 printf "%s\n" "$as_me: WARNING: Remote packet capture may expose libpcap-based applications" >&2;}
8752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: to attacks by malicious remote capture servers!" >&5
8771 # No. Do we have it in -lcrypt?
8773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
8774 printf %s "checking for crypt in -lcrypt... " >&6; }
8780 LIBS="-lcrypt $LIBS"
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
8812 # Yes; add -lcrypt to the libraries for rpcapd.
8814 RPCAPD_LIBS="$RPCAPD_LIBS -lcrypt"
8871 # First, try looking for it with pkg-config, if we have it.
8873 # Homebrew's pkg-config does not, by default, look for
8874 # pkg-config files for packages it has installed.
8876 # dumped in package-specific directories whose paths are
8877 # not only package-specific but package-version-specific.
8880 # PKG_CONFIG_PATH from "brew --env openssl" and add that
8885 # That's the nice thing about Homebrew - it makes things easier!
8889 if test -n "$BREW"; then
8890 openssl_pkgconfig_dir=`$BREW --env --plain openssl | sed -n 's/PKG_CONFIG_PATH: //p'`
8894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl with pkg-config" >&5
8895 printf %s "checking for openssl with pkg-config... " >&6; }
8896 if test -n "$PKG_CONFIG"; then
8898 if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
8899 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
8901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
8909 if test ! -n "$OPENSSL_CFLAGS"; then
8910 OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
8913 # That failed - report an error.
8914 # Re-run the command, telling pkg-config to print an error
8920 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8926 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --cflags "openssl" 2>&1`
8928 _pkg_error_string=`$PKG_CONFIG --print-errors --cflags "openssl" 2>&1`
8930 as_fn_error $? "$PKG_CONFIG --cflags \"openssl\" failed: $_pkg_error_string" "$LINENO" 5
8933 if test ! -n "$OPENSSL_LIBS"; then
8934 OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
8937 # That failed - report an error.
8938 # Re-run the command, telling pkg-config to print an error
8944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8950 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs "openssl" 2>&1`
8952 _pkg_error_string=`$PKG_CONFIG --print-errors --libs "openssl" 2>&1`
8954 as_fn_error $? "$PKG_CONFIG --libs \"openssl\" failed: $_pkg_error_string" "$LINENO" 5
8957 if test ! -n "$OPENSSL_LIBS_STATIC"; then
8958 OPENSSL_LIBS_STATIC=`$PKG_CONFIG --libs --static "openssl" 2>/dev/null`
8961 # That failed - report an error.
8962 # Re-run the command, telling pkg-config to print an error
8968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8974 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs --static "openssl" 2>&1`
8976 _pkg_error_string=`$PKG_CONFIG --print-errors --libs --static "openssl" 2>&1`
8978 as_fn_error $? "$PKG_CONFIG --libs --static \"openssl\" failed: $_pkg_error_string" "$LINENO" 5
8989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8994 # No pkg-config, so obviously not found with pkg-config.
8995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: pkg-config not found" >&5
8996 printf "%s\n" "pkg-config not found" >&6; }
9006 if test "x$HAVE_OPENSSL" != "xyes" -a -n "$BREW"; then
9007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl in Homebrew" >&5
9011 # $BREW --prefix --installed <formula>
9018 if $BREW --prefix --installed openssl >/dev/null 2>&1; then
9025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9028 openssl_path=`$BREW --prefix openssl`
9029 OPENSSL_CFLAGS="-I$openssl_path/include"
9030 OPENSSL_LIBS="-L$openssl_path/lib -lssl -lcrypto"
9031 OPENSSL_LIBS_STATIC="-L$openssl_path/lib -lssl -lcrypto"
9032 OPENSSL_LIBS_PRIVATE="-L$openssl_path/lib -lssl -lcrypto"
9034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9053 if test "x$HAVE_OPENSSL" != "xyes" -a -d "/usr/local/include" -a -d "/usr/local/lib"; then
9059 CFLAGS="$CFLAGS -I/usr/local/include"
9060 LIBS="$LIBS -L/usr/local/lib -lssl -lcrypto"
9061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have OpenSSL/libressl in /usr/local that we can use" >&5
9063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9085 OPENSSL_CFLAGS="-I/usr/local/include"
9086 OPENSSL_LIBS="-L/usr/local/lib -lssl -lcrypto"
9087 OPENSSL_LIBS_STATIC="-L/usr/local/lib -lssl -lcrypto"
9088 OPENSSL_LIBS_PRIVATE="-L/usr/local/lib -lssl -lcrypto"
9091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9119 LIBS="$LIBS -lssl -lcrypto"
9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have a system OpenSSL/libressl that we can use" >&5
9122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9144 OPENSSL_LIBS="-lssl -lcrypto"
9145 OPENSSL_LIBS_STATIC="-lssl -lcrypto"
9146 OPENSSL_LIBS_PRIVATE="-lssl -lcrypto"
9149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL not found" >&5
9182 REMOTE_C_SRC="$REMOTE_C_SRC pcap-new.c pcap-rpcap.c rpcap-protocol.c sockutils.c"
9183 BUILD_RPCAPD=build-rpcapd
9184 INSTALL_RPCAPD=install-rpcapd
9186 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build optimizer debugging code" >&5
9193 # Check whether --enable-optimizer-dbg was given.
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${enable_optimizer_dbg-no}" >&5
9205 printf "%s\n" "${enable_optimizer_dbg-no}" >&6; }
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build parser debugging code" >&5
9209 # Check whether --enable-yydebug was given.
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${enable_yydebug-no}" >&5
9221 printf "%s\n" "${enable_yydebug-no}" >&6; }
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9236 if test -n "$LEX"; then
9251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9261 if test -n "$LEX"; then
9262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9270 test -n "$LEX" && break
9272 test -n "$LEX" || LEX=":"
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5
9324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9330 if test -f lex.yy.c; then
9332 elif test -f lexyy.c; then
9336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5
9351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5
9360 for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
9393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5
9404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing yywrap" >&5
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 if test -z "$ac_lib"; then
9431 ac_res=-l$ac_lib
9432 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yywrap" >&5
9470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
9477 # default is implementation-dependent. Figure out which it is, since
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
9502 rm -f conftest.l $LEX_OUTPUT_ROOT.c
9510 # Make sure {f}lex supports the -P, --header-file, and --nounput flags
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capable lex" >&5
9519 if $LEX -P pcap_ --header-file=/dev/null --nounput -t $srcdir/scanner.l > /dev/null 2>&1; then
9525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcpdump_cv_capable_lex" >&5
9530 If a suitable version of Lex/Flex is available as a non-standard command
9540 # If it's Bison, we do not want -y, as 1) we will be using -o to cause
9542 # it to issue warnings about stuff not supported by POSIX YACC - we
9554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9560 if test -n "$BISON_BYACC"; then
9575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9585 if test -n "$BISON_BYACC"; then
9586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON_BYACC" >&5
9589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9594 test -n "$BISON_BYACC" && break
9602 # "%pure-parser".
9604 bison_major_version=`$BISON_BYACC -V | sed -n 's/.* \([1-9][0-9]*\)\.[0-9][0-9.]*/\1/p'`
9605 bison_minor_version=`$BISON_BYACC -V | sed -n 's/.* [1-9][0-9]*\.\([0-9]+\).*/\1/p'`
9606 if test "$bison_major_version" -lt 2 -o \
9607 \( "$bison_major_version" -eq 2 -a "$bison_major_version" -lt 4 \)
9609 REENTRANT_PARSER="%pure-parser"
9622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 if test -n "$BISON_BYACC"; then
9643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9653 if test -n "$BISON_BYACC"; then
9654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON_BYACC" >&5
9657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 test -n "$BISON_BYACC" && break
9669 # Run it with "-V"; that succeeds and reports the
9678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capable yacc" >&5
9684 if $BISON_BYACC -V >/dev/null 2>&1; then
9690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcpdump_cv_capable_yacc" >&5
9708 # "%pure-parser".
9710 REENTRANT_PARSER="%pure-parser"
9752 # use /lib/pse.exp if present, as we use the
9755 pseexe="/lib/pse.exp"
9756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $pseexe" >&5
9758 if test -f $pseexe ; then
9759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9761 LIBS="-I:$pseexe"
9767 # If we're using BPF, we need "-lodm" and "-lcfg", as
9770 LIBS="-lodm -lcfg"
9777 V_CCOPT="$V_CCOPT -fno-common"
9778 # Check whether --enable-universal was given.
9787 darwin[0-7].*)
9789 # Pre-Tiger. Build only for 32-bit PowerPC; no
9797 # libraries and executables for 32-bit PowerPC
9798 # and 64-bit PowerPC, with 32-bit PowerPC first.
9807 V_LIB_CCOPT_FAT="-arch ppc -arch ppc64"
9808 V_LIB_LDFLAGS_FAT="-arch ppc -arch ppc64"
9809 V_PROG_CCOPT_FAT="-arch ppc -arch ppc64"
9810 V_PROG_LDFLAGS_FAT="-arch ppc -arch ppc64"
9816 # to x86-64 support. Build libraries and
9817 # executables for 32-bit PowerPC, 64-bit
9818 # PowerPC, and 32-bit x86, with 32-bit PowerPC
9827 V_LIB_CCOPT_FAT="-arch ppc -arch ppc64 -arch i386"
9828 V_LIB_LDFLAGS_FAT="-arch ppc -arch ppc64 -arch i386"
9829 V_PROG_CCOPT_FAT="-arch ppc -arch ppc64 -arch i386"
9830 V_PROG_LDFLAGS_FAT="-arch ppc -arch ppc64 -arch i386"
9835 # All other Tiger, so subsequent to x86-64
9837 # 32-bit PowerPC, 64-bit PowerPC, 32-bit x86,
9838 # and x86-64, with 32-bit PowerPC first. (I'm
9841 V_LIB_CCOPT_FAT="-arch ppc -arch ppc64 -arch i386 -arch x86_64"
9842 V_LIB_LDFLAGS_FAT="-arch ppc -arch ppc64 -arch i386 -arch x86_64"
9843 V_PROG_CCOPT_FAT="-arch ppc -arch ppc64 -arch i386 -arch x86_64"
9844 V_PROG_LDFLAGS_FAT="-arch ppc -arch ppc64 -arch i386 -arch x86_64"
9849 # Leopard. Build libraries for 32-bit PowerPC,
9850 # 64-bit PowerPC, 32-bit x86, and x86-64, with
9851 # 32-bit PowerPC first, and build executables
9852 # for 32-bit x86 and 32-bit PowerPC, with 32-bit
9855 V_LIB_CCOPT_FAT="-arch ppc -arch ppc64 -arch i386 -arch x86_64"
9856 V_LIB_LDFLAGS_FAT="-arch ppc -arch ppc64 -arch i386 -arch x86_64"
9857 V_PROG_CCOPT_FAT="-arch i386 -arch ppc"
9858 V_PROG_LDFLAGS_FAT="-arch i386 -arch ppc"
9863 # Snow Leopard. Build libraries for x86-64,
9864 # 32-bit x86, and 32-bit PowerPC, with x86-64
9865 # first, and build executables for x86-64 and
9866 # 32-bit x86, with x86-64 first. (That's what
9872 V_LIB_CCOPT_FAT="-arch x86_64 -arch i386 -arch ppc"
9873 V_LIB_LDFLAGS_FAT="-arch x86_64 -arch i386 -arch ppc"
9874 V_PROG_CCOPT_FAT="-arch x86_64 -arch i386"
9875 V_PROG_LDFLAGS_FAT="-arch x86_64 -arch i386"
9878 darwin1[1-8]*)
9880 # Post-Snow Leopard, pre-Catalina. Build
9881 # libraries for x86-64 and 32-bit x86, with
9882 # x86-64 first, and build executables only for
9883 # x86-64. (That's what Apple does.) This
9891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether building for 32-bit x86 is supported" >&5
9892 printf %s "checking whether building for 32-bit x86 is supported... " >&6; }
9898 CFLAGS="$CFLAGS -arch i386"
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9915 V_LIB_CCOPT_FAT="-arch x86_64"
9916 V_LIB_LDFLAGS_FAT="-arch x86_64"
9920 # to install only the libs for 64-bit
9921 # x86 - at least that's what Brew does:
9922 # only configure 32-bit builds if we
9926 V_LIB_CCOPT_FAT="$V_LIB_CCOPT_FAT -arch i386"
9927 V_LIB_LDFLAGS_FAT="$V_LIB_LDFLAGS_FAT -arch i386"
9932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9934 V_LIB_CCOPT_FAT="-arch x86_64"
9935 V_LIB_LDFLAGS_FAT="-arch x86_64"
9942 # 32-bit x86 builds to work.
9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Compiling for 32-bit x86 gives an error; try installing the command-line tools and, after that, installing the /usr/include headers from the /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg package" >&5
9945 printf "%s\n" "$as_me: WARNING: Compiling for 32-bit x86 gives an error; try installing the command-line tools and, after that, installing the /usr/include headers from the /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg package" >&2;}
9950 # Pre-Mojave; the command-line
9952 # enable 32-bit x86 builds.
9954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Compiling for 32-bit x86 gives an error; try installing the command-line tools" >&5
9955 printf "%s\n" "$as_me: WARNING: Compiling for 32-bit x86 gives an error; try installing the command-line tools" >&2;}
9960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9972 # only for x86-64. (That's what Apple does;
9973 # 32-bit x86 binaries are not supported on
9976 V_LIB_CCOPT_FAT="-arch x86_64"
9977 V_LIB_LDFLAGS_FAT="-arch x86_64"
9978 V_PROG_CCOPT_FAT="-arch x86_64"
9979 V_PROG_LDFLAGS_FAT="-arch x86_64"
9984 # Post-Catalina. Build libraries and
9985 # executables for x86-64 and ARM64.
9988 # some of the pointer-checking extensions.)
9999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether building fat with libssl is supported" >&5
10006 CFLAGS="$CFLAGS -arch x86_64 -arch arm64"
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10029 V_LIB_CCOPT_FAT="-arch x86_64 -arch arm64"
10030 V_LIB_LDFLAGS_FAT="-arch x86_64 -arch arm64"
10031 V_PROG_CCOPT_FAT="-arch x86_64 -arch arm64"
10032 V_PROG_LDFLAGS_FAT="-arch x86_64 -arch arm64"
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10047 V_LIB_CCOPT_FAT="-arch x86_64 -arch arm64"
10048 V_LIB_LDFLAGS_FAT="-arch x86_64 -arch arm64"
10049 V_PROG_CCOPT_FAT="-arch x86_64 -arch arm64"
10050 V_PROG_LDFLAGS_FAT="-arch x86_64 -arch arm64"
10094 if test "`uname -m`" = "ia64"; then
10101 # "-b" builds a shared library; "+h" sets the soname.
10103 SHLIB_OPT="-b"
10142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if SINIX compiler defines sinix" >&5
10148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_sinix_defined" >&5
10185 # Make sure errno is thread-safe, in case we're called in
10190 # is thread-safe (it wasn't thread-safe in some older versions).
10192 V_CCOPT="$V_CCOPT -D_TS_ERRNO"
10194 case "`uname -r`" in
10220 # Check whether --enable-shared was given.
10228 if test -n "$ac_tool_prefix"; then
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10237 if test -n "$RANLIB"; then
10252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10262 if test -n "$RANLIB"; then
10263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10272 if test -z "$ac_cv_prog_RANLIB"; then
10276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10282 if test -n "$ac_ct_RANLIB"; then
10297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10307 if test -n "$ac_ct_RANLIB"; then
10308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10330 if test -n "$ac_tool_prefix"; then
10333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10339 if test -n "$AR"; then
10354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10364 if test -n "$AR"; then
10365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
10368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10374 if test -z "$ac_cv_prog_AR"; then
10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10384 if test -n "$ac_ct_AR"; then
10399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10409 if test -n "$ac_ct_AR"; then
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
10413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
10434 printf %s "checking whether ln -s works... " >&6; }
10436 if test "$LN_S" = "ln -s"; then
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
10446 rm -f os-proto.h
10450 if test -f .devel ; then
10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -W option" >&5
10457 printf %s "checking whether the compiler supports the -W option... " >&6; }
10459 CFLAGS="$CFLAGS -W"
10461 # XXX - yes, this depends on the way AC_LANG_WERROR works,
10464 # testing compiler options - 15 years after somebody asked
10467 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
10475 # as it will generate a warning with -Wold-style-definition, meaning
10480 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10481 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -W " >&5
10506 printf %s "checking whether -W ... " >&6; }
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10535 V_CCOPT="$V_CCOPT -W"
10540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wall option" >&5
10550 printf %s "checking whether the compiler supports the -Wall option... " >&6; }
10552 CFLAGS="$CFLAGS -Wall"
10554 # XXX - yes, this depends on the way AC_LANG_WERROR works,
10557 # testing compiler options - 15 years after somebody asked
10560 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
10568 # as it will generate a warning with -Wold-style-definition, meaning
10573 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10574 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wall " >&5
10599 printf %s "checking whether -Wall ... " >&6; }
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10628 V_CCOPT="$V_CCOPT -Wall"
10633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wcomma option" >&5
10643 printf %s "checking whether the compiler supports the -Wcomma option... " >&6; }
10645 CFLAGS="$CFLAGS -Wcomma"
10647 # XXX - yes, this depends on the way AC_LANG_WERROR works,
10650 # testing compiler options - 15 years after somebody asked
10653 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
10661 # as it will generate a warning with -Wold-style-definition, meaning
10666 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10667 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wcomma " >&5
10692 printf %s "checking whether -Wcomma ... " >&6; }
10693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10721 V_CCOPT="$V_CCOPT -Wcomma"
10726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10736 # AC_LBL_CHECK_COMPILER_OPT(V_CCOPT, -Wcovered-switch-default)
10738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wdocumentation option" >&5
10739 printf %s "checking whether the compiler supports the -Wdocumentation option... " >&6; }
10741 CFLAGS="$CFLAGS -Wdocumentation"
10743 # XXX - yes, this depends on the way AC_LANG_WERROR works,
10746 # testing compiler options - 15 years after somebody asked
10749 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
10757 # as it will generate a warning with -Wold-style-definition, meaning
10762 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10763 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wdocumentation " >&5
10788 printf %s "checking whether -Wdocumentation ... " >&6; }
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10817 V_CCOPT="$V_CCOPT -Wdocumentation"
10822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wformat-nonliteral option" >&5
10832 printf %s "checking whether the compiler supports the -Wformat-nonliteral option... " >&6; }
10834 CFLAGS="$CFLAGS -Wformat-nonliteral"
10836 # XXX - yes, this depends on the way AC_LANG_WERROR works,
10839 # testing compiler options - 15 years after somebody asked
10842 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
10850 # as it will generate a warning with -Wold-style-definition, meaning
10855 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10856 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wformat-nonliteral " >&5
10881 printf %s "checking whether -Wformat-nonliteral ... " >&6; }
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10910 V_CCOPT="$V_CCOPT -Wformat-nonliteral"
10915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wmissing-noreturn option" >&5
10925 printf %s "checking whether the compiler supports the -Wmissing-noreturn option... " >&6; }
10927 CFLAGS="$CFLAGS -Wmissing-noreturn"
10929 # XXX - yes, this depends on the way AC_LANG_WERROR works,
10932 # testing compiler options - 15 years after somebody asked
10935 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
10943 # as it will generate a warning with -Wold-style-definition, meaning
10948 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10949 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wmissing-noreturn " >&5
10974 printf %s "checking whether -Wmissing-noreturn ... " >&6; }
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11003 V_CCOPT="$V_CCOPT -Wmissing-noreturn"
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wmissing-prototypes option" >&5
11018 printf %s "checking whether the compiler supports the -Wmissing-prototypes option... " >&6; }
11020 CFLAGS="$CFLAGS -Wmissing-prototypes"
11022 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11025 # testing compiler options - 15 years after somebody asked
11028 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11036 # as it will generate a warning with -Wold-style-definition, meaning
11041 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11042 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wmissing-prototypes " >&5
11067 printf %s "checking whether -Wmissing-prototypes ... " >&6; }
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11096 V_CCOPT="$V_CCOPT -Wmissing-prototypes"
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wmissing-variable-declarations option" >&5
11111 printf %s "checking whether the compiler supports the -Wmissing-variable-declarations option... " >&6; }
11113 CFLAGS="$CFLAGS -Wmissing-variable-declarations"
11115 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11118 # testing compiler options - 15 years after somebody asked
11121 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11129 # as it will generate a warning with -Wold-style-definition, meaning
11134 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11135 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wmissing-variable-declarations " >&5
11160 printf %s "checking whether -Wmissing-variable-declarations ... " >&6; }
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11189 V_CCOPT="$V_CCOPT -Wmissing-variable-declarations"
11194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wnull-pointer-subtraction option" >&5
11204 printf %s "checking whether the compiler supports the -Wnull-pointer-subtraction option... " >&6; }
11206 CFLAGS="$CFLAGS -Wnull-pointer-subtraction"
11208 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11211 # testing compiler options - 15 years after somebody asked
11214 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11222 # as it will generate a warning with -Wold-style-definition, meaning
11227 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11228 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wnull-pointer-subtraction " >&5
11253 printf %s "checking whether -Wnull-pointer-subtraction ... " >&6; }
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11282 V_CCOPT="$V_CCOPT -Wnull-pointer-subtraction"
11287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wpointer-arith option" >&5
11297 printf %s "checking whether the compiler supports the -Wpointer-arith option... " >&6; }
11299 CFLAGS="$CFLAGS -Wpointer-arith"
11301 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11304 # testing compiler options - 15 years after somebody asked
11307 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11315 # as it will generate a warning with -Wold-style-definition, meaning
11320 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11321 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wpointer-arith " >&5
11346 printf %s "checking whether -Wpointer-arith ... " >&6; }
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11375 V_CCOPT="$V_CCOPT -Wpointer-arith"
11380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wpointer-sign option" >&5
11390 printf %s "checking whether the compiler supports the -Wpointer-sign option... " >&6; }
11392 CFLAGS="$CFLAGS -Wpointer-sign"
11394 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11397 # testing compiler options - 15 years after somebody asked
11400 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11408 # as it will generate a warning with -Wold-style-definition, meaning
11413 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11414 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wpointer-sign " >&5
11439 printf %s "checking whether -Wpointer-sign ... " >&6; }
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11468 V_CCOPT="$V_CCOPT -Wpointer-sign"
11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wshadow option" >&5
11483 printf %s "checking whether the compiler supports the -Wshadow option... " >&6; }
11485 CFLAGS="$CFLAGS -Wshadow"
11487 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11490 # testing compiler options - 15 years after somebody asked
11493 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11501 # as it will generate a warning with -Wold-style-definition, meaning
11506 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11507 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wshadow " >&5
11532 printf %s "checking whether -Wshadow ... " >&6; }
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11561 V_CCOPT="$V_CCOPT -Wshadow"
11566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wshorten-64-to-32 option" >&5
11576 printf %s "checking whether the compiler supports the -Wshorten-64-to-32 option... " >&6; }
11578 CFLAGS="$CFLAGS -Wshorten-64-to-32"
11580 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11583 # testing compiler options - 15 years after somebody asked
11586 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11594 # as it will generate a warning with -Wold-style-definition, meaning
11599 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11600 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wshorten-64-to-32 " >&5
11625 printf %s "checking whether -Wshorten-64-to-32 ... " >&6; }
11626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11654 V_CCOPT="$V_CCOPT -Wshorten-64-to-32"
11659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wsign-compare option" >&5
11669 printf %s "checking whether the compiler supports the -Wsign-compare option... " >&6; }
11671 CFLAGS="$CFLAGS -Wsign-compare"
11673 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11676 # testing compiler options - 15 years after somebody asked
11679 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11687 # as it will generate a warning with -Wold-style-definition, meaning
11692 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11693 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wsign-compare " >&5
11718 printf %s "checking whether -Wsign-compare ... " >&6; }
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11747 V_CCOPT="$V_CCOPT -Wsign-compare"
11752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wstrict-prototypes option" >&5
11762 printf %s "checking whether the compiler supports the -Wstrict-prototypes option... " >&6; }
11764 CFLAGS="$CFLAGS -Wstrict-prototypes"
11766 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11769 # testing compiler options - 15 years after somebody asked
11772 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11780 # as it will generate a warning with -Wold-style-definition, meaning
11785 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11786 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wstrict-prototypes " >&5
11811 printf %s "checking whether -Wstrict-prototypes ... " >&6; }
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11840 V_CCOPT="$V_CCOPT -Wstrict-prototypes"
11845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wundef option" >&5
11855 printf %s "checking whether the compiler supports the -Wundef option... " >&6; }
11857 CFLAGS="$CFLAGS -Wundef"
11859 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11862 # testing compiler options - 15 years after somebody asked
11865 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11873 # as it will generate a warning with -Wold-style-definition, meaning
11878 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11879 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wundef " >&5
11904 printf %s "checking whether -Wundef ... " >&6; }
11905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11933 V_CCOPT="$V_CCOPT -Wundef"
11938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11951 # the byte-swapping involves a conditional
11953 # swapped is a compile-time constant or not,
11955 # on whether it is, does a compile-time swap or
11956 # a run-time swap; perhaps the compiler always
11971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wunreachable-code option" >&5
11972 printf %s "checking whether the compiler supports the -Wunreachable-code option... " >&6; }
11974 CFLAGS="$CFLAGS -Wunreachable-code"
11976 # XXX - yes, this depends on the way AC_LANG_WERROR works,
11979 # testing compiler options - 15 years after somebody asked
11982 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
11990 # as it will generate a warning with -Wold-style-definition, meaning
11995 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
11996 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wunreachable-code generates warnings from ntohs()" >&5
12021 printf %s "checking whether -Wunreachable-code generates warnings from ntohs()... " >&6; }
12022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12057 V_CCOPT="$V_CCOPT -Wunreachable-code"
12062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wunused-but-set-parameter option" >&5
12072 printf %s "checking whether the compiler supports the -Wunused-but-set-parameter option... " >&6; }
12074 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12076 # XXX - yes, this depends on the way AC_LANG_WERROR works,
12079 # testing compiler options - 15 years after somebody asked
12082 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
12090 # as it will generate a warning with -Wold-style-definition, meaning
12095 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
12096 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
12101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wunused-but-set-parameter " >&5
12121 printf %s "checking whether -Wunused-but-set-parameter ... " >&6; }
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12150 V_CCOPT="$V_CCOPT -Wunused-but-set-parameter"
12155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wunused-but-set-variable option" >&5
12165 printf %s "checking whether the compiler supports the -Wunused-but-set-variable option... " >&6; }
12167 CFLAGS="$CFLAGS -Wunused-but-set-variable"
12169 # XXX - yes, this depends on the way AC_LANG_WERROR works,
12172 # testing compiler options - 15 years after somebody asked
12175 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
12183 # as it will generate a warning with -Wold-style-definition, meaning
12188 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
12189 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wunused-but-set-variable " >&5
12214 printf %s "checking whether -Wunused-but-set-variable ... " >&6; }
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12243 V_CCOPT="$V_CCOPT -Wunused-but-set-variable"
12248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wunused-parameter option" >&5
12258 printf %s "checking whether the compiler supports the -Wunused-parameter option... " >&6; }
12260 CFLAGS="$CFLAGS -Wunused-parameter"
12262 # XXX - yes, this depends on the way AC_LANG_WERROR works,
12265 # testing compiler options - 15 years after somebody asked
12268 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
12276 # as it will generate a warning with -Wold-style-definition, meaning
12281 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
12282 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wunused-parameter " >&5
12307 printf %s "checking whether -Wunused-parameter ... " >&6; }
12308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12336 V_CCOPT="$V_CCOPT -Wunused-parameter"
12341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wused-but-marked-unused option" >&5
12351 printf %s "checking whether the compiler supports the -Wused-but-marked-unused option... " >&6; }
12353 CFLAGS="$CFLAGS -Wused-but-marked-unused"
12355 # XXX - yes, this depends on the way AC_LANG_WERROR works,
12358 # testing compiler options - 15 years after somebody asked
12361 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
12369 # as it will generate a warning with -Wold-style-definition, meaning
12374 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
12375 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
12380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wused-but-marked-unused " >&5
12400 printf %s "checking whether -Wused-but-marked-unused ... " >&6; }
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12429 V_CCOPT="$V_CCOPT -Wused-but-marked-unused"
12434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports generating dependencies" >&5
12450 # would be -M.
12452 ac_lbl_dependency_flag="-M"
12465 # MIPS C for IRIX, DEC C, and clang all use -M.
12467 ac_lbl_dependency_flag="-M"
12472 # Sun C uses -xM.
12474 ac_lbl_dependency_flag="-xM"
12504 # an unknown non-warning error, even if you pass it
12505 # -Werror=unknown-warning-option. However, it always supports
12506 # -M, so the fact that this test always succeeds with clang
12509 if test ! -z "$ac_lbl_dependency_flag"; then
12510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: eval \"\$CC \$ac_lbl_dependency_flag conftest.c >/dev/null 2>&1\""; } >&5
12517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, with $ac_lbl_dependency_flag" >&5
12524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12532 rm -rf conftest*
12534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12546 # We used to set -n32 for IRIX 6 when not using GCC (presumed
12548 # the "new" faster 32-bit ABI, introduced in IRIX 6.2. I'm
12553 os=`echo $host_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'`
12554 name="lbl/os-$os.h"
12555 if test -f $name ; then
12556 ln -s $name os-proto.h
12561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: can't find $name" >&5
12601 # Check to see if the dl_hp_ppa_info_t struct has the HP-UX 11.00
12627 # Various Linux-specific mechanisms.
12629 # Check whether --enable-usb was given.
12639 # If somebody requested an XXX-only pcap, that doesn't include
12645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Linux usbmon USB sniffing support" >&5
12651 MODULE_C_SRC="$MODULE_C_SRC pcap-usb-linux.c"
12652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12661 # a cross-build, and that works with *multiple* distributions,
12678 # Yes - include it when testing for <linux/usbdevice_fs.h>.
12722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can compile the netfilter support" >&5
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_netfilter_can_compile" >&5
12776 MODULE_C_SRC="$MODULE_C_SRC pcap-netfilter-linux.c"
12784 # Check whether --enable-netmap was given.
12800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can compile the netmap support" >&5
12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_net_netmap_user_can_compile" >&5
12835 MODULE_C_SRC="$MODULE_C_SRC pcap-netmap.c"
12842 # Check whether --with-dpdk was given.
12864 # User requested DPDK-only libpcap, so we'd better have
12868 # User requested something-else-only pcap, so they don't
12886 # We only try to find it using pkg-config; DPDK is *SO*
12887 # complicated - DPDK 19.02, for example, has about 117(!)
12889 # changed over time - so attempting to guess which libraries
12899 # as robust as pkg-config (i.e., it had better work as well
12900 # as pkg-config with *ALL* versions of DPDK that provide a
12903 # If --with-dpdk={path} was specified, add {path}/pkgconfig
12908 if test -n "$dpdk_dir"; then
12912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libdpdk with pkg-config" >&5
12913 printf %s "checking for libdpdk with pkg-config... " >&6; }
12914 if test -n "$PKG_CONFIG"; then
12916 if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdpdk\""; } >&5
12917 ($PKG_CONFIG --exists --print-errors "libdpdk") 2>&5
12919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
12927 if test ! -n "$DPDK_CFLAGS"; then
12928 DPDK_CFLAGS=`$PKG_CONFIG --cflags "libdpdk" 2>/dev/null`
12931 # That failed - report an error.
12932 # Re-run the command, telling pkg-config to print an error
12938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12944 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --cflags "libdpdk" 2>&1`
12946 _pkg_error_string=`$PKG_CONFIG --print-errors --cflags "libdpdk" 2>&1`
12948 as_fn_error $? "$PKG_CONFIG --cflags \"libdpdk\" failed: $_pkg_error_string" "$LINENO" 5
12951 if test ! -n "$DPDK_LIBS"; then
12952 DPDK_LIBS=`$PKG_CONFIG --libs "libdpdk" 2>/dev/null`
12955 # That failed - report an error.
12956 # Re-run the command, telling pkg-config to print an error
12962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12968 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs "libdpdk" 2>&1`
12970 _pkg_error_string=`$PKG_CONFIG --print-errors --libs "libdpdk" 2>&1`
12972 as_fn_error $? "$PKG_CONFIG --libs \"libdpdk\" failed: $_pkg_error_string" "$LINENO" 5
12975 if test ! -n "$DPDK_LIBS_STATIC"; then
12976 DPDK_LIBS_STATIC=`$PKG_CONFIG --libs --static "libdpdk" 2>/dev/null`
12979 # That failed - report an error.
12980 # Re-run the command, telling pkg-config to print an error
12986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12992 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs --static "libdpdk" 2>&1`
12994 _pkg_error_string=`$PKG_CONFIG --print-errors --libs --static "libdpdk" 2>&1`
12996 as_fn_error $? "$PKG_CONFIG --libs --static \"libdpdk\" failed: $_pkg_error_string" "$LINENO" 5
13003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13008 # No pkg-config, so obviously not found with pkg-config.
13009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: pkg-config not found" >&5
13010 printf "%s\n" "pkg-config not found" >&6; }
13091 MODULE_C_SRC="$MODULE_C_SRC pcap-dpdk.c"
13096 # If we required it (with --with-dpdk or --with-pcap=dpdk),
13103 # Not found with pkg-config. Note that we
13105 # pkg-config.
13109 # User requested DPDK-only capture support.
13111 as_fn_error $? "DPDK support requested with --with-pcap=dpdk, but
13112 we couldn't find DPDK with pkg-config. Make sure that pkg-config is
13122 as_fn_error $? "DPDK support requested with --with-dpdk, but we
13123 couldn't find DPDK with pkg-config. Make sure that pkg-config
13132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: We couldn't find DPDK with pkg-config. If
13133 you want DPDK support, make sure that pkg-config is installed,
13136 printf "%s\n" "$as_me: WARNING: We couldn't find DPDK with pkg-config. If
13137 you want DPDK support, make sure that pkg-config is installed,
13142 # Found with pkg-config, but we couldn't compile
13151 # User requested DPDK-only capture support.
13153 as_fn_error $? "DPDK support requested with --with-pcap=dpdk, but we
13163 as_fn_error $? "DPDK support requested with --with-dpdk, but
13172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: DPDK was found, but we can't compile libpcap with it.
13181 # Check whether --enable-bluetooth was given.
13191 # User requested something-else-only pcap, so they don't
13210 MODULE_C_SRC="$MODULE_C_SRC pcap-bt-linux.c"
13211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Bluetooth sniffing is supported" >&5
13233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if HCI_CHANNEL_MONITOR is defined" >&5
13239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13263 MODULE_C_SRC="$MODULE_C_SRC pcap-bt-monitor-linux.c"
13267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13285 as_fn_error $? "Bluetooth sniffing is not supported; install bluez-lib devel to enable it" "$LINENO" 5
13287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Bluetooth sniffing is not supported; install bluez-lib devel to enable it" >&5
13288 printf "%s\n" "$as_me: Bluetooth sniffing is not supported; install bluez-lib devel to enable it" >&6;}
13298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: no Bluetooth sniffing support implemented for $host_os" >&5
13306 # Check whether --enable-dbus was given.
13316 # User requested something-else-only pcap, so they don't
13317 # want D-Bus support.
13327 # We don't support D-Bus sniffing on macOS; see
13333 as_fn_error $? "Due to freedesktop.org bug 74029, D-Bus capture support is not available on macOS" "$LINENO" 5
13340 # We don't support D-Bus sniffing on macOS; see
13355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbus-1 with pkg-config" >&5
13356 printf %s "checking for dbus-1 with pkg-config... " >&6; }
13357 if test -n "$PKG_CONFIG"; then
13359 if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13360 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
13370 if test ! -n "$DBUS_CFLAGS"; then
13371 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
13374 # That failed - report an error.
13375 # Re-run the command, telling pkg-config to print an error
13381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13387 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --cflags "dbus-1" 2>&1`
13389 _pkg_error_string=`$PKG_CONFIG --print-errors --cflags "dbus-1" 2>&1`
13391 as_fn_error $? "$PKG_CONFIG --cflags \"dbus-1\" failed: $_pkg_error_string" "$LINENO" 5
13394 if test ! -n "$DBUS_LIBS"; then
13395 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
13398 # That failed - report an error.
13399 # Re-run the command, telling pkg-config to print an error
13405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13411 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs "dbus-1" 2>&1`
13413 _pkg_error_string=`$PKG_CONFIG --print-errors --libs "dbus-1" 2>&1`
13415 as_fn_error $? "$PKG_CONFIG --libs \"dbus-1\" failed: $_pkg_error_string" "$LINENO" 5
13418 if test ! -n "$DBUS_LIBS_STATIC"; then
13419 DBUS_LIBS_STATIC=`$PKG_CONFIG --libs --static "dbus-1" 2>/dev/null`
13422 # That failed - report an error.
13423 # Re-run the command, telling pkg-config to print an error
13429 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13435 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs --static "dbus-1" 2>&1`
13437 _pkg_error_string=`$PKG_CONFIG --print-errors --libs --static "dbus-1" 2>&1`
13439 as_fn_error $? "$PKG_CONFIG --libs --static \"dbus-1\" failed: $_pkg_error_string" "$LINENO" 5
13450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the D-Bus library defines dbus_connection_read_write" >&5
13451 printf %s "checking whether the D-Bus library defines dbus_connection_read_write... " >&6; }
13452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13476 MODULE_C_SRC="$MODULE_C_SRC pcap-dbus.c"
13480 REQUIRES_PRIVATE="$REQUIRES_PRIVATE dbus-1"
13484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13487 as_fn_error $? "--enable-dbus was given, but the D-Bus library doesn't define dbus_connection_read_write()" "$LINENO" 5
13491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13504 as_fn_error $? "--enable-dbus was given, but the dbus-1 package is not installed" "$LINENO" 5
13509 # No pkg-config, so obviously not found with pkg-config.
13510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: pkg-config not found" >&5
13511 printf "%s\n" "pkg-config not found" >&6; }
13514 as_fn_error $? "--enable-dbus was given, but the dbus-1 package is not installed" "$LINENO" 5
13522 # Check whether --enable-rdma was given.
13532 # User requested something-else-only pcap, so they don't
13539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libibverbs with pkg-config" >&5
13540 printf %s "checking for libibverbs with pkg-config... " >&6; }
13541 if test -n "$PKG_CONFIG"; then
13543 if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libibverbs\""; } >&5
13544 ($PKG_CONFIG --exists --print-errors "libibverbs") 2>&5
13546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
13554 if test ! -n "$LIBIBVERBS_CFLAGS"; then
13555 LIBIBVERBS_CFLAGS=`$PKG_CONFIG --cflags "libibverbs" 2>/dev/null`
13558 # That failed - report an error.
13559 # Re-run the command, telling pkg-config to print an error
13565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13571 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --cflags "libibverbs" 2>&1`
13573 _pkg_error_string=`$PKG_CONFIG --print-errors --cflags "libibverbs" 2>&1`
13575 as_fn_error $? "$PKG_CONFIG --cflags \"libibverbs\" failed: $_pkg_error_string" "$LINENO" 5
13578 if test ! -n "$LIBIBVERBS_LIBS"; then
13579 LIBIBVERBS_LIBS=`$PKG_CONFIG --libs "libibverbs" 2>/dev/null`
13582 # That failed - report an error.
13583 # Re-run the command, telling pkg-config to print an error
13589 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13595 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs "libibverbs" 2>&1`
13597 _pkg_error_string=`$PKG_CONFIG --print-errors --libs "libibverbs" 2>&1`
13599 as_fn_error $? "$PKG_CONFIG --libs \"libibverbs\" failed: $_pkg_error_string" "$LINENO" 5
13602 if test ! -n "$LIBIBVERBS_LIBS_STATIC"; then
13603 LIBIBVERBS_LIBS_STATIC=`$PKG_CONFIG --libs --static "libibverbs" 2>/dev/null`
13606 # That failed - report an error.
13607 # Re-run the command, telling pkg-config to print an error
13613 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13619 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs --static "libibverbs" 2>&1`
13621 _pkg_error_string=`$PKG_CONFIG --print-errors --libs --static "libibverbs" 2>&1`
13623 as_fn_error $? "$PKG_CONFIG --libs --static \"libibverbs\" failed: $_pkg_error_string" "$LINENO" 5
13631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13636 # No pkg-config, so obviously not found with pkg-config.
13637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: pkg-config not found" >&5
13638 printf "%s\n" "pkg-config not found" >&6; }
13644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ibv_get_device_list in -libverbs" >&5
13645 printf %s "checking for ibv_get_device_list in -libverbs... " >&6; }
13651 LIBS="-libverbs $LIBS"
13652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibverbs_ibv_get_device_list" >&5
13684 LIBIBVERBS_LIBS="-libverbs"
13685 # XXX - at least on Ubuntu 20.04, there are many more
13687 # libibverbs is available but where pkg-config isn't
13689 # we should only use pkg-config for it.
13690 LIBIBVERBS_LIBS_STATIC="-libverbs"
13691 LIBIBVERBS_LIBS_PRIVATE="-libverbs"
13721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libibverbs defines ibv_create_flow" >&5
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13770 MODULE_C_SRC="$MODULE_C_SRC pcap-rdmasniff.c"
13782 # pcap-config script supply an rpath option to specify the directory
13788 # case - for example, Linux distributions for 64-bit platforms that
13789 # also provide support for binaries for a 32-bit version of the
13790 # platform may put the 64-bit libraries, the 32-bit libraries, or both
13795 # In Darwin-based OSes, the full paths of the shared libraries with
13799 # With the HP-UX linker, directories specified with -L are, by default,
13800 # added to the run-time search path, so we don't need to supply them.
13802 # For Tru64 UNIX, "-rpath" works with DEC's^WCompaq's^WHP's C compiler
13803 # for Alpha, but isn't documented as working with GCC, and no GCC-
13809 # a GCC-compatible compiler and a vendor compiler, we need to work with
13818 # accepts compatible command-line arguments, and the
13820 # compatible command-line arguments.
13822 RPATH="-Wl,-rpath,\${libdir}"
13828 # GNU-compatible linkers all support -R.
13830 RPATH="-Wl,-R,\${libdir}"
13844 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
13851 printf %s "checking for a BSD-compatible install... " >&6; }
13852 if test -z "$INSTALL"; then
13885 # program-specific install script used by HP pwplus--don't use.
13888 rm -rf conftest.one conftest.two conftest.dir
13892 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
13893 test -s conftest.one && test -s conftest.two &&
13894 test -s conftest.dir/conftest.one &&
13895 test -s conftest.dir/conftest.two
13897 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
13910 rm -rf conftest.one conftest.two conftest.dir
13923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
13926 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13928 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13930 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13932 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13960 ac_config_commands="$ac_config_commands default-1"
13962 ac_config_files="$ac_config_files Makefile grammar.y pcap-filter.manmisc pcap-linktype.manmisc pcap-tstamp.manmisc pcap-savefile.manfile pcap.3pcap pcap_compile.3pcap pcap_datalink.3pcap pcap_dump_open.3pcap pcap_get_tstamp_precision.3pcap pcap_list_datalinks.3pcap pcap_list_tstamp_types.3pcap pcap_open_dead.3pcap pcap_open_offline.3pcap pcap_set_immediate_mode.3pcap pcap_set_tstamp_precision.3pcap pcap_set_tstamp_type.3pcap rpcapd/Makefile rpcapd/rpcapd.manadmin rpcapd/rpcapd-config.manfile testprogs/Makefile"
13967 # scripts and configure runs, see configure's option --config-cache.
13972 # the --recheck option to rerun configure.
13986 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13991 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14005 # `set' does not quote correctly, so add quotes: double-quote
14007 sed -n \
14013 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14027 if test -w "$cache_file"; then
14029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14031 if test ! -f "$cache_file" || test -h "$cache_file"; then
14036 mv -f confcache "$cache_file"$$ &&
14037 mv -f "$cache_file"$$ "$cache_file" ;; #(
14039 mv -f confcache "$cache_file" ;;
14044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14048 rm -f confcache
14054 DEFS=-DHAVE_CONFIG_H
14078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14092 SHELL=\${CONFIG_SHELL-$SHELL}
14096 ## -------------------- ##
14098 ## -------------------- ##
14107 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14109 alias -g '${1+"$@"}'='"$@"'
14112 case `(set -o) 2>/dev/null` in #(
14114 set -o posix ;; #(
14128 # Quoting is to prevent editors from complaining about space-tab.
14138 # Ensure predictable behavior from utilities with locale-dependent output.
14145 # to be unset--not just set to an empty or harmless value--now, to
14146 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
14162 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14163 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14182 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
14193 if test ! -f "$as_myself"; then
14201 # ----------------------------------------
14207 as_status=$1; test $as_status -eq 0 && as_status=1
14209 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14219 # -----------------------
14227 # -----------------
14228 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14237 # ---------------
14246 # ----------------------
14265 # ------------------
14278 as_val=`expr "$@" || test $? -eq 1`
14290 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14296 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14302 as_me=`$as_basename -- "$0" ||
14333 case `echo -n x` in #(((((
14334 -n*)
14342 ECHO_N='-n';;
14345 # For backward compatibility with old third-party macros, we provide
14351 rm -f conf$$ conf$$.exe conf$$.file
14352 if test -d conf$$.dir; then
14353 rm -f conf$$.dir/conf$$.file
14355 rm -f conf$$.dir
14359 if ln -s conf$$.file conf$$ 2>/dev/null; then
14360 as_ln_s='ln -s'
14362 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14363 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14364 # In both cases, we have to default to `cp -pR'.
14365 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14366 as_ln_s='cp -pR'
14370 as_ln_s='cp -pR'
14373 as_ln_s='cp -pR'
14375 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14380 # -------------
14386 -*) as_dir=./$as_dir;;
14388 test -d "$as_dir" || eval $as_mkdir_p || {
14396 as_dir=`$as_dirname -- "$as_dir" ||
14419 test -d "$as_dir" && break
14421 test -z "$as_dirs" || eval "mkdir $as_dirs"
14422 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14426 if mkdir -p . 2>/dev/null; then
14427 as_mkdir_p='mkdir -p "$as_dir"'
14429 test -d ./-p && rmdir ./-p
14435 # -----------------------
14439 test -f "$1" && test -x "$1"
14441 as_test_x='test -x'
14452 ## ----------------------------------- ##
14454 ## ----------------------------------- ##
14472 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14502 -h, --help print this help, then exit
14503 -V, --version print version number and configuration settings, then exit
14504 --config print configuration, then exit
14505 -q, --quiet, --silent
14507 -d, --debug don't remove temporary files
14508 --recheck update $as_me by reconfiguring in the same conditions
14509 --file=FILE[:TEMPLATE]
14511 --header=FILE[:TEMPLATE]
14542 test -n "\$AWK" || AWK=awk
14551 --*=?*)
14556 --*=)
14570 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14572 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14574 --config | --confi | --conf | --con | --co | --c )
14576 --debug | --debu | --deb | --de | --d | -d )
14578 --file | --fil | --fi | --f )
14586 --header | --heade | --head | --hea )
14593 --he | --h)
14594 # Conflict between --help and --header
14596 Try \`$0 --help' for more information.";;
14597 --help | --hel | -h )
14599 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14600 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14604 -*) as_fn_error $? "unrecognized option: \`$1'
14605 Try \`$0 --help' for more information." ;;
14618 ac_configure_extra_args="$ac_configure_extra_args --silent"
14624 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14637 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14646 # INIT-COMMANDS
14659 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14662 "pcap-filter.manmisc") CONFIG_FILES="$CONFIG_FILES pcap-filter.manmisc" ;;
14663 "pcap-linktype.manmisc") CONFIG_FILES="$CONFIG_FILES pcap-linktype.manmisc" ;;
14664 "pcap-tstamp.manmisc") CONFIG_FILES="$CONFIG_FILES pcap-tstamp.manmisc" ;;
14665 "pcap-savefile.manfile") CONFIG_FILES="$CONFIG_FILES pcap-savefile.manfile" ;;
14680 "rpcapd/rpcapd-config.manfile") CONFIG_FILES="$CONFIG_FILES rpcapd/rpcapd-config.manfile" ;;
14709 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14716 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14717 test -d "$tmp"
14720 tmp=./conf$$-$RANDOM
14728 if test -n "$CONFIG_FILES"; then
14755 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14761 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14770 rm -f conf$$subs.sh
14775 sed -n '
14818 rm -f conf$$subs.awk
14881 fi # test -n "$CONFIG_FILES"
14886 if test -n "$CONFIG_HEADERS"; then
14892 # here-document in config.status, that substitutes the proper values into
14899 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14900 if test -z "$ac_tt"; then
14914 sed -n '
14969 prefix = substr(line, 1, index(line, defundef) - 1)
14989 fi # test -n "$CONFIG_HEADERS"
15002 :[FH]-) ac_tag=-:-;;
15020 -) ac_f="$ac_tmp/stdin";;
15022 # (if the path is not absolute). The absolute path cannot be DOS-style,
15024 test -f "$ac_f" ||
15027 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15041 if test x"$ac_file" != x-; then
15043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15055 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15061 ac_dir=`$as_dirname -- "$ac_file" ||
15146 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15150 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15172 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15186 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15189 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15190 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15191 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15192 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15198 rm -f "$ac_tmp/stdin"
15200 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15201 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15209 if test x"$ac_file" != x-; then
15212 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15219 rm -f "$ac_file"
15225 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15226 || as_fn_error $? "could not create -" "$LINENO" 5
15230 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15237 "default-1":C) if test -f .devel; then
15238 echo timestamp > stamp-h
15239 cat $srcdir/Makefile-devel-adds >> Makefile
15267 ac_config_status_args="$ac_config_status_args --quiet"
15275 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5