Lines Matching +full:- +full:- +full:cross +full:- +full:bindir

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`
719 bindir
791 bindir='${exec_prefix}/bin'
817 if test -n "$ac_prev"; then
830 --)
833 -bindir | --bindir | --bindi | --bind | --bin | --bi)
834 ac_prev=bindir ;;
835 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
836 bindir=$ac_optarg ;;
838 -build | --build | --buil | --bui | --bu)
840 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
843 -cache-file | --cache-file | --cache-fil | --cache-fi \
844 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
846 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
847 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
850 --config-cache | -C)
853 -datadir | --datadir | --datadi | --datad)
855 -datadir=* | --datadir=* | --datadi=* | --datad=*)
858 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
859 | --dataroo | --dataro | --datar)
861 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
862 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
865 -disable-* | --disable-*)
866 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
876 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881 -docdir | --docdir | --docdi | --doc | --do)
883 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
886 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
888 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
891 -enable-* | --enable-*)
892 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
908 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
909 | --exec | --exe | --ex)
911 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
912 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
913 | --exec=* | --exe=* | --ex=*)
916 -gas | --gas | --ga | --g)
917 # Obsolete; use --with-gas.
920 -help | --help | --hel | --he | -h)
922 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
927 -host | --host | --hos | --ho)
929 -host=* | --host=* | --hos=* | --ho=*)
932 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
935 | --ht=*)
938 -includedir | --includedir | --includedi | --included | --include \
939 | --includ | --inclu | --incl | --inc)
941 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
942 | --includ=* | --inclu=* | --incl=* | --inc=*)
945 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
950 -libdir | --libdir | --libdi | --libd)
952 -libdir=* | --libdir=* | --libdi=* | --libd=*)
955 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
956 | --libexe | --libex | --libe)
958 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
959 | --libexe=* | --libex=* | --libe=*)
962 -localedir | --localedir | --localedi | --localed | --locale)
964 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
967 -localstatedir | --localstatedir | --localstatedi | --localstated \
968 | --localstate | --localstat | --localsta | --localst | --locals)
970 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
971 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
974 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
979 -nfp | --nfp | --nf)
980 # Obsolete; use --without-fp.
983 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984 | --no-cr | --no-c | -n)
987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
992 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
993 | --oldin | --oldi | --old | --ol | --o)
995 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
996 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
997 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1000 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1005 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1006 | --program-pre | --program-pr | --program-p)
1008 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1009 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1012 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1013 | --program-suf | --program-su | --program-s)
1015 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1016 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1019 -program-transform-name | --program-transform-name \
1020 | --program-transform-nam | --program-transform-na \
1021 | --program-transform-n | --program-transform- \
1022 | --program-transform | --program-transfor \
1023 | --program-transfo | --program-transf \
1024 | --program-trans | --program-tran \
1025 | --progr-tra | --program-tr | --program-t)
1027 -program-transform-name=* | --program-transform-name=* \
1028 | --program-transform-nam=* | --program-transform-na=* \
1029 | --program-transform-n=* | --program-transform-=* \
1030 | --program-transform=* | --program-transfor=* \
1031 | --program-transfo=* | --program-transf=* \
1032 | --program-trans=* | --program-tran=* \
1033 | --progr-tra=* | --program-tr=* | --program-t=*)
1036 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1041 -psdir | --psdir | --psdi | --psd | --ps)
1043 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047 | -silent | --silent | --silen | --sile | --sil)
1050 -runstatedir | --runstatedir | --runstatedi | --runstated \
1051 | --runstate | --runstat | --runsta | --runst | --runs \
1052 | --run | --ru | --r)
1054 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1055 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1056 | --run=* | --ru=* | --r=*)
1059 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1061 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1062 | --sbi=* | --sb=*)
1065 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1066 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1067 | --sharedst | --shareds | --shared | --share | --shar \
1068 | --sha | --sh)
1070 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1071 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1072 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1073 | --sha=* | --sh=*)
1076 -site | --site | --sit)
1078 -site=* | --site=* | --sit=*)
1081 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1083 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1086 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1087 | --syscon | --sysco | --sysc | --sys | --sy)
1089 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1090 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1093 -target | --target | --targe | --targ | --tar | --ta | --t)
1095 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1098 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1101 -version | --version | --versio | --versi | --vers | -V)
1104 -with-* | --with-*)
1105 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1120 -without-* | --without-*)
1121 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1126 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1136 --x)
1137 # Obsolete; use --with-x.
1140 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1141 | --x-incl | --x-inc | --x-in | --x-i)
1143 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1144 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1147 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1148 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1150 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1151 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1154 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1155 Try \`$0 --help' for more information"
1162 '' | [0-9]* | *[!_$as_cr_alnum]* )
1170 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1179 if test -n "$ac_prev"; then
1180 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1184 if test -n "$ac_unrecognized_opts"; then
1193 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1210 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1214 # used to hold the argument of --host etc.
1230 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1235 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1236 ac_ls_di=`ls -di .` &&
1237 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1244 if test -z "$srcdir"; then
1247 ac_confdir=`$as_dirname -- "$as_myself" ||
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291 # mess up M-x gdb in Emacs.
1303 # Report the --help message.
1319 -h, --help display this help and exit
1320 --help=short display options specific to this package
1321 --help=recursive display the short help of all the included packages
1322 -V, --version display version information and exit
1323 -q, --quiet, --silent do not print \`checking ...' messages
1324 --cache-file=FILE cache test results in FILE [disabled]
1325 -C, --config-cache alias for \`--cache-file=config.cache'
1326 -n, --no-create do not create output files
1327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1330 --prefix=PREFIX install architecture-independent files in PREFIX
1332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1338 for instance \`--prefix=\$HOME'.
1343 --bindir=DIR user executables [EPREFIX/bin]
1344 --sbindir=DIR system admin executables [EPREFIX/sbin]
1345 --libexecdir=DIR program executables [EPREFIX/libexec]
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1349 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1350 --libdir=DIR object code libraries [EPREFIX/lib]
1351 --includedir=DIR C header files [PREFIX/include]
1352 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1353 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1354 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1355 --infodir=DIR info documentation [DATAROOTDIR/info]
1356 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1357 --mandir=DIR man documentation [DATAROOTDIR/man]
1358 --docdir=DIR documentation root [DATAROOTDIR/doc/tcpdump]
1359 --htmldir=DIR html documentation [DOCDIR]
1360 --dvidir=DIR dvi documentation [DOCDIR]
1361 --pdfdir=DIR pdf documentation [DOCDIR]
1362 --psdir=DIR ps documentation [DOCDIR]
1368 --build=BUILD configure for building on BUILD [guessed]
1369 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1373 if test -n "$ac_init_help"; then
1380 --disable-option-checking ignore unrecognized --enable/--with options
1381 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1382 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1383 --disable-universal don't build universal on macOS
1384 --enable-instrument-functions
1386 --enable-smb enable possibly-buggy SMB printer [default=no]
1387 --disable-local-libpcap don't look for a local libpcap [default=check for a
1391 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1392 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1393 --without-gcc don't use gcc
1394 --with-smi link with libsmi (allows to load MIBs on the fly to
1396 --with-user=USERNAME drop privileges by default to USERNAME
1397 --with-chroot=DIRECTORY when dropping privileges, chroot to DIRECTORY
1398 --with-sandbox-capsicum use Capsicum security functions [default=yes, if
1400 --with-crypto[=DIR] use OpenSSL/libressl libcrypto (located in directory
1402 --with-cap-ng use libcap-ng [default=yes, if available]
1407 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1409 LIBS libraries to pass to the linker, e.g. -l<library>
1410 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1412 PKG_CONFIG path to pkg-config utility
1414 directories to add to pkg-config's search path
1416 path overriding pkg-config's built-in search path
1419 C compiler flags for libcrypto, overriding pkg-config
1421 linker flags for libcrypto, overriding pkg-config
1423 static-link linker flags for libcrypto, overriding pkg-config
1434 # If there are subdirs, report their specific --help.
1436 test -d "$ac_dir" ||
1437 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1475 # Metaconfig's "Configure" on case-insensitive file systems.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1489 test -n "$ac_init_help" && exit $ac_status
1502 ## ------------------------ ##
1504 ## ------------------------ ##
1507 # --------------------------
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 rm -f conftest.$ac_objext conftest.beam
1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 if test -s conftest.err; then
1523 grep -v '^ *+' conftest.err >conftest.er1
1525 mv -f conftest.er1 conftest.err
1527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1529 test -z "$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1531 } && test -s conftest.$ac_objext
1546 # -------------------------------------------------------
1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1579 # ----------------------
1584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1622 # --------------------------------------------
1623 # Tries to find the compile-time value of EXPR in a program that includes
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 static int test_array [1 - 2 * !(($2) >= 0)];
1649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1668 if test $ac_lo -le $ac_mid; then
1674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 static int test_array [1 - 2 * !(($2) < 0)];
1693 ac_hi=-1 ac_mid=-1
1695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1713 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1714 if test $ac_mid -le $ac_hi; then
1720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1730 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1737 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1802 rm -f conftest.val
1811 # -----------------------
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 if test -s conftest.err; then
1827 grep -v '^ *+' conftest.err >conftest.er1
1829 mv -f conftest.er1 conftest.err
1831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test -z "$ac_c_werror_flag" ||
1834 test ! -s conftest.err
1835 } && test -s conftest$ac_exeext && {
1837 test -x conftest$ac_exeext
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1858 # ----------------------------------
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1920 # ----------------------
1924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 if test -s conftest.err; then
1935 grep -v '^ *+' conftest.err >conftest.er1
1937 mv -f conftest.er1 conftest.err
1939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1942 test ! -s conftest.err
1957 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1958 # ------------------------------------------------------------------
1960 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1971 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 # -------------------------------------------
2015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2098 ## --------- ##
2100 ## --------- ##
2102 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2103 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2104 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2105 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2106 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2108 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2109 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2112 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2139 ## ----------- ##
2141 ## ----------- ##
2147 # Strip out --no-create and --no-recursion so they do not pile up.
2148 # Strip out --silent because we don't want to record it for future runs.
2149 # Also quote any args containing shell meta-characters.
2150 # Make two passes to allow for proper duplicate-argument suppression.
2160 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2161 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2162 | -silent | --silent | --silen | --sile | --sil)
2175 *=* | --config-cache | -C | -disable-* | --disable-* \
2176 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2177 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2178 | -with-* | --with-* | -without-* | --without-* | --x)
2183 -* ) ac_must_keep_next=true ;;
2206 printf "%s\n" "## ---------------- ##
2208 ## ---------------- ##"
2212 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2217 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
2230 sed -n \
2235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2242 printf "%s\n" "## ----------------- ##
2244 ## ----------------- ##"
2256 if test -n "$ac_subst_files"; then
2257 printf "%s\n" "## ------------------- ##
2259 ## ------------------- ##"
2272 if test -s confdefs.h; then
2273 printf "%s\n" "## ----------- ##
2275 ## ----------- ##"
2284 rm -f core *.core core.conftest.* &&
2285 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2294 rm -f -r conftest* confdefs.h
2315 if test -n "$CONFIG_SITE"; then
2331 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2336 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2343 if test -r "$cache_file"; then
2346 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2391 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2394 as an "x". The following induces an error, until -std is added to get
2397 that is true only with -std. */
2398 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2400 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2403 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2457 static long long int bignum = -9223372036854775807LL;
2477 // See if C++-style comments work.
2540 ia->datasize = 10;
2541 for (int i = 0; i < ia->datasize; ++i)
2542 ia->data[i] = i * 1.234;
2555 dynamic_array[ni.number - 1] = 543;
2559 || dynamic_array[ni.number - 1] != 543);
2582 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2596 // Check UTF-8 literals.
2605 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2679 ac_aux_files="install-sh config.guess config.sub"
2685 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2709 # As a special case, if "install-sh" is required, that requirement
2710 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2712 if test x"$ac_aux" = x"install-sh"
2714 if test -f "${as_dir}install-sh"; then
2715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2716 ac_install_sh="${as_dir}install-sh -c"
2717 elif test -f "${as_dir}install.sh"; then
2718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2719 ac_install_sh="${as_dir}install.sh -c"
2720 elif test -f "${as_dir}shtool"; then
2721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2722 ac_install_sh="${as_dir}shtool install -c"
2726 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2732 if test -f "${as_dir}${ac_aux}"; then
2733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2765 if test -f "${ac_aux_dir}config.guess"; then
2768 if test -f "${ac_aux_dir}config.sub"; then
2771 if test -f "$ac_aux_dir/configure"; then
2785 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the p…
2789 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >…
2799 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run…
2803 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' s…
2807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2828 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the…
2830 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2833 ## -------------------- ##
2835 ## -------------------- ##
2839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2871 *-*-*) ;;
2875 ac_save_IFS=$IFS; IFS='-'
2885 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2905 *-*-*) ;;
2909 ac_save_IFS=$IFS; IFS='-'
2919 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2928 # Check whether --with-gcc was given.
2936 V_INCLS="-I$srcdir"
2941 if test -z "$CC" ; then
2947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953 if test -n "$SHLICC2"; then
2968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2975 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2="no"
2979 if test -n "$SHLICC2"; then
2980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SHLICC2" >&5
2983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 if test -z "$CC" -a "$with_gcc" = no ; then
3002 # At minimum, we want C++/C99-style // comments.
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018 if test -n "$ac_tool_prefix"; then
3021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 if test -n "$CC"; then
3042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3052 if test -n "$CC"; then
3053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 if test -z "$ac_cv_prog_CC"; then
3066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 if test -n "$ac_ct_CC"; then
3087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3097 if test -n "$ac_ct_CC"; then
3098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3111 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3120 if test -z "$CC"; then
3121 if test -n "$ac_tool_prefix"; then
3124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3130 if test -n "$CC"; then
3145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3155 if test -n "$CC"; then
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 if test -z "$CC"; then
3169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 if test -n "$CC"; then
3195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3217 if test -n "$CC"; then
3218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 if test -z "$CC"; then
3228 if test -n "$ac_tool_prefix"; then
3233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239 if test -n "$CC"; then
3254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3264 if test -n "$CC"; then
3265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 test -n "$CC" && break
3276 if test -z "$CC"; then
3282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 if test -n "$ac_ct_CC"; then
3303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3313 if test -n "$ac_ct_CC"; then
3314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 test -n "$ac_ct_CC" && break
3330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3331 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
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
3384 if test -z "$ac_cv_prog_CC"; then
3388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 if test -n "$ac_ct_CC"; then
3409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3419 if test -n "$ac_ct_CC"; then
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3433 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3445 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3454 for ac_option in --version -v -V -qversion -version; do
3460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464 if test -s conftest.err; then
3470 rm -f conftest.er1 conftest.err
3471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 # Try to create an executable without -o first, disregard a.out.
3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3493 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3506 rm -f $ac_rmfiles
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3523 # so that the user can short-circuit this test for compilers unknown to
3527 test -f "$ac_file" || continue
3541 # safe: cross compilers may not add the suffix if given an `-o'
3555 if test -z "$ac_file"
3557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3576 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3597 test -f "$ac_file" || continue
3606 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611 rm -f conftest conftest$ac_cv_exeext
3612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3615 rm -f conftest.$ac_ext
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633 # the compiler is broken, or we cross compile.
3634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3635 printf %s "checking whether we are cross compiling... " >&6; }
3642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3657 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 If you meant to cross compile, use \`--host'.
3672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3675 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 rm -f conftest.o conftest.obj
3700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708 test -f "$ac_file" || continue;
3719 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3724 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3772 printf %s "checking whether $CC accepts -g... " >&6; }
3780 CFLAGS="-g"
3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 CFLAGS="-g"
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3842 CFLAGS="-g -O2"
3844 CFLAGS="-g"
3848 CFLAGS="-O2"
3856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 for ac_arg in '' -std=gnu11
3875 rm -f core conftest.err conftest.$ac_objext conftest.beam
3878 rm -f conftest.$ac_ext
3884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3921 rm -f core conftest.err conftest.$ac_objext conftest.beam
3924 rm -f conftest.$ac_ext
3930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
3967 rm -f core conftest.err conftest.$ac_objext conftest.beam
3970 rm -f conftest.$ac_ext
3976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4001 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: The C compiler does not support C99; there …
4008 # -Werror forces warnings to be errors.
4010 ac_lbl_cc_force_warning_errors=-Werror
4012 V_INCLS="$V_INCLS -I/usr/local/include"
4013 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4020 # of which use -Werror to force warnings to be errors.
4022 ac_lbl_cc_force_warning_errors=-Werror
4028 # exit with a non-zero exit status if we hand it an
4029 # invalid -W flag, can't be forced to do so even with
4030 # +We, and doesn't handle GCC-style -W flags, so we
4031 # don't want to try using GCC-style -W flags.
4039 # necessarily exit with a non-zero exit status if we
4040 # hand it an invalid -W flag, can't be forced to do
4041 # so, and doesn't handle GCC-style -W flags, so we
4042 # don't want to try using GCC-style -W flags.
4052 # -xansi is normally the default, but the
4053 # configure script was setting it; perhaps -cckr
4060 # -g is equivalent to -g2, which turns off
4061 # optimization; we choose -g3, which generates
4066 V_CCOPT="$V_CCOPT -xansi -signed -g3"
4075 # using, doesn't exit with a non-zero exit status if we
4076 # hand it an invalid -W flag, can't be forced to do
4077 # so, and doesn't handle GCC-style -W flags, so we
4078 # don't want to try using GCC-style -W flags.
4082 # -g is equivalent to -g2, which turns off
4083 # optimization; we choose -g3, which generates
4088 V_CCOPT="$V_CCOPT -g3"
4093 # Assumed to be Sun C, which requires -errwarn to force
4096 ac_lbl_cc_force_warning_errors=-errwarn
4100 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that Ultrix $CC hacks const in prototypes" …
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_cc_const_proto" >&5
4137 V_CCOPT="$V_CCOPT -O"
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4192 if test ! -z "$ac_cv_lbl_inline" ; then
4193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_inline" >&5
4196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 # Get the size of a void *, to know whether this is a 32-bit or 64-bit build.
4255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4269 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4289 # Get the size of a time_t, to know whether it's 32-bit or 64-bit.
4292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
4307 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
4329 # Check whether --enable-universal was given.
4340 # Leopard. Build for x86 and 32-bit PowerPC, with
4343 V_CCOPT="$V_CCOPT -arch i386 -arch ppc"
4344 LDFLAGS="$LDFLAGS -arch i386 -arch ppc"
4349 # Snow Leopard. Build for x86-64 and x86, with
4350 # x86-64 first. (That's what Apple does.)
4352 V_CCOPT="$V_CCOPT -arch x86_64 -arch i386"
4353 LDFLAGS="$LDFLAGS -arch x86_64 -arch i386"
4361 # Do we have pkg-config?
4371 if test -n "$ac_tool_prefix"; then
4372 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4373 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4408 if test -n "$PKG_CONFIG"; then
4409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 if test -z "$ac_cv_path_PKG_CONFIG"; then
4420 # Extract the first word of "pkg-config", so it can be a program name with args.
4421 set dummy pkg-config; ac_word=$2
4422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4456 if test -n "$ac_pt_PKG_CONFIG"; then
4457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4470 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4480 if test -n "$PKG_CONFIG"; then
4482 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_ve…
4483 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4484 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4533 if test -n "$BREW"; then
4534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BREW" >&5
4537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4544 # Check whether --with-smi was given.
4561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for smiInit in -lsmi" >&5
4562 printf %s "checking for smiInit in -lsmi... " >&6; }
4568 LIBS="-lsmi $LIBS"
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_smi_smiInit" >&5
4602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable libsmi" >&5
4605 LIBS="-lsmi $LIBS"
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not when cross-compiling" >&5
4610 printf "%s\n" "not when cross-compiling" >&6; }
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 if (required < current - age || required > current)
4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4653 1) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - smiInit failed" >&5
4654 printf "%s\n" "no - smiInit failed" >&6; } ;;
4655 … 2) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - header/library version mismatch" >&5
4656 printf "%s\n" "no - header/library version mismatch" >&6; } ;;
4657 … 3) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - can't determine library version" >&5
4658 printf "%s\n" "no - can't determine library version" >&6; } ;;
4659 4) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - too old" >&5
4660 printf "%s\n" "no - too old" >&6; } ;;
4661 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the instrument functions c…
4681 # Check whether --enable-instrument-functions was given.
4690 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bfd_init in -lbfd" >&5
4693 printf %s "checking for bfd_init in -lbfd... " >&6; }
4699 LIBS="-lbfd $LIBS"
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfd_bfd_init" >&5
4731 …as_fn_error $? "--enable-instrument-functions was given, but test for library libbfd failed. Pleas…
4737 LOCALSRC="$LOCALSRC instrument-functions.c"
4738 # Add '-finstrument-functions' instrumentation option to generate
4741 CFLAGS="$CFLAGS -O0 -ggdb -finstrument-functions -fno-stack-protector -fno-pic"
4742 LDFLAGS="$LDFLAGS -O0 -ggdb -fno-stack-protector -no-pie"
4743 LIBS="$LIBS -lbfd"
4745 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the possibly-buggy SMB pri…
4751 printf %s "checking whether to enable the possibly-buggy SMB printer... " >&6; }
4752 # Check whether --enable-smb was given.
4761 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4766 LOCALSRC="print-smb.c smbutil.c $LOCALSRC"
4768 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to drop root privileges by default" …
4776 # Check whether --with-user was given.
4786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 as_fn_error $? "--with-user requires a username" "$LINENO" 5 ;; #(
4795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, to user \"$withval\"" >&5
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to chroot" >&5
4804 # Check whether --with-chroot was given.
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 as_fn_error $? "--with-chroot requires a directory" "$LINENO" 5 ;; #(
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, to directory \"$withval\"" >&5
4831 # Check whether --with-sandbox-capsicum was given.
4849 # XXX - do we need to check for all of them, or are there some that, if
4852 if test -z "$with_sandbox_capsicum" || test "$with_sandbox_capsicum" != "no" ; then
4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcasper" >&5
4883 printf %s "checking for cap_init in -lcasper... " >&6; }
4889 LIBS="-lcasper $LIBS"
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_casper_cap_init" >&5
4919 LIBS="$LIBS -lcasper"
4922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cap_gethostbyaddr in -lcap_dns" >&5
4923 printf %s "checking for cap_gethostbyaddr in -lcap_dns... " >&6; }
4929 LIBS="-lcap_dns $LIBS"
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_dns_cap_gethostbyaddr" >&5
4959 LIBS="$LIBS -lcap_dns"
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to sandbox using capsicum" >&5
4965 if test "x$ac_lbl_capsicum_function_seen" = "xyes" -a "x$ac_lbl_capsicum_function_not_seen" != "xye…
4969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to sandbox using Casper library" >&5
4977 if test "x$ac_cv_lib_casper_cap_init" = "xyes" -a "x$ac_cv_lib_cap_dns_cap_gethostbyaddr" = "xyes";…
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyaddr" >&5
5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022 if test -z "$ac_lib"; then
5025 ac_res=-l$ac_lib
5026 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyaddr" >&5
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyaddr in -lsocket" >&5
5062 printf %s "checking for gethostbyaddr in -lsocket... " >&6; }
5068 LIBS="-lsocket -lnsl $LIBS"
5069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyaddr" >&5
5098 LIBS="-lsocket -lnsl $LIBS"
5102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
5109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5126 if test -z "$ac_lib"; then
5129 ac_res=-l$ac_lib
5130 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
5160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
5161 printf %s "checking for socket in -lsocket... " >&6; }
5167 LIBS="-lsocket -lnsl $LIBS"
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
5197 LIBS="-lsocket -lnsl $LIBS"
5202 # DLPI needs putmsg under HPUX so test for -lstr while we're at it
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing putmsg" >&5
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 if test -z "$ac_lib"; then
5230 ac_res=-l$ac_lib
5231 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_putmsg" >&5
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the operating system supports IPv6" …
5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
5324 for i in inria kame linux-glibc linux-libinet6 toshiba v6d zeta; do
5329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5335 if test -n "$CPP" && test -d "$CPP"; then
5338 if test -z "$CPP"; then
5344 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
5350 # with a fresh cross-compiler works.
5351 # On the NeXT, cc -E runs the code through the compiler's parser,
5353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 rm -f conftest.err conftest.i conftest.$ac_ext
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 rm -f conftest.err conftest.i conftest.$ac_ext
5386 rm -f conftest.i conftest.err conftest.$ac_ext
5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5406 # with a fresh cross-compiler works.
5407 # On the NeXT, cc -E runs the code through the compiler's parser,
5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 rm -f conftest.err conftest.i conftest.$ac_ext
5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 rm -f conftest.err conftest.i conftest.$ac_ext
5442 rm -f conftest.i conftest.err conftest.$ac_ext
5447 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5461 printf %s "checking for grep that handles long lines and -e... " >&6; }
5466 if test -z "$GREP"; then
5468 # Loop through the user's path and test for each of PROGNAME-LIST
5485 case `"$ac_path_GREP" --version 2>&1` in
5497 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
5500 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5506 test $ac_count -gt 10 && break
5508 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5516 if test -z "$ac_cv_path_GREP"; then
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5535 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5536 then ac_cv_path_EGREP="$GREP -E"
5538 if test -z "$EGREP"; then
5540 # Loop through the user's path and test for each of PROGNAME-LIST
5557 case `"$ac_path_EGREP" --version 2>&1` in
5572 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5578 test $ac_count -gt 10 && break
5580 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5588 if test -z "$ac_cv_path_EGREP"; then
5597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614 rm -rf conftest*
5618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 rm -rf conftest*
5636 linux-glibc)
5637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5649 rm -rf conftest*
5652 linux-libinet6)
5653 if test -d /usr/inet6 -o -f /usr/include/netinet/ip6.h; then
5658 CFLAGS="-I/usr/inet6/include $CFLAGS"
5662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5676 rm -rf conftest*
5680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 CFLAGS="-I/usr/local/v6/include $CFLAGS"
5695 rm -rf conftest*
5699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 rm -rf conftest*
5721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ipv6type" >&5
5725 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
5726 if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
5727 LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
5863 # Testing the 64-bit conversion specifiers in addition to that requires the
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether snprintf is suitable" >&5
5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not while cross-compiling" >&5
5873 printf "%s\n" "not while cross-compiling" >&6; }
5877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5895 snprintf(buf, sizeof(buf), "%zd", -sizeof(buf));
5896 if (strncmp(buf, "-100", sizeof(buf)))
5899 snprintf(buf, sizeof(buf), "%" PRId64, -t);
5900 if (strncmp(buf, "-4294967296", sizeof(buf)))
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lrpc" >&5
5940 printf %s "checking for main in -lrpc... " >&6; }
5946 LIBS="-lrpc $LIBS"
5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpc_main" >&5
5975 LIBS="-lrpc $LIBS"
5979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getrpcbynumber" >&5
5986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6003 if test -z "$ac_lib"; then
6006 ac_res=-l$ac_lib
6007 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getrpcbynumber" >&5
6046 if test -f $pfopen ; then
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using $pfopen" >&5
6061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to look for a local libpcap" >&5
6063 # Check whether --enable-local-libpcap was given.
6074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for local pcap library" >&5
6091 places=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \
6092 $EGREP '/libpcap-[0-9]+\.[0-9]+(\.[0-9]*)?([ab][0-9]*|-PRE-GIT|rc.)?$'`
6093 places2=`ls .. | sed -e 's,/$,,' -e "s,^,../," | \
6094 $EGREP '/libpcap-[0-9]+\.[0-9]+(\.[0-9]*)?([ab][0-9]*|-PRE-GIT|rc.)?$'`
6096 basedir=`echo $dir | sed -e 's/[ab][0-9]*$//' | \
6097 sed -e 's/-PRE-GIT$//' `
6102 if test -r $dir/libpcap.a ; then
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libpcap" >&5
6128 # Look for an installed pkg-config.
6130 if test -n "$PKG_CONFIG" ; then
6134 # --exists was introduced in pkg-config 0.4.0; that
6138 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether there are .pc files for libpcap" >&5
6140 if "$PKG_CONFIG" libpcap --exists ; then
6142 # Yes, so we can use pkg-config to get configuration
6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6150 # No, so we can't use pkg-config to get configuration
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6165 # Found both - use pkg-config to get the include flags for
6172 # double-quoted strings inside double-quoted back-quoted
6175 cflags=`"$PKG_CONFIG" libpcap --cflags`
6177 libpcap=`"$PKG_CONFIG" libpcap --libs`
6180 # No pkg-config
6181 # Look for an installed pcap-config.
6183 if test -n "$ac_tool_prefix"; then
6184 # Extract the first word of "${ac_tool_prefix}pcap-config", so it can be a program name with args.
6185 set dummy ${ac_tool_prefix}pcap-config; ac_word=$2
6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6220 if test -n "$PCAP_CONFIG"; then
6221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PCAP_CONFIG" >&5
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230 if test -z "$ac_cv_path_PCAP_CONFIG"; then
6232 # Extract the first word of "pcap-config", so it can be a program name with args.
6233 set dummy pcap-config; ac_word=$2
6234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6268 if test -n "$ac_pt_PCAP_CONFIG"; then
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PCAP_CONFIG" >&5
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
6282 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6291 if test -n "$PCAP_CONFIG" ; then
6293 # Found - use it to get the include flags for
6296 # If this is a vendor-supplied pcap-config, which
6297 # we define as being "a pcap-config in /usr/bin
6302 if test \( "$PCAP_CONFIG" = "/usr/bin/pcap-config" \) -o \
6303 \( "$PCAP_CONFIG" = "/usr/ccs/bin/pcap-config" \) ; then
6305 # It's vendor-supplied.
6311 # This is macOS or another Darwin-based OS.
6313 # That means that /usr/bin/pcap-config it
6314 # may provide -I/usr/local/include with --cflags
6315 # and -L/usr/local/lib with --libs, rather than
6316 # pointing to the OS-supplied library and
6317 # Xcode-supplied headers. Remember that, so we
6326 # of the remote-capture APIs. They are exported
6339 # that the remote-capture APIs are present,
6358 # the remote-capture APIs in Sonoma are stubs
6368 # the system-provided pcap-config to find
6371 # for remote-capture APIs.
6380 # At least on Solaris 11; there's /usr/bin/pcap-config,
6381 # which reports -L/usr/lib with --libs, causing
6382 # the 32-bit libraries to be found, and there's
6383 # /usr/bin/{64bitarch}/pcap-config, where {64bitarch}
6384 # is a name for the 64-bit version of the instruction
6385 # set, which reports -L /usr/lib/{64bitarch}, causing
6386 # the 64-bit libraries to be found.
6388 # So if we're building 64-bit targets, we replace
6390 # {64bitarch} as the output of "isainfo -n".
6392 # Are we building 32-bit or 64-bit? Get the
6396 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
6410 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
6428 if test ac_cv_sizeof_void_p -eq 8 ; then
6429 isainfo_output=`isainfo -n`
6430 if test ! -z "$isainfo_output" ; then
6432 # Success - change PCAP_CONFIG.
6445 # double-quoted strings inside double-quoted back-quoted
6448 cflags=`"$PCAP_CONFIG" --cflags`
6452 # Apple pcap-config.
6456 # Strip -I/usr/local/include with sed.
6458 cflags=`echo $cflags | sed 's;-I/usr/local/include;;'`
6461 libpcap=`"$PCAP_CONFIG" --libs`
6465 # Apple pcap-config.
6469 # Strip -L/usr/local/lib with sed.
6471 libpcap=`echo $libpcap | sed 's;-L/usr/local/lib;;'`
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lpcap" >&5
6478 printf %s "checking for main in -lpcap... " >&6; }
6484 LIBS="-lpcap $LIBS"
6485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_main" >&5
6511 libpcap="-lpcap"
6517 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for extraneous pcap header directories" >&5
6519 if test \( ! -r /usr/local/include/pcap.h \) -a \
6520 \( ! -r /usr/include/pcap.h \); then
6521 if test -r /usr/local/include/pcap/pcap.h; then
6523 elif test -r /usr/include/pcap/pcap.h; then
6527 if test -z "$d" ; then
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
6531 V_INCLS="-I$d $V_INCLS"
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found -- -I$d added" >&5
6533 printf "%s\n" "found -- -I$d added" >&6; }
6545 # Look for its pcap-config script.
6547 # Extract the first word of "pcap-config", so it can be a program name with args.
6548 set dummy pcap-config; ac_word=$2
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6583 if test -n "$PCAP_CONFIG"; then
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PCAP_CONFIG" >&5
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 if test -n "$PCAP_CONFIG"; then
6595 # We don't want its --cflags or --libs output, because
6605 # If it supports --static-pcap-only. use that, as we will be
6617 # the run-time linker, without the executable having to be
6623 # script contains the string "static-pcap-only"; we can't
6626 # report or return an error for an unsupported command-line
6627 # flag. Those older versions provided, with --static, only
6630 # --static-pcap-only provide all the dependencies with
6631 # --static, for the benefit of programs that are completely
6633 # dependencies with --static-pcap-only.
6635 if grep "static-pcap-only" "$PCAP_CONFIG" >/dev/null 2>&1
6637 static_opt="--static-pcap-only"
6639 static_opt="--static"
6641 V_INCLS="-I$local_pcap_dir $V_INCLS"
6642 additional_libs=`"$PCAP_CONFIG" $static_opt --additional-libs`
6646 # It doesn't have a pcap-config script.
6649 places=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \
6650 $EGREP '/libpcap-[0-9]*.[0-9]*(.[0-9]*)?([ab][0-9]*)?$'`
6651 places2=`ls .. | sed -e 's,/$,,' -e "s,^,../," | \
6652 $EGREP '/libpcap-[0-9]*.[0-9]*(.[0-9]*)?([ab][0-9]*)?$'`
6654 if test -r $local_pcap_dir/pcap.h; then
6658 if test -r $dir/pcap.h ; then
6672 V_INCLS="-I$pcapH $V_INCLS"
6676 if test -z "$PKG_CONFIG" -a -z "$PCAP_CONFIG"; then
6678 # We don't have pkg-config or pcap-config; find out any additional
6679 # link flags we need. (If we have pkg-config or pcap-config, we
6686 # If libpcap is DLPI-based, we have to use /lib/pse.exp if
6689 # (XXX - true only if we're linking with a static libpcap?)
6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $pseexe" >&5
6694 if test -f $pseexe ; then
6695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6697 LIBS="$LIBS -I:$pseexe"
6701 # If libpcap is BPF-based, we need "-lodm" and "-lcfg", as
6704 # (XXX - true only if we're linking with a static libpcap?)
6706 LIBS="$LIBS -lodm -lcfg"
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlpi_walk in -ldlpi" >&5
6712 printf %s "checking for dlpi_walk in -ldlpi... " >&6; }
6718 LIBS="-ldlpi -L/lib $LIBS"
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dlpi_dlpi_walk" >&5
6748 LIBS="$LIBS -ldlpi" LDFLAGS="-L/lib $LDFLAGS"
6764 1. Do you try to build a 32-bit tcpdump with a 64-bit libpcap or vice versa?
6781 # libraries (e.g., "-lsocket -lnsl" on Solaris).
6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for buggy ether_ntohost" >&5
6811 ac_cv_buggy_ether_ntohost="not while cross-compiling"
6813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_ether_ntohost" >&5
6857 if test "$ac_cv_func_ether_ntohost" = yes -a \
6865 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undecl…
6873 for ac_arg in '' -fno-builtin; do
6876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 # declaration. Include always-available headers on the
6896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
6935 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7258 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pcap_version is defined by libpcap"…
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 # why we don't check for remote-capture APIs if we're building
7364 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pcap_debug is defined by libpcap" >…
7366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yydebug is defined by libpcap" >&5
7404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7532 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
7547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7548 test -z "$ac_type" && break
7558 # Check whether we have pcap/pcap-inttypes.h.
7561 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap-inttypes.h" "ac_cv_header_pcap_pcap_inttypes_h" "…
7586 # Define the old BSD specified-width types in terms of the C99 types;
7642 if test -n "$ac_tool_prefix"; then
7645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 if test -n "$RANLIB"; then
7666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7676 if test -n "$RANLIB"; then
7677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7686 if test -z "$ac_cv_prog_RANLIB"; then
7690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7696 if test -n "$ac_ct_RANLIB"; then
7711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7721 if test -n "$ac_ct_RANLIB"; then
7722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
7735 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7744 if test -n "$ac_tool_prefix"; then
7747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7753 if test -n "$AR"; then
7768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7778 if test -n "$AR"; then
7779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 if test -z "$ac_cv_prog_AR"; then
7792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7798 if test -n "$ac_ct_AR"; then
7813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7823 if test -n "$ac_ct_AR"; then
7824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
7837 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7847 rm -f os-proto.h
7851 if test -f .devel ; then
7857 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -W option…
7858 printf %s "checking whether the compiler supports the -W option... " >&6; }
7860 CFLAGS="$CFLAGS -W"
7862 # XXX - yes, this depends on the way AC_LANG_WERROR works,
7865 # testing compiler options - 15 years after somebody asked
7868 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
7876 # as it will generate a warning with -Wold-style-definition, meaning
7881 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
7882 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7897 V_CCOPT="$V_CCOPT -W"
7901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7910 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wall opt…
7911 printf %s "checking whether the compiler supports the -Wall option... " >&6; }
7913 CFLAGS="$CFLAGS -Wall"
7915 # XXX - yes, this depends on the way AC_LANG_WERROR works,
7918 # testing compiler options - 15 years after somebody asked
7921 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
7929 # as it will generate a warning with -Wold-style-definition, meaning
7934 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
7935 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
7940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7950 V_CCOPT="$V_CCOPT -Wall"
7954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7963 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wassign-
7964 printf %s "checking whether the compiler supports the -Wassign-enum option... " >&6; }
7966 CFLAGS="$CFLAGS -Wassign-enum"
7968 # XXX - yes, this depends on the way AC_LANG_WERROR works,
7971 # testing compiler options - 15 years after somebody asked
7974 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
7982 # as it will generate a warning with -Wold-style-definition, meaning
7987 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
7988 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
7993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8003 V_CCOPT="$V_CCOPT -Wassign-enum"
8007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8016 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wcast-qu…
8017 printf %s "checking whether the compiler supports the -Wcast-qual option... " >&6; }
8019 CFLAGS="$CFLAGS -Wcast-qual"
8021 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8024 # testing compiler options - 15 years after somebody asked
8027 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8035 # as it will generate a warning with -Wold-style-definition, meaning
8040 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8041 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8056 V_CCOPT="$V_CCOPT -Wcast-qual"
8060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8069 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wmissing
8070 printf %s "checking whether the compiler supports the -Wmissing-prototypes option... " >&6; }
8072 CFLAGS="$CFLAGS -Wmissing-prototypes"
8074 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8077 # testing compiler options - 15 years after somebody asked
8080 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8088 # as it will generate a warning with -Wold-style-definition, meaning
8093 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8094 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8109 V_CCOPT="$V_CCOPT -Wmissing-prototypes"
8113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8122 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wmissing
8123 printf %s "checking whether the compiler supports the -Wmissing-variable-declarations option... " >…
8125 CFLAGS="$CFLAGS -Wmissing-variable-declarations"
8127 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8130 # testing compiler options - 15 years after somebody asked
8133 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8141 # as it will generate a warning with -Wold-style-definition, meaning
8146 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8147 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8162 V_CCOPT="$V_CCOPT -Wmissing-variable-declarations"
8166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8175 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wnull-po…
8176 printf %s "checking whether the compiler supports the -Wnull-pointer-subtraction option... " >&6; }
8178 CFLAGS="$CFLAGS -Wnull-pointer-subtraction"
8180 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8183 # testing compiler options - 15 years after somebody asked
8186 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8194 # as it will generate a warning with -Wold-style-definition, meaning
8199 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8200 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8215 V_CCOPT="$V_CCOPT -Wnull-pointer-subtraction"
8219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8228 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wold-sty…
8229 printf %s "checking whether the compiler supports the -Wold-style-definition option... " >&6; }
8231 CFLAGS="$CFLAGS -Wold-style-definition"
8233 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8236 # testing compiler options - 15 years after somebody asked
8239 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8247 # as it will generate a warning with -Wold-style-definition, meaning
8252 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8253 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8268 V_CCOPT="$V_CCOPT -Wold-style-definition"
8272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8281 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wpedanti…
8282 printf %s "checking whether the compiler supports the -Wpedantic option... " >&6; }
8284 CFLAGS="$CFLAGS -Wpedantic"
8286 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8289 # testing compiler options - 15 years after somebody asked
8292 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8300 # as it will generate a warning with -Wold-style-definition, meaning
8305 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8306 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8321 V_CCOPT="$V_CCOPT -Wpedantic"
8325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8334 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wpointer
8335 printf %s "checking whether the compiler supports the -Wpointer-arith option... " >&6; }
8337 CFLAGS="$CFLAGS -Wpointer-arith"
8339 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8342 # testing compiler options - 15 years after somebody asked
8345 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8353 # as it will generate a warning with -Wold-style-definition, meaning
8358 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8359 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8374 V_CCOPT="$V_CCOPT -Wpointer-arith"
8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8387 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wpointer
8388 printf %s "checking whether the compiler supports the -Wpointer-sign option... " >&6; }
8390 CFLAGS="$CFLAGS -Wpointer-sign"
8392 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8395 # testing compiler options - 15 years after somebody asked
8398 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8406 # as it will generate a warning with -Wold-style-definition, meaning
8411 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8412 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8427 V_CCOPT="$V_CCOPT -Wpointer-sign"
8431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8440 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wshadow …
8441 printf %s "checking whether the compiler supports the -Wshadow option... " >&6; }
8443 CFLAGS="$CFLAGS -Wshadow"
8445 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8448 # testing compiler options - 15 years after somebody asked
8451 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8459 # as it will generate a warning with -Wold-style-definition, meaning
8464 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8465 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8480 V_CCOPT="$V_CCOPT -Wshadow"
8484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8493 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wsign-co…
8494 printf %s "checking whether the compiler supports the -Wsign-compare option... " >&6; }
8496 CFLAGS="$CFLAGS -Wsign-compare"
8498 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8501 # testing compiler options - 15 years after somebody asked
8504 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8512 # as it will generate a warning with -Wold-style-definition, meaning
8517 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8518 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8533 V_CCOPT="$V_CCOPT -Wsign-compare"
8537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8546 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wstrict-
8547 printf %s "checking whether the compiler supports the -Wstrict-prototypes option... " >&6; }
8549 CFLAGS="$CFLAGS -Wstrict-prototypes"
8551 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8554 # testing compiler options - 15 years after somebody asked
8557 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8565 # as it will generate a warning with -Wold-style-definition, meaning
8570 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8571 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8586 V_CCOPT="$V_CCOPT -Wstrict-prototypes"
8590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8599 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wundef o…
8600 printf %s "checking whether the compiler supports the -Wundef option... " >&6; }
8602 CFLAGS="$CFLAGS -Wundef"
8604 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8607 # testing compiler options - 15 years after somebody asked
8610 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8618 # as it will generate a warning with -Wold-style-definition, meaning
8623 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8624 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8639 V_CCOPT="$V_CCOPT -Wundef"
8643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8652 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wunreach…
8653 printf %s "checking whether the compiler supports the -Wunreachable-code-return option... " >&6; }
8655 CFLAGS="$CFLAGS -Wunreachable-code-return"
8657 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8660 # testing compiler options - 15 years after somebody asked
8663 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8671 # as it will generate a warning with -Wold-style-definition, meaning
8676 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8677 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8692 V_CCOPT="$V_CCOPT -Wunreachable-code-return"
8696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8705 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wunused-
8706 printf %s "checking whether the compiler supports the -Wunused-but-set-parameter option... " >&6; }
8708 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
8710 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8713 # testing compiler options - 15 years after somebody asked
8716 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8724 # as it will generate a warning with -Wold-style-definition, meaning
8729 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8730 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8745 V_CCOPT="$V_CCOPT -Wunused-but-set-parameter"
8749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8758 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wunused-
8759 printf %s "checking whether the compiler supports the -Wunused-but-set-variable option... " >&6; }
8761 CFLAGS="$CFLAGS -Wunused-but-set-variable"
8763 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8766 # testing compiler options - 15 years after somebody asked
8769 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8777 # as it will generate a warning with -Wold-style-definition, meaning
8782 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8783 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8798 V_CCOPT="$V_CCOPT -Wunused-but-set-variable"
8802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8811 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wused-bu…
8812 printf %s "checking whether the compiler supports the -Wused-but-marked-unused option... " >&6; }
8814 CFLAGS="$CFLAGS -Wused-but-marked-unused"
8816 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8819 # testing compiler options - 15 years after somebody asked
8822 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8830 # as it will generate a warning with -Wold-style-definition, meaning
8835 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8836 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8851 V_CCOPT="$V_CCOPT -Wused-but-marked-unused"
8855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8864 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wwrite-s…
8865 printf %s "checking whether the compiler supports the -Wwrite-strings option... " >&6; }
8867 CFLAGS="$CFLAGS -Wwrite-strings"
8869 # XXX - yes, this depends on the way AC_LANG_WERROR works,
8872 # testing compiler options - 15 years after somebody asked
8875 # https://autoconf.gnu.narkive.com/gTAVmfKD/how-to-cancel-flags-set-by-ac-lang-werror
8883 # as it will generate a warning with -Wold-style-definition, meaning
8888 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8889 # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
8894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8904 V_CCOPT="$V_CCOPT -Wwrite-strings"
8908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8918 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports generating de…
8924 # would be -M.
8926 ac_lbl_dependency_flag="-M"
8939 # MIPS C for IRIX, DEC C, and clang all use -M.
8941 ac_lbl_dependency_flag="-M"
8946 # Sun C uses -xM.
8948 ac_lbl_dependency_flag="-xM"
8978 # an unknown non-warning error, even if you pass it
8979 # -Werror=unknown-warning-option. However, it always supports
8980 # -M, so the fact that this test always succeeds with clang
8983 if test ! -z "$ac_lbl_dependency_flag"; then
8984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8988 …if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: eval \"\$CC \$ac_lbl_dependency_flag conftest.c…
8991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, with $ac_lbl_dependency_flag" >&5
8998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9006 rm -rf conftest*
9008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9020 # We used to set -n32 for IRIX 6 when not using GCC (presumed
9022 # the "new" faster 32-bit ABI, introduced in IRIX 6.2. I'm
9027 os=`echo $host_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'`
9028 name="lbl/os-$os.h"
9029 if test -f $name ; then
9030 ln -s $name os-proto.h
9035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: can't find $name" >&5
9041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use OpenSSL/libressl libcrypto" >…
9046 # Check whether --with-crypto was given.
9054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9068 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, using the version installed in $withval…
9079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, if available" >&5
9088 if test -z "$libcrypto_root"; then
9092 # First, try looking for it with pkg-config, if we have it.
9094 # Homebrew's pkg-config does not, by default, look for
9095 # pkg-config files for packages it has installed.
9097 # dumped in package-specific directories whose paths are
9098 # not only package-specific but package-version-specific.
9101 # PKG_CONFIG_PATH from "brew --env openssl" and add that
9106 # That's the nice thing about Homebrew - it makes things easier!
9110 if test -n "$BREW"; then
9111 openssl_pkgconfig_dir=`$BREW --env --plain openssl | sed -n 's/PKG_CONFIG_PATH: //p'`
9115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcrypto with pkg-config" >&5
9116 printf %s "checking for libcrypto with pkg-config... " >&6; }
9117 if test -n "$PKG_CONFIG"; then
9119 …if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypt…
9120 ($PKG_CONFIG --exists --print-errors "libcrypto") 2>&5
9122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
9130 if test ! -n "$LIBCRYPTO_CFLAGS"; then
9131 LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto" 2>/dev/null`
9134 # That failed - report an error.
9135 # Re-run the command, telling pkg-config to print an error
9141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9147 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --cflags "libcrypto" 2>&1`
9149 _pkg_error_string=`$PKG_CONFIG --print-errors --cflags "libcrypto" 2>&1`
9151 as_fn_error $? "$PKG_CONFIG --cflags \"libcrypto\" failed: $_pkg_error_string" "$LINENO" 5
9154 if test ! -n "$LIBCRYPTO_LIBS"; then
9155 LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto" 2>/dev/null`
9158 # That failed - report an error.
9159 # Re-run the command, telling pkg-config to print an error
9165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9171 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs "libcrypto" 2>&1`
9173 _pkg_error_string=`$PKG_CONFIG --print-errors --libs "libcrypto" 2>&1`
9175 as_fn_error $? "$PKG_CONFIG --libs \"libcrypto\" failed: $_pkg_error_string" "$LINENO" 5
9178 if test ! -n "$LIBCRYPTO_LIBS_STATIC"; then
9179 LIBCRYPTO_LIBS_STATIC=`$PKG_CONFIG --libs --static "libcrypto" 2>/dev/null`
9182 # That failed - report an error.
9183 # Re-run the command, telling pkg-config to print an error
9189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9195 _pkg_error_string=`$PKG_CONFIG --short-errors --print-errors --libs --static "libcrypto" 2>&1`
9197 _pkg_error_string=`$PKG_CONFIG --print-errors --libs --static "libcrypto" 2>&1`
9199 … as_fn_error $? "$PKG_CONFIG --libs --static \"libcrypto\" failed: $_pkg_error_string" "$LINENO" 5
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9214 # No pkg-config, so obviously not found with pkg-config.
9215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: pkg-config not found" >&5
9216 printf "%s\n" "pkg-config not found" >&6; }
9226 if test "x$HAVE_LIBCRYPTO" != "xyes" -a -n "$BREW"; then
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl in Homebrew" >&5
9231 # $BREW --prefix --installed <formula>
9240 if $BREW --prefix --installed openssl >/dev/null 2>&1; then
9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9250 openssl_path=`$BREW --prefix openssl`
9251 LIBCRYPTO_CFLAGS="-I$openssl_path/include"
9252 LIBCRYPTO_LIBS="-L$openssl_path/lib -lcrypto"
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9273 if test "x$HAVE_LIBCRYPTO" != "xyes" -a -d "/usr/local/include" -a -d "/usr/local/lib"; then
9279 CFLAGS="$CFLAGS -I/usr/local/include"
9280 LIBS="$LIBS -L/usr/local/lib -lcrypto"
9281 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have an OpenSSL/libressl libcryp…
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9305 LIBCRYPTO_CFLAGS="-I/usr/local/include"
9306 LIBCRYPTO_LIBS="-L/usr/local/lib -lcrypto"
9309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9328 # as a shared library but doesn't provide headers - Apple,
9342 LIBS="$LIBS -lcrypto"
9343 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have a system OpenSSL/libressl t…
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9367 LIBCRYPTO_LIBS="-lcrypto"
9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9392 CFLAGS="$CFLAGS -I$libcrypto_root/include"
9393 LIBS="$LIBS -L$libcrypto_root/lib -lcrypto"
9394 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have a system OpenSSL/libressl t…
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9418 LIBCRYPTO_CFLAGS="-I$libcrypto_root/include"
9419 LIBCRYPTO_LIBS="-L$libcrypto_root/lib -lcrypto"
9422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9445 # make sure they come after any -I or -L flags for
9446 # a local libpcap - those must take precedence of any
9485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL/libressl libcrypto not found" >&5
9490 # Check for libcap-ng
9491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use libcap-ng" >&5
9492 printf %s "checking whether to use libcap-ng... " >&6; }
9496 # Check whether --with-cap_ng was given.
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9515 # Use libcap-ng if it's present, otherwise don't.
9518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, if available" >&5
9524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capng_change_id in -lcap-ng" >&5
9525 printf %s "checking for capng_change_id in -lcap-ng... " >&6; }
9531 LIBS="-lcap-ng $LIBS"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_change_id" >&5
9563 LIBS="-lcap-ng $LIBS"
9567 ac_fn_c_check_header_compile "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default"
9577 CPPFLAGS="$CPPFLAGS -I$srcdir/missing"
9578 V_INCLS="$V_INCLS -I$srcdir/missing"
9598 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
9605 printf %s "checking for a BSD-compatible install... " >&6; }
9606 if test -z "$INSTALL"; then
9639 # program-specific install script used by HP pwplus--don't use.
9642 rm -rf conftest.one conftest.two conftest.dir
9646 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
9647 test -s conftest.one && test -s conftest.two &&
9648 test -s conftest.dir/conftest.one &&
9649 test -s conftest.dir/conftest.two
9651 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
9664 rm -rf conftest.one conftest.two conftest.dir
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
9680 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9682 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9684 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
9686 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9699 # scripts and configure runs, see configure's option --config-cache.
9704 # the --recheck option to rerun configure.
9718 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9723 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
9737 # `set' does not quote correctly, so add quotes: double-quote
9739 sed -n \
9745 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9759 if test -w "$cache_file"; then
9761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9763 if test ! -f "$cache_file" || test -h "$cache_file"; then
9768 mv -f confcache "$cache_file"$$ &&
9769 mv -f "$cache_file"$$ "$cache_file" ;; #(
9771 mv -f confcache "$cache_file" ;;
9776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9780 rm -f confcache
9786 DEFS=-DHAVE_CONFIG_H
9810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9824 SHELL=\${CONFIG_SHELL-$SHELL}
9828 ## -------------------- ##
9830 ## -------------------- ##
9839 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9841 alias -g '${1+"$@"}'='"$@"'
9844 case `(set -o) 2>/dev/null` in #(
9846 set -o posix ;; #(
9860 # Quoting is to prevent editors from complaining about space-tab.
9870 # Ensure predictable behavior from utilities with locale-dependent output.
9877 # to be unset--not just set to an empty or harmless value--now, to
9878 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
9894 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9895 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9914 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
9925 if test ! -f "$as_myself"; then
9933 # ----------------------------------------
9939 as_status=$1; test $as_status -eq 0 && as_status=1
9941 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9942 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9951 # -----------------------
9959 # -----------------
9960 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9969 # ---------------
9978 # ----------------------
9997 # ------------------
10010 as_val=`expr "$@" || test $? -eq 1`
10022 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10028 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10034 as_me=`$as_basename -- "$0" ||
10065 case `echo -n x` in #(((((
10066 -n*)
10074 ECHO_N='-n';;
10077 # For backward compatibility with old third-party macros, we provide
10083 rm -f conf$$ conf$$.exe conf$$.file
10084 if test -d conf$$.dir; then
10085 rm -f conf$$.dir/conf$$.file
10087 rm -f conf$$.dir
10091 if ln -s conf$$.file conf$$ 2>/dev/null; then
10092 as_ln_s='ln -s'
10094 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10095 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10096 # In both cases, we have to default to `cp -pR'.
10097 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10098 as_ln_s='cp -pR'
10102 as_ln_s='cp -pR'
10105 as_ln_s='cp -pR'
10107 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10112 # -------------
10118 -*) as_dir=./$as_dir;;
10120 test -d "$as_dir" || eval $as_mkdir_p || {
10128 as_dir=`$as_dirname -- "$as_dir" ||
10151 test -d "$as_dir" && break
10153 test -z "$as_dirs" || eval "mkdir $as_dirs"
10154 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10158 if mkdir -p . 2>/dev/null; then
10159 as_mkdir_p='mkdir -p "$as_dir"'
10161 test -d ./-p && rmdir ./-p
10167 # -----------------------
10171 test -f "$1" && test -x "$1"
10173 as_test_x='test -x'
10184 ## ----------------------------------- ##
10186 ## ----------------------------------- ##
10204 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10234 -h, --help print this help, then exit
10235 -V, --version print version number and configuration settings, then exit
10236 --config print configuration, then exit
10237 -q, --quiet, --silent
10239 -d, --debug don't remove temporary files
10240 --recheck update $as_me by reconfiguring in the same conditions
10241 --file=FILE[:TEMPLATE]
10243 --header=FILE[:TEMPLATE]
10274 test -n "\$AWK" || AWK=awk
10283 --*=?*)
10288 --*=)
10302 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10304 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10306 --config | --confi | --conf | --con | --co | --c )
10308 --debug | --debu | --deb | --de | --d | -d )
10310 --file | --fil | --fi | --f )
10318 --header | --heade | --head | --hea )
10325 --he | --h)
10326 # Conflict between --help and --header
10328 Try \`$0 --help' for more information.";;
10329 --help | --hel | -h )
10331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10332 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10336 -*) as_fn_error $? "unrecognized option: \`$1'
10337 Try \`$0 --help' for more information." ;;
10350 ac_configure_extra_args="$ac_configure_extra_args --silent"
10356 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10369 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10378 # INIT-COMMANDS
10421 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10428 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10429 test -d "$tmp"
10432 tmp=./conf$$-$RANDOM
10440 if test -n "$CONFIG_FILES"; then
10467 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10473 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10482 rm -f conf$$subs.sh
10487 sed -n '
10530 rm -f conf$$subs.awk
10593 fi # test -n "$CONFIG_FILES"
10598 if test -n "$CONFIG_HEADERS"; then
10604 # here-document in config.status, that substitutes the proper values into
10611 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10612 if test -z "$ac_tt"; then
10626 sed -n '
10681 prefix = substr(line, 1, index(line, defundef) - 1)
10701 fi # test -n "$CONFIG_HEADERS"
10714 :[FH]-) ac_tag=-:-;;
10732 -) ac_f="$ac_tmp/stdin";;
10734 # (if the path is not absolute). The absolute path cannot be DOS-style,
10736 test -f "$ac_f" ||
10739 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10753 if test x"$ac_file" != x-; then
10755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10767 *:-:* | *:-) cat >"$ac_tmp/stdin" \
10773 ac_dir=`$as_dirname -- "$ac_file" ||
10858 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10861 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datar…
10862 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10898 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10901 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10902 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10903 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10904 "$ac_tmp/out"`; test -z "$ac_out"; } &&
10905 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variab…
10910 rm -f "$ac_tmp/stdin"
10912 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10913 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10921 if test x"$ac_file" != x-; then
10924 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10931 rm -f "$ac_file"
10937 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10938 || as_fn_error $? "could not create -" "$LINENO" 5
10942 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10949 ".devel":C) if test -f .devel; then
10950 echo timestamp > stamp-h
10951 cat $srcdir/Makefile-devel-adds >> Makefile
10979 ac_config_status_args="$ac_config_status_args --quiet"
10987 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10988 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts…